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

int _getopt_internal_r(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,
                      int long_only,_getopt_data *d,int posixly_correct)

{
  byte *pbVar1;
  int iVar2;
  char cVar3;
  char *pcVar4;
  int iVar5;
  undefined4 uVar6;
  char *pcVar7;
  char *pcVar8;
  byte *pbVar9;
  int iVar10;
  byte *pbVar11;
  bool bVar12;
  bool bVar13;
  byte bVar14;
  char *local_3c;
  char *local_34;
  
  bVar14 = 0;
  iVar10 = d->rpl_opterr;
  local_3c = optstring;
  local_34 = (char *)argc;
  if (argc < 1) {
    return -1;
  }
  iVar5 = d->rpl_optind;
  d->rpl_optarg = (char *)0x0;
  if (iVar5 == 0) {
    d->rpl_optind = 1;
    iVar5 = 1;
LAB_000361a1:
    d->__last_nonopt = iVar5;
    d->__first_nonopt = iVar5;
    d->__nextchar = (char *)0x0;
    if (*optstring == '-') {
      local_3c = optstring + 1;
      pcVar8 = (char *)0x0;
      d->__ordering = RETURN_IN_ORDER;
    }
    else if (*optstring == '+') {
      d->__ordering = REQUIRE_ORDER;
      pcVar8 = (char *)0x0;
      local_3c = optstring + 1;
    }
    else {
      pcVar8 = (char *)0x0;
      if (posixly_correct == 0) {
        pcVar8 = getenv("POSIXLY_CORRECT");
        if (pcVar8 == (char *)0x0) {
          d->__ordering = PERMUTE;
          pcVar8 = d->__nextchar;
          goto LAB_0003620d;
        }
        pcVar8 = d->__nextchar;
      }
      d->__ordering = REQUIRE_ORDER;
    }
LAB_0003620d:
    d->__initialized = 1;
    cVar3 = *local_3c;
  }
  else {
    if (d->__initialized == 0) goto LAB_000361a1;
    pcVar8 = d->__nextchar;
    cVar3 = *optstring;
    if ((cVar3 - 0x2bU & 0xfd) == 0) {
      local_3c = optstring + 1;
      cVar3 = optstring[1];
    }
  }
  iVar5 = 0;
  if (cVar3 != ':') {
    iVar5 = iVar10;
  }
  if ((pcVar8 != (char *)0x0) && (*pcVar8 != '\0')) {
    pcVar7 = pcVar8 + 1;
    d->__nextchar = pcVar7;
    cVar3 = *pcVar8;
    iVar10 = (int)cVar3;
    pcVar4 = strchr(local_3c,iVar10);
    if (pcVar8[1] == '\0') {
      d->rpl_optind = d->rpl_optind + 1;
    }
    if (((byte)(cVar3 - 0x3aU) < 2) || (pcVar4 == (char *)0x0)) {
      if (iVar5 != 0) {
        pcVar8 = *argv;
        uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);
        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);
      }
      d->rpl_optopt = iVar10;
      return 0x3f;
    }
    if (((*pcVar4 != 'W') || (longopts == (rpl_option *)0x0)) || (pcVar4[1] != ';')) {
      if (pcVar4[1] != ':') {
        return iVar10;
      }
      if (pcVar4[2] == ':') {
        if (pcVar8[1] == '\0') {
          pcVar7 = (char *)0x0;
        }
        else {
          d->rpl_optind = d->rpl_optind + 1;
        }
        d->rpl_optarg = pcVar7;
        d->__nextchar = (char *)0x0;
        return iVar10;
      }
      iVar2 = d->rpl_optind;
      if (pcVar8[1] == '\0') {
        if (argc == iVar2) {
          if (iVar5 != 0) {
            pcVar8 = *argv;
            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);
            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);
          }
          d->rpl_optopt = iVar10;
          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;
        }
        else {
          d->rpl_optind = iVar2 + 1;
          d->rpl_optarg = argv[iVar2];
        }
      }
      else {
        d->rpl_optarg = pcVar7;
        d->rpl_optind = iVar2 + 1;
      }
      d->__nextchar = (char *)0x0;
      return iVar10;
    }
    if (pcVar8[1] == '\0') {
      if (d->rpl_optind == argc) {
        if (iVar5 != 0) {
          pcVar8 = *argv;
          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);
          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);
        }
        d->rpl_optopt = iVar10;
        return (uint)(*local_3c != ':') * 5 + 0x3a;
      }
      pcVar7 = argv[d->rpl_optind];
    }
    d->__nextchar = pcVar7;
    d->rpl_optarg = (char *)0x0;
    optstring = (char *)0x0;
    long_only = (int)&UNK_0003da8b;
LAB_000364d6:
    iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,
                                 (char *)long_only);
    return iVar10;
  }
  pcVar8 = (char *)d->rpl_optind;
  if ((int)pcVar8 < d->__last_nonopt) {
    d->__last_nonopt = (int)pcVar8;
  }
  pcVar7 = (char *)d->__first_nonopt;
  if ((int)pcVar8 < d->__first_nonopt) {
    d->__first_nonopt = (int)pcVar8;
    pcVar7 = pcVar8;
  }
  if (d->__ordering == PERMUTE) {
    pcVar4 = (char *)d->__last_nonopt;
    if (pcVar4 == pcVar7) {
      if (pcVar8 != pcVar7) {
        d->__first_nonopt = (int)pcVar8;
        pcVar7 = pcVar8;
      }
    }
    else {
      pcVar7 = pcVar4;
      if (pcVar8 != pcVar4) {
        exchange(argv,d);
        pcVar7 = (char *)d->rpl_optind;
      }
    }
    pcVar8 = pcVar7;
    if ((int)pcVar8 < argc) {
      do {
        if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;
        pcVar8 = pcVar8 + 1;
        d->rpl_optind = (int)pcVar8;
      } while (pcVar8 != (char *)argc);
    }
    d->__last_nonopt = (int)pcVar8;
  }
  bVar12 = (uint)argc < pcVar8;
  bVar13 = (char *)argc == pcVar8;
  if (bVar13) {
    local_34 = (char *)d->__last_nonopt;
    pcVar8 = (char *)d->__first_nonopt;
  }
  else {
    iVar10 = 3;
    pbVar1 = (byte *)argv[(int)pcVar8];
    pbVar9 = pbVar1;
    pbVar11 = &DAT_0003da6c;
    do {
      if (iVar10 == 0) break;
      iVar10 = iVar10 + -1;
      bVar12 = *pbVar9 < *pbVar11;
      bVar13 = *pbVar9 == *pbVar11;
      pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1;
      pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;
    } while (bVar13);
    if ((!bVar12 && !bVar13) != bVar12) {
      if (*pbVar1 == 0x2d) {
        bVar14 = pbVar1[1];
        if (bVar14 != 0) {
          if (longopts != (rpl_option *)0x0) {
            if (bVar14 == 0x2d) {
              d->__nextchar = (char *)(pbVar1 + 2);
              optstring = (char *)long_only;
              long_only = (int)&DAT_0003da6c;
              goto LAB_000364d6;
            }
            if ((long_only != 0) &&
               ((pbVar1[2] != 0 ||
                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {
              d->__nextchar = (char *)(pbVar1 + 1);
              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"
                                          );
              if (iVar10 != -1) {
                return iVar10;
              }
              pcVar8 = (char *)d->rpl_optind;
            }
          }
          _getopt_internal_r::lexical_block_10();
          return (int)pcVar8;
        }
      }
      if (d->__ordering == REQUIRE_ORDER) {
        return -1;
      }
      d->rpl_optarg = (char *)pbVar1;
      d->rpl_optind = (int)(pcVar8 + 1);
      return 1;
    }
    pcVar8 = pcVar8 + 1;
    d->rpl_optind = (int)pcVar8;
    if ((char *)d->__first_nonopt == (char *)d->__last_nonopt) {
      d->__first_nonopt = (int)pcVar8;
    }
    else {
      bVar12 = pcVar8 != (char *)d->__last_nonopt;
      pcVar8 = (char *)d->__first_nonopt;
      if (bVar12) {
        exchange(argv,d);
        pcVar8 = (char *)d->__first_nonopt;
      }
    }
    d->__last_nonopt = argc;
    d->rpl_optind = argc;
  }
  if (local_34 != pcVar8) {
    d->rpl_optind = (int)pcVar8;
  }
  return -1;
}



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

uint FUN_00036130(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,
                 int param_6,uint *param_7,int param_8)

{
  uint uVar1;
  undefined4 uVar2;
  char cVar3;
  char *pcVar4;
  uint uVar5;
  undefined4 uVar6;
  uint uVar7;
  int iVar8;
  byte *pbVar9;
  byte *pbVar10;
  uint uVar11;
  byte *pbVar12;
  bool bVar13;
  bool bVar14;
  byte bVar15;
  char *local_3c;
  uint local_34;
  
  bVar15 = 0;
  uVar11 = param_7[1];
  local_3c = param_3;
  local_34 = param_1;
  if ((int)param_1 < 1) {
    return 0xffffffff;
  }
  uVar5 = *param_7;
  param_7[3] = 0;
  if (uVar5 == 0) {
    *param_7 = 1;
    uVar5 = 1;
LAB_000361a1:
    param_7[8] = uVar5;
    param_7[7] = uVar5;
    param_7[5] = 0;
    if (*param_3 == '-') {
      local_3c = param_3 + 1;
      pbVar10 = (byte *)0x0;
      param_7[6] = 2;
    }
    else if (*param_3 == '+') {
      param_7[6] = 0;
      pbVar10 = (byte *)0x0;
      local_3c = param_3 + 1;
    }
    else {
      pbVar10 = (byte *)0x0;
      if (param_8 == 0) {
        pcVar4 = getenv("POSIXLY_CORRECT");
        if (pcVar4 == (char *)0x0) {
          param_7[6] = 1;
          pbVar10 = (byte *)param_7[5];
          goto LAB_0003620d;
        }
        pbVar10 = (byte *)param_7[5];
      }
      param_7[6] = 0;
    }
LAB_0003620d:
    param_7[4] = 1;
    cVar3 = *local_3c;
  }
  else {
    if (param_7[4] == 0) goto LAB_000361a1;
    pbVar10 = (byte *)param_7[5];
    cVar3 = *param_3;
    if ((cVar3 - 0x2bU & 0xfd) == 0) {
      local_3c = param_3 + 1;
      cVar3 = param_3[1];
    }
  }
  uVar5 = 0;
  if (cVar3 != ':') {
    uVar5 = uVar11;
  }
  if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {
    uVar11 = *param_7;
    if ((int)uVar11 < (int)param_7[8]) {
      param_7[8] = uVar11;
    }
    uVar7 = param_7[7];
    if ((int)uVar11 < (int)param_7[7]) {
      param_7[7] = uVar11;
      uVar7 = uVar11;
    }
    if (param_7[6] == 1) {
      uVar1 = param_7[8];
      if (uVar1 == uVar7) {
        if (uVar11 != uVar7) {
          param_7[7] = uVar11;
          uVar7 = uVar11;
        }
      }
      else {
        uVar7 = uVar1;
        if (uVar11 != uVar1) {
          FUN_00035900();
          uVar7 = *param_7;
        }
      }
      uVar11 = uVar7;
      if ((int)uVar11 < (int)param_1) {
        do {
          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;
          uVar11 = uVar11 + 1;
          *param_7 = uVar11;
        } while (uVar11 != param_1);
      }
      param_7[8] = uVar11;
    }
    bVar13 = param_1 < uVar11;
    bVar14 = param_1 == uVar11;
    if (bVar14) {
      local_34 = param_7[8];
      uVar11 = param_7[7];
LAB_00036372:
      if (local_34 != uVar11) {
        *param_7 = uVar11;
      }
      return 0xffffffff;
    }
    iVar8 = 3;
    pbVar10 = (byte *)param_2[uVar11];
    pbVar9 = pbVar10;
    pbVar12 = &DAT_0003da6c;
    do {
      if (iVar8 == 0) break;
      iVar8 = iVar8 + -1;
      bVar13 = *pbVar9 < *pbVar12;
      bVar14 = *pbVar9 == *pbVar12;
      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;
      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
    } while (bVar14);
    if ((!bVar13 && !bVar14) == bVar13) {
      uVar11 = uVar11 + 1;
      *param_7 = uVar11;
      if (param_7[7] == param_7[8]) {
        param_7[7] = uVar11;
      }
      else {
        bVar13 = uVar11 != param_7[8];
        uVar11 = param_7[7];
        if (bVar13) {
          FUN_00035900();
          uVar11 = param_7[7];
        }
      }
      param_7[8] = param_1;
      *param_7 = param_1;
      goto LAB_00036372;
    }
    if (*pbVar10 != 0x2d) {
LAB_00036331:
      if (param_7[6] == 0) {
        return 0xffffffff;
      }
      param_7[3] = (uint)pbVar10;
      *param_7 = uVar11 + 1;
      return 1;
    }
    bVar15 = pbVar10[1];
    if (bVar15 == 0) goto LAB_00036331;
    if (param_4 != 0) {
      if (bVar15 == 0x2d) {
        param_7[5] = (uint)(pbVar10 + 2);
        goto LAB_000364d6;
      }
      if ((param_6 != 0) &&
         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))
         ) {
        param_7[5] = (uint)(pbVar10 + 1);
        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);
        if (uVar11 != 0xffffffff) {
          return uVar11;
        }
        pbVar10 = (byte *)param_2[*param_7];
      }
    }
    pbVar10 = pbVar10 + 1;
  }
  pbVar9 = pbVar10 + 1;
  param_7[5] = (uint)pbVar9;
  bVar15 = *pbVar10;
  uVar11 = (uint)(char)bVar15;
  pcVar4 = strchr(local_3c,uVar11);
  if (pbVar10[1] == 0) {
    *param_7 = *param_7 + 1;
  }
  if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {
    if (uVar5 != 0) {
      uVar2 = *param_2;
      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);
      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);
    }
    param_7[2] = uVar11;
    return 0x3f;
  }
  if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {
    if (pcVar4[1] != ':') {
      return uVar11;
    }
    if (pcVar4[2] == ':') {
      if (pbVar10[1] == 0) {
        pbVar9 = (byte *)0x0;
      }
      else {
        *param_7 = *param_7 + 1;
      }
      param_7[3] = (uint)pbVar9;
      param_7[5] = 0;
      return uVar11;
    }
    uVar7 = *param_7;
    if (pbVar10[1] == 0) {
      if (param_1 == uVar7) {
        if (uVar5 != 0) {
          uVar2 = *param_2;
          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);
          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);
        }
        param_7[2] = uVar11;
        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;
      }
      else {
        *param_7 = uVar7 + 1;
        param_7[3] = param_2[uVar7];
      }
    }
    else {
      param_7[3] = (uint)pbVar9;
      *param_7 = uVar7 + 1;
    }
    param_7[5] = 0;
    return uVar11;
  }
  if (pbVar10[1] == 0) {
    if (*param_7 == param_1) {
      if (uVar5 != 0) {
        uVar2 = *param_2;
        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);
        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);
      }
      param_7[2] = uVar11;
      return (uint)(*local_3c != ':') * 5 + 0x3a;
    }
    pbVar9 = (byte *)param_2[*param_7];
  }
  param_7[5] = (uint)pbVar9;
  param_7[3] = 0;
LAB_000364d6:
  uVar11 = FUN_000359d0();
  return uVar11;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000142a0
ADD EBX,0x11cb3
SUB ESP,0x2c
MOV EDI,dword ptr [ESP + 0x44]
MOV ESI,dword ptr [ESP + 0x50]
MOV EBP,dword ptr [ESP + 0x58]
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [ESP + 0xc],EDI
MOV EDI,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0x18],ESI
MOV ESI,dword ptr [EBP + 0x4]
MOV dword ptr [ESP],EDI
MOV EDI,dword ptr [ESP + 0x4c]
MOV dword ptr [ESP + 0x8],EAX
MOV EDX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x10],EDI
MOV EDI,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0x4],ESI
MOV dword ptr [ESP + 0x14],EDI
TEST EAX,EAX
JLE 0x0003637b
MOV EAX,dword ptr [EBP]
MOV dword ptr [EBP + 0xc],0x0
TEST EAX,EAX
JZ 0x00036350
MOV ESI,dword ptr [EBP + 0x10]
TEST ESI,ESI
JNZ 0x000361d8
MOV dword ptr [EBP + 0x20],EAX
MOV dword ptr [EBP + 0x1c],EAX
MOV EAX,dword ptr [ESP]
MOV dword ptr [EBP + 0x14],0x0
MOVZX EAX,byte ptr [EAX]
CMP AL,0x2d
JZ 0x00036200
CMP AL,0x2b
JZ 0x00036588
XOR ESI,ESI
TEST EDX,EDX
JZ 0x00036500
MOV dword ptr [EBP + 0x18],0x0
JMP 0x0003620d
MOV ECX,dword ptr [ESP]
MOV ESI,dword ptr [EBP + 0x14]
MOVZX EAX,byte ptr [ECX]
LEA EDX,[EAX + -0x2b]
AND EDX,0xfd
JNZ 0x0003621a
LEA EDI,[ECX + 0x1]
MOVZX EAX,byte ptr [ECX + 0x1]
MOV dword ptr [ESP],EDI
JMP 0x0003621a
ADD dword ptr [ESP],0x1
XOR ESI,ESI
MOV dword ptr [EBP + 0x18],0x2
MOV EAX,dword ptr [ESP]
MOV dword ptr [EBP + 0x10],0x1
MOVZX EAX,byte ptr [EAX]
CMP AL,0x3a
MOV EAX,0x0
CMOVNZ EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x4],EAX
TEST ESI,ESI
JZ 0x000362a0
CMP byte ptr [ESI],0x0
JZ 0x000362a0
LEA ECX,[ESI + 0x1]
SUB ESP,0x8
MOV dword ptr [EBP + 0x14],ECX
MOVSX EDI,byte ptr [ESI]
MOV dword ptr [ESP + 0x24],ECX
MOV EDX,EDI
MOV byte ptr [ESP + 0x1c],DL
PUSH EDI
PUSH dword ptr [ESP + 0xc]
CALL 0x00012370
ADD ESP,0x10
CMP byte ptr [ESI + 0x1],0x0
MOVZX EDX,byte ptr [ESP + 0x14]
MOV ECX,dword ptr [ESP + 0x1c]
JNZ 0x00036269
ADD dword ptr [EBP],0x1
SUB EDX,0x3a
CMP DL,0x1
JBE 0x000365a0
TEST EAX,EAX
JZ 0x000365a0
CMP byte ptr [EAX],0x57
MOVZX EDX,byte ptr [EAX + 0x1]
JZ 0x00036480
CMP DL,0x3a
JZ 0x00036528
ADD ESP,0x2c
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBP]
CMP dword ptr [EBP + 0x20],EAX
JLE 0x000362ab
MOV dword ptr [EBP + 0x20],EAX
MOV ECX,dword ptr [EBP + 0x1c]
CMP EAX,ECX
JGE 0x000362b7
MOV dword ptr [EBP + 0x1c],EAX
MOV ECX,EAX
CMP dword ptr [EBP + 0x18],0x1
JZ 0x00036388
CMP dword ptr [ESP + 0x8],EAX
JZ 0x00036368
MOV ESI,dword ptr [ESP + 0xc]
LEA EDI,[EBX + 0xffff5c80]
MOV ECX,0x3
MOV dword ptr [ESP + 0x1c],EDI
MOV EDX,dword ptr [ESI + EAX*0x4]
MOV ESI,EDX
CMPSB.REPE ES:EDI,ESI
SETA CL
SBB CL,0x0
TEST CL,CL
JNZ 0x00036328
MOV EDX,dword ptr [EBP + 0x1c]
MOV ECX,dword ptr [EBP + 0x20]
ADD EAX,0x1
MOV dword ptr [EBP],EAX
CMP EDX,ECX
JZ 0x000365c0
CMP EAX,ECX
JZ 0x00036315
MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,EBP
CALL 0x00035900
MOV EDX,dword ptr [EBP + 0x1c]
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [EBP + 0x20],EAX
MOV dword ptr [EBP],EAX
JMP 0x00036372
CMP byte ptr [EDX],0x2d
JZ 0x000363e0
MOV ECX,dword ptr [EBP + 0x18]
TEST ECX,ECX
JZ 0x0003637b
ADD EAX,0x1
MOV dword ptr [EBP + 0xc],EDX
MOV EDI,0x1
MOV dword ptr [EBP],EAX
ADD ESP,0x2c
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EBP],0x1
MOV EAX,0x1
JMP 0x000361a1
MOV EAX,dword ptr [EBP + 0x20]
MOV EDX,dword ptr [EBP + 0x1c]
MOV dword ptr [ESP + 0x8],EAX
CMP dword ptr [ESP + 0x8],EDX
JZ 0x0003637b
MOV dword ptr [EBP],EDX
MOV EDI,0xffffffff
JMP 0x00036293
MOV EDX,dword ptr [EBP + 0x20]
CMP EDX,ECX
JZ 0x00036570
CMP EAX,EDX
JZ 0x000363a5
MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,EBP
CALL 0x00035900
MOV EDX,dword ptr [EBP]
CMP dword ptr [ESP + 0x8],EDX
JLE 0x000363d0
MOV ESI,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0xc]
JMP 0x000363c2
ADD EDX,0x1
MOV dword ptr [EBP],EDX
CMP EDX,ESI
JZ 0x000363d0
MOV EAX,dword ptr [ECX + EDX*0x4]
CMP byte ptr [EAX],0x2d
JNZ 0x000363b8
CMP byte ptr [EAX + 0x1],0x0
JZ 0x000363b8
MOV EAX,EDX
MOV dword ptr [EBP + 0x20],EDX
JMP 0x000362c1
MOVSX ECX,byte ptr [EDX + 0x1]
TEST CL,CL
JZ 0x00036331
MOV EDI,dword ptr [ESP + 0x10]
TEST EDI,EDI
JZ 0x00036470
CMP CL,0x2d
JZ 0x00036662
MOV ESI,dword ptr [ESP + 0x14]
TEST ESI,ESI
JZ 0x00036470
CMP byte ptr [EDX + 0x2],0x0
JNZ 0x00036427
MOV dword ptr [ESP + 0x1c],EDX
SUB ESP,0x8
PUSH ECX
PUSH dword ptr [ESP + 0xc]
CALL 0x00012370
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x1c]
TEST EAX,EAX
JNZ 0x00036470
SUB ESP,0x8
ADD EDX,0x1
LEA EAX,[EBX + 0xffff5c81]
MOV dword ptr [EBP + 0x14],EDX
PUSH EAX
PUSH dword ptr [ESP + 0x10]
PUSH EBP
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x2c]
MOV ESI,dword ptr [ESP + 0x2c]
MOV ECX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x28]
MOV EDX,ESI
CALL 0x000359d0
ADD ESP,0x20
MOV EDI,EAX
CMP EAX,-0x1
JNZ 0x00036293
MOV EAX,dword ptr [EBP]
MOV EDX,dword ptr [ESI + EAX*0x4]
NOP
LEA ESI,[EDX + 0x1]
JMP 0x00036233
CMP dword ptr [ESP + 0x10],0x0
JZ 0x0003628a
CMP DL,0x3b
JNZ 0x0003628a
CMP byte ptr [ESI + 0x1],0x0
JNZ 0x000364ae
MOV EAX,dword ptr [EBP]
CMP EAX,dword ptr [ESP + 0x8]
JZ 0x00036689
MOV ESI,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESI + EAX*0x4]
LEA EAX,[EBX + 0xffff5c9f]
MOV dword ptr [EBP + 0x14],ECX
MOV dword ptr [EBP + 0xc],0x0
MOV dword ptr [ESP + 0x54],EAX
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x4c],EBP
MOV dword ptr [ESP + 0x50],EAX
MOV dword ptr [ESP + 0x48],0x0
MOV EAX,dword ptr [ESP + 0x18]
MOV ECX,dword ptr [ESP]
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x44],EAX
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x40],EAX
MOV EAX,dword ptr [ESP + 0x8]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x000359d0
SUB ESP,0xc
LEA EAX,[EBX + 0xffff121c]
PUSH EAX
CALL 0x000122e0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003662f
MOV ESI,dword ptr [EBP + 0x14]
JMP 0x000361ca
CMP byte ptr [EAX + 0x2],0x3a
MOVZX EDX,byte ptr [ESI + 0x1]
JZ 0x00036618
MOV EAX,dword ptr [EBP]
TEST DL,DL
JNZ 0x000365d0
CMP dword ptr [ESP + 0x8],EAX
JZ 0x00036642
MOV EBX,dword ptr [ESP + 0xc]
LEA EDX,[EAX + 0x1]
MOV dword ptr [EBP],EDX
MOV EAX,dword ptr [EBX + EAX*0x4]
MOV dword ptr [EBP + 0xc],EAX
MOV dword ptr [EBP + 0x14],0x0
JMP 0x00036293
CMP EAX,ECX
JZ 0x00036710
MOV dword ptr [EBP + 0x1c],EAX
MOV EDX,EAX
JMP 0x000363a5
MOV dword ptr [EBP + 0x18],0x0
XOR ESI,ESI
ADD dword ptr [ESP],0x1
JMP 0x0003620d
MOV EAX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JNZ 0x000365e0
MOV dword ptr [EBP + 0x8],EDI
ADD ESP,0x2c
MOV EDI,0x3f
POP EBX
MOV EAX,EDI
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EBP + 0x1c],EAX
MOV EDX,EAX
JMP 0x00036315
ADD EAX,0x1
MOV dword ptr [EBP + 0xc],ECX
MOV dword ptr [EBP],EAX
JMP 0x0003655b
MOV EAX,dword ptr [ESP + 0xc]
SUB ESP,0x4
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff5c83]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012180
MOV dword ptr [ESP],EDI
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0x1d0]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x00012620
ADD ESP,0x20
JMP 0x000365a8
TEST DL,DL
JZ 0x0003663e
ADD dword ptr [EBP],0x1
MOV dword ptr [EBP + 0xc],ECX
MOV dword ptr [EBP + 0x14],0x0
JMP 0x00036293
MOV dword ptr [EBP + 0x18],0x1
MOV ESI,dword ptr [EBP + 0x14]
JMP 0x0003620d
XOR ECX,ECX
JMP 0x00036620
MOV EAX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JNZ 0x000366a9
MOV EAX,dword ptr [ESP]
MOV dword ptr [EBP + 0x8],EDI
CMP byte ptr [EAX],0x3a
SETNZ AL
MOVZX EAX,AL
LEA EDI,[EAX + EAX*0x4 + 0x3a]
JMP 0x0003655b
MOV EAX,dword ptr [ESP + 0x1c]
ADD EDX,0x2
MOV dword ptr [EBP + 0x14],EDX
MOV dword ptr [ESP + 0x54],EAX
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x4c],EBP
MOV dword ptr [ESP + 0x50],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x48],EAX
JMP 0x000364d6
MOV EDX,dword ptr [ESP + 0x4]
TEST EDX,EDX
JNZ 0x000366de
MOV EAX,dword ptr [ESP]
MOV dword ptr [EBP + 0x8],EDI
CMP byte ptr [EAX],0x3a
SETNZ AL
MOVZX EAX,AL
LEA EDI,[EAX + EAX*0x4 + 0x3a]
JMP 0x00036293
MOV EAX,dword ptr [ESP + 0xc]
SUB ESP,0x4
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff5c4c]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012180
MOV dword ptr [ESP],EDI
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0x1d0]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x00012620
ADD ESP,0x20
JMP 0x0003664a
MOV EAX,dword ptr [ESP + 0xc]
SUB ESP,0x4
MOV ESI,dword ptr [EAX]
LEA EAX,[EBX + 0xffff5c4c]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012180
MOV dword ptr [ESP],EDI
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0x1d0]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x00012620
ADD ESP,0x20
JMP 0x00036691
MOV EDX,ECX
JMP 0x000363a5
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_00036130(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  char cVar3;\n  char *pcVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  char *local_3c;\n  uint local_34;\n  \n  bVar15 = 0;\n  uVar11 = param_7[1];\n  local_3c = param_3;\n  local_34 = param_1;\n  if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }\n  uVar5 = *param_7;\n  param_7[3] = 0;\n  if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }\n  uVar5 = 0;\n  if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }\n  if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }\n  pbVar9 = pbVar10 + 1;\n  param_7[5] = (uint)pbVar9;\n  bVar15 = *pbVar10;\n  uVar11 = (uint)(char)bVar15;\n  pcVar4 = strchr(local_3c,uVar11);\n  if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }\n  if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }\n  if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }\n  if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }\n  param_7[5] = (uint)pbVar9;\n  param_7[3] = 0;\nLAB_000364d6:\n  uVar11 = FUN_000359d0();\n  return uVar11;\n}\n\n" comment (function_definition "uint FUN_00036130(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  char cVar3;\n  char *pcVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  char *local_3c;\n  uint local_34;\n  \n  bVar15 = 0;\n  uVar11 = param_7[1];\n  local_3c = param_3;\n  local_34 = param_1;\n  if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }\n  uVar5 = *param_7;\n  param_7[3] = 0;\n  if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }\n  uVar5 = 0;\n  if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }\n  if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }\n  pbVar9 = pbVar10 + 1;\n  param_7[5] = (uint)pbVar9;\n  bVar15 = *pbVar10;\n  uVar11 = (uint)(char)bVar15;\n  pcVar4 = strchr(local_3c,uVar11);\n  if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }\n  if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }\n  if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }\n  if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }\n  param_7[5] = (uint)pbVar9;\n  param_7[3] = 0;\nLAB_000364d6:\n  uVar11 = FUN_000359d0();\n  return uVar11;\n}" type_identifier (function_declarator "FUN_00036130(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)" identifier (parameter_list "(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "int param_8" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  char cVar3;\n  char *pcVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  char *local_3c;\n  uint local_34;\n  \n  bVar15 = 0;\n  uVar11 = param_7[1];\n  local_3c = param_3;\n  local_34 = param_1;\n  if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }\n  uVar5 = *param_7;\n  param_7[3] = 0;\n  if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }\n  uVar5 = 0;\n  if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }\n  if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }\n  pbVar9 = pbVar10 + 1;\n  param_7[5] = (uint)pbVar9;\n  bVar15 = *pbVar10;\n  uVar11 = (uint)(char)bVar15;\n  pcVar4 = strchr(local_3c,uVar11);\n  if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }\n  if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }\n  if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }\n  if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }\n  param_7[5] = (uint)pbVar9;\n  param_7[3] = 0;\nLAB_000364d6:\n  uVar11 = FUN_000359d0();\n  return uVar11;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (declaration "char *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "uint local_34;" type_identifier identifier ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = param_7[1];" (assignment_expression "uVar11 = param_7[1]" identifier = (subscript_expression "param_7[1]" identifier [ number_literal ])) ;) (expression_statement "local_3c = param_3;" (assignment_expression "local_3c = param_3" identifier = identifier) ;) (expression_statement "local_34 = param_1;" (assignment_expression "local_34 = param_1" identifier = identifier) ;) (if_statement "if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "((int)param_1 < 1)" ( (binary_expression "(int)param_1 < 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "uVar5 = *param_7;" (assignment_expression "uVar5 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }" { (expression_statement "*param_7 = 1;" (assignment_expression "*param_7 = 1" (pointer_expression "*param_7" * identifier) = number_literal) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (labeled_statement "LAB_000361a1:\n    param_7[8] = uVar5;" statement_identifier : (expression_statement "param_7[8] = uVar5;" (assignment_expression "param_7[8] = uVar5" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "param_7[7] = uVar5;" (assignment_expression "param_7[7] = uVar5" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" if (parenthesized_expression "(*param_3 == '-')" ( (binary_expression "*param_3 == '-'" (pointer_expression "*param_3" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }" { (expression_statement "local_3c = param_3 + 1;" (assignment_expression "local_3c = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar10 = (byte *)0x0;" (assignment_expression "pbVar10 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "param_7[6] = 2;" (assignment_expression "param_7[6] = 2" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" else (if_statement "if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" if (parenthesized_expression "(*param_3 == '+')" ( (binary_expression "*param_3 == '+'" (pointer_expression "*param_3" * identifier) == (char_literal "'+'" ' character ')) )) (compound_statement "{\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }" { (expression_statement "param_7[6] = 0;" (assignment_expression "param_7[6] = 0" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar10 = (byte *)0x0;" (assignment_expression "pbVar10 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_3c = param_3 + 1;" (assignment_expression "local_3c = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" else (compound_statement "{\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" { (expression_statement "pbVar10 = (byte *)0x0;" (assignment_expression "pbVar10 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }" if (parenthesized_expression "(param_8 == 0)" ( (binary_expression "param_8 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }" { (expression_statement "pcVar4 = getenv("POSIXLY_CORRECT");" (assignment_expression "pcVar4 = getenv("POSIXLY_CORRECT")" identifier = (call_expression "getenv("POSIXLY_CORRECT")" identifier (argument_list "("POSIXLY_CORRECT")" ( (string_literal ""POSIXLY_CORRECT"" " string_content ") )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }" { (expression_statement "param_7[6] = 1;" (assignment_expression "param_7[6] = 1" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar10 = (byte *)param_7[5];" (assignment_expression "pbVar10 = (byte *)param_7[5]" identifier = (cast_expression "(byte *)param_7[5]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_0003620d;" goto statement_identifier ;) })) (expression_statement "pbVar10 = (byte *)param_7[5];" (assignment_expression "pbVar10 = (byte *)param_7[5]" identifier = (cast_expression "(byte *)param_7[5]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) ;) })) (expression_statement "param_7[6] = 0;" (assignment_expression "param_7[6] = 0" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) }))))) (labeled_statement "LAB_0003620d:\n    param_7[4] = 1;" statement_identifier : (expression_statement "param_7[4] = 1;" (assignment_expression "param_7[4] = 1" (subscript_expression "param_7[4]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "cVar3 = *local_3c;" (assignment_expression "cVar3 = *local_3c" identifier = (pointer_expression "*local_3c" * identifier)) ;) }) (else_clause "else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }" else (compound_statement "{\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }" { (if_statement "if (param_7[4] == 0) goto LAB_000361a1;" if (parenthesized_expression "(param_7[4] == 0)" ( (binary_expression "param_7[4] == 0" (subscript_expression "param_7[4]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_000361a1;" goto statement_identifier ;)) (expression_statement "pbVar10 = (byte *)param_7[5];" (assignment_expression "pbVar10 = (byte *)param_7[5]" identifier = (cast_expression "(byte *)param_7[5]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) ;) (expression_statement "cVar3 = *param_3;" (assignment_expression "cVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (if_statement "if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }" if (parenthesized_expression "((cVar3 - 0x2bU & 0xfd) == 0)" ( (binary_expression "(cVar3 - 0x2bU & 0xfd) == 0" (parenthesized_expression "(cVar3 - 0x2bU & 0xfd)" ( (binary_expression "cVar3 - 0x2bU & 0xfd" (binary_expression "cVar3 - 0x2bU" identifier - number_literal) & number_literal) )) == number_literal) )) (compound_statement "{\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }" { (expression_statement "local_3c = param_3 + 1;" (assignment_expression "local_3c = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = param_3[1];" (assignment_expression "cVar3 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) })) }))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }" if (parenthesized_expression "(cVar3 != ':')" ( (binary_expression "cVar3 != ':'" identifier != (char_literal "':'" ' character ')) )) (compound_statement "{\n    uVar5 = uVar11;\n  }" { (expression_statement "uVar5 = uVar11;" (assignment_expression "uVar5 = uVar11" identifier = identifier) ;) })) (if_statement "if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }" if (parenthesized_expression "((pbVar10 == (byte *)0x0) || (*pbVar10 == 0))" ( (binary_expression "(pbVar10 == (byte *)0x0) || (*pbVar10 == 0)" (parenthesized_expression "(pbVar10 == (byte *)0x0)" ( (binary_expression "pbVar10 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*pbVar10 == 0)" ( (binary_expression "*pbVar10 == 0" (pointer_expression "*pbVar10" * identifier) == number_literal) ))) )) (compound_statement "{\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }" { (expression_statement "uVar11 = *param_7;" (assignment_expression "uVar11 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }" if (parenthesized_expression "((int)uVar11 < (int)param_7[8])" ( (binary_expression "(int)uVar11 < (int)param_7[8]" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)param_7[8]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_7[8]" identifier [ number_literal ]))) )) (compound_statement "{\n      param_7[8] = uVar11;\n    }" { (expression_statement "param_7[8] = uVar11;" (assignment_expression "param_7[8] = uVar11" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "uVar7 = param_7[7];" (assignment_expression "uVar7 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) (if_statement "if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }" if (parenthesized_expression "((int)uVar11 < (int)param_7[7])" ( (binary_expression "(int)uVar11 < (int)param_7[7]" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)param_7[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_7[7]" identifier [ number_literal ]))) )) (compound_statement "{\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }" { (expression_statement "param_7[7] = uVar11;" (assignment_expression "param_7[7] = uVar11" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = uVar11;" (assignment_expression "uVar7 = uVar11" identifier = identifier) ;) })) (if_statement "if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }" if (parenthesized_expression "(param_7[6] == 1)" ( (binary_expression "param_7[6] == 1" (subscript_expression "param_7[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }" { (expression_statement "uVar1 = param_7[8];" (assignment_expression "uVar1 = param_7[8]" identifier = (subscript_expression "param_7[8]" identifier [ number_literal ])) ;) (if_statement "if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }" if (parenthesized_expression "(uVar1 == uVar7)" ( (binary_expression "uVar1 == uVar7" identifier == identifier) )) (compound_statement "{\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }" { (if_statement "if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }" if (parenthesized_expression "(uVar11 != uVar7)" ( (binary_expression "uVar11 != uVar7" identifier != identifier) )) (compound_statement "{\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }" { (expression_statement "param_7[7] = uVar11;" (assignment_expression "param_7[7] = uVar11" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = uVar11;" (assignment_expression "uVar7 = uVar11" identifier = identifier) ;) })) }) (else_clause "else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }" else (compound_statement "{\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }" { (expression_statement "uVar7 = uVar1;" (assignment_expression "uVar7 = uVar1" identifier = identifier) ;) (if_statement "if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }" if (parenthesized_expression "(uVar11 != uVar1)" ( (binary_expression "uVar11 != uVar1" identifier != identifier) )) (compound_statement "{\n          FUN_00035900();\n          uVar7 = *param_7;\n        }" { (expression_statement "FUN_00035900();" (call_expression "FUN_00035900()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar7 = *param_7;" (assignment_expression "uVar7 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) })) }))) (expression_statement "uVar11 = uVar7;" (assignment_expression "uVar11 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }" if (parenthesized_expression "((int)uVar11 < (int)param_1)" ( (binary_expression "(int)uVar11 < (int)param_1" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }" { (do_statement "do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);" do (compound_statement "{\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        }" { (if_statement "if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;" if (parenthesized_expression "((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0'))" ( (binary_expression "(*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')" (parenthesized_expression "(*(char *)param_2[uVar11] == '-')" ( (binary_expression "*(char *)param_2[uVar11] == '-'" (pointer_expression "*(char *)param_2[uVar11]" * (cast_expression "(char *)param_2[uVar11]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ]))) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(((char *)param_2[uVar11])[1] != '\0')" ( (binary_expression "((char *)param_2[uVar11])[1] != '\0'" (subscript_expression "((char *)param_2[uVar11])[1]" (parenthesized_expression "((char *)param_2[uVar11])" ( (cast_expression "(char *)param_2[uVar11]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ])) )) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = uVar11;" (assignment_expression "*param_7 = uVar11" (pointer_expression "*param_7" * identifier) = identifier) ;) }) while (parenthesized_expression "(uVar11 != param_1)" ( (binary_expression "uVar11 != param_1" identifier != identifier) )) ;) })) (expression_statement "param_7[8] = uVar11;" (assignment_expression "param_7[8] = uVar11" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "bVar13 = param_1 < uVar11;" (assignment_expression "bVar13 = param_1 < uVar11" identifier = (binary_expression "param_1 < uVar11" identifier < identifier)) ;) (expression_statement "bVar14 = param_1 == uVar11;" (assignment_expression "bVar14 = param_1 == uVar11" identifier = (binary_expression "param_1 == uVar11" identifier == identifier)) ;) (if_statement "if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }" { (expression_statement "local_34 = param_7[8];" (assignment_expression "local_34 = param_7[8]" identifier = (subscript_expression "param_7[8]" identifier [ number_literal ])) ;) (expression_statement "uVar11 = param_7[7];" (assignment_expression "uVar11 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) (labeled_statement "LAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }" statement_identifier : (if_statement "if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }" if (parenthesized_expression "(local_34 != uVar11)" ( (binary_expression "local_34 != uVar11" identifier != identifier) )) (compound_statement "{\n        *param_7 = uVar11;\n      }" { (expression_statement "*param_7 = uVar11;" (assignment_expression "*param_7 = uVar11" (pointer_expression "*param_7" * identifier) = identifier) ;) }))) (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "iVar8 = 3;" (assignment_expression "iVar8 = 3" identifier = number_literal) ;) (expression_statement "pbVar10 = (byte *)param_2[uVar11];" (assignment_expression "pbVar10 = (byte *)param_2[uVar11]" identifier = (cast_expression "(byte *)param_2[uVar11]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ]))) ;) (expression_statement "pbVar9 = pbVar10;" (assignment_expression "pbVar9 = pbVar10" identifier = identifier) ;) (expression_statement "pbVar12 = &DAT_0003da6c;" (assignment_expression "pbVar12 = &DAT_0003da6c" identifier = (pointer_expression "&DAT_0003da6c" & identifier)) ;) (do_statement "do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);" do (compound_statement "{\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    }" { (if_statement "if (iVar8 == 0) break;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" identifier = (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" identifier = (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (compound_statement "{\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }" { (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = uVar11;" (assignment_expression "*param_7 = uVar11" (pointer_expression "*param_7" * identifier) = identifier) ;) (if_statement "if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }" if (parenthesized_expression "(param_7[7] == param_7[8])" ( (binary_expression "param_7[7] == param_7[8]" (subscript_expression "param_7[7]" identifier [ number_literal ]) == (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n        param_7[7] = uVar11;\n      }" { (expression_statement "param_7[7] = uVar11;" (assignment_expression "param_7[7] = uVar11" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }" else (compound_statement "{\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }" { (expression_statement "bVar13 = uVar11 != param_7[8];" (assignment_expression "bVar13 = uVar11 != param_7[8]" identifier = (binary_expression "uVar11 != param_7[8]" identifier != (subscript_expression "param_7[8]" identifier [ number_literal ]))) ;) (expression_statement "uVar11 = param_7[7];" (assignment_expression "uVar11 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) (if_statement "if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }" if (parenthesized_expression "(bVar13)" ( identifier )) (compound_statement "{\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }" { (expression_statement "FUN_00035900();" (call_expression "FUN_00035900()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar11 = param_7[7];" (assignment_expression "uVar11 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) })) }))) (expression_statement "param_7[8] = param_1;" (assignment_expression "param_7[8] = param_1" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_7 = param_1;" (assignment_expression "*param_7 = param_1" (pointer_expression "*param_7" * identifier) = identifier) ;) (goto_statement "goto LAB_00036372;" goto statement_identifier ;) })) (if_statement "if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }" if (parenthesized_expression "(*pbVar10 != 0x2d)" ( (binary_expression "*pbVar10 != 0x2d" (pointer_expression "*pbVar10" * identifier) != number_literal) )) (compound_statement "{\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }" { (labeled_statement "LAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }" statement_identifier : (if_statement "if (param_7[6] == 0) {\n        return 0xffffffff;\n      }" if (parenthesized_expression "(param_7[6] == 0)" ( (binary_expression "param_7[6] == 0" (subscript_expression "param_7[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        return 0xffffffff;\n      }" { (return_statement "return 0xffffffff;" return number_literal ;) }))) (expression_statement "param_7[3] = (uint)pbVar10;" (assignment_expression "param_7[3] = (uint)pbVar10" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*param_7 = uVar11 + 1;" (assignment_expression "*param_7 = uVar11 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "bVar15 = pbVar10[1];" (assignment_expression "bVar15 = pbVar10[1]" identifier = (subscript_expression "pbVar10[1]" identifier [ number_literal ])) ;) (if_statement "if (bVar15 == 0) goto LAB_00036331;" if (parenthesized_expression "(bVar15 == 0)" ( (binary_expression "bVar15 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00036331;" goto statement_identifier ;)) (if_statement "if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }" { (if_statement "if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }" if (parenthesized_expression "(bVar15 == 0x2d)" ( (binary_expression "bVar15 == 0x2d" identifier == number_literal) )) (compound_statement "{\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }" { (expression_statement "param_7[5] = (uint)(pbVar10 + 2);" (assignment_expression "param_7[5] = (uint)(pbVar10 + 2)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (call_expression "(uint)(pbVar10 + 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pbVar10 + 2)" ( (binary_expression "pbVar10 + 2" identifier + number_literal) )))) ;) (goto_statement "goto LAB_000364d6;" goto statement_identifier ;) })) (if_statement "if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }" if (parenthesized_expression "((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         )" ( (binary_expression "(param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))" ( (parenthesized_expression "(pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0))" ( (binary_expression "pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)" (binary_expression "pbVar10[2] != 0" (subscript_expression "pbVar10[2]" identifier [ number_literal ]) != number_literal) || (parenthesized_expression "(pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)" ( (comma_expression "pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0" (assignment_expression "pcVar4 = strchr(local_3c,(int)(char)bVar15)" identifier = (call_expression "strchr(local_3c,(int)(char)bVar15)" identifier (argument_list "(local_3c,(int)(char)bVar15)" ( identifier , (cast_expression "(int)(char)bVar15" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar15" ( (type_descriptor "char" primitive_type) ) identifier)) )))) , (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) ))) )) (compound_statement "{\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }" { (expression_statement "param_7[5] = (uint)(pbVar10 + 1);" (assignment_expression "param_7[5] = (uint)(pbVar10 + 1)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (call_expression "(uint)(pbVar10 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pbVar10 + 1)" ( (binary_expression "pbVar10 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);" (assignment_expression "uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d)" identifier = (call_expression "FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d)" identifier (argument_list "(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d)" ( identifier , identifier , identifier , identifier , identifier , (pointer_expression "&DAT_0003da6d" & identifier) )))) ;) (if_statement "if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }" if (parenthesized_expression "(uVar11 != 0xffffffff)" ( (binary_expression "uVar11 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n          return uVar11;\n        }" { (return_statement "return uVar11;" return identifier ;) })) (expression_statement "pbVar10 = (byte *)param_2[*param_7];" (assignment_expression "pbVar10 = (byte *)param_2[*param_7]" identifier = (cast_expression "(byte *)param_2[*param_7]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[*param_7]" identifier [ (pointer_expression "*param_7" * identifier) ]))) ;) })) })) (expression_statement "pbVar10 = pbVar10 + 1;" (assignment_expression "pbVar10 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar9 = pbVar10 + 1;" (assignment_expression "pbVar9 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) (expression_statement "param_7[5] = (uint)pbVar9;" (assignment_expression "param_7[5] = (uint)pbVar9" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "bVar15 = *pbVar10;" (assignment_expression "bVar15 = *pbVar10" identifier = (pointer_expression "*pbVar10" * identifier)) ;) (expression_statement "uVar11 = (uint)(char)bVar15;" (assignment_expression "uVar11 = (uint)(char)bVar15" identifier = (cast_expression "(uint)(char)bVar15" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(char)bVar15" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "pcVar4 = strchr(local_3c,uVar11);" (assignment_expression "pcVar4 = strchr(local_3c,uVar11)" identifier = (call_expression "strchr(local_3c,uVar11)" identifier (argument_list "(local_3c,uVar11)" ( identifier , identifier )))) ;) (if_statement "if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }" if (parenthesized_expression "(pbVar10[1] == 0)" ( (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    *param_7 = *param_7 + 1;\n  }" { (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 + 1" (pointer_expression "*param_7" * identifier) + number_literal)) ;) })) (if_statement "if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }" if (parenthesized_expression "(((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0))" ( (binary_expression "((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)" (parenthesized_expression "((byte)(bVar15 - 0x3a) < 2)" ( (binary_expression "(byte)(bVar15 - 0x3a) < 2" (call_expression "(byte)(bVar15 - 0x3a)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar15 - 0x3a)" ( (binary_expression "bVar15 - 0x3a" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }" { (if_statement "if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5)" identifier = (call_expression "dcgettext(0,"%s: invalid option -- \'%c\'\n",5)" identifier (argument_list "(0,"%s: invalid option -- \'%c\'\n",5)" ( number_literal , (string_literal ""%s: invalid option -- \'%c\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" * (cast_expression "(undefined4 *)PTR_stderr_00047fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "param_7[2] = uVar11;" (assignment_expression "param_7[2] = uVar11" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 0x3f;" return number_literal ;) })) (if_statement "if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }" if (parenthesized_expression "(((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';'))" ( (binary_expression "((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')" (parenthesized_expression "((*pcVar4 != 'W') || (param_4 == 0))" ( (binary_expression "(*pcVar4 != 'W') || (param_4 == 0)" (parenthesized_expression "(*pcVar4 != 'W')" ( (binary_expression "*pcVar4 != 'W'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'W'" ' character ')) )) || (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "(pcVar4[1] != ';')" ( (binary_expression "pcVar4[1] != ';'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "';'" ' character ')) ))) )) (compound_statement "{\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }" { (if_statement "if (pcVar4[1] != ':') {\n      return uVar11;\n    }" if (parenthesized_expression "(pcVar4[1] != ':')" ( (binary_expression "pcVar4[1] != ':'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n      return uVar11;\n    }" { (return_statement "return uVar11;" return identifier ;) })) (if_statement "if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }" if (parenthesized_expression "(pcVar4[2] == ':')" ( (binary_expression "pcVar4[2] == ':'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }" { (if_statement "if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }" if (parenthesized_expression "(pbVar10[1] == 0)" ( (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        pbVar9 = (byte *)0x0;\n      }" { (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        *param_7 = *param_7 + 1;\n      }" else (compound_statement "{\n        *param_7 = *param_7 + 1;\n      }" { (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 + 1" (pointer_expression "*param_7" * identifier) + number_literal)) ;) }))) (expression_statement "param_7[3] = (uint)pbVar9;" (assignment_expression "param_7[3] = (uint)pbVar9" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return uVar11;" return identifier ;) })) (expression_statement "uVar7 = *param_7;" (assignment_expression "uVar7 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }" if (parenthesized_expression "(pbVar10[1] == 0)" ( (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }" { (if_statement "if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }" if (parenthesized_expression "(param_1 == uVar7)" ( (binary_expression "param_1 == uVar7" identifier == identifier) )) (compound_statement "{\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }" { (if_statement "if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier = (call_expression "dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier (argument_list "(0,"%s: option requires an argument -- \'%c\'\n",5)" ( number_literal , (string_literal ""%s: option requires an argument -- \'%c\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" * (cast_expression "(undefined4 *)PTR_stderr_00047fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "param_7[2] = uVar11;" (assignment_expression "param_7[2] = uVar11" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;" (assignment_expression "uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a" identifier = (binary_expression "(uint)(*local_3c != ':') * 5 + 0x3a" (binary_expression "(uint)(*local_3c != ':') * 5" (call_expression "(uint)(*local_3c != ':')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*local_3c != ':')" ( (binary_expression "*local_3c != ':'" (pointer_expression "*local_3c" * identifier) != (char_literal "':'" ' character ')) ))) * number_literal) + number_literal)) ;) }) (else_clause "else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }" else (compound_statement "{\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }" { (expression_statement "*param_7 = uVar7 + 1;" (assignment_expression "*param_7 = uVar7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "param_7[3] = param_2[uVar7];" (assignment_expression "param_7[3] = param_2[uVar7]" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (subscript_expression "param_2[uVar7]" identifier [ identifier ])) ;) }))) }) (else_clause "else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }" else (compound_statement "{\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }" { (expression_statement "param_7[3] = (uint)pbVar9;" (assignment_expression "param_7[3] = (uint)pbVar9" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*param_7 = uVar7 + 1;" (assignment_expression "*param_7 = uVar7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return uVar11;" return identifier ;) })) (if_statement "if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }" if (parenthesized_expression "(pbVar10[1] == 0)" ( (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }" { (if_statement "if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }" if (parenthesized_expression "(*param_7 == param_1)" ( (binary_expression "*param_7 == param_1" (pointer_expression "*param_7" * identifier) == identifier) )) (compound_statement "{\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }" { (if_statement "if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier = (call_expression "dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier (argument_list "(0,"%s: option requires an argument -- \'%c\'\n",5)" ( number_literal , (string_literal ""%s: option requires an argument -- \'%c\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" * (cast_expression "(undefined4 *)PTR_stderr_00047fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "param_7[2] = uVar11;" (assignment_expression "param_7[2] = uVar11" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return (uint)(*local_3c != ':') * 5 + 0x3a;" return (binary_expression "(uint)(*local_3c != ':') * 5 + 0x3a" (binary_expression "(uint)(*local_3c != ':') * 5" (call_expression "(uint)(*local_3c != ':')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*local_3c != ':')" ( (binary_expression "*local_3c != ':'" (pointer_expression "*local_3c" * identifier) != (char_literal "':'" ' character ')) ))) * number_literal) + number_literal) ;) })) (expression_statement "pbVar9 = (byte *)param_2[*param_7];" (assignment_expression "pbVar9 = (byte *)param_2[*param_7]" identifier = (cast_expression "(byte *)param_2[*param_7]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[*param_7]" identifier [ (pointer_expression "*param_7" * identifier) ]))) ;) })) (expression_statement "param_7[5] = (uint)pbVar9;" (assignment_expression "param_7[5] = (uint)pbVar9" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_000364d6:\n  uVar11 = FUN_000359d0();" statement_identifier : (expression_statement "uVar11 = FUN_000359d0();" (assignment_expression "uVar11 = FUN_000359d0()" identifier = (call_expression "FUN_000359d0()" identifier (argument_list "()" ( )))) ;)) (return_statement "return uVar11;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint _getopt_internal_r(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,\n                      int long_only,_getopt_data *d,int posixly_correct)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  char cVar3;\n  char *pcVar4;\n  int iVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  int iVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  char *local_3c;\n  char *local_34;\n  \n  bVar14 = 0;\n  iVar10 = d->rpl_opterr;\n  local_3c = optstring;\n  local_34 = (char *)argc;\n  if (argc < 1) {\n    return -1;\n  }\n  iVar5 = d->rpl_optind;\n  d->rpl_optarg = (char *)0x0;\n  if (iVar5 == 0) {\n    d->rpl_optind = 1;\n    iVar5 = 1;\nLAB_000361a1:\n    d->__last_nonopt = iVar5;\n    d->__first_nonopt = iVar5;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      local_3c = optstring + 1;\n      pcVar8 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      pcVar8 = (char *)0x0;\n      local_3c = optstring + 1;\n    }\n    else {\n      pcVar8 = (char *)0x0;\n      if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }\nLAB_0003620d:\n    d->__initialized = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_000361a1;\n    pcVar8 = d->__nextchar;\n    cVar3 = *optstring;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = optstring + 1;\n      cVar3 = optstring[1];\n    }\n  }\n  iVar5 = 0;\n  if (cVar3 != ':') {\n    iVar5 = iVar10;\n  }\n  if ((pcVar8 != (char *)0x0) && (*pcVar8 != '\0')) {\n    pcVar7 = pcVar8 + 1;\n    d->__nextchar = pcVar7;\n    cVar3 = *pcVar8;\n    iVar10 = (int)cVar3;\n    pcVar4 = strchr(local_3c,iVar10);\n    if (pcVar8[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    if (((byte)(cVar3 - 0x3aU) < 2) || (pcVar4 == (char *)0x0)) {\n      if (iVar5 != 0) {\n        pcVar8 = *argv;\n        uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n      }\n      d->rpl_optopt = iVar10;\n      return 0x3f;\n    }\n    if (((*pcVar4 != 'W') || (longopts == (rpl_option *)0x0)) || (pcVar4[1] != ';')) {\n      if (pcVar4[1] != ':') {\n        return iVar10;\n      }\n      if (pcVar4[2] == ':') {\n        if (pcVar8[1] == '\0') {\n          pcVar7 = (char *)0x0;\n        }\n        else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }\n        d->rpl_optarg = pcVar7;\n        d->__nextchar = (char *)0x0;\n        return iVar10;\n      }\n      iVar2 = d->rpl_optind;\n      if (pcVar8[1] == '\0') {\n        if (argc == iVar2) {\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }\n        else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }\n      }\n      else {\n        d->rpl_optarg = pcVar7;\n        d->rpl_optind = iVar2 + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar10;\n    }\n    if (pcVar8[1] == '\0') {\n      if (d->rpl_optind == argc) {\n        if (iVar5 != 0) {\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }\n        d->rpl_optopt = iVar10;\n        return (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      pcVar7 = argv[d->rpl_optind];\n    }\n    d->__nextchar = pcVar7;\n    d->rpl_optarg = (char *)0x0;\n    optstring = (char *)0x0;\n    long_only = (int)&UNK_0003da8b;\nLAB_000364d6:\n    iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,\n                                 (char *)long_only);\n    return iVar10;\n  }\n  pcVar8 = (char *)d->rpl_optind;\n  if ((int)pcVar8 < d->__last_nonopt) {\n    d->__last_nonopt = (int)pcVar8;\n  }\n  pcVar7 = (char *)d->__first_nonopt;\n  if ((int)pcVar8 < d->__first_nonopt) {\n    d->__first_nonopt = (int)pcVar8;\n    pcVar7 = pcVar8;\n  }\n  if (d->__ordering == PERMUTE) {\n    pcVar4 = (char *)d->__last_nonopt;\n    if (pcVar4 == pcVar7) {\n      if (pcVar8 != pcVar7) {\n        d->__first_nonopt = (int)pcVar8;\n        pcVar7 = pcVar8;\n      }\n    }\n    else {\n      pcVar7 = pcVar4;\n      if (pcVar8 != pcVar4) {\n        exchange(argv,d);\n        pcVar7 = (char *)d->rpl_optind;\n      }\n    }\n    pcVar8 = pcVar7;\n    if ((int)pcVar8 < argc) {\n      do {\n        if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;\n        pcVar8 = pcVar8 + 1;\n        d->rpl_optind = (int)pcVar8;\n      } while (pcVar8 != (char *)argc);\n    }\n    d->__last_nonopt = (int)pcVar8;\n  }\n  bVar12 = (uint)argc < pcVar8;\n  bVar13 = (char *)argc == pcVar8;\n  if (bVar13) {\n    local_34 = (char *)d->__last_nonopt;\n    pcVar8 = (char *)d->__first_nonopt;\n  }\n  else {\n    iVar10 = 3;\n    pbVar1 = (byte *)argv[(int)pcVar8];\n    pbVar9 = pbVar1;\n    pbVar11 = &DAT_0003da6c;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar12 = *pbVar9 < *pbVar11;\n      bVar13 = *pbVar9 == *pbVar11;\n      pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1;\n      pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n    } while (bVar13);\n    if ((!bVar12 && !bVar13) != bVar12) {\n      if (*pbVar1 == 0x2d) {\n        bVar14 = pbVar1[1];\n        if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }\n      }\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = (char *)pbVar1;\n      d->rpl_optind = (int)(pcVar8 + 1);\n      return 1;\n    }\n    pcVar8 = pcVar8 + 1;\n    d->rpl_optind = (int)pcVar8;\n    if ((char *)d->__first_nonopt == (char *)d->__last_nonopt) {\n      d->__first_nonopt = (int)pcVar8;\n    }\n    else {\n      bVar12 = pcVar8 != (char *)d->__last_nonopt;\n      pcVar8 = (char *)d->__first_nonopt;\n      if (bVar12) {\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }\n    }\n    d->__last_nonopt = argc;\n    d->rpl_optind = argc;\n  }\n  if (local_34 != pcVar8) {\n    d->rpl_optind = (int)pcVar8;\n  }\n  return -1;\n}\n\n" comment (function_definition "int _getopt_internal_r(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,\n                      int long_only,_getopt_data *d,int posixly_correct)\n\n{\n  byte *pbVar1;\n  int iVar2;\n  char cVar3;\n  char *pcVar4;\n  int iVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  int iVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  char *local_3c;\n  char *local_34;\n  \n  bVar14 = 0;\n  iVar10 = d->rpl_opterr;\n  local_3c = optstring;\n  local_34 = (char *)argc;\n  if (argc < 1) {\n    return -1;\n  }\n  iVar5 = d->rpl_optind;\n  d->rpl_optarg = (char *)0x0;\n  if (iVar5 == 0) {\n    d->rpl_optind = 1;\n    iVar5 = 1;\nLAB_000361a1:\n    d->__last_nonopt = iVar5;\n    d->__first_nonopt = iVar5;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      local_3c = optstring + 1;\n      pcVar8 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      pcVar8 = (char *)0x0;\n      local_3c = optstring + 1;\n    }\n    else {\n      pcVar8 = (char *)0x0;\n      if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }\nLAB_0003620d:\n    d->__initialized = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_000361a1;\n    pcVar8 = d->__nextchar;\n    cVar3 = *optstring;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = optstring + 1;\n      cVar3 = optstring[1];\n    }\n  }\n  iVar5 = 0;\n  if (cVar3 != ':') {\n    iVar5 = iVar10;\n  }\n  if ((pcVar8 != (char *)0x0) && (*pcVar8 != '\0')) {\n    pcVar7 = pcVar8 + 1;\n    d->__nextchar = pcVar7;\n    cVar3 = *pcVar8;\n    iVar10 = (int)cVar3;\n    pcVar4 = strchr(local_3c,iVar10);\n    if (pcVar8[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    if (((byte)(cVar3 - 0x3aU) < 2) || (pcVar4 == (char *)0x0)) {\n      if (iVar5 != 0) {\n        pcVar8 = *argv;\n        uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n      }\n      d->rpl_optopt = iVar10;\n      return 0x3f;\n    }\n    if (((*pcVar4 != 'W') || (longopts == (rpl_option *)0x0)) || (pcVar4[1] != ';')) {\n      if (pcVar4[1] != ':') {\n        return iVar10;\n      }\n      if (pcVar4[2] == ':') {\n        if (pcVar8[1] == '\0') {\n          pcVar7 = (char *)0x0;\n        }\n        else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }\n        d->rpl_optarg = pcVar7;\n        d->__nextchar = (char *)0x0;\n        return iVar10;\n      }\n      iVar2 = d->rpl_optind;\n      if (pcVar8[1] == '\0') {\n        if (argc == iVar2) {\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }\n        else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }\n      }\n      else {\n        d->rpl_optarg = pcVar7;\n        d->rpl_optind = iVar2 + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar10;\n    }\n    if (pcVar8[1] == '\0') {\n      if (d->rpl_optind == argc) {\n        if (iVar5 != 0) {\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }\n        d->rpl_optopt = iVar10;\n        return (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      pcVar7 = argv[d->rpl_optind];\n    }\n    d->__nextchar = pcVar7;\n    d->rpl_optarg = (char *)0x0;\n    optstring = (char *)0x0;\n    long_only = (int)&UNK_0003da8b;\nLAB_000364d6:\n    iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,\n                                 (char *)long_only);\n    return iVar10;\n  }\n  pcVar8 = (char *)d->rpl_optind;\n  if ((int)pcVar8 < d->__last_nonopt) {\n    d->__last_nonopt = (int)pcVar8;\n  }\n  pcVar7 = (char *)d->__first_nonopt;\n  if ((int)pcVar8 < d->__first_nonopt) {\n    d->__first_nonopt = (int)pcVar8;\n    pcVar7 = pcVar8;\n  }\n  if (d->__ordering == PERMUTE) {\n    pcVar4 = (char *)d->__last_nonopt;\n    if (pcVar4 == pcVar7) {\n      if (pcVar8 != pcVar7) {\n        d->__first_nonopt = (int)pcVar8;\n        pcVar7 = pcVar8;\n      }\n    }\n    else {\n      pcVar7 = pcVar4;\n      if (pcVar8 != pcVar4) {\n        exchange(argv,d);\n        pcVar7 = (char *)d->rpl_optind;\n      }\n    }\n    pcVar8 = pcVar7;\n    if ((int)pcVar8 < argc) {\n      do {\n        if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;\n        pcVar8 = pcVar8 + 1;\n        d->rpl_optind = (int)pcVar8;\n      } while (pcVar8 != (char *)argc);\n    }\n    d->__last_nonopt = (int)pcVar8;\n  }\n  bVar12 = (uint)argc < pcVar8;\n  bVar13 = (char *)argc == pcVar8;\n  if (bVar13) {\n    local_34 = (char *)d->__last_nonopt;\n    pcVar8 = (char *)d->__first_nonopt;\n  }\n  else {\n    iVar10 = 3;\n    pbVar1 = (byte *)argv[(int)pcVar8];\n    pbVar9 = pbVar1;\n    pbVar11 = &DAT_0003da6c;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar12 = *pbVar9 < *pbVar11;\n      bVar13 = *pbVar9 == *pbVar11;\n      pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1;\n      pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n    } while (bVar13);\n    if ((!bVar12 && !bVar13) != bVar12) {\n      if (*pbVar1 == 0x2d) {\n        bVar14 = pbVar1[1];\n        if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }\n      }\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = (char *)pbVar1;\n      d->rpl_optind = (int)(pcVar8 + 1);\n      return 1;\n    }\n    pcVar8 = pcVar8 + 1;\n    d->rpl_optind = (int)pcVar8;\n    if ((char *)d->__first_nonopt == (char *)d->__last_nonopt) {\n      d->__first_nonopt = (int)pcVar8;\n    }\n    else {\n      bVar12 = pcVar8 != (char *)d->__last_nonopt;\n      pcVar8 = (char *)d->__first_nonopt;\n      if (bVar12) {\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }\n    }\n    d->__last_nonopt = argc;\n    d->rpl_optind = argc;\n  }\n  if (local_34 != pcVar8) {\n    d->rpl_optind = (int)pcVar8;\n  }\n  return -1;\n}" primitive_type (function_declarator "_getopt_internal_r(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,\n                      int long_only,_getopt_data *d,int posixly_correct)" identifier (parameter_list "(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,\n                      int long_only,_getopt_data *d,int posixly_correct)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "char *optstring" primitive_type (pointer_declarator "*optstring" * identifier)) , (parameter_declaration "rpl_option *longopts" type_identifier (pointer_declarator "*longopts" * identifier)) , (parameter_declaration "int *longind" primitive_type (pointer_declarator "*longind" * identifier)) , (parameter_declaration "int long_only" primitive_type identifier) , (parameter_declaration "_getopt_data *d" type_identifier (pointer_declarator "*d" * identifier)) , (parameter_declaration "int posixly_correct" primitive_type identifier) ))) (compound_statement "{\n  byte *pbVar1;\n  int iVar2;\n  char cVar3;\n  char *pcVar4;\n  int iVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  char *pcVar8;\n  byte *pbVar9;\n  int iVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  char *local_3c;\n  char *local_34;\n  \n  bVar14 = 0;\n  iVar10 = d->rpl_opterr;\n  local_3c = optstring;\n  local_34 = (char *)argc;\n  if (argc < 1) {\n    return -1;\n  }\n  iVar5 = d->rpl_optind;\n  d->rpl_optarg = (char *)0x0;\n  if (iVar5 == 0) {\n    d->rpl_optind = 1;\n    iVar5 = 1;\nLAB_000361a1:\n    d->__last_nonopt = iVar5;\n    d->__first_nonopt = iVar5;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      local_3c = optstring + 1;\n      pcVar8 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      pcVar8 = (char *)0x0;\n      local_3c = optstring + 1;\n    }\n    else {\n      pcVar8 = (char *)0x0;\n      if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }\nLAB_0003620d:\n    d->__initialized = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_000361a1;\n    pcVar8 = d->__nextchar;\n    cVar3 = *optstring;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = optstring + 1;\n      cVar3 = optstring[1];\n    }\n  }\n  iVar5 = 0;\n  if (cVar3 != ':') {\n    iVar5 = iVar10;\n  }\n  if ((pcVar8 != (char *)0x0) && (*pcVar8 != '\0')) {\n    pcVar7 = pcVar8 + 1;\n    d->__nextchar = pcVar7;\n    cVar3 = *pcVar8;\n    iVar10 = (int)cVar3;\n    pcVar4 = strchr(local_3c,iVar10);\n    if (pcVar8[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    if (((byte)(cVar3 - 0x3aU) < 2) || (pcVar4 == (char *)0x0)) {\n      if (iVar5 != 0) {\n        pcVar8 = *argv;\n        uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n      }\n      d->rpl_optopt = iVar10;\n      return 0x3f;\n    }\n    if (((*pcVar4 != 'W') || (longopts == (rpl_option *)0x0)) || (pcVar4[1] != ';')) {\n      if (pcVar4[1] != ':') {\n        return iVar10;\n      }\n      if (pcVar4[2] == ':') {\n        if (pcVar8[1] == '\0') {\n          pcVar7 = (char *)0x0;\n        }\n        else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }\n        d->rpl_optarg = pcVar7;\n        d->__nextchar = (char *)0x0;\n        return iVar10;\n      }\n      iVar2 = d->rpl_optind;\n      if (pcVar8[1] == '\0') {\n        if (argc == iVar2) {\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }\n        else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }\n      }\n      else {\n        d->rpl_optarg = pcVar7;\n        d->rpl_optind = iVar2 + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar10;\n    }\n    if (pcVar8[1] == '\0') {\n      if (d->rpl_optind == argc) {\n        if (iVar5 != 0) {\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }\n        d->rpl_optopt = iVar10;\n        return (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      pcVar7 = argv[d->rpl_optind];\n    }\n    d->__nextchar = pcVar7;\n    d->rpl_optarg = (char *)0x0;\n    optstring = (char *)0x0;\n    long_only = (int)&UNK_0003da8b;\nLAB_000364d6:\n    iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,\n                                 (char *)long_only);\n    return iVar10;\n  }\n  pcVar8 = (char *)d->rpl_optind;\n  if ((int)pcVar8 < d->__last_nonopt) {\n    d->__last_nonopt = (int)pcVar8;\n  }\n  pcVar7 = (char *)d->__first_nonopt;\n  if ((int)pcVar8 < d->__first_nonopt) {\n    d->__first_nonopt = (int)pcVar8;\n    pcVar7 = pcVar8;\n  }\n  if (d->__ordering == PERMUTE) {\n    pcVar4 = (char *)d->__last_nonopt;\n    if (pcVar4 == pcVar7) {\n      if (pcVar8 != pcVar7) {\n        d->__first_nonopt = (int)pcVar8;\n        pcVar7 = pcVar8;\n      }\n    }\n    else {\n      pcVar7 = pcVar4;\n      if (pcVar8 != pcVar4) {\n        exchange(argv,d);\n        pcVar7 = (char *)d->rpl_optind;\n      }\n    }\n    pcVar8 = pcVar7;\n    if ((int)pcVar8 < argc) {\n      do {\n        if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;\n        pcVar8 = pcVar8 + 1;\n        d->rpl_optind = (int)pcVar8;\n      } while (pcVar8 != (char *)argc);\n    }\n    d->__last_nonopt = (int)pcVar8;\n  }\n  bVar12 = (uint)argc < pcVar8;\n  bVar13 = (char *)argc == pcVar8;\n  if (bVar13) {\n    local_34 = (char *)d->__last_nonopt;\n    pcVar8 = (char *)d->__first_nonopt;\n  }\n  else {\n    iVar10 = 3;\n    pbVar1 = (byte *)argv[(int)pcVar8];\n    pbVar9 = pbVar1;\n    pbVar11 = &DAT_0003da6c;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar12 = *pbVar9 < *pbVar11;\n      bVar13 = *pbVar9 == *pbVar11;\n      pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1;\n      pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n    } while (bVar13);\n    if ((!bVar12 && !bVar13) != bVar12) {\n      if (*pbVar1 == 0x2d) {\n        bVar14 = pbVar1[1];\n        if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }\n      }\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = (char *)pbVar1;\n      d->rpl_optind = (int)(pcVar8 + 1);\n      return 1;\n    }\n    pcVar8 = pcVar8 + 1;\n    d->rpl_optind = (int)pcVar8;\n    if ((char *)d->__first_nonopt == (char *)d->__last_nonopt) {\n      d->__first_nonopt = (int)pcVar8;\n    }\n    else {\n      bVar12 = pcVar8 != (char *)d->__last_nonopt;\n      pcVar8 = (char *)d->__first_nonopt;\n      if (bVar12) {\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }\n    }\n    d->__last_nonopt = argc;\n    d->rpl_optind = argc;\n  }\n  if (local_34 != pcVar8) {\n    d->rpl_optind = (int)pcVar8;\n  }\n  return -1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "byte bVar14;" type_identifier identifier ;) (declaration "char *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = d->rpl_opterr;" (assignment_expression "iVar10 = d->rpl_opterr" identifier = (field_expression "d->rpl_opterr" identifier -> field_identifier)) ;) (expression_statement "local_3c = optstring;" (assignment_expression "local_3c = optstring" identifier = identifier) ;) (expression_statement "local_34 = (char *)argc;" (assignment_expression "local_34 = (char *)argc" identifier = (cast_expression "(char *)argc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (argc < 1) {\n    return -1;\n  }" if (parenthesized_expression "(argc < 1)" ( (binary_expression "argc < 1" identifier < number_literal) )) (compound_statement "{\n    return -1;\n  }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar5 = d->rpl_optind;" (assignment_expression "iVar5 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;) (expression_statement "d->rpl_optarg = (char *)0x0;" (assignment_expression "d->rpl_optarg = (char *)0x0" (field_expression "d->rpl_optarg" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar5 == 0) {\n    d->rpl_optind = 1;\n    iVar5 = 1;\nLAB_000361a1:\n    d->__last_nonopt = iVar5;\n    d->__first_nonopt = iVar5;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      local_3c = optstring + 1;\n      pcVar8 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      pcVar8 = (char *)0x0;\n      local_3c = optstring + 1;\n    }\n    else {\n      pcVar8 = (char *)0x0;\n      if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }\nLAB_0003620d:\n    d->__initialized = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_000361a1;\n    pcVar8 = d->__nextchar;\n    cVar3 = *optstring;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = optstring + 1;\n      cVar3 = optstring[1];\n    }\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    d->rpl_optind = 1;\n    iVar5 = 1;\nLAB_000361a1:\n    d->__last_nonopt = iVar5;\n    d->__first_nonopt = iVar5;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      local_3c = optstring + 1;\n      pcVar8 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      pcVar8 = (char *)0x0;\n      local_3c = optstring + 1;\n    }\n    else {\n      pcVar8 = (char *)0x0;\n      if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }\nLAB_0003620d:\n    d->__initialized = 1;\n    cVar3 = *local_3c;\n  }" { (expression_statement "d->rpl_optind = 1;" (assignment_expression "d->rpl_optind = 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (labeled_statement "LAB_000361a1:\n    d->__last_nonopt = iVar5;" statement_identifier : (expression_statement "d->__last_nonopt = iVar5;" (assignment_expression "d->__last_nonopt = iVar5" (field_expression "d->__last_nonopt" identifier -> field_identifier) = identifier) ;)) (expression_statement "d->__first_nonopt = iVar5;" (assignment_expression "d->__first_nonopt = iVar5" (field_expression "d->__first_nonopt" identifier -> field_identifier) = identifier) ;) (expression_statement "d->__nextchar = (char *)0x0;" (assignment_expression "d->__nextchar = (char *)0x0" (field_expression "d->__nextchar" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (*optstring == '-') {\n      local_3c = optstring + 1;\n      pcVar8 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      pcVar8 = (char *)0x0;\n      local_3c = optstring + 1;\n    }\n    else {\n      pcVar8 = (char *)0x0;\n      if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }" if (parenthesized_expression "(*optstring == '-')" ( (binary_expression "*optstring == '-'" (pointer_expression "*optstring" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n      local_3c = optstring + 1;\n      pcVar8 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }" { (expression_statement "local_3c = optstring + 1;" (assignment_expression "local_3c = optstring + 1" identifier = (binary_expression "optstring + 1" identifier + number_literal)) ;) (expression_statement "pcVar8 = (char *)0x0;" (assignment_expression "pcVar8 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "d->__ordering = RETURN_IN_ORDER;" (assignment_expression "d->__ordering = RETURN_IN_ORDER" (field_expression "d->__ordering" identifier -> field_identifier) = identifier) ;) }) (else_clause "else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      pcVar8 = (char *)0x0;\n      local_3c = optstring + 1;\n    }\n    else {\n      pcVar8 = (char *)0x0;\n      if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }" else (if_statement "if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      pcVar8 = (char *)0x0;\n      local_3c = optstring + 1;\n    }\n    else {\n      pcVar8 = (char *)0x0;\n      if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }" if (parenthesized_expression "(*optstring == '+')" ( (binary_expression "*optstring == '+'" (pointer_expression "*optstring" * identifier) == (char_literal "'+'" ' character ')) )) (compound_statement "{\n      d->__ordering = REQUIRE_ORDER;\n      pcVar8 = (char *)0x0;\n      local_3c = optstring + 1;\n    }" { (expression_statement "d->__ordering = REQUIRE_ORDER;" (assignment_expression "d->__ordering = REQUIRE_ORDER" (field_expression "d->__ordering" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar8 = (char *)0x0;" (assignment_expression "pcVar8 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_3c = optstring + 1;" (assignment_expression "local_3c = optstring + 1" identifier = (binary_expression "optstring + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      pcVar8 = (char *)0x0;\n      if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }" else (compound_statement "{\n      pcVar8 = (char *)0x0;\n      if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }" { (expression_statement "pcVar8 = (char *)0x0;" (assignment_expression "pcVar8 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (posixly_correct == 0) {\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }" if (parenthesized_expression "(posixly_correct == 0)" ( (binary_expression "posixly_correct == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar8 = getenv("POSIXLY_CORRECT");\n        if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }\n        pcVar8 = d->__nextchar;\n      }" { (expression_statement "pcVar8 = getenv("POSIXLY_CORRECT");" (assignment_expression "pcVar8 = getenv("POSIXLY_CORRECT")" identifier = (call_expression "getenv("POSIXLY_CORRECT")" identifier (argument_list "("POSIXLY_CORRECT")" ( (string_literal ""POSIXLY_CORRECT"" " string_content ") )))) ;) (if_statement "if (pcVar8 == (char *)0x0) {\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          d->__ordering = PERMUTE;\n          pcVar8 = d->__nextchar;\n          goto LAB_0003620d;\n        }" { (expression_statement "d->__ordering = PERMUTE;" (assignment_expression "d->__ordering = PERMUTE" (field_expression "d->__ordering" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar8 = d->__nextchar;" (assignment_expression "pcVar8 = d->__nextchar" identifier = (field_expression "d->__nextchar" identifier -> field_identifier)) ;) (goto_statement "goto LAB_0003620d;" goto statement_identifier ;) })) (expression_statement "pcVar8 = d->__nextchar;" (assignment_expression "pcVar8 = d->__nextchar" identifier = (field_expression "d->__nextchar" identifier -> field_identifier)) ;) })) (expression_statement "d->__ordering = REQUIRE_ORDER;" (assignment_expression "d->__ordering = REQUIRE_ORDER" (field_expression "d->__ordering" identifier -> field_identifier) = identifier) ;) }))))) (labeled_statement "LAB_0003620d:\n    d->__initialized = 1;" statement_identifier : (expression_statement "d->__initialized = 1;" (assignment_expression "d->__initialized = 1" (field_expression "d->__initialized" identifier -> field_identifier) = number_literal) ;)) (expression_statement "cVar3 = *local_3c;" (assignment_expression "cVar3 = *local_3c" identifier = (pointer_expression "*local_3c" * identifier)) ;) }) (else_clause "else {\n    if (d->__initialized == 0) goto LAB_000361a1;\n    pcVar8 = d->__nextchar;\n    cVar3 = *optstring;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = optstring + 1;\n      cVar3 = optstring[1];\n    }\n  }" else (compound_statement "{\n    if (d->__initialized == 0) goto LAB_000361a1;\n    pcVar8 = d->__nextchar;\n    cVar3 = *optstring;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = optstring + 1;\n      cVar3 = optstring[1];\n    }\n  }" { (if_statement "if (d->__initialized == 0) goto LAB_000361a1;" if (parenthesized_expression "(d->__initialized == 0)" ( (binary_expression "d->__initialized == 0" (field_expression "d->__initialized" identifier -> field_identifier) == number_literal) )) (goto_statement "goto LAB_000361a1;" goto statement_identifier ;)) (expression_statement "pcVar8 = d->__nextchar;" (assignment_expression "pcVar8 = d->__nextchar" identifier = (field_expression "d->__nextchar" identifier -> field_identifier)) ;) (expression_statement "cVar3 = *optstring;" (assignment_expression "cVar3 = *optstring" identifier = (pointer_expression "*optstring" * identifier)) ;) (if_statement "if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = optstring + 1;\n      cVar3 = optstring[1];\n    }" if (parenthesized_expression "((cVar3 - 0x2bU & 0xfd) == 0)" ( (binary_expression "(cVar3 - 0x2bU & 0xfd) == 0" (parenthesized_expression "(cVar3 - 0x2bU & 0xfd)" ( (binary_expression "cVar3 - 0x2bU & 0xfd" (binary_expression "cVar3 - 0x2bU" identifier - number_literal) & number_literal) )) == number_literal) )) (compound_statement "{\n      local_3c = optstring + 1;\n      cVar3 = optstring[1];\n    }" { (expression_statement "local_3c = optstring + 1;" (assignment_expression "local_3c = optstring + 1" identifier = (binary_expression "optstring + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = optstring[1];" (assignment_expression "cVar3 = optstring[1]" identifier = (subscript_expression "optstring[1]" identifier [ number_literal ])) ;) })) }))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (cVar3 != ':') {\n    iVar5 = iVar10;\n  }" if (parenthesized_expression "(cVar3 != ':')" ( (binary_expression "cVar3 != ':'" identifier != (char_literal "':'" ' character ')) )) (compound_statement "{\n    iVar5 = iVar10;\n  }" { (expression_statement "iVar5 = iVar10;" (assignment_expression "iVar5 = iVar10" identifier = identifier) ;) })) (if_statement "if ((pcVar8 != (char *)0x0) && (*pcVar8 != '\0')) {\n    pcVar7 = pcVar8 + 1;\n    d->__nextchar = pcVar7;\n    cVar3 = *pcVar8;\n    iVar10 = (int)cVar3;\n    pcVar4 = strchr(local_3c,iVar10);\n    if (pcVar8[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    if (((byte)(cVar3 - 0x3aU) < 2) || (pcVar4 == (char *)0x0)) {\n      if (iVar5 != 0) {\n        pcVar8 = *argv;\n        uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n      }\n      d->rpl_optopt = iVar10;\n      return 0x3f;\n    }\n    if (((*pcVar4 != 'W') || (longopts == (rpl_option *)0x0)) || (pcVar4[1] != ';')) {\n      if (pcVar4[1] != ':') {\n        return iVar10;\n      }\n      if (pcVar4[2] == ':') {\n        if (pcVar8[1] == '\0') {\n          pcVar7 = (char *)0x0;\n        }\n        else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }\n        d->rpl_optarg = pcVar7;\n        d->__nextchar = (char *)0x0;\n        return iVar10;\n      }\n      iVar2 = d->rpl_optind;\n      if (pcVar8[1] == '\0') {\n        if (argc == iVar2) {\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }\n        else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }\n      }\n      else {\n        d->rpl_optarg = pcVar7;\n        d->rpl_optind = iVar2 + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar10;\n    }\n    if (pcVar8[1] == '\0') {\n      if (d->rpl_optind == argc) {\n        if (iVar5 != 0) {\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }\n        d->rpl_optopt = iVar10;\n        return (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      pcVar7 = argv[d->rpl_optind];\n    }\n    d->__nextchar = pcVar7;\n    d->rpl_optarg = (char *)0x0;\n    optstring = (char *)0x0;\n    long_only = (int)&UNK_0003da8b;\nLAB_000364d6:\n    iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,\n                                 (char *)long_only);\n    return iVar10;\n  }" if (parenthesized_expression "((pcVar8 != (char *)0x0) && (*pcVar8 != '\0'))" ( (binary_expression "(pcVar8 != (char *)0x0) && (*pcVar8 != '\0')" (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar8 != '\0')" ( (binary_expression "*pcVar8 != '\0'" (pointer_expression "*pcVar8" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pcVar7 = pcVar8 + 1;\n    d->__nextchar = pcVar7;\n    cVar3 = *pcVar8;\n    iVar10 = (int)cVar3;\n    pcVar4 = strchr(local_3c,iVar10);\n    if (pcVar8[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    if (((byte)(cVar3 - 0x3aU) < 2) || (pcVar4 == (char *)0x0)) {\n      if (iVar5 != 0) {\n        pcVar8 = *argv;\n        uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n      }\n      d->rpl_optopt = iVar10;\n      return 0x3f;\n    }\n    if (((*pcVar4 != 'W') || (longopts == (rpl_option *)0x0)) || (pcVar4[1] != ';')) {\n      if (pcVar4[1] != ':') {\n        return iVar10;\n      }\n      if (pcVar4[2] == ':') {\n        if (pcVar8[1] == '\0') {\n          pcVar7 = (char *)0x0;\n        }\n        else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }\n        d->rpl_optarg = pcVar7;\n        d->__nextchar = (char *)0x0;\n        return iVar10;\n      }\n      iVar2 = d->rpl_optind;\n      if (pcVar8[1] == '\0') {\n        if (argc == iVar2) {\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }\n        else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }\n      }\n      else {\n        d->rpl_optarg = pcVar7;\n        d->rpl_optind = iVar2 + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar10;\n    }\n    if (pcVar8[1] == '\0') {\n      if (d->rpl_optind == argc) {\n        if (iVar5 != 0) {\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }\n        d->rpl_optopt = iVar10;\n        return (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      pcVar7 = argv[d->rpl_optind];\n    }\n    d->__nextchar = pcVar7;\n    d->rpl_optarg = (char *)0x0;\n    optstring = (char *)0x0;\n    long_only = (int)&UNK_0003da8b;\nLAB_000364d6:\n    iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,\n                                 (char *)long_only);\n    return iVar10;\n  }" { (expression_statement "pcVar7 = pcVar8 + 1;" (assignment_expression "pcVar7 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "d->__nextchar = pcVar7;" (assignment_expression "d->__nextchar = pcVar7" (field_expression "d->__nextchar" identifier -> field_identifier) = identifier) ;) (expression_statement "cVar3 = *pcVar8;" (assignment_expression "cVar3 = *pcVar8" identifier = (pointer_expression "*pcVar8" * identifier)) ;) (expression_statement "iVar10 = (int)cVar3;" (assignment_expression "iVar10 = (int)cVar3" identifier = (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pcVar4 = strchr(local_3c,iVar10);" (assignment_expression "pcVar4 = strchr(local_3c,iVar10)" identifier = (call_expression "strchr(local_3c,iVar10)" identifier (argument_list "(local_3c,iVar10)" ( identifier , identifier )))) ;) (if_statement "if (pcVar8[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }" if (parenthesized_expression "(pcVar8[1] == '\0')" ( (binary_expression "pcVar8[1] == '\0'" (subscript_expression "pcVar8[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      d->rpl_optind = d->rpl_optind + 1;\n    }" { (expression_statement "d->rpl_optind = d->rpl_optind + 1;" (assignment_expression "d->rpl_optind = d->rpl_optind + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "d->rpl_optind + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) + number_literal)) ;) })) (if_statement "if (((byte)(cVar3 - 0x3aU) < 2) || (pcVar4 == (char *)0x0)) {\n      if (iVar5 != 0) {\n        pcVar8 = *argv;\n        uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n      }\n      d->rpl_optopt = iVar10;\n      return 0x3f;\n    }" if (parenthesized_expression "(((byte)(cVar3 - 0x3aU) < 2) || (pcVar4 == (char *)0x0))" ( (binary_expression "((byte)(cVar3 - 0x3aU) < 2) || (pcVar4 == (char *)0x0)" (parenthesized_expression "((byte)(cVar3 - 0x3aU) < 2)" ( (binary_expression "(byte)(cVar3 - 0x3aU) < 2" (call_expression "(byte)(cVar3 - 0x3aU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar3 - 0x3aU)" ( (binary_expression "cVar3 - 0x3aU" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      if (iVar5 != 0) {\n        pcVar8 = *argv;\n        uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n      }\n      d->rpl_optopt = iVar10;\n      return 0x3f;\n    }" { (if_statement "if (iVar5 != 0) {\n        pcVar8 = *argv;\n        uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n      }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        pcVar8 = *argv;\n        uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n      }" { (expression_statement "pcVar8 = *argv;" (assignment_expression "pcVar8 = *argv" identifier = (pointer_expression "*argv" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5)" identifier = (call_expression "dcgettext(0,"%s: invalid option -- \'%c\'\n",5)" identifier (argument_list "(0,"%s: invalid option -- \'%c\'\n",5)" ( number_literal , (string_literal ""%s: invalid option -- \'%c\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" * (cast_expression "(undefined4 *)PTR_stderr_00047fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "d->rpl_optopt = iVar10;" (assignment_expression "d->rpl_optopt = iVar10" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) (return_statement "return 0x3f;" return number_literal ;) })) (if_statement "if (((*pcVar4 != 'W') || (longopts == (rpl_option *)0x0)) || (pcVar4[1] != ';')) {\n      if (pcVar4[1] != ':') {\n        return iVar10;\n      }\n      if (pcVar4[2] == ':') {\n        if (pcVar8[1] == '\0') {\n          pcVar7 = (char *)0x0;\n        }\n        else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }\n        d->rpl_optarg = pcVar7;\n        d->__nextchar = (char *)0x0;\n        return iVar10;\n      }\n      iVar2 = d->rpl_optind;\n      if (pcVar8[1] == '\0') {\n        if (argc == iVar2) {\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }\n        else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }\n      }\n      else {\n        d->rpl_optarg = pcVar7;\n        d->rpl_optind = iVar2 + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar10;\n    }" if (parenthesized_expression "(((*pcVar4 != 'W') || (longopts == (rpl_option *)0x0)) || (pcVar4[1] != ';'))" ( (binary_expression "((*pcVar4 != 'W') || (longopts == (rpl_option *)0x0)) || (pcVar4[1] != ';')" (parenthesized_expression "((*pcVar4 != 'W') || (longopts == (rpl_option *)0x0))" ( (binary_expression "(*pcVar4 != 'W') || (longopts == (rpl_option *)0x0)" (parenthesized_expression "(*pcVar4 != 'W')" ( (binary_expression "*pcVar4 != 'W'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'W'" ' character ')) )) || (parenthesized_expression "(longopts == (rpl_option *)0x0)" ( (binary_expression "longopts == (rpl_option *)0x0" identifier == (cast_expression "(rpl_option *)0x0" ( (type_descriptor "rpl_option *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "(pcVar4[1] != ';')" ( (binary_expression "pcVar4[1] != ';'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "';'" ' character ')) ))) )) (compound_statement "{\n      if (pcVar4[1] != ':') {\n        return iVar10;\n      }\n      if (pcVar4[2] == ':') {\n        if (pcVar8[1] == '\0') {\n          pcVar7 = (char *)0x0;\n        }\n        else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }\n        d->rpl_optarg = pcVar7;\n        d->__nextchar = (char *)0x0;\n        return iVar10;\n      }\n      iVar2 = d->rpl_optind;\n      if (pcVar8[1] == '\0') {\n        if (argc == iVar2) {\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }\n        else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }\n      }\n      else {\n        d->rpl_optarg = pcVar7;\n        d->rpl_optind = iVar2 + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar10;\n    }" { (if_statement "if (pcVar4[1] != ':') {\n        return iVar10;\n      }" if (parenthesized_expression "(pcVar4[1] != ':')" ( (binary_expression "pcVar4[1] != ':'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n        return iVar10;\n      }" { (return_statement "return iVar10;" return identifier ;) })) (if_statement "if (pcVar4[2] == ':') {\n        if (pcVar8[1] == '\0') {\n          pcVar7 = (char *)0x0;\n        }\n        else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }\n        d->rpl_optarg = pcVar7;\n        d->__nextchar = (char *)0x0;\n        return iVar10;\n      }" if (parenthesized_expression "(pcVar4[2] == ':')" ( (binary_expression "pcVar4[2] == ':'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) == (char_literal "':'" ' character ')) )) (compound_statement "{\n        if (pcVar8[1] == '\0') {\n          pcVar7 = (char *)0x0;\n        }\n        else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }\n        d->rpl_optarg = pcVar7;\n        d->__nextchar = (char *)0x0;\n        return iVar10;\n      }" { (if_statement "if (pcVar8[1] == '\0') {\n          pcVar7 = (char *)0x0;\n        }\n        else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }" if (parenthesized_expression "(pcVar8[1] == '\0')" ( (binary_expression "pcVar8[1] == '\0'" (subscript_expression "pcVar8[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar7 = (char *)0x0;\n        }" { (expression_statement "pcVar7 = (char *)0x0;" (assignment_expression "pcVar7 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          d->rpl_optind = d->rpl_optind + 1;\n        }" else (compound_statement "{\n          d->rpl_optind = d->rpl_optind + 1;\n        }" { (expression_statement "d->rpl_optind = d->rpl_optind + 1;" (assignment_expression "d->rpl_optind = d->rpl_optind + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "d->rpl_optind + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) + number_literal)) ;) }))) (expression_statement "d->rpl_optarg = pcVar7;" (assignment_expression "d->rpl_optarg = pcVar7" (field_expression "d->rpl_optarg" identifier -> field_identifier) = identifier) ;) (expression_statement "d->__nextchar = (char *)0x0;" (assignment_expression "d->__nextchar = (char *)0x0" (field_expression "d->__nextchar" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return iVar10;" return identifier ;) })) (expression_statement "iVar2 = d->rpl_optind;" (assignment_expression "iVar2 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;) (if_statement "if (pcVar8[1] == '\0') {\n        if (argc == iVar2) {\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }\n        else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }\n      }\n      else {\n        d->rpl_optarg = pcVar7;\n        d->rpl_optind = iVar2 + 1;\n      }" if (parenthesized_expression "(pcVar8[1] == '\0')" ( (binary_expression "pcVar8[1] == '\0'" (subscript_expression "pcVar8[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (argc == iVar2) {\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }\n        else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }\n      }" { (if_statement "if (argc == iVar2) {\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }\n        else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }" if (parenthesized_expression "(argc == iVar2)" ( (binary_expression "argc == iVar2" identifier == identifier) )) (compound_statement "{\n          if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }\n          d->rpl_optopt = iVar10;\n          iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;\n        }" { (if_statement "if (iVar5 != 0) {\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            pcVar8 = *argv;\n            uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n            __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n          }" { (expression_statement "pcVar8 = *argv;" (assignment_expression "pcVar8 = *argv" identifier = (pointer_expression "*argv" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier = (call_expression "dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier (argument_list "(0,"%s: option requires an argument -- \'%c\'\n",5)" ( number_literal , (string_literal ""%s: option requires an argument -- \'%c\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" * (cast_expression "(undefined4 *)PTR_stderr_00047fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "d->rpl_optopt = iVar10;" (assignment_expression "d->rpl_optopt = iVar10" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a;" (assignment_expression "iVar10 = (uint)(*local_3c != ':') * 5 + 0x3a" identifier = (binary_expression "(uint)(*local_3c != ':') * 5 + 0x3a" (binary_expression "(uint)(*local_3c != ':') * 5" (call_expression "(uint)(*local_3c != ':')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*local_3c != ':')" ( (binary_expression "*local_3c != ':'" (pointer_expression "*local_3c" * identifier) != (char_literal "':'" ' character ')) ))) * number_literal) + number_literal)) ;) }) (else_clause "else {\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }" else (compound_statement "{\n          d->rpl_optind = iVar2 + 1;\n          d->rpl_optarg = argv[iVar2];\n        }" { (expression_statement "d->rpl_optind = iVar2 + 1;" (assignment_expression "d->rpl_optind = iVar2 + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "d->rpl_optarg = argv[iVar2];" (assignment_expression "d->rpl_optarg = argv[iVar2]" (field_expression "d->rpl_optarg" identifier -> field_identifier) = (subscript_expression "argv[iVar2]" identifier [ identifier ])) ;) }))) }) (else_clause "else {\n        d->rpl_optarg = pcVar7;\n        d->rpl_optind = iVar2 + 1;\n      }" else (compound_statement "{\n        d->rpl_optarg = pcVar7;\n        d->rpl_optind = iVar2 + 1;\n      }" { (expression_statement "d->rpl_optarg = pcVar7;" (assignment_expression "d->rpl_optarg = pcVar7" (field_expression "d->rpl_optarg" identifier -> field_identifier) = identifier) ;) (expression_statement "d->rpl_optind = iVar2 + 1;" (assignment_expression "d->rpl_optind = iVar2 + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }))) (expression_statement "d->__nextchar = (char *)0x0;" (assignment_expression "d->__nextchar = (char *)0x0" (field_expression "d->__nextchar" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return iVar10;" return identifier ;) })) (if_statement "if (pcVar8[1] == '\0') {\n      if (d->rpl_optind == argc) {\n        if (iVar5 != 0) {\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }\n        d->rpl_optopt = iVar10;\n        return (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      pcVar7 = argv[d->rpl_optind];\n    }" if (parenthesized_expression "(pcVar8[1] == '\0')" ( (binary_expression "pcVar8[1] == '\0'" (subscript_expression "pcVar8[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (d->rpl_optind == argc) {\n        if (iVar5 != 0) {\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }\n        d->rpl_optopt = iVar10;\n        return (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      pcVar7 = argv[d->rpl_optind];\n    }" { (if_statement "if (d->rpl_optind == argc) {\n        if (iVar5 != 0) {\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }\n        d->rpl_optopt = iVar10;\n        return (uint)(*local_3c != ':') * 5 + 0x3a;\n      }" if (parenthesized_expression "(d->rpl_optind == argc)" ( (binary_expression "d->rpl_optind == argc" (field_expression "d->rpl_optind" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        if (iVar5 != 0) {\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }\n        d->rpl_optopt = iVar10;\n        return (uint)(*local_3c != ':') * 5 + 0x3a;\n      }" { (if_statement "if (iVar5 != 0) {\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          pcVar8 = *argv;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);\n        }" { (expression_statement "pcVar8 = *argv;" (assignment_expression "pcVar8 = *argv" identifier = (pointer_expression "*argv" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier = (call_expression "dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier (argument_list "(0,"%s: option requires an argument -- \'%c\'\n",5)" ( number_literal , (string_literal ""%s: option requires an argument -- \'%c\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,pcVar8,iVar10)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" * (cast_expression "(undefined4 *)PTR_stderr_00047fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "d->rpl_optopt = iVar10;" (assignment_expression "d->rpl_optopt = iVar10" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) (return_statement "return (uint)(*local_3c != ':') * 5 + 0x3a;" return (binary_expression "(uint)(*local_3c != ':') * 5 + 0x3a" (binary_expression "(uint)(*local_3c != ':') * 5" (call_expression "(uint)(*local_3c != ':')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*local_3c != ':')" ( (binary_expression "*local_3c != ':'" (pointer_expression "*local_3c" * identifier) != (char_literal "':'" ' character ')) ))) * number_literal) + number_literal) ;) })) (expression_statement "pcVar7 = argv[d->rpl_optind];" (assignment_expression "pcVar7 = argv[d->rpl_optind]" identifier = (subscript_expression "argv[d->rpl_optind]" identifier [ (field_expression "d->rpl_optind" identifier -> field_identifier) ])) ;) })) (expression_statement "d->__nextchar = pcVar7;" (assignment_expression "d->__nextchar = pcVar7" (field_expression "d->__nextchar" identifier -> field_identifier) = identifier) ;) (expression_statement "d->rpl_optarg = (char *)0x0;" (assignment_expression "d->rpl_optarg = (char *)0x0" (field_expression "d->rpl_optarg" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "optstring = (char *)0x0;" (assignment_expression "optstring = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "long_only = (int)&UNK_0003da8b;" (assignment_expression "long_only = (int)&UNK_0003da8b" identifier = (cast_expression "(int)&UNK_0003da8b" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&UNK_0003da8b" & identifier))) ;) (labeled_statement "LAB_000364d6:\n    iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,\n                                 (char *)long_only);" statement_identifier : (expression_statement "iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,\n                                 (char *)long_only);" (assignment_expression "iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,\n                                 (char *)long_only)" identifier = (call_expression "process_long_option(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,\n                                 (char *)long_only)" identifier (argument_list "(argc,argv,local_3c,longopts,longind,(int)optstring,d,iVar5,\n                                 (char *)long_only)" ( identifier , identifier , identifier , identifier , identifier , (cast_expression "(int)optstring" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , (cast_expression "(char *)long_only" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;)) (return_statement "return iVar10;" return identifier ;) })) (expression_statement "pcVar8 = (char *)d->rpl_optind;" (assignment_expression "pcVar8 = (char *)d->rpl_optind" identifier = (cast_expression "(char *)d->rpl_optind" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->rpl_optind" identifier -> field_identifier))) ;) (if_statement "if ((int)pcVar8 < d->__last_nonopt) {\n    d->__last_nonopt = (int)pcVar8;\n  }" if (parenthesized_expression "((int)pcVar8 < d->__last_nonopt)" ( (binary_expression "(int)pcVar8 < d->__last_nonopt" (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) < (field_expression "d->__last_nonopt" identifier -> field_identifier)) )) (compound_statement "{\n    d->__last_nonopt = (int)pcVar8;\n  }" { (expression_statement "d->__last_nonopt = (int)pcVar8;" (assignment_expression "d->__last_nonopt = (int)pcVar8" (field_expression "d->__last_nonopt" identifier -> field_identifier) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "pcVar7 = (char *)d->__first_nonopt;" (assignment_expression "pcVar7 = (char *)d->__first_nonopt" identifier = (cast_expression "(char *)d->__first_nonopt" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->__first_nonopt" identifier -> field_identifier))) ;) (if_statement "if ((int)pcVar8 < d->__first_nonopt) {\n    d->__first_nonopt = (int)pcVar8;\n    pcVar7 = pcVar8;\n  }" if (parenthesized_expression "((int)pcVar8 < d->__first_nonopt)" ( (binary_expression "(int)pcVar8 < d->__first_nonopt" (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) < (field_expression "d->__first_nonopt" identifier -> field_identifier)) )) (compound_statement "{\n    d->__first_nonopt = (int)pcVar8;\n    pcVar7 = pcVar8;\n  }" { (expression_statement "d->__first_nonopt = (int)pcVar8;" (assignment_expression "d->__first_nonopt = (int)pcVar8" (field_expression "d->__first_nonopt" identifier -> field_identifier) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pcVar7 = pcVar8;" (assignment_expression "pcVar7 = pcVar8" identifier = identifier) ;) })) (if_statement "if (d->__ordering == PERMUTE) {\n    pcVar4 = (char *)d->__last_nonopt;\n    if (pcVar4 == pcVar7) {\n      if (pcVar8 != pcVar7) {\n        d->__first_nonopt = (int)pcVar8;\n        pcVar7 = pcVar8;\n      }\n    }\n    else {\n      pcVar7 = pcVar4;\n      if (pcVar8 != pcVar4) {\n        exchange(argv,d);\n        pcVar7 = (char *)d->rpl_optind;\n      }\n    }\n    pcVar8 = pcVar7;\n    if ((int)pcVar8 < argc) {\n      do {\n        if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;\n        pcVar8 = pcVar8 + 1;\n        d->rpl_optind = (int)pcVar8;\n      } while (pcVar8 != (char *)argc);\n    }\n    d->__last_nonopt = (int)pcVar8;\n  }" if (parenthesized_expression "(d->__ordering == PERMUTE)" ( (binary_expression "d->__ordering == PERMUTE" (field_expression "d->__ordering" identifier -> field_identifier) == identifier) )) (compound_statement "{\n    pcVar4 = (char *)d->__last_nonopt;\n    if (pcVar4 == pcVar7) {\n      if (pcVar8 != pcVar7) {\n        d->__first_nonopt = (int)pcVar8;\n        pcVar7 = pcVar8;\n      }\n    }\n    else {\n      pcVar7 = pcVar4;\n      if (pcVar8 != pcVar4) {\n        exchange(argv,d);\n        pcVar7 = (char *)d->rpl_optind;\n      }\n    }\n    pcVar8 = pcVar7;\n    if ((int)pcVar8 < argc) {\n      do {\n        if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;\n        pcVar8 = pcVar8 + 1;\n        d->rpl_optind = (int)pcVar8;\n      } while (pcVar8 != (char *)argc);\n    }\n    d->__last_nonopt = (int)pcVar8;\n  }" { (expression_statement "pcVar4 = (char *)d->__last_nonopt;" (assignment_expression "pcVar4 = (char *)d->__last_nonopt" identifier = (cast_expression "(char *)d->__last_nonopt" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->__last_nonopt" identifier -> field_identifier))) ;) (if_statement "if (pcVar4 == pcVar7) {\n      if (pcVar8 != pcVar7) {\n        d->__first_nonopt = (int)pcVar8;\n        pcVar7 = pcVar8;\n      }\n    }\n    else {\n      pcVar7 = pcVar4;\n      if (pcVar8 != pcVar4) {\n        exchange(argv,d);\n        pcVar7 = (char *)d->rpl_optind;\n      }\n    }" if (parenthesized_expression "(pcVar4 == pcVar7)" ( (binary_expression "pcVar4 == pcVar7" identifier == identifier) )) (compound_statement "{\n      if (pcVar8 != pcVar7) {\n        d->__first_nonopt = (int)pcVar8;\n        pcVar7 = pcVar8;\n      }\n    }" { (if_statement "if (pcVar8 != pcVar7) {\n        d->__first_nonopt = (int)pcVar8;\n        pcVar7 = pcVar8;\n      }" if (parenthesized_expression "(pcVar8 != pcVar7)" ( (binary_expression "pcVar8 != pcVar7" identifier != identifier) )) (compound_statement "{\n        d->__first_nonopt = (int)pcVar8;\n        pcVar7 = pcVar8;\n      }" { (expression_statement "d->__first_nonopt = (int)pcVar8;" (assignment_expression "d->__first_nonopt = (int)pcVar8" (field_expression "d->__first_nonopt" identifier -> field_identifier) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pcVar7 = pcVar8;" (assignment_expression "pcVar7 = pcVar8" identifier = identifier) ;) })) }) (else_clause "else {\n      pcVar7 = pcVar4;\n      if (pcVar8 != pcVar4) {\n        exchange(argv,d);\n        pcVar7 = (char *)d->rpl_optind;\n      }\n    }" else (compound_statement "{\n      pcVar7 = pcVar4;\n      if (pcVar8 != pcVar4) {\n        exchange(argv,d);\n        pcVar7 = (char *)d->rpl_optind;\n      }\n    }" { (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" identifier = identifier) ;) (if_statement "if (pcVar8 != pcVar4) {\n        exchange(argv,d);\n        pcVar7 = (char *)d->rpl_optind;\n      }" if (parenthesized_expression "(pcVar8 != pcVar4)" ( (binary_expression "pcVar8 != pcVar4" identifier != identifier) )) (compound_statement "{\n        exchange(argv,d);\n        pcVar7 = (char *)d->rpl_optind;\n      }" { (expression_statement "exchange(argv,d);" (call_expression "exchange(argv,d)" identifier (argument_list "(argv,d)" ( identifier , identifier ))) ;) (expression_statement "pcVar7 = (char *)d->rpl_optind;" (assignment_expression "pcVar7 = (char *)d->rpl_optind" identifier = (cast_expression "(char *)d->rpl_optind" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->rpl_optind" identifier -> field_identifier))) ;) })) }))) (expression_statement "pcVar8 = pcVar7;" (assignment_expression "pcVar8 = pcVar7" identifier = identifier) ;) (if_statement "if ((int)pcVar8 < argc) {\n      do {\n        if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;\n        pcVar8 = pcVar8 + 1;\n        d->rpl_optind = (int)pcVar8;\n      } while (pcVar8 != (char *)argc);\n    }" if (parenthesized_expression "((int)pcVar8 < argc)" ( (binary_expression "(int)pcVar8 < argc" (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n      do {\n        if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;\n        pcVar8 = pcVar8 + 1;\n        d->rpl_optind = (int)pcVar8;\n      } while (pcVar8 != (char *)argc);\n    }" { (do_statement "do {\n        if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;\n        pcVar8 = pcVar8 + 1;\n        d->rpl_optind = (int)pcVar8;\n      } while (pcVar8 != (char *)argc);" do (compound_statement "{\n        if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;\n        pcVar8 = pcVar8 + 1;\n        d->rpl_optind = (int)pcVar8;\n      }" { (if_statement "if ((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')) break;" if (parenthesized_expression "((*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0'))" ( (binary_expression "(*argv[(int)pcVar8] == '-') && (argv[(int)pcVar8][1] != '\0')" (parenthesized_expression "(*argv[(int)pcVar8] == '-')" ( (binary_expression "*argv[(int)pcVar8] == '-'" (pointer_expression "*argv[(int)pcVar8]" * (subscript_expression "argv[(int)pcVar8]" identifier [ (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) ])) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(argv[(int)pcVar8][1] != '\0')" ( (binary_expression "argv[(int)pcVar8][1] != '\0'" (subscript_expression "argv[(int)pcVar8][1]" (subscript_expression "argv[(int)pcVar8]" identifier [ (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) ]) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "d->rpl_optind = (int)pcVar8;" (assignment_expression "d->rpl_optind = (int)pcVar8" (field_expression "d->rpl_optind" identifier -> field_identifier) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) while (parenthesized_expression "(pcVar8 != (char *)argc)" ( (binary_expression "pcVar8 != (char *)argc" identifier != (cast_expression "(char *)argc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) )) ;) })) (expression_statement "d->__last_nonopt = (int)pcVar8;" (assignment_expression "d->__last_nonopt = (int)pcVar8" (field_expression "d->__last_nonopt" identifier -> field_identifier) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "bVar12 = (uint)argc < pcVar8;" (assignment_expression "bVar12 = (uint)argc < pcVar8" identifier = (binary_expression "(uint)argc < pcVar8" (cast_expression "(uint)argc" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier)) ;) (expression_statement "bVar13 = (char *)argc == pcVar8;" (assignment_expression "bVar13 = (char *)argc == pcVar8" identifier = (binary_expression "(char *)argc == pcVar8" (cast_expression "(char *)argc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) == identifier)) ;) (if_statement "if (bVar13) {\n    local_34 = (char *)d->__last_nonopt;\n    pcVar8 = (char *)d->__first_nonopt;\n  }\n  else {\n    iVar10 = 3;\n    pbVar1 = (byte *)argv[(int)pcVar8];\n    pbVar9 = pbVar1;\n    pbVar11 = &DAT_0003da6c;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar12 = *pbVar9 < *pbVar11;\n      bVar13 = *pbVar9 == *pbVar11;\n      pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1;\n      pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n    } while (bVar13);\n    if ((!bVar12 && !bVar13) != bVar12) {\n      if (*pbVar1 == 0x2d) {\n        bVar14 = pbVar1[1];\n        if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }\n      }\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = (char *)pbVar1;\n      d->rpl_optind = (int)(pcVar8 + 1);\n      return 1;\n    }\n    pcVar8 = pcVar8 + 1;\n    d->rpl_optind = (int)pcVar8;\n    if ((char *)d->__first_nonopt == (char *)d->__last_nonopt) {\n      d->__first_nonopt = (int)pcVar8;\n    }\n    else {\n      bVar12 = pcVar8 != (char *)d->__last_nonopt;\n      pcVar8 = (char *)d->__first_nonopt;\n      if (bVar12) {\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }\n    }\n    d->__last_nonopt = argc;\n    d->rpl_optind = argc;\n  }" if (parenthesized_expression "(bVar13)" ( identifier )) (compound_statement "{\n    local_34 = (char *)d->__last_nonopt;\n    pcVar8 = (char *)d->__first_nonopt;\n  }" { (expression_statement "local_34 = (char *)d->__last_nonopt;" (assignment_expression "local_34 = (char *)d->__last_nonopt" identifier = (cast_expression "(char *)d->__last_nonopt" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->__last_nonopt" identifier -> field_identifier))) ;) (expression_statement "pcVar8 = (char *)d->__first_nonopt;" (assignment_expression "pcVar8 = (char *)d->__first_nonopt" identifier = (cast_expression "(char *)d->__first_nonopt" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->__first_nonopt" identifier -> field_identifier))) ;) }) (else_clause "else {\n    iVar10 = 3;\n    pbVar1 = (byte *)argv[(int)pcVar8];\n    pbVar9 = pbVar1;\n    pbVar11 = &DAT_0003da6c;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar12 = *pbVar9 < *pbVar11;\n      bVar13 = *pbVar9 == *pbVar11;\n      pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1;\n      pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n    } while (bVar13);\n    if ((!bVar12 && !bVar13) != bVar12) {\n      if (*pbVar1 == 0x2d) {\n        bVar14 = pbVar1[1];\n        if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }\n      }\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = (char *)pbVar1;\n      d->rpl_optind = (int)(pcVar8 + 1);\n      return 1;\n    }\n    pcVar8 = pcVar8 + 1;\n    d->rpl_optind = (int)pcVar8;\n    if ((char *)d->__first_nonopt == (char *)d->__last_nonopt) {\n      d->__first_nonopt = (int)pcVar8;\n    }\n    else {\n      bVar12 = pcVar8 != (char *)d->__last_nonopt;\n      pcVar8 = (char *)d->__first_nonopt;\n      if (bVar12) {\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }\n    }\n    d->__last_nonopt = argc;\n    d->rpl_optind = argc;\n  }" else (compound_statement "{\n    iVar10 = 3;\n    pbVar1 = (byte *)argv[(int)pcVar8];\n    pbVar9 = pbVar1;\n    pbVar11 = &DAT_0003da6c;\n    do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar12 = *pbVar9 < *pbVar11;\n      bVar13 = *pbVar9 == *pbVar11;\n      pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1;\n      pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n    } while (bVar13);\n    if ((!bVar12 && !bVar13) != bVar12) {\n      if (*pbVar1 == 0x2d) {\n        bVar14 = pbVar1[1];\n        if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }\n      }\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = (char *)pbVar1;\n      d->rpl_optind = (int)(pcVar8 + 1);\n      return 1;\n    }\n    pcVar8 = pcVar8 + 1;\n    d->rpl_optind = (int)pcVar8;\n    if ((char *)d->__first_nonopt == (char *)d->__last_nonopt) {\n      d->__first_nonopt = (int)pcVar8;\n    }\n    else {\n      bVar12 = pcVar8 != (char *)d->__last_nonopt;\n      pcVar8 = (char *)d->__first_nonopt;\n      if (bVar12) {\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }\n    }\n    d->__last_nonopt = argc;\n    d->rpl_optind = argc;\n  }" { (expression_statement "iVar10 = 3;" (assignment_expression "iVar10 = 3" identifier = number_literal) ;) (expression_statement "pbVar1 = (byte *)argv[(int)pcVar8];" (assignment_expression "pbVar1 = (byte *)argv[(int)pcVar8]" identifier = (cast_expression "(byte *)argv[(int)pcVar8]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "argv[(int)pcVar8]" identifier [ (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) ]))) ;) (expression_statement "pbVar9 = pbVar1;" (assignment_expression "pbVar9 = pbVar1" identifier = identifier) ;) (expression_statement "pbVar11 = &DAT_0003da6c;" (assignment_expression "pbVar11 = &DAT_0003da6c" identifier = (pointer_expression "&DAT_0003da6c" & identifier)) ;) (do_statement "do {\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar12 = *pbVar9 < *pbVar11;\n      bVar13 = *pbVar9 == *pbVar11;\n      pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1;\n      pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n    } while (bVar13);" do (compound_statement "{\n      if (iVar10 == 0) break;\n      iVar10 = iVar10 + -1;\n      bVar12 = *pbVar9 < *pbVar11;\n      bVar13 = *pbVar9 == *pbVar11;\n      pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1;\n      pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n    }" { (if_statement "if (iVar10 == 0) break;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "bVar12 = *pbVar9 < *pbVar11;" (assignment_expression "bVar12 = *pbVar9 < *pbVar11" identifier = (binary_expression "*pbVar9 < *pbVar11" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar11" * identifier))) ;) (expression_statement "bVar13 = *pbVar9 == *pbVar11;" (assignment_expression "bVar13 = *pbVar9 == *pbVar11" identifier = (binary_expression "*pbVar9 == *pbVar11" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar11" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar11 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar11 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar13)" ( identifier )) ;) (if_statement "if ((!bVar12 && !bVar13) != bVar12) {\n      if (*pbVar1 == 0x2d) {\n        bVar14 = pbVar1[1];\n        if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }\n      }\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = (char *)pbVar1;\n      d->rpl_optind = (int)(pcVar8 + 1);\n      return 1;\n    }" if (parenthesized_expression "((!bVar12 && !bVar13) != bVar12)" ( (binary_expression "(!bVar12 && !bVar13) != bVar12" (parenthesized_expression "(!bVar12 && !bVar13)" ( (binary_expression "!bVar12 && !bVar13" (unary_expression "!bVar12" ! identifier) && (unary_expression "!bVar13" ! identifier)) )) != identifier) )) (compound_statement "{\n      if (*pbVar1 == 0x2d) {\n        bVar14 = pbVar1[1];\n        if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }\n      }\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = (char *)pbVar1;\n      d->rpl_optind = (int)(pcVar8 + 1);\n      return 1;\n    }" { (if_statement "if (*pbVar1 == 0x2d) {\n        bVar14 = pbVar1[1];\n        if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }\n      }" if (parenthesized_expression "(*pbVar1 == 0x2d)" ( (binary_expression "*pbVar1 == 0x2d" (pointer_expression "*pbVar1" * identifier) == number_literal) )) (compound_statement "{\n        bVar14 = pbVar1[1];\n        if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }\n      }" { (expression_statement "bVar14 = pbVar1[1];" (assignment_expression "bVar14 = pbVar1[1]" identifier = (subscript_expression "pbVar1[1]" identifier [ number_literal ])) ;) (if_statement "if (bVar14 != 0) {\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }" if (parenthesized_expression "(bVar14 != 0)" ( (binary_expression "bVar14 != 0" identifier != number_literal) )) (compound_statement "{\n          if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }\n          _getopt_internal_r::lexical_block_10();\n          return (int)pcVar8;\n        }" { (if_statement "if (longopts != (rpl_option *)0x0) {\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }" if (parenthesized_expression "(longopts != (rpl_option *)0x0)" ( (binary_expression "longopts != (rpl_option *)0x0" identifier != (cast_expression "(rpl_option *)0x0" ( (type_descriptor "rpl_option *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }\n            if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }\n          }" { (if_statement "if (bVar14 == 0x2d) {\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }" if (parenthesized_expression "(bVar14 == 0x2d)" ( (binary_expression "bVar14 == 0x2d" identifier == number_literal) )) (compound_statement "{\n              d->__nextchar = (char *)(pbVar1 + 2);\n              optstring = (char *)long_only;\n              long_only = (int)&DAT_0003da6c;\n              goto LAB_000364d6;\n            }" { (expression_statement "d->__nextchar = (char *)(pbVar1 + 2);" (assignment_expression "d->__nextchar = (char *)(pbVar1 + 2)" (field_expression "d->__nextchar" identifier -> field_identifier) = (cast_expression "(char *)(pbVar1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar1 + 2)" ( (binary_expression "pbVar1 + 2" identifier + number_literal) )))) ;) (expression_statement "optstring = (char *)long_only;" (assignment_expression "optstring = (char *)long_only" identifier = (cast_expression "(char *)long_only" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "long_only = (int)&DAT_0003da6c;" (assignment_expression "long_only = (int)&DAT_0003da6c" identifier = (cast_expression "(int)&DAT_0003da6c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&DAT_0003da6c" & identifier))) ;) (goto_statement "goto LAB_000364d6;" goto statement_identifier ;) })) (if_statement "if ((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))) {\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }" if (parenthesized_expression "((long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0))))" ( (binary_expression "(long_only != 0) &&\n               ((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))" (parenthesized_expression "(long_only != 0)" ( (binary_expression "long_only != 0" identifier != number_literal) )) && (parenthesized_expression "((pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)))" ( (parenthesized_expression "(pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0))" ( (binary_expression "pbVar1[2] != 0 ||\n                (pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)" (binary_expression "pbVar1[2] != 0" (subscript_expression "pbVar1[2]" identifier [ number_literal ]) != number_literal) || (parenthesized_expression "(pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0)" ( (comma_expression "pcVar8 = strchr(local_3c,(int)(char)bVar14), pcVar8 == (char *)0x0" (assignment_expression "pcVar8 = strchr(local_3c,(int)(char)bVar14)" identifier = (call_expression "strchr(local_3c,(int)(char)bVar14)" identifier (argument_list "(local_3c,(int)(char)bVar14)" ( identifier , (cast_expression "(int)(char)bVar14" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar14" ( (type_descriptor "char" primitive_type) ) identifier)) )))) , (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) ))) )) (compound_statement "{\n              d->__nextchar = (char *)(pbVar1 + 1);\n              iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );\n              if (iVar10 != -1) {\n                return iVar10;\n              }\n              pcVar8 = (char *)d->rpl_optind;\n            }" { (expression_statement "d->__nextchar = (char *)(pbVar1 + 1);" (assignment_expression "d->__nextchar = (char *)(pbVar1 + 1)" (field_expression "d->__nextchar" identifier -> field_identifier) = (cast_expression "(char *)(pbVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar1 + 1)" ( (binary_expression "pbVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          );" (assignment_expression "iVar10 = process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          )" identifier = (call_expression "process_long_option(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          )" identifier (argument_list "(argc,argv,local_3c,longopts,longind,long_only,d,iVar5,"-"\n                                          )" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (string_literal ""-"" " string_content ") )))) ;) (if_statement "if (iVar10 != -1) {\n                return iVar10;\n              }" if (parenthesized_expression "(iVar10 != -1)" ( (binary_expression "iVar10 != -1" identifier != number_literal) )) (compound_statement "{\n                return iVar10;\n              }" { (return_statement "return iVar10;" return identifier ;) })) (expression_statement "pcVar8 = (char *)d->rpl_optind;" (assignment_expression "pcVar8 = (char *)d->rpl_optind" identifier = (cast_expression "(char *)d->rpl_optind" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->rpl_optind" identifier -> field_identifier))) ;) })) })) (labeled_statement "_getopt_internal_r::lexical_block_10();" statement_identifier : (ERROR ":" :) (expression_statement "lexical_block_10();" (call_expression "lexical_block_10()" identifier (argument_list "()" ( ))) ;)) (return_statement "return (int)pcVar8;" return (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) })) (if_statement "if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }" if (parenthesized_expression "(d->__ordering == REQUIRE_ORDER)" ( (binary_expression "d->__ordering == REQUIRE_ORDER" (field_expression "d->__ordering" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "d->rpl_optarg = (char *)pbVar1;" (assignment_expression "d->rpl_optarg = (char *)pbVar1" (field_expression "d->rpl_optarg" identifier -> field_identifier) = (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "d->rpl_optind = (int)(pcVar8 + 1);" (assignment_expression "d->rpl_optind = (int)(pcVar8 + 1)" (field_expression "d->rpl_optind" identifier -> field_identifier) = (cast_expression "(int)(pcVar8 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar8 + 1)" ( (binary_expression "pcVar8 + 1" identifier + number_literal) )))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "d->rpl_optind = (int)pcVar8;" (assignment_expression "d->rpl_optind = (int)pcVar8" (field_expression "d->rpl_optind" identifier -> field_identifier) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((char *)d->__first_nonopt == (char *)d->__last_nonopt) {\n      d->__first_nonopt = (int)pcVar8;\n    }\n    else {\n      bVar12 = pcVar8 != (char *)d->__last_nonopt;\n      pcVar8 = (char *)d->__first_nonopt;\n      if (bVar12) {\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }\n    }" if (parenthesized_expression "((char *)d->__first_nonopt == (char *)d->__last_nonopt)" ( (binary_expression "(char *)d->__first_nonopt == (char *)d->__last_nonopt" (cast_expression "(char *)d->__first_nonopt" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->__first_nonopt" identifier -> field_identifier)) == (cast_expression "(char *)d->__last_nonopt" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->__last_nonopt" identifier -> field_identifier))) )) (compound_statement "{\n      d->__first_nonopt = (int)pcVar8;\n    }" { (expression_statement "d->__first_nonopt = (int)pcVar8;" (assignment_expression "d->__first_nonopt = (int)pcVar8" (field_expression "d->__first_nonopt" identifier -> field_identifier) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n      bVar12 = pcVar8 != (char *)d->__last_nonopt;\n      pcVar8 = (char *)d->__first_nonopt;\n      if (bVar12) {\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }\n    }" else (compound_statement "{\n      bVar12 = pcVar8 != (char *)d->__last_nonopt;\n      pcVar8 = (char *)d->__first_nonopt;\n      if (bVar12) {\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }\n    }" { (expression_statement "bVar12 = pcVar8 != (char *)d->__last_nonopt;" (assignment_expression "bVar12 = pcVar8 != (char *)d->__last_nonopt" identifier = (binary_expression "pcVar8 != (char *)d->__last_nonopt" identifier != (cast_expression "(char *)d->__last_nonopt" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->__last_nonopt" identifier -> field_identifier)))) ;) (expression_statement "pcVar8 = (char *)d->__first_nonopt;" (assignment_expression "pcVar8 = (char *)d->__first_nonopt" identifier = (cast_expression "(char *)d->__first_nonopt" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->__first_nonopt" identifier -> field_identifier))) ;) (if_statement "if (bVar12) {\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }" if (parenthesized_expression "(bVar12)" ( identifier )) (compound_statement "{\n        exchange(argv,d);\n        pcVar8 = (char *)d->__first_nonopt;\n      }" { (expression_statement "exchange(argv,d);" (call_expression "exchange(argv,d)" identifier (argument_list "(argv,d)" ( identifier , identifier ))) ;) (expression_statement "pcVar8 = (char *)d->__first_nonopt;" (assignment_expression "pcVar8 = (char *)d->__first_nonopt" identifier = (cast_expression "(char *)d->__first_nonopt" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "d->__first_nonopt" identifier -> field_identifier))) ;) })) }))) (expression_statement "d->__last_nonopt = argc;" (assignment_expression "d->__last_nonopt = argc" (field_expression "d->__last_nonopt" identifier -> field_identifier) = identifier) ;) (expression_statement "d->rpl_optind = argc;" (assignment_expression "d->rpl_optind = argc" (field_expression "d->rpl_optind" identifier -> field_identifier) = identifier) ;) }))) (if_statement "if (local_34 != pcVar8) {\n    d->rpl_optind = (int)pcVar8;\n  }" if (parenthesized_expression "(local_34 != pcVar8)" ( (binary_expression "local_34 != pcVar8" identifier != identifier) )) (compound_statement "{\n    d->rpl_optind = (int)pcVar8;\n  }" { (expression_statement "d->rpl_optind = (int)pcVar8;" (assignment_expression "d->rpl_optind = (int)pcVar8" (field_expression "d->rpl_optind" identifier -> field_identifier) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "uint FUN_00036130(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  char cVar3;\n  char *pcVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  char *local_3c;\n  uint local_34;\n  \n  bVar15 = 0;\n  uVar11 = param_7[1];\n  local_3c = param_3;\n  local_34 = param_1;\n  if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }\n  uVar5 = *param_7;\n  param_7[3] = 0;\n  if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }\n  uVar5 = 0;\n  if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }\n  if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }\n  pbVar9 = pbVar10 + 1;\n  param_7[5] = (uint)pbVar9;\n  bVar15 = *pbVar10;\n  uVar11 = (uint)(char)bVar15;\n  pcVar4 = strchr(local_3c,uVar11);\n  if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }\n  if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }\n  if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }\n  if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }\n  param_7[5] = (uint)pbVar9;\n  param_7[3] = 0;\nLAB_000364d6:\n  uVar11 = FUN_000359d0();\n  return uVar11;\n}\n\n" (function_definition "uint FUN_00036130(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  char cVar3;\n  char *pcVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  char *local_3c;\n  uint local_34;\n  \n  bVar15 = 0;\n  uVar11 = param_7[1];\n  local_3c = param_3;\n  local_34 = param_1;\n  if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }\n  uVar5 = *param_7;\n  param_7[3] = 0;\n  if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }\n  uVar5 = 0;\n  if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }\n  if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }\n  pbVar9 = pbVar10 + 1;\n  param_7[5] = (uint)pbVar9;\n  bVar15 = *pbVar10;\n  uVar11 = (uint)(char)bVar15;\n  pcVar4 = strchr(local_3c,uVar11);\n  if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }\n  if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }\n  if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }\n  if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }\n  param_7[5] = (uint)pbVar9;\n  param_7[3] = 0;\nLAB_000364d6:\n  uVar11 = FUN_000359d0();\n  return uVar11;\n}" type_identifier (function_declarator "FUN_00036130(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)" identifier (parameter_list "(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "int param_8" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  char cVar3;\n  char *pcVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  char *local_3c;\n  uint local_34;\n  \n  bVar15 = 0;\n  uVar11 = param_7[1];\n  local_3c = param_3;\n  local_34 = param_1;\n  if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }\n  uVar5 = *param_7;\n  param_7[3] = 0;\n  if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }\n  uVar5 = 0;\n  if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }\n  if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }\n  pbVar9 = pbVar10 + 1;\n  param_7[5] = (uint)pbVar9;\n  bVar15 = *pbVar10;\n  uVar11 = (uint)(char)bVar15;\n  pcVar4 = strchr(local_3c,uVar11);\n  if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }\n  if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }\n  if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }\n  if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }\n  param_7[5] = (uint)pbVar9;\n  param_7[3] = 0;\nLAB_000364d6:\n  uVar11 = FUN_000359d0();\n  return uVar11;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (declaration "char *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "uint local_34;" type_identifier identifier ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = param_7[1];" (assignment_expression "uVar11 = param_7[1]" identifier = (subscript_expression "param_7[1]" identifier [ number_literal ])) ;) (expression_statement "local_3c = param_3;" (assignment_expression "local_3c = param_3" identifier = identifier) ;) (expression_statement "local_34 = param_1;" (assignment_expression "local_34 = param_1" identifier = identifier) ;) (if_statement "if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "((int)param_1 < 1)" ( (binary_expression "(int)param_1 < 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "uVar5 = *param_7;" (assignment_expression "uVar5 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }" { (expression_statement "*param_7 = 1;" (assignment_expression "*param_7 = 1" (pointer_expression "*param_7" * identifier) = number_literal) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (labeled_statement "LAB_000361a1:\n    param_7[8] = uVar5;" statement_identifier : (expression_statement "param_7[8] = uVar5;" (assignment_expression "param_7[8] = uVar5" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "param_7[7] = uVar5;" (assignment_expression "param_7[7] = uVar5" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" if (parenthesized_expression "(*param_3 == '-')" ( (binary_expression "*param_3 == '-'" (pointer_expression "*param_3" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }" { (expression_statement "local_3c = param_3 + 1;" (assignment_expression "local_3c = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "pbVar10 = (byte *)0x0;" (assignment_expression "pbVar10 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "param_7[6] = 2;" (assignment_expression "param_7[6] = 2" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" else (if_statement "if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" if (parenthesized_expression "(*param_3 == '+')" ( (binary_expression "*param_3 == '+'" (pointer_expression "*param_3" * identifier) == (char_literal "'+'" ' character ')) )) (compound_statement "{\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }" { (expression_statement "param_7[6] = 0;" (assignment_expression "param_7[6] = 0" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar10 = (byte *)0x0;" (assignment_expression "pbVar10 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_3c = param_3 + 1;" (assignment_expression "local_3c = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" else (compound_statement "{\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" { (expression_statement "pbVar10 = (byte *)0x0;" (assignment_expression "pbVar10 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }" if (parenthesized_expression "(param_8 == 0)" ( (binary_expression "param_8 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }" { (expression_statement "pcVar4 = getenv("POSIXLY_CORRECT");" (assignment_expression "pcVar4 = getenv("POSIXLY_CORRECT")" identifier = (call_expression "getenv("POSIXLY_CORRECT")" identifier (argument_list "("POSIXLY_CORRECT")" ( (string_literal ""POSIXLY_CORRECT"" " string_content ") )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }" { (expression_statement "param_7[6] = 1;" (assignment_expression "param_7[6] = 1" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar10 = (byte *)param_7[5];" (assignment_expression "pbVar10 = (byte *)param_7[5]" identifier = (cast_expression "(byte *)param_7[5]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_0003620d;" goto statement_identifier ;) })) (expression_statement "pbVar10 = (byte *)param_7[5];" (assignment_expression "pbVar10 = (byte *)param_7[5]" identifier = (cast_expression "(byte *)param_7[5]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) ;) })) (expression_statement "param_7[6] = 0;" (assignment_expression "param_7[6] = 0" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) }))))) (labeled_statement "LAB_0003620d:\n    param_7[4] = 1;" statement_identifier : (expression_statement "param_7[4] = 1;" (assignment_expression "param_7[4] = 1" (subscript_expression "param_7[4]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "cVar3 = *local_3c;" (assignment_expression "cVar3 = *local_3c" identifier = (pointer_expression "*local_3c" * identifier)) ;) }) (else_clause "else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }" else (compound_statement "{\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }" { (if_statement "if (param_7[4] == 0) goto LAB_000361a1;" if (parenthesized_expression "(param_7[4] == 0)" ( (binary_expression "param_7[4] == 0" (subscript_expression "param_7[4]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_000361a1;" goto statement_identifier ;)) (expression_statement "pbVar10 = (byte *)param_7[5];" (assignment_expression "pbVar10 = (byte *)param_7[5]" identifier = (cast_expression "(byte *)param_7[5]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) ;) (expression_statement "cVar3 = *param_3;" (assignment_expression "cVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (if_statement "if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }" if (parenthesized_expression "((cVar3 - 0x2bU & 0xfd) == 0)" ( (binary_expression "(cVar3 - 0x2bU & 0xfd) == 0" (parenthesized_expression "(cVar3 - 0x2bU & 0xfd)" ( (binary_expression "cVar3 - 0x2bU & 0xfd" (binary_expression "cVar3 - 0x2bU" identifier - number_literal) & number_literal) )) == number_literal) )) (compound_statement "{\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }" { (expression_statement "local_3c = param_3 + 1;" (assignment_expression "local_3c = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = param_3[1];" (assignment_expression "cVar3 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) })) }))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (if_statement "if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }" if (parenthesized_expression "(cVar3 != ':')" ( (binary_expression "cVar3 != ':'" identifier != (char_literal "':'" ' character ')) )) (compound_statement "{\n    uVar5 = uVar11;\n  }" { (expression_statement "uVar5 = uVar11;" (assignment_expression "uVar5 = uVar11" identifier = identifier) ;) })) (if_statement "if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }" if (parenthesized_expression "((pbVar10 == (byte *)0x0) || (*pbVar10 == 0))" ( (binary_expression "(pbVar10 == (byte *)0x0) || (*pbVar10 == 0)" (parenthesized_expression "(pbVar10 == (byte *)0x0)" ( (binary_expression "pbVar10 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*pbVar10 == 0)" ( (binary_expression "*pbVar10 == 0" (pointer_expression "*pbVar10" * identifier) == number_literal) ))) )) (compound_statement "{\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }" { (expression_statement "uVar11 = *param_7;" (assignment_expression "uVar11 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }" if (parenthesized_expression "((int)uVar11 < (int)param_7[8])" ( (binary_expression "(int)uVar11 < (int)param_7[8]" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)param_7[8]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_7[8]" identifier [ number_literal ]))) )) (compound_statement "{\n      param_7[8] = uVar11;\n    }" { (expression_statement "param_7[8] = uVar11;" (assignment_expression "param_7[8] = uVar11" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "uVar7 = param_7[7];" (assignment_expression "uVar7 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) (if_statement "if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }" if (parenthesized_expression "((int)uVar11 < (int)param_7[7])" ( (binary_expression "(int)uVar11 < (int)param_7[7]" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)param_7[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_7[7]" identifier [ number_literal ]))) )) (compound_statement "{\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }" { (expression_statement "param_7[7] = uVar11;" (assignment_expression "param_7[7] = uVar11" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = uVar11;" (assignment_expression "uVar7 = uVar11" identifier = identifier) ;) })) (if_statement "if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }" if (parenthesized_expression "(param_7[6] == 1)" ( (binary_expression "param_7[6] == 1" (subscript_expression "param_7[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }" { (expression_statement "uVar1 = param_7[8];" (assignment_expression "uVar1 = param_7[8]" identifier = (subscript_expression "param_7[8]" identifier [ number_literal ])) ;) (if_statement "if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }" if (parenthesized_expression "(uVar1 == uVar7)" ( (binary_expression "uVar1 == uVar7" identifier == identifier) )) (compound_statement "{\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }" { (if_statement "if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }" if (parenthesized_expression "(uVar11 != uVar7)" ( (binary_expression "uVar11 != uVar7" identifier != identifier) )) (compound_statement "{\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }" { (expression_statement "param_7[7] = uVar11;" (assignment_expression "param_7[7] = uVar11" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = uVar11;" (assignment_expression "uVar7 = uVar11" identifier = identifier) ;) })) }) (else_clause "else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }" else (compound_statement "{\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }" { (expression_statement "uVar7 = uVar1;" (assignment_expression "uVar7 = uVar1" identifier = identifier) ;) (if_statement "if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }" if (parenthesized_expression "(uVar11 != uVar1)" ( (binary_expression "uVar11 != uVar1" identifier != identifier) )) (compound_statement "{\n          FUN_00035900();\n          uVar7 = *param_7;\n        }" { (expression_statement "FUN_00035900();" (call_expression "FUN_00035900()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar7 = *param_7;" (assignment_expression "uVar7 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) })) }))) (expression_statement "uVar11 = uVar7;" (assignment_expression "uVar11 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }" if (parenthesized_expression "((int)uVar11 < (int)param_1)" ( (binary_expression "(int)uVar11 < (int)param_1" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }" { (do_statement "do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);" do (compound_statement "{\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        }" { (if_statement "if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;" if (parenthesized_expression "((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0'))" ( (binary_expression "(*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')" (parenthesized_expression "(*(char *)param_2[uVar11] == '-')" ( (binary_expression "*(char *)param_2[uVar11] == '-'" (pointer_expression "*(char *)param_2[uVar11]" * (cast_expression "(char *)param_2[uVar11]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ]))) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(((char *)param_2[uVar11])[1] != '\0')" ( (binary_expression "((char *)param_2[uVar11])[1] != '\0'" (subscript_expression "((char *)param_2[uVar11])[1]" (parenthesized_expression "((char *)param_2[uVar11])" ( (cast_expression "(char *)param_2[uVar11]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ])) )) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = uVar11;" (assignment_expression "*param_7 = uVar11" (pointer_expression "*param_7" * identifier) = identifier) ;) }) while (parenthesized_expression "(uVar11 != param_1)" ( (binary_expression "uVar11 != param_1" identifier != identifier) )) ;) })) (expression_statement "param_7[8] = uVar11;" (assignment_expression "param_7[8] = uVar11" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "bVar13 = param_1 < uVar11;" (assignment_expression "bVar13 = param_1 < uVar11" identifier = (binary_expression "param_1 < uVar11" identifier < identifier)) ;) (expression_statement "bVar14 = param_1 == uVar11;" (assignment_expression "bVar14 = param_1 == uVar11" identifier = (binary_expression "param_1 == uVar11" identifier == identifier)) ;) (if_statement "if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }" { (expression_statement "local_34 = param_7[8];" (assignment_expression "local_34 = param_7[8]" identifier = (subscript_expression "param_7[8]" identifier [ number_literal ])) ;) (expression_statement "uVar11 = param_7[7];" (assignment_expression "uVar11 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) (labeled_statement "LAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }" statement_identifier : (if_statement "if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }" if (parenthesized_expression "(local_34 != uVar11)" ( (binary_expression "local_34 != uVar11" identifier != identifier) )) (compound_statement "{\n        *param_7 = uVar11;\n      }" { (expression_statement "*param_7 = uVar11;" (assignment_expression "*param_7 = uVar11" (pointer_expression "*param_7" * identifier) = identifier) ;) }))) (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "iVar8 = 3;" (assignment_expression "iVar8 = 3" identifier = number_literal) ;) (expression_statement "pbVar10 = (byte *)param_2[uVar11];" (assignment_expression "pbVar10 = (byte *)param_2[uVar11]" identifier = (cast_expression "(byte *)param_2[uVar11]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[uVar11]" identifier [ identifier ]))) ;) (expression_statement "pbVar9 = pbVar10;" (assignment_expression "pbVar9 = pbVar10" identifier = identifier) ;) (expression_statement "pbVar12 = &DAT_0003da6c;" (assignment_expression "pbVar12 = &DAT_0003da6c" identifier = (pointer_expression "&DAT_0003da6c" & identifier)) ;) (do_statement "do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);" do (compound_statement "{\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    }" { (if_statement "if (iVar8 == 0) break;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" identifier = (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" identifier = (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (compound_statement "{\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }" { (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = uVar11;" (assignment_expression "*param_7 = uVar11" (pointer_expression "*param_7" * identifier) = identifier) ;) (if_statement "if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }" if (parenthesized_expression "(param_7[7] == param_7[8])" ( (binary_expression "param_7[7] == param_7[8]" (subscript_expression "param_7[7]" identifier [ number_literal ]) == (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n        param_7[7] = uVar11;\n      }" { (expression_statement "param_7[7] = uVar11;" (assignment_expression "param_7[7] = uVar11" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }" else (compound_statement "{\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }" { (expression_statement "bVar13 = uVar11 != param_7[8];" (assignment_expression "bVar13 = uVar11 != param_7[8]" identifier = (binary_expression "uVar11 != param_7[8]" identifier != (subscript_expression "param_7[8]" identifier [ number_literal ]))) ;) (expression_statement "uVar11 = param_7[7];" (assignment_expression "uVar11 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) (if_statement "if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }" if (parenthesized_expression "(bVar13)" ( identifier )) (compound_statement "{\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }" { (expression_statement "FUN_00035900();" (call_expression "FUN_00035900()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar11 = param_7[7];" (assignment_expression "uVar11 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) })) }))) (expression_statement "param_7[8] = param_1;" (assignment_expression "param_7[8] = param_1" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_7 = param_1;" (assignment_expression "*param_7 = param_1" (pointer_expression "*param_7" * identifier) = identifier) ;) (goto_statement "goto LAB_00036372;" goto statement_identifier ;) })) (if_statement "if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }" if (parenthesized_expression "(*pbVar10 != 0x2d)" ( (binary_expression "*pbVar10 != 0x2d" (pointer_expression "*pbVar10" * identifier) != number_literal) )) (compound_statement "{\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }" { (labeled_statement "LAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }" statement_identifier : (if_statement "if (param_7[6] == 0) {\n        return 0xffffffff;\n      }" if (parenthesized_expression "(param_7[6] == 0)" ( (binary_expression "param_7[6] == 0" (subscript_expression "param_7[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        return 0xffffffff;\n      }" { (return_statement "return 0xffffffff;" return number_literal ;) }))) (expression_statement "param_7[3] = (uint)pbVar10;" (assignment_expression "param_7[3] = (uint)pbVar10" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*param_7 = uVar11 + 1;" (assignment_expression "*param_7 = uVar11 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "bVar15 = pbVar10[1];" (assignment_expression "bVar15 = pbVar10[1]" identifier = (subscript_expression "pbVar10[1]" identifier [ number_literal ])) ;) (if_statement "if (bVar15 == 0) goto LAB_00036331;" if (parenthesized_expression "(bVar15 == 0)" ( (binary_expression "bVar15 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00036331;" goto statement_identifier ;)) (if_statement "if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }" { (if_statement "if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }" if (parenthesized_expression "(bVar15 == 0x2d)" ( (binary_expression "bVar15 == 0x2d" identifier == number_literal) )) (compound_statement "{\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }" { (expression_statement "param_7[5] = (uint)(pbVar10 + 2);" (assignment_expression "param_7[5] = (uint)(pbVar10 + 2)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (call_expression "(uint)(pbVar10 + 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pbVar10 + 2)" ( (binary_expression "pbVar10 + 2" identifier + number_literal) )))) ;) (goto_statement "goto LAB_000364d6;" goto statement_identifier ;) })) (if_statement "if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }" if (parenthesized_expression "((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         )" ( (binary_expression "(param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))" ( (parenthesized_expression "(pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0))" ( (binary_expression "pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)" (binary_expression "pbVar10[2] != 0" (subscript_expression "pbVar10[2]" identifier [ number_literal ]) != number_literal) || (parenthesized_expression "(pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)" ( (comma_expression "pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0" (assignment_expression "pcVar4 = strchr(local_3c,(int)(char)bVar15)" identifier = (call_expression "strchr(local_3c,(int)(char)bVar15)" identifier (argument_list "(local_3c,(int)(char)bVar15)" ( identifier , (cast_expression "(int)(char)bVar15" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar15" ( (type_descriptor "char" primitive_type) ) identifier)) )))) , (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) ))) )) (compound_statement "{\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }" { (expression_statement "param_7[5] = (uint)(pbVar10 + 1);" (assignment_expression "param_7[5] = (uint)(pbVar10 + 1)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (call_expression "(uint)(pbVar10 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pbVar10 + 1)" ( (binary_expression "pbVar10 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);" (assignment_expression "uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d)" identifier = (call_expression "FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d)" identifier (argument_list "(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d)" ( identifier , identifier , identifier , identifier , identifier , (pointer_expression "&DAT_0003da6d" & identifier) )))) ;) (if_statement "if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }" if (parenthesized_expression "(uVar11 != 0xffffffff)" ( (binary_expression "uVar11 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n          return uVar11;\n        }" { (return_statement "return uVar11;" return identifier ;) })) (expression_statement "pbVar10 = (byte *)param_2[*param_7];" (assignment_expression "pbVar10 = (byte *)param_2[*param_7]" identifier = (cast_expression "(byte *)param_2[*param_7]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[*param_7]" identifier [ (pointer_expression "*param_7" * identifier) ]))) ;) })) })) (expression_statement "pbVar10 = pbVar10 + 1;" (assignment_expression "pbVar10 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar9 = pbVar10 + 1;" (assignment_expression "pbVar9 = pbVar10 + 1" identifier = (binary_expression "pbVar10 + 1" identifier + number_literal)) ;) (expression_statement "param_7[5] = (uint)pbVar9;" (assignment_expression "param_7[5] = (uint)pbVar9" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "bVar15 = *pbVar10;" (assignment_expression "bVar15 = *pbVar10" identifier = (pointer_expression "*pbVar10" * identifier)) ;) (expression_statement "uVar11 = (uint)(char)bVar15;" (assignment_expression "uVar11 = (uint)(char)bVar15" identifier = (cast_expression "(uint)(char)bVar15" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(char)bVar15" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "pcVar4 = strchr(local_3c,uVar11);" (assignment_expression "pcVar4 = strchr(local_3c,uVar11)" identifier = (call_expression "strchr(local_3c,uVar11)" identifier (argument_list "(local_3c,uVar11)" ( identifier , identifier )))) ;) (if_statement "if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }" if (parenthesized_expression "(pbVar10[1] == 0)" ( (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    *param_7 = *param_7 + 1;\n  }" { (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 + 1" (pointer_expression "*param_7" * identifier) + number_literal)) ;) })) (if_statement "if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }" if (parenthesized_expression "(((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0))" ( (binary_expression "((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)" (parenthesized_expression "((byte)(bVar15 - 0x3a) < 2)" ( (binary_expression "(byte)(bVar15 - 0x3a) < 2" (call_expression "(byte)(bVar15 - 0x3a)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar15 - 0x3a)" ( (binary_expression "bVar15 - 0x3a" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }" { (if_statement "if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5)" identifier = (call_expression "dcgettext(0,"%s: invalid option -- \'%c\'\n",5)" identifier (argument_list "(0,"%s: invalid option -- \'%c\'\n",5)" ( number_literal , (string_literal ""%s: invalid option -- \'%c\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" * (cast_expression "(undefined4 *)PTR_stderr_00047fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "param_7[2] = uVar11;" (assignment_expression "param_7[2] = uVar11" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 0x3f;" return number_literal ;) })) (if_statement "if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }" if (parenthesized_expression "(((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';'))" ( (binary_expression "((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')" (parenthesized_expression "((*pcVar4 != 'W') || (param_4 == 0))" ( (binary_expression "(*pcVar4 != 'W') || (param_4 == 0)" (parenthesized_expression "(*pcVar4 != 'W')" ( (binary_expression "*pcVar4 != 'W'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'W'" ' character ')) )) || (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "(pcVar4[1] != ';')" ( (binary_expression "pcVar4[1] != ';'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "';'" ' character ')) ))) )) (compound_statement "{\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }" { (if_statement "if (pcVar4[1] != ':') {\n      return uVar11;\n    }" if (parenthesized_expression "(pcVar4[1] != ':')" ( (binary_expression "pcVar4[1] != ':'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n      return uVar11;\n    }" { (return_statement "return uVar11;" return identifier ;) })) (if_statement "if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }" if (parenthesized_expression "(pcVar4[2] == ':')" ( (binary_expression "pcVar4[2] == ':'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }" { (if_statement "if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }" if (parenthesized_expression "(pbVar10[1] == 0)" ( (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        pbVar9 = (byte *)0x0;\n      }" { (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        *param_7 = *param_7 + 1;\n      }" else (compound_statement "{\n        *param_7 = *param_7 + 1;\n      }" { (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 + 1" (pointer_expression "*param_7" * identifier) + number_literal)) ;) }))) (expression_statement "param_7[3] = (uint)pbVar9;" (assignment_expression "param_7[3] = (uint)pbVar9" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return uVar11;" return identifier ;) })) (expression_statement "uVar7 = *param_7;" (assignment_expression "uVar7 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }" if (parenthesized_expression "(pbVar10[1] == 0)" ( (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }" { (if_statement "if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }" if (parenthesized_expression "(param_1 == uVar7)" ( (binary_expression "param_1 == uVar7" identifier == identifier) )) (compound_statement "{\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }" { (if_statement "if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier = (call_expression "dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier (argument_list "(0,"%s: option requires an argument -- \'%c\'\n",5)" ( number_literal , (string_literal ""%s: option requires an argument -- \'%c\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" * (cast_expression "(undefined4 *)PTR_stderr_00047fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "param_7[2] = uVar11;" (assignment_expression "param_7[2] = uVar11" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;" (assignment_expression "uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a" identifier = (binary_expression "(uint)(*local_3c != ':') * 5 + 0x3a" (binary_expression "(uint)(*local_3c != ':') * 5" (call_expression "(uint)(*local_3c != ':')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*local_3c != ':')" ( (binary_expression "*local_3c != ':'" (pointer_expression "*local_3c" * identifier) != (char_literal "':'" ' character ')) ))) * number_literal) + number_literal)) ;) }) (else_clause "else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }" else (compound_statement "{\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }" { (expression_statement "*param_7 = uVar7 + 1;" (assignment_expression "*param_7 = uVar7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "param_7[3] = param_2[uVar7];" (assignment_expression "param_7[3] = param_2[uVar7]" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (subscript_expression "param_2[uVar7]" identifier [ identifier ])) ;) }))) }) (else_clause "else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }" else (compound_statement "{\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }" { (expression_statement "param_7[3] = (uint)pbVar9;" (assignment_expression "param_7[3] = (uint)pbVar9" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*param_7 = uVar7 + 1;" (assignment_expression "*param_7 = uVar7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return uVar11;" return identifier ;) })) (if_statement "if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }" if (parenthesized_expression "(pbVar10[1] == 0)" ( (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }" { (if_statement "if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }" if (parenthesized_expression "(*param_7 == param_1)" ( (binary_expression "*param_7 == param_1" (pointer_expression "*param_7" * identifier) == identifier) )) (compound_statement "{\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }" { (if_statement "if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }" { (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier = (call_expression "dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" identifier (argument_list "(0,"%s: option requires an argument -- \'%c\'\n",5)" ( number_literal , (string_literal ""%s: option requires an argument -- \'%c\'\n"" " string_content escape_sequence string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" identifier (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" ( (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" * (cast_expression "(undefined4 *)PTR_stderr_00047fbc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , identifier , identifier ))) ;) })) (expression_statement "param_7[2] = uVar11;" (assignment_expression "param_7[2] = uVar11" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return (uint)(*local_3c != ':') * 5 + 0x3a;" return (binary_expression "(uint)(*local_3c != ':') * 5 + 0x3a" (binary_expression "(uint)(*local_3c != ':') * 5" (call_expression "(uint)(*local_3c != ':')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*local_3c != ':')" ( (binary_expression "*local_3c != ':'" (pointer_expression "*local_3c" * identifier) != (char_literal "':'" ' character ')) ))) * number_literal) + number_literal) ;) })) (expression_statement "pbVar9 = (byte *)param_2[*param_7];" (assignment_expression "pbVar9 = (byte *)param_2[*param_7]" identifier = (cast_expression "(byte *)param_2[*param_7]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[*param_7]" identifier [ (pointer_expression "*param_7" * identifier) ]))) ;) })) (expression_statement "param_7[5] = (uint)pbVar9;" (assignment_expression "param_7[5] = (uint)pbVar9" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(uint)pbVar9" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_000364d6:\n  uVar11 = FUN_000359d0();" statement_identifier : (expression_statement "uVar11 = FUN_000359d0();" (assignment_expression "uVar11 = FUN_000359d0()" identifier = (call_expression "FUN_000359d0()" identifier (argument_list "()" ( )))) ;)) (return_statement "return uVar11;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ IDENT ]))) == (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ IDENT ])) )) [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ IDENT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & 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 = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT != (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (return_statement return LIT ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ (pointer_expression * IDENT) ]))) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) || (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) ))) * LIT) + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ IDENT ])) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) ))) * LIT) + LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ (pointer_expression * IDENT) ]))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00036130(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  char cVar3;\n  char *pcVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  char *local_3c;\n  uint local_34;\n  \n  bVar15 = 0;\n  uVar11 = param_7[1];\n  local_3c = param_3;\n  local_34 = param_1;\n  if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }\n  uVar5 = *param_7;\n  param_7[3] = 0;\n  if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }\n  uVar5 = 0;\n  if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }\n  if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }\n  pbVar9 = pbVar10 + 1;\n  param_7[5] = (uint)pbVar9;\n  bVar15 = *pbVar10;\n  uVar11 = (uint)(char)bVar15;\n  pcVar4 = strchr(local_3c,uVar11);\n  if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }\n  if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }\n  if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }\n  if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }\n  param_7[5] = (uint)pbVar9;\n  param_7[3] = 0;\nLAB_000364d6:\n  uVar11 = FUN_000359d0();\n  return uVar11;\n}" (type_identifier "uint") (function_declarator "FUN_00036130(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)" (identifier "FUN_00036130") (parameter_list "(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                 int param_6,uint *param_7,int param_8)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "uint *param_7" (type_identifier "uint") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) (, ",") (parameter_declaration "int param_8" (primitive_type "int") (identifier "param_8")) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  char cVar3;\n  char *pcVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  int iVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  uint uVar11;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  char *local_3c;\n  uint local_34;\n  \n  bVar15 = 0;\n  uVar11 = param_7[1];\n  local_3c = param_3;\n  local_34 = param_1;\n  if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }\n  uVar5 = *param_7;\n  param_7[3] = 0;\n  if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }\n  uVar5 = 0;\n  if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }\n  if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }\n  pbVar9 = pbVar10 + 1;\n  param_7[5] = (uint)pbVar9;\n  bVar15 = *pbVar10;\n  uVar11 = (uint)(char)bVar15;\n  pcVar4 = strchr(local_3c,uVar11);\n  if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }\n  if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }\n  if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }\n  if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }\n  param_7[5] = (uint)pbVar9;\n  param_7[3] = 0;\nLAB_000364d6:\n  uVar11 = FUN_000359d0();\n  return uVar11;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "byte *pbVar10;" (type_identifier "byte") (pointer_declarator "*pbVar10" (* "*") (identifier "pbVar10")) (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "bool bVar13;" (primitive_type "bool") (identifier "bVar13") (; ";")) (declaration "bool bVar14;" (primitive_type "bool") (identifier "bVar14") (; ";")) (declaration "byte bVar15;" (type_identifier "byte") (identifier "bVar15") (; ";")) (declaration "char *local_3c;" (primitive_type "char") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c")) (; ";")) (declaration "uint local_34;" (type_identifier "uint") (identifier "local_34") (; ";")) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" (identifier "bVar15") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar11 = param_7[1];" (assignment_expression "uVar11 = param_7[1]" (identifier "uVar11") (= "=") (subscript_expression "param_7[1]" (identifier "param_7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_3c = param_3;" (assignment_expression "local_3c = param_3" (identifier "local_3c") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_34 = param_1;" (assignment_expression "local_34 = param_1" (identifier "local_34") (= "=") (identifier "param_1")) (; ";")) (if_statement "if ((int)param_1 < 1) {\n    return 0xffffffff;\n  }" (if "if") (parenthesized_expression "((int)param_1 < 1)" (( "(") (binary_expression "(int)param_1 < 1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    return 0xffffffff;\n  }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (expression_statement "uVar5 = *param_7;" (assignment_expression "uVar5 = *param_7" (identifier "uVar5") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar5 == 0) {\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_7 = 1;\n    uVar5 = 1;\nLAB_000361a1:\n    param_7[8] = uVar5;\n    param_7[7] = uVar5;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }\nLAB_0003620d:\n    param_7[4] = 1;\n    cVar3 = *local_3c;\n  }" ({ "{") (expression_statement "*param_7 = 1;" (assignment_expression "*param_7 = 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_000361a1:\n    param_7[8] = uVar5;" (statement_identifier "LAB_000361a1") (: ":") (expression_statement "param_7[8] = uVar5;" (assignment_expression "param_7[8] = uVar5" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "uVar5")) (; ";"))) (expression_statement "param_7[7] = uVar5;" (assignment_expression "param_7[7] = uVar5" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*param_3 == '-') {\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" (if "if") (parenthesized_expression "(*param_3 == '-')" (( "(") (binary_expression "*param_3 == '-'" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (compound_statement "{\n      local_3c = param_3 + 1;\n      pbVar10 = (byte *)0x0;\n      param_7[6] = 2;\n    }" ({ "{") (expression_statement "local_3c = param_3 + 1;" (assignment_expression "local_3c = param_3 + 1" (identifier "local_3c") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar10 = (byte *)0x0;" (assignment_expression "pbVar10 = (byte *)0x0" (identifier "pbVar10") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "param_7[6] = 2;" (assignment_expression "param_7[6] = 2" (subscript_expression "param_7[6]" (identifier "param_7") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" (else "else") (if_statement "if (*param_3 == '+') {\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }\n    else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" (if "if") (parenthesized_expression "(*param_3 == '+')" (( "(") (binary_expression "*param_3 == '+'" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (== "==") (char_literal "'+'" (' "'") (character "+") (' "'"))) () ")")) (compound_statement "{\n      param_7[6] = 0;\n      pbVar10 = (byte *)0x0;\n      local_3c = param_3 + 1;\n    }" ({ "{") (expression_statement "param_7[6] = 0;" (assignment_expression "param_7[6] = 0" (subscript_expression "param_7[6]" (identifier "param_7") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar10 = (byte *)0x0;" (assignment_expression "pbVar10 = (byte *)0x0" (identifier "pbVar10") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_3c = param_3 + 1;" (assignment_expression "local_3c = param_3 + 1" (identifier "local_3c") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" (else "else") (compound_statement "{\n      pbVar10 = (byte *)0x0;\n      if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }\n      param_7[6] = 0;\n    }" ({ "{") (expression_statement "pbVar10 = (byte *)0x0;" (assignment_expression "pbVar10 = (byte *)0x0" (identifier "pbVar10") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (param_8 == 0) {\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }" (if "if") (parenthesized_expression "(param_8 == 0)" (( "(") (binary_expression "param_8 == 0" (identifier "param_8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        pcVar4 = getenv("POSIXLY_CORRECT");\n        if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }\n        pbVar10 = (byte *)param_7[5];\n      }" ({ "{") (expression_statement "pcVar4 = getenv("POSIXLY_CORRECT");" (assignment_expression "pcVar4 = getenv("POSIXLY_CORRECT")" (identifier "pcVar4") (= "=") (call_expression "getenv("POSIXLY_CORRECT")" (identifier "getenv") (argument_list "("POSIXLY_CORRECT")" (( "(") (string_literal ""POSIXLY_CORRECT"" (" """) (string_content "POSIXLY_CORRECT") (" """)) () ")")))) (; ";")) (if_statement "if (pcVar4 == (char *)0x0) {\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }" (if "if") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          param_7[6] = 1;\n          pbVar10 = (byte *)param_7[5];\n          goto LAB_0003620d;\n        }" ({ "{") (expression_statement "param_7[6] = 1;" (assignment_expression "param_7[6] = 1" (subscript_expression "param_7[6]" (identifier "param_7") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "pbVar10 = (byte *)param_7[5];" (assignment_expression "pbVar10 = (byte *)param_7[5]" (identifier "pbVar10") (= "=") (cast_expression "(byte *)param_7[5]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")))) (; ";")) (goto_statement "goto LAB_0003620d;" (goto "goto") (statement_identifier "LAB_0003620d") (; ";")) (} "}"))) (expression_statement "pbVar10 = (byte *)param_7[5];" (assignment_expression "pbVar10 = (byte *)param_7[5]" (identifier "pbVar10") (= "=") (cast_expression "(byte *)param_7[5]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")))) (; ";")) (} "}"))) (expression_statement "param_7[6] = 0;" (assignment_expression "param_7[6] = 0" (subscript_expression "param_7[6]" (identifier "param_7") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")))))) (labeled_statement "LAB_0003620d:\n    param_7[4] = 1;" (statement_identifier "LAB_0003620d") (: ":") (expression_statement "param_7[4] = 1;" (assignment_expression "param_7[4] = 1" (subscript_expression "param_7[4]" (identifier "param_7") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "1")) (; ";"))) (expression_statement "cVar3 = *local_3c;" (assignment_expression "cVar3 = *local_3c" (identifier "cVar3") (= "=") (pointer_expression "*local_3c" (* "*") (identifier "local_3c"))) (; ";")) (} "}")) (else_clause "else {\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }" (else "else") (compound_statement "{\n    if (param_7[4] == 0) goto LAB_000361a1;\n    pbVar10 = (byte *)param_7[5];\n    cVar3 = *param_3;\n    if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }\n  }" ({ "{") (if_statement "if (param_7[4] == 0) goto LAB_000361a1;" (if "if") (parenthesized_expression "(param_7[4] == 0)" (( "(") (binary_expression "param_7[4] == 0" (subscript_expression "param_7[4]" (identifier "param_7") ([ "[") (number_literal "4") (] "]")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000361a1;" (goto "goto") (statement_identifier "LAB_000361a1") (; ";"))) (expression_statement "pbVar10 = (byte *)param_7[5];" (assignment_expression "pbVar10 = (byte *)param_7[5]" (identifier "pbVar10") (= "=") (cast_expression "(byte *)param_7[5]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "cVar3 = *param_3;" (assignment_expression "cVar3 = *param_3" (identifier "cVar3") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (if_statement "if ((cVar3 - 0x2bU & 0xfd) == 0) {\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }" (if "if") (parenthesized_expression "((cVar3 - 0x2bU & 0xfd) == 0)" (( "(") (binary_expression "(cVar3 - 0x2bU & 0xfd) == 0" (parenthesized_expression "(cVar3 - 0x2bU & 0xfd)" (( "(") (binary_expression "cVar3 - 0x2bU & 0xfd" (binary_expression "cVar3 - 0x2bU" (identifier "cVar3") (- "-") (number_literal "0x2bU")) (& "&") (number_literal "0xfd")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_3c = param_3 + 1;\n      cVar3 = param_3[1];\n    }" ({ "{") (expression_statement "local_3c = param_3 + 1;" (assignment_expression "local_3c = param_3 + 1" (identifier "local_3c") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar3 = param_3[1];" (assignment_expression "cVar3 = param_3[1]" (identifier "cVar3") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (cVar3 != ':') {\n    uVar5 = uVar11;\n  }" (if "if") (parenthesized_expression "(cVar3 != ':')" (( "(") (binary_expression "cVar3 != ':'" (identifier "cVar3") (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n    uVar5 = uVar11;\n  }" ({ "{") (expression_statement "uVar5 = uVar11;" (assignment_expression "uVar5 = uVar11" (identifier "uVar5") (= "=") (identifier "uVar11")) (; ";")) (} "}"))) (if_statement "if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }" (if "if") (parenthesized_expression "((pbVar10 == (byte *)0x0) || (*pbVar10 == 0))" (( "(") (binary_expression "(pbVar10 == (byte *)0x0) || (*pbVar10 == 0)" (parenthesized_expression "(pbVar10 == (byte *)0x0)" (( "(") (binary_expression "pbVar10 == (byte *)0x0" (identifier "pbVar10") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*pbVar10 == 0)" (( "(") (binary_expression "*pbVar10 == 0" (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar11 = *param_7;\n    if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }\n    uVar7 = param_7[7];\n    if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }\n    if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }\n    bVar13 = param_1 < uVar11;\n    bVar14 = param_1 == uVar11;\n    if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }\n    iVar8 = 3;\n    pbVar10 = (byte *)param_2[uVar11];\n    pbVar9 = pbVar10;\n    pbVar12 = &DAT_0003da6c;\n    do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }\n    if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }\n    bVar15 = pbVar10[1];\n    if (bVar15 == 0) goto LAB_00036331;\n    if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }\n    pbVar10 = pbVar10 + 1;\n  }" ({ "{") (expression_statement "uVar11 = *param_7;" (assignment_expression "uVar11 = *param_7" (identifier "uVar11") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (if_statement "if ((int)uVar11 < (int)param_7[8]) {\n      param_7[8] = uVar11;\n    }" (if "if") (parenthesized_expression "((int)uVar11 < (int)param_7[8])" (( "(") (binary_expression "(int)uVar11 < (int)param_7[8]" (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11")) (< "<") (cast_expression "(int)param_7[8]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")))) () ")")) (compound_statement "{\n      param_7[8] = uVar11;\n    }" ({ "{") (expression_statement "param_7[8] = uVar11;" (assignment_expression "param_7[8] = uVar11" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (} "}"))) (expression_statement "uVar7 = param_7[7];" (assignment_expression "uVar7 = param_7[7]" (identifier "uVar7") (= "=") (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]"))) (; ";")) (if_statement "if ((int)uVar11 < (int)param_7[7]) {\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }" (if "if") (parenthesized_expression "((int)uVar11 < (int)param_7[7])" (( "(") (binary_expression "(int)uVar11 < (int)param_7[7]" (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11")) (< "<") (cast_expression "(int)param_7[7]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")))) () ")")) (compound_statement "{\n      param_7[7] = uVar11;\n      uVar7 = uVar11;\n    }" ({ "{") (expression_statement "param_7[7] = uVar11;" (assignment_expression "param_7[7] = uVar11" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "uVar7 = uVar11;" (assignment_expression "uVar7 = uVar11" (identifier "uVar7") (= "=") (identifier "uVar11")) (; ";")) (} "}"))) (if_statement "if (param_7[6] == 1) {\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }" (if "if") (parenthesized_expression "(param_7[6] == 1)" (( "(") (binary_expression "param_7[6] == 1" (subscript_expression "param_7[6]" (identifier "param_7") ([ "[") (number_literal "6") (] "]")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      uVar1 = param_7[8];\n      if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }\n      uVar11 = uVar7;\n      if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }\n      param_7[8] = uVar11;\n    }" ({ "{") (expression_statement "uVar1 = param_7[8];" (assignment_expression "uVar1 = param_7[8]" (identifier "uVar1") (= "=") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) (; ";")) (if_statement "if (uVar1 == uVar7) {\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }\n      else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }" (if "if") (parenthesized_expression "(uVar1 == uVar7)" (( "(") (binary_expression "uVar1 == uVar7" (identifier "uVar1") (== "==") (identifier "uVar7")) () ")")) (compound_statement "{\n        if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }\n      }" ({ "{") (if_statement "if (uVar11 != uVar7) {\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }" (if "if") (parenthesized_expression "(uVar11 != uVar7)" (( "(") (binary_expression "uVar11 != uVar7" (identifier "uVar11") (!= "!=") (identifier "uVar7")) () ")")) (compound_statement "{\n          param_7[7] = uVar11;\n          uVar7 = uVar11;\n        }" ({ "{") (expression_statement "param_7[7] = uVar11;" (assignment_expression "param_7[7] = uVar11" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "uVar7 = uVar11;" (assignment_expression "uVar7 = uVar11" (identifier "uVar7") (= "=") (identifier "uVar11")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }" (else "else") (compound_statement "{\n        uVar7 = uVar1;\n        if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }\n      }" ({ "{") (expression_statement "uVar7 = uVar1;" (assignment_expression "uVar7 = uVar1" (identifier "uVar7") (= "=") (identifier "uVar1")) (; ";")) (if_statement "if (uVar11 != uVar1) {\n          FUN_00035900();\n          uVar7 = *param_7;\n        }" (if "if") (parenthesized_expression "(uVar11 != uVar1)" (( "(") (binary_expression "uVar11 != uVar1" (identifier "uVar11") (!= "!=") (identifier "uVar1")) () ")")) (compound_statement "{\n          FUN_00035900();\n          uVar7 = *param_7;\n        }" ({ "{") (expression_statement "FUN_00035900();" (call_expression "FUN_00035900()" (identifier "FUN_00035900") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar7 = *param_7;" (assignment_expression "uVar7 = *param_7" (identifier "uVar7") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar11 = uVar7;" (assignment_expression "uVar11 = uVar7" (identifier "uVar11") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if ((int)uVar11 < (int)param_1) {\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }" (if "if") (parenthesized_expression "((int)uVar11 < (int)param_1)" (( "(") (binary_expression "(int)uVar11 < (int)param_1" (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11")) (< "<") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")")) (compound_statement "{\n        do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);\n      }" ({ "{") (do_statement "do {\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        } while (uVar11 != param_1);" (do "do") (compound_statement "{\n          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;\n          uVar11 = uVar11 + 1;\n          *param_7 = uVar11;\n        }" ({ "{") (if_statement "if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;" (if "if") (parenthesized_expression "((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0'))" (( "(") (binary_expression "(*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')" (parenthesized_expression "(*(char *)param_2[uVar11] == '-')" (( "(") (binary_expression "*(char *)param_2[uVar11] == '-'" (pointer_expression "*(char *)param_2[uVar11]" (* "*") (cast_expression "(char *)param_2[uVar11]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[uVar11]" (identifier "param_2") ([ "[") (identifier "uVar11") (] "]")))) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(((char *)param_2[uVar11])[1] != '\0')" (( "(") (binary_expression "((char *)param_2[uVar11])[1] != '\0'" (subscript_expression "((char *)param_2[uVar11])[1]" (parenthesized_expression "((char *)param_2[uVar11])" (( "(") (cast_expression "(char *)param_2[uVar11]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[uVar11]" (identifier "param_2") ([ "[") (identifier "uVar11") (] "]"))) () ")")) ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_7 = uVar11;" (assignment_expression "*param_7 = uVar11" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "uVar11")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 != param_1)" (( "(") (binary_expression "uVar11 != param_1" (identifier "uVar11") (!= "!=") (identifier "param_1")) () ")")) (; ";")) (} "}"))) (expression_statement "param_7[8] = uVar11;" (assignment_expression "param_7[8] = uVar11" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (} "}"))) (expression_statement "bVar13 = param_1 < uVar11;" (assignment_expression "bVar13 = param_1 < uVar11" (identifier "bVar13") (= "=") (binary_expression "param_1 < uVar11" (identifier "param_1") (< "<") (identifier "uVar11"))) (; ";")) (expression_statement "bVar14 = param_1 == uVar11;" (assignment_expression "bVar14 = param_1 == uVar11" (identifier "bVar14") (= "=") (binary_expression "param_1 == uVar11" (identifier "param_1") (== "==") (identifier "uVar11"))) (; ";")) (if_statement "if (bVar14) {\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }" (if "if") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (compound_statement "{\n      local_34 = param_7[8];\n      uVar11 = param_7[7];\nLAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }\n      return 0xffffffff;\n    }" ({ "{") (expression_statement "local_34 = param_7[8];" (assignment_expression "local_34 = param_7[8]" (identifier "local_34") (= "=") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "uVar11 = param_7[7];" (assignment_expression "uVar11 = param_7[7]" (identifier "uVar11") (= "=") (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]"))) (; ";")) (labeled_statement "LAB_00036372:\n      if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }" (statement_identifier "LAB_00036372") (: ":") (if_statement "if (local_34 != uVar11) {\n        *param_7 = uVar11;\n      }" (if "if") (parenthesized_expression "(local_34 != uVar11)" (( "(") (binary_expression "local_34 != uVar11" (identifier "local_34") (!= "!=") (identifier "uVar11")) () ")")) (compound_statement "{\n        *param_7 = uVar11;\n      }" ({ "{") (expression_statement "*param_7 = uVar11;" (assignment_expression "*param_7 = uVar11" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "uVar11")) (; ";")) (} "}")))) (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (expression_statement "iVar8 = 3;" (assignment_expression "iVar8 = 3" (identifier "iVar8") (= "=") (number_literal "3")) (; ";")) (expression_statement "pbVar10 = (byte *)param_2[uVar11];" (assignment_expression "pbVar10 = (byte *)param_2[uVar11]" (identifier "pbVar10") (= "=") (cast_expression "(byte *)param_2[uVar11]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[uVar11]" (identifier "param_2") ([ "[") (identifier "uVar11") (] "]")))) (; ";")) (expression_statement "pbVar9 = pbVar10;" (assignment_expression "pbVar9 = pbVar10" (identifier "pbVar9") (= "=") (identifier "pbVar10")) (; ";")) (expression_statement "pbVar12 = &DAT_0003da6c;" (assignment_expression "pbVar12 = &DAT_0003da6c" (identifier "pbVar12") (= "=") (pointer_expression "&DAT_0003da6c" (& "&") (identifier "DAT_0003da6c"))) (; ";")) (do_statement "do {\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);" (do "do") (compound_statement "{\n      if (iVar8 == 0) break;\n      iVar8 = iVar8 + -1;\n      bVar13 = *pbVar9 < *pbVar12;\n      bVar14 = *pbVar9 == *pbVar12;\n      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    }" ({ "{") (if_statement "if (iVar8 == 0) break;" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar13 = *pbVar9 < *pbVar12;" (assignment_expression "bVar13 = *pbVar9 < *pbVar12" (identifier "bVar13") (= "=") (binary_expression "*pbVar9 < *pbVar12" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "bVar14 = *pbVar9 == *pbVar12;" (assignment_expression "bVar14 = *pbVar9 == *pbVar12" (identifier "bVar14") (= "=") (binary_expression "*pbVar9 == *pbVar12" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" (identifier "pbVar9") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" (identifier "pbVar12") (+ "+") (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 "(bVar14)" (( "(") (identifier "bVar14") () ")")) (; ";")) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }" (if "if") (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" (( "(") (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" (( "(") (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" (! "!") (identifier "bVar13")) (&& "&&") (unary_expression "!bVar14" (! "!") (identifier "bVar14"))) () ")")) (== "==") (identifier "bVar13")) () ")")) (compound_statement "{\n      uVar11 = uVar11 + 1;\n      *param_7 = uVar11;\n      if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }\n      param_7[8] = param_1;\n      *param_7 = param_1;\n      goto LAB_00036372;\n    }" ({ "{") (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_7 = uVar11;" (assignment_expression "*param_7 = uVar11" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "uVar11")) (; ";")) (if_statement "if (param_7[7] == param_7[8]) {\n        param_7[7] = uVar11;\n      }\n      else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }" (if "if") (parenthesized_expression "(param_7[7] == param_7[8])" (( "(") (binary_expression "param_7[7] == param_7[8]" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (== "==") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) () ")")) (compound_statement "{\n        param_7[7] = uVar11;\n      }" ({ "{") (expression_statement "param_7[7] = uVar11;" (assignment_expression "param_7[7] = uVar11" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (} "}")) (else_clause "else {\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }" (else "else") (compound_statement "{\n        bVar13 = uVar11 != param_7[8];\n        uVar11 = param_7[7];\n        if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }\n      }" ({ "{") (expression_statement "bVar13 = uVar11 != param_7[8];" (assignment_expression "bVar13 = uVar11 != param_7[8]" (identifier "bVar13") (= "=") (binary_expression "uVar11 != param_7[8]" (identifier "uVar11") (!= "!=") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")))) (; ";")) (expression_statement "uVar11 = param_7[7];" (assignment_expression "uVar11 = param_7[7]" (identifier "uVar11") (= "=") (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]"))) (; ";")) (if_statement "if (bVar13) {\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }" (if "if") (parenthesized_expression "(bVar13)" (( "(") (identifier "bVar13") () ")")) (compound_statement "{\n          FUN_00035900();\n          uVar11 = param_7[7];\n        }" ({ "{") (expression_statement "FUN_00035900();" (call_expression "FUN_00035900()" (identifier "FUN_00035900") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar11 = param_7[7];" (assignment_expression "uVar11 = param_7[7]" (identifier "uVar11") (= "=") (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "param_7[8] = param_1;" (assignment_expression "param_7[8] = param_1" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*param_7 = param_1;" (assignment_expression "*param_7 = param_1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "param_1")) (; ";")) (goto_statement "goto LAB_00036372;" (goto "goto") (statement_identifier "LAB_00036372") (; ";")) (} "}"))) (if_statement "if (*pbVar10 != 0x2d) {\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }" (if "if") (parenthesized_expression "(*pbVar10 != 0x2d)" (( "(") (binary_expression "*pbVar10 != 0x2d" (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")) (!= "!=") (number_literal "0x2d")) () ")")) (compound_statement "{\nLAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }\n      param_7[3] = (uint)pbVar10;\n      *param_7 = uVar11 + 1;\n      return 1;\n    }" ({ "{") (labeled_statement "LAB_00036331:\n      if (param_7[6] == 0) {\n        return 0xffffffff;\n      }" (statement_identifier "LAB_00036331") (: ":") (if_statement "if (param_7[6] == 0) {\n        return 0xffffffff;\n      }" (if "if") (parenthesized_expression "(param_7[6] == 0)" (( "(") (binary_expression "param_7[6] == 0" (subscript_expression "param_7[6]" (identifier "param_7") ([ "[") (number_literal "6") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 0xffffffff;\n      }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}")))) (expression_statement "param_7[3] = (uint)pbVar10;" (assignment_expression "param_7[3] = (uint)pbVar10" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(uint)pbVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pbVar10"))) (; ";")) (expression_statement "*param_7 = uVar11 + 1;" (assignment_expression "*param_7 = uVar11 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "bVar15 = pbVar10[1];" (assignment_expression "bVar15 = pbVar10[1]" (identifier "bVar15") (= "=") (subscript_expression "pbVar10[1]" (identifier "pbVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (bVar15 == 0) goto LAB_00036331;" (if "if") (parenthesized_expression "(bVar15 == 0)" (( "(") (binary_expression "bVar15 == 0" (identifier "bVar15") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00036331;" (goto "goto") (statement_identifier "LAB_00036331") (; ";"))) (if_statement "if (param_4 != 0) {\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }" (if "if") (parenthesized_expression "(param_4 != 0)" (( "(") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }\n      if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }\n    }" ({ "{") (if_statement "if (bVar15 == 0x2d) {\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }" (if "if") (parenthesized_expression "(bVar15 == 0x2d)" (( "(") (binary_expression "bVar15 == 0x2d" (identifier "bVar15") (== "==") (number_literal "0x2d")) () ")")) (compound_statement "{\n        param_7[5] = (uint)(pbVar10 + 2);\n        goto LAB_000364d6;\n      }" ({ "{") (expression_statement "param_7[5] = (uint)(pbVar10 + 2);" (assignment_expression "param_7[5] = (uint)(pbVar10 + 2)" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (call_expression "(uint)(pbVar10 + 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(pbVar10 + 2)" (( "(") (binary_expression "pbVar10 + 2" (identifier "pbVar10") (+ "+") (number_literal "2")) () ")")))) (; ";")) (goto_statement "goto LAB_000364d6;" (goto "goto") (statement_identifier "LAB_000364d6") (; ";")) (} "}"))) (if_statement "if ((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         ) {\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }" (if "if") (parenthesized_expression "((param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))\n         )" (( "(") (binary_expression "(param_6 != 0) &&\n         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))" (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))" (( "(") (parenthesized_expression "(pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0))" (( "(") (binary_expression "pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)" (binary_expression "pbVar10[2] != 0" (subscript_expression "pbVar10[2]" (identifier "pbVar10") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "(pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)" (( "(") (comma_expression "pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0" (assignment_expression "pcVar4 = strchr(local_3c,(int)(char)bVar15)" (identifier "pcVar4") (= "=") (call_expression "strchr(local_3c,(int)(char)bVar15)" (identifier "strchr") (argument_list "(local_3c,(int)(char)bVar15)" (( "(") (identifier "local_3c") (, ",") (cast_expression "(int)(char)bVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)bVar15" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar15"))) () ")")))) (, ",") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        param_7[5] = (uint)(pbVar10 + 1);\n        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);\n        if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }\n        pbVar10 = (byte *)param_2[*param_7];\n      }" ({ "{") (expression_statement "param_7[5] = (uint)(pbVar10 + 1);" (assignment_expression "param_7[5] = (uint)(pbVar10 + 1)" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (call_expression "(uint)(pbVar10 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(pbVar10 + 1)" (( "(") (binary_expression "pbVar10 + 1" (identifier "pbVar10") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);" (assignment_expression "uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d)" (identifier "uVar11") (= "=") (call_expression "FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d)" (identifier "FUN_000359d0") (argument_list "(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d)" (( "(") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "uVar5") (, ",") (pointer_expression "&DAT_0003da6d" (& "&") (identifier "DAT_0003da6d")) () ")")))) (; ";")) (if_statement "if (uVar11 != 0xffffffff) {\n          return uVar11;\n        }" (if "if") (parenthesized_expression "(uVar11 != 0xffffffff)" (( "(") (binary_expression "uVar11 != 0xffffffff" (identifier "uVar11") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n          return uVar11;\n        }" ({ "{") (return_statement "return uVar11;" (return "return") (identifier "uVar11") (; ";")) (} "}"))) (expression_statement "pbVar10 = (byte *)param_2[*param_7];" (assignment_expression "pbVar10 = (byte *)param_2[*param_7]" (identifier "pbVar10") (= "=") (cast_expression "(byte *)param_2[*param_7]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[*param_7]" (identifier "param_2") ([ "[") (pointer_expression "*param_7" (* "*") (identifier "param_7")) (] "]")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "pbVar10 = pbVar10 + 1;" (assignment_expression "pbVar10 = pbVar10 + 1" (identifier "pbVar10") (= "=") (binary_expression "pbVar10 + 1" (identifier "pbVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "pbVar9 = pbVar10 + 1;" (assignment_expression "pbVar9 = pbVar10 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar10 + 1" (identifier "pbVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_7[5] = (uint)pbVar9;" (assignment_expression "param_7[5] = (uint)pbVar9" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(uint)pbVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pbVar9"))) (; ";")) (expression_statement "bVar15 = *pbVar10;" (assignment_expression "bVar15 = *pbVar10" (identifier "bVar15") (= "=") (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10"))) (; ";")) (expression_statement "uVar11 = (uint)(char)bVar15;" (assignment_expression "uVar11 = (uint)(char)bVar15" (identifier "uVar11") (= "=") (cast_expression "(uint)(char)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(char)bVar15" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar15")))) (; ";")) (expression_statement "pcVar4 = strchr(local_3c,uVar11);" (assignment_expression "pcVar4 = strchr(local_3c,uVar11)" (identifier "pcVar4") (= "=") (call_expression "strchr(local_3c,uVar11)" (identifier "strchr") (argument_list "(local_3c,uVar11)" (( "(") (identifier "local_3c") (, ",") (identifier "uVar11") () ")")))) (; ";")) (if_statement "if (pbVar10[1] == 0) {\n    *param_7 = *param_7 + 1;\n  }" (if "if") (parenthesized_expression "(pbVar10[1] == 0)" (( "(") (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" (identifier "pbVar10") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_7 = *param_7 + 1;\n  }" ({ "{") (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "*param_7 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }" (if "if") (parenthesized_expression "(((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0))" (( "(") (binary_expression "((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)" (parenthesized_expression "((byte)(bVar15 - 0x3a) < 2)" (( "(") (binary_expression "(byte)(bVar15 - 0x3a) < 2" (call_expression "(byte)(bVar15 - 0x3a)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar15 - 0x3a)" (( "(") (binary_expression "bVar15 - 0x3a" (identifier "bVar15") (- "-") (number_literal "0x3a")) () ")"))) (< "<") (number_literal "2")) () ")")) (|| "||") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n    if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }\n    param_7[2] = uVar11;\n    return 0x3f;\n  }" ({ "{") (if_statement "if (uVar5 != 0) {\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }" (if "if") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = *param_2;\n      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);\n      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n    }" ({ "{") (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" (identifier "uVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5)" (identifier "uVar6") (= "=") (call_expression "dcgettext(0,"%s: invalid option -- \'%c\'\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: invalid option -- \'%c\'\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: invalid option -- \'%c\'\n"" (" """) (string_content "%s: invalid option -- ") (escape_sequence "\'") (string_content "%c") (escape_sequence "\'") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00047fbc" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00047fbc"))) (, ",") (number_literal "1") (, ",") (identifier "uVar6") (, ",") (identifier "uVar2") (, ",") (identifier "uVar11") () ")"))) (; ";")) (} "}"))) (expression_statement "param_7[2] = uVar11;" (assignment_expression "param_7[2] = uVar11" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (return_statement "return 0x3f;" (return "return") (number_literal "0x3f") (; ";")) (} "}"))) (if_statement "if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }" (if "if") (parenthesized_expression "(((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';'))" (( "(") (binary_expression "((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')" (parenthesized_expression "((*pcVar4 != 'W') || (param_4 == 0))" (( "(") (binary_expression "(*pcVar4 != 'W') || (param_4 == 0)" (parenthesized_expression "(*pcVar4 != 'W')" (( "(") (binary_expression "*pcVar4 != 'W'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (!= "!=") (char_literal "'W'" (' "'") (character "W") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(pcVar4[1] != ';')" (( "(") (binary_expression "pcVar4[1] != ';'" (subscript_expression "pcVar4[1]" (identifier "pcVar4") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "';'" (' "'") (character ";") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    if (pcVar4[1] != ':') {\n      return uVar11;\n    }\n    if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }\n    uVar7 = *param_7;\n    if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }\n    param_7[5] = 0;\n    return uVar11;\n  }" ({ "{") (if_statement "if (pcVar4[1] != ':') {\n      return uVar11;\n    }" (if "if") (parenthesized_expression "(pcVar4[1] != ':')" (( "(") (binary_expression "pcVar4[1] != ':'" (subscript_expression "pcVar4[1]" (identifier "pcVar4") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n      return uVar11;\n    }" ({ "{") (return_statement "return uVar11;" (return "return") (identifier "uVar11") (; ";")) (} "}"))) (if_statement "if (pcVar4[2] == ':') {\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }" (if "if") (parenthesized_expression "(pcVar4[2] == ':')" (( "(") (binary_expression "pcVar4[2] == ':'" (subscript_expression "pcVar4[2]" (identifier "pcVar4") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n      if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }\n      param_7[3] = (uint)pbVar9;\n      param_7[5] = 0;\n      return uVar11;\n    }" ({ "{") (if_statement "if (pbVar10[1] == 0) {\n        pbVar9 = (byte *)0x0;\n      }\n      else {\n        *param_7 = *param_7 + 1;\n      }" (if "if") (parenthesized_expression "(pbVar10[1] == 0)" (( "(") (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" (identifier "pbVar10") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        pbVar9 = (byte *)0x0;\n      }" ({ "{") (expression_statement "pbVar9 = (byte *)0x0;" (assignment_expression "pbVar9 = (byte *)0x0" (identifier "pbVar9") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n        *param_7 = *param_7 + 1;\n      }" (else "else") (compound_statement "{\n        *param_7 = *param_7 + 1;\n      }" ({ "{") (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "*param_7 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "param_7[3] = (uint)pbVar9;" (assignment_expression "param_7[3] = (uint)pbVar9" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(uint)pbVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pbVar9"))) (; ";")) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return uVar11;" (return "return") (identifier "uVar11") (; ";")) (} "}"))) (expression_statement "uVar7 = *param_7;" (assignment_expression "uVar7 = *param_7" (identifier "uVar7") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (if_statement "if (pbVar10[1] == 0) {\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }\n    else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }" (if "if") (parenthesized_expression "(pbVar10[1] == 0)" (( "(") (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" (identifier "pbVar10") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }\n    }" ({ "{") (if_statement "if (param_1 == uVar7) {\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }\n      else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }" (if "if") (parenthesized_expression "(param_1 == uVar7)" (( "(") (binary_expression "param_1 == uVar7" (identifier "param_1") (== "==") (identifier "uVar7")) () ")")) (compound_statement "{\n        if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }\n        param_7[2] = uVar11;\n        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;\n      }" ({ "{") (if_statement "if (uVar5 != 0) {\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }" (if "if") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar2 = *param_2;\n          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n        }" ({ "{") (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" (identifier "uVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" (identifier "uVar6") (= "=") (call_expression "dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: option requires an argument -- \'%c\'\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: option requires an argument -- \'%c\'\n"" (" """) (string_content "%s: option requires an argument -- ") (escape_sequence "\'") (string_content "%c") (escape_sequence "\'") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00047fbc" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00047fbc"))) (, ",") (number_literal "1") (, ",") (identifier "uVar6") (, ",") (identifier "uVar2") (, ",") (identifier "uVar11") () ")"))) (; ";")) (} "}"))) (expression_statement "param_7[2] = uVar11;" (assignment_expression "param_7[2] = uVar11" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;" (assignment_expression "uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a" (identifier "uVar11") (= "=") (binary_expression "(uint)(*local_3c != ':') * 5 + 0x3a" (binary_expression "(uint)(*local_3c != ':') * 5" (call_expression "(uint)(*local_3c != ':')" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*local_3c != ':')" (( "(") (binary_expression "*local_3c != ':'" (pointer_expression "*local_3c" (* "*") (identifier "local_3c")) (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")"))) (* "*") (number_literal "5")) (+ "+") (number_literal "0x3a"))) (; ";")) (} "}")) (else_clause "else {\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }" (else "else") (compound_statement "{\n        *param_7 = uVar7 + 1;\n        param_7[3] = param_2[uVar7];\n      }" ({ "{") (expression_statement "*param_7 = uVar7 + 1;" (assignment_expression "*param_7 = uVar7 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_7[3] = param_2[uVar7];" (assignment_expression "param_7[3] = param_2[uVar7]" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "param_2[uVar7]" (identifier "param_2") ([ "[") (identifier "uVar7") (] "]"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }" (else "else") (compound_statement "{\n      param_7[3] = (uint)pbVar9;\n      *param_7 = uVar7 + 1;\n    }" ({ "{") (expression_statement "param_7[3] = (uint)pbVar9;" (assignment_expression "param_7[3] = (uint)pbVar9" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(uint)pbVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pbVar9"))) (; ";")) (expression_statement "*param_7 = uVar7 + 1;" (assignment_expression "*param_7 = uVar7 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return uVar11;" (return "return") (identifier "uVar11") (; ";")) (} "}"))) (if_statement "if (pbVar10[1] == 0) {\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }" (if "if") (parenthesized_expression "(pbVar10[1] == 0)" (( "(") (binary_expression "pbVar10[1] == 0" (subscript_expression "pbVar10[1]" (identifier "pbVar10") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }\n    pbVar9 = (byte *)param_2[*param_7];\n  }" ({ "{") (if_statement "if (*param_7 == param_1) {\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }" (if "if") (parenthesized_expression "(*param_7 == param_1)" (( "(") (binary_expression "*param_7 == param_1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n      if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }\n      param_7[2] = uVar11;\n      return (uint)(*local_3c != ':') * 5 + 0x3a;\n    }" ({ "{") (if_statement "if (uVar5 != 0) {\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }" (if "if") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar2 = *param_2;\n        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);\n        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);\n      }" ({ "{") (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" (identifier "uVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);" (assignment_expression "uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" (identifier "uVar6") (= "=") (call_expression "dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5)" (identifier "dcgettext") (argument_list "(0,"%s: option requires an argument -- \'%c\'\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: option requires an argument -- \'%c\'\n"" (" """) (string_content "%s: option requires an argument -- ") (escape_sequence "\'") (string_content "%c") (escape_sequence "\'") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_00047fbc" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00047fbc" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00047fbc"))) (, ",") (number_literal "1") (, ",") (identifier "uVar6") (, ",") (identifier "uVar2") (, ",") (identifier "uVar11") () ")"))) (; ";")) (} "}"))) (expression_statement "param_7[2] = uVar11;" (assignment_expression "param_7[2] = uVar11" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (return_statement "return (uint)(*local_3c != ':') * 5 + 0x3a;" (return "return") (binary_expression "(uint)(*local_3c != ':') * 5 + 0x3a" (binary_expression "(uint)(*local_3c != ':') * 5" (call_expression "(uint)(*local_3c != ':')" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*local_3c != ':')" (( "(") (binary_expression "*local_3c != ':'" (pointer_expression "*local_3c" (* "*") (identifier "local_3c")) (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")"))) (* "*") (number_literal "5")) (+ "+") (number_literal "0x3a")) (; ";")) (} "}"))) (expression_statement "pbVar9 = (byte *)param_2[*param_7];" (assignment_expression "pbVar9 = (byte *)param_2[*param_7]" (identifier "pbVar9") (= "=") (cast_expression "(byte *)param_2[*param_7]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[*param_7]" (identifier "param_2") ([ "[") (pointer_expression "*param_7" (* "*") (identifier "param_7")) (] "]")))) (; ";")) (} "}"))) (expression_statement "param_7[5] = (uint)pbVar9;" (assignment_expression "param_7[5] = (uint)pbVar9" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(uint)pbVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pbVar9"))) (; ";")) (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_000364d6:\n  uVar11 = FUN_000359d0();" (statement_identifier "LAB_000364d6") (: ":") (expression_statement "uVar11 = FUN_000359d0();" (assignment_expression "uVar11 = FUN_000359d0()" (identifier "uVar11") (= "=") (call_expression "FUN_000359d0()" (identifier "FUN_000359d0") (argument_list "()" (( "(") () ")")))) (; ";"))) (return_statement "return uVar11;" (return "return") (identifier "uVar11") (; ";")) (} "}")))

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

int function_1(int var_1,char **argv,char *var_3,type_1 *var_12,int *longind,
                      int var_24,type_2 *d,int var_4)

{
  type_3 *var_23;
  int var_13;
  char var_7;
  char *var_9;
  int var_2;
  type_4 uVar6;
  char *var_16;
  char *var_6;
  type_3 *var_19;
  int var_18;
  type_3 *var_20;
  bool var_21;
  bool bVar13;
  type_3 var_22;
  char *local_3c;
  char *var_27;
  
  var_22 = 0;
  var_18 = d->rpl_opterr;
  local_3c = var_3;
  var_27 = (char *)var_1;
  if (var_1 < 1) {
    return -1;
  }
  var_2 = d->rpl_optind;
  d->rpl_optarg = (char *)0x0;
  if (var_2 == 0) {
    d->rpl_optind = 1;
    var_2 = 1;
LAB_000361a1:
    d->__last_nonopt = var_2;
    d->__first_nonopt = var_2;
    d->__nextchar = (char *)0x0;
    if (*var_3 == '-') {
      local_3c = var_3 + 1;
      var_6 = (char *)0x0;
      d->__ordering = RETURN_IN_ORDER;
    }
    else if (*var_3 == '+') {
      d->__ordering = var_26;
      var_6 = (char *)0x0;
      local_3c = var_3 + 1;
    }
    else {
      var_6 = (char *)0x0;
      if (var_4 == 0) {
        var_6 = var_5("POSIXLY_CORRECT");
        if (var_6 == (char *)0x0) {
          d->__ordering = var_15;
          var_6 = d->__nextchar;
          goto LAB_0003620d;
        }
        var_6 = d->__nextchar;
      }
      d->__ordering = var_26;
    }
LAB_0003620d:
    d->__initialized = 1;
    var_7 = *local_3c;
  }
  else {
    if (d->__initialized == 0) goto LAB_000361a1;
    var_6 = d->__nextchar;
    var_7 = *var_3;
    if ((var_7 - 0x2bU & 0xfd) == 0) {
      local_3c = var_3 + 1;
      var_7 = var_3[1];
    }
  }
  var_2 = 0;
  if (var_7 != ':') {
    var_2 = var_18;
  }
  if ((var_6 != (char *)0x0) && (*var_6 != '\0')) {
    var_16 = var_6 + 1;
    d->__nextchar = var_16;
    var_7 = *var_6;
    var_18 = (int)var_7;
    var_9 = var_8(local_3c,var_18);
    if (var_6[1] == '\0') {
      d->rpl_optind = d->rpl_optind + 1;
    }
    if (((type_3)(var_7 - 0x3aU) < 2) || (var_9 == (char *)0x0)) {
      if (var_2 != 0) {
        var_6 = *argv;
        uVar6 = var_10(0,"%s: invalid option -- \'%c\'\n",5);
        var_11(*(type_4 *)PTR_stderr_00047fbc,1,uVar6,var_6,var_18);
      }
      d->rpl_optopt = var_18;
      return 0x3f;
    }
    if (((*var_9 != 'W') || (var_12 == (type_1 *)0x0)) || (var_9[1] != ';')) {
      if (var_9[1] != ':') {
        return var_18;
      }
      if (var_9[2] == ':') {
        if (var_6[1] == '\0') {
          var_16 = (char *)0x0;
        }
        else {
          d->rpl_optind = d->rpl_optind + 1;
        }
        d->rpl_optarg = var_16;
        d->__nextchar = (char *)0x0;
        return var_18;
      }
      var_13 = d->rpl_optind;
      if (var_6[1] == '\0') {
        if (var_1 == var_13) {
          if (var_2 != 0) {
            var_6 = *argv;
            uVar6 = var_10(0,"%s: option requires an argument -- \'%c\'\n",5);
            var_11(*(type_4 *)PTR_stderr_00047fbc,1,uVar6,var_6,var_18);
          }
          d->rpl_optopt = var_18;
          var_18 = (type_5)(*local_3c != ':') * 5 + 0x3a;
        }
        else {
          d->rpl_optind = var_13 + 1;
          d->rpl_optarg = argv[var_13];
        }
      }
      else {
        d->rpl_optarg = var_16;
        d->rpl_optind = var_13 + 1;
      }
      d->__nextchar = (char *)0x0;
      return var_18;
    }
    if (var_6[1] == '\0') {
      if (d->rpl_optind == var_1) {
        if (var_2 != 0) {
          var_6 = *argv;
          uVar6 = var_10(0,"%s: option requires an argument -- \'%c\'\n",5);
          var_11(*(type_4 *)PTR_stderr_00047fbc,1,uVar6,var_6,var_18);
        }
        d->rpl_optopt = var_18;
        return (type_5)(*local_3c != ':') * 5 + 0x3a;
      }
      var_16 = argv[d->rpl_optind];
    }
    d->__nextchar = var_16;
    d->rpl_optarg = (char *)0x0;
    var_3 = (char *)0x0;
    var_24 = (int)&UNK_0003da8b;
LAB_000364d6:
    var_18 = var_14(var_1,argv,local_3c,var_12,longind,(int)var_3,d,var_2,
                                 (char *)var_24);
    return var_18;
  }
  var_6 = (char *)d->rpl_optind;
  if ((int)var_6 < d->__last_nonopt) {
    d->__last_nonopt = (int)var_6;
  }
  var_16 = (char *)d->__first_nonopt;
  if ((int)var_6 < d->__first_nonopt) {
    d->__first_nonopt = (int)var_6;
    var_16 = var_6;
  }
  if (d->__ordering == var_15) {
    var_9 = (char *)d->__last_nonopt;
    if (var_9 == var_16) {
      if (var_6 != var_16) {
        d->__first_nonopt = (int)var_6;
        var_16 = var_6;
      }
    }
    else {
      var_16 = var_9;
      if (var_6 != var_9) {
        var_17(argv,d);
        var_16 = (char *)d->rpl_optind;
      }
    }
    var_6 = var_16;
    if ((int)var_6 < var_1) {
      do {
        if ((*argv[(int)var_6] == '-') && (argv[(int)var_6][1] != '\0')) break;
        var_6 = var_6 + 1;
        d->rpl_optind = (int)var_6;
      } while (var_6 != (char *)var_1);
    }
    d->__last_nonopt = (int)var_6;
  }
  var_21 = (type_5)var_1 < var_6;
  bVar13 = (char *)var_1 == var_6;
  if (bVar13) {
    var_27 = (char *)d->__last_nonopt;
    var_6 = (char *)d->__first_nonopt;
  }
  else {
    var_18 = 3;
    var_23 = (type_3 *)argv[(int)var_6];
    var_19 = var_23;
    var_20 = &DAT_0003da6c;
    do {
      if (var_18 == 0) break;
      var_18 = var_18 + -1;
      var_21 = *var_19 < *var_20;
      bVar13 = *var_19 == *var_20;
      var_19 = var_19 + (type_5)var_22 * -2 + 1;
      var_20 = var_20 + (type_5)var_22 * -2 + 1;
    } while (bVar13);
    if ((!var_21 && !bVar13) != var_21) {
      if (*var_23 == 0x2d) {
        var_22 = var_23[1];
        if (var_22 != 0) {
          if (var_12 != (type_1 *)0x0) {
            if (var_22 == 0x2d) {
              d->__nextchar = (char *)(var_23 + 2);
              var_3 = (char *)var_24;
              var_24 = (int)&DAT_0003da6c;
              goto LAB_000364d6;
            }
            if ((var_24 != 0) &&
               ((var_23[2] != 0 ||
                (var_6 = var_8(local_3c,(int)(char)var_22), var_6 == (char *)0x0)))) {
              d->__nextchar = (char *)(var_23 + 1);
              var_18 = var_14(var_1,argv,local_3c,var_12,longind,var_24,d,var_2,"-"
                                          );
              if (var_18 != -1) {
                return var_18;
              }
              var_6 = (char *)d->rpl_optind;
            }
          }
          _getopt_internal_r::var_25();
          return (int)var_6;
        }
      }
      if (d->__ordering == var_26) {
        return -1;
      }
      d->rpl_optarg = (char *)var_23;
      d->rpl_optind = (int)(var_6 + 1);
      return 1;
    }
    var_6 = var_6 + 1;
    d->rpl_optind = (int)var_6;
    if ((char *)d->__first_nonopt == (char *)d->__last_nonopt) {
      d->__first_nonopt = (int)var_6;
    }
    else {
      var_21 = var_6 != (char *)d->__last_nonopt;
      var_6 = (char *)d->__first_nonopt;
      if (var_21) {
        var_17(argv,d);
        var_6 = (char *)d->__first_nonopt;
      }
    }
    d->__last_nonopt = var_1;
    d->rpl_optind = var_1;
  }
  if (var_27 != var_6) {
    d->rpl_optind = (int)var_6;
  }
  return -1;
}


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

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

uint MASKED(uint param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,
                 int param_6,uint *param_7,int param_8)

{
  uint uVar1;
  undefined4 uVar2;
  char cVar3;
  char *pcVar4;
  uint uVar5;
  undefined4 uVar6;
  uint uVar7;
  int iVar8;
  byte *pbVar9;
  byte *pbVar10;
  uint uVar11;
  byte *pbVar12;
  bool bVar13;
  bool bVar14;
  byte bVar15;
  char *local_3c;
  uint local_34;
  
  bVar15 = 0;
  uVar11 = param_7[1];
  local_3c = param_3;
  local_34 = param_1;
  if ((int)param_1 < 1) {
    return 0xffffffff;
  }
  uVar5 = *param_7;
  param_7[3] = 0;
  if (uVar5 == 0) {
    *param_7 = 1;
    uVar5 = 1;
LAB_000361a1:
    param_7[8] = uVar5;
    param_7[7] = uVar5;
    param_7[5] = 0;
    if (*param_3 == '-') {
      local_3c = param_3 + 1;
      pbVar10 = (byte *)0x0;
      param_7[6] = 2;
    }
    else if (*param_3 == '+') {
      param_7[6] = 0;
      pbVar10 = (byte *)0x0;
      local_3c = param_3 + 1;
    }
    else {
      pbVar10 = (byte *)0x0;
      if (param_8 == 0) {
        pcVar4 = getenv("POSIXLY_CORRECT");
        if (pcVar4 == (char *)0x0) {
          param_7[6] = 1;
          pbVar10 = (byte *)param_7[5];
          goto LAB_0003620d;
        }
        pbVar10 = (byte *)param_7[5];
      }
      param_7[6] = 0;
    }
LAB_0003620d:
    param_7[4] = 1;
    cVar3 = *local_3c;
  }
  else {
    if (param_7[4] == 0) goto LAB_000361a1;
    pbVar10 = (byte *)param_7[5];
    cVar3 = *param_3;
    if ((cVar3 - 0x2bU & 0xfd) == 0) {
      local_3c = param_3 + 1;
      cVar3 = param_3[1];
    }
  }
  uVar5 = 0;
  if (cVar3 != ':') {
    uVar5 = uVar11;
  }
  if ((pbVar10 == (byte *)0x0) || (*pbVar10 == 0)) {
    uVar11 = *param_7;
    if ((int)uVar11 < (int)param_7[8]) {
      param_7[8] = uVar11;
    }
    uVar7 = param_7[7];
    if ((int)uVar11 < (int)param_7[7]) {
      param_7[7] = uVar11;
      uVar7 = uVar11;
    }
    if (param_7[6] == 1) {
      uVar1 = param_7[8];
      if (uVar1 == uVar7) {
        if (uVar11 != uVar7) {
          param_7[7] = uVar11;
          uVar7 = uVar11;
        }
      }
      else {
        uVar7 = uVar1;
        if (uVar11 != uVar1) {
          FUN_00035900();
          uVar7 = *param_7;
        }
      }
      uVar11 = uVar7;
      if ((int)uVar11 < (int)param_1) {
        do {
          if ((*(char *)param_2[uVar11] == '-') && (((char *)param_2[uVar11])[1] != '\0')) break;
          uVar11 = uVar11 + 1;
          *param_7 = uVar11;
        } while (uVar11 != param_1);
      }
      param_7[8] = uVar11;
    }
    bVar13 = param_1 < uVar11;
    bVar14 = param_1 == uVar11;
    if (bVar14) {
      local_34 = param_7[8];
      uVar11 = param_7[7];
LAB_00036372:
      if (local_34 != uVar11) {
        *param_7 = uVar11;
      }
      return 0xffffffff;
    }
    iVar8 = 3;
    pbVar10 = (byte *)param_2[uVar11];
    pbVar9 = pbVar10;
    pbVar12 = &DAT_0003da6c;
    do {
      if (iVar8 == 0) break;
      iVar8 = iVar8 + -1;
      bVar13 = *pbVar9 < *pbVar12;
      bVar14 = *pbVar9 == *pbVar12;
      pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;
      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
    } while (bVar14);
    if ((!bVar13 && !bVar14) == bVar13) {
      uVar11 = uVar11 + 1;
      *param_7 = uVar11;
      if (param_7[7] == param_7[8]) {
        param_7[7] = uVar11;
      }
      else {
        bVar13 = uVar11 != param_7[8];
        uVar11 = param_7[7];
        if (bVar13) {
          FUN_00035900();
          uVar11 = param_7[7];
        }
      }
      param_7[8] = param_1;
      *param_7 = param_1;
      goto LAB_00036372;
    }
    if (*pbVar10 != 0x2d) {
LAB_00036331:
      if (param_7[6] == 0) {
        return 0xffffffff;
      }
      param_7[3] = (uint)pbVar10;
      *param_7 = uVar11 + 1;
      return 1;
    }
    bVar15 = pbVar10[1];
    if (bVar15 == 0) goto LAB_00036331;
    if (param_4 != 0) {
      if (bVar15 == 0x2d) {
        param_7[5] = (uint)(pbVar10 + 2);
        goto LAB_000364d6;
      }
      if ((param_6 != 0) &&
         ((pbVar10[2] != 0 || (pcVar4 = strchr(local_3c,(int)(char)bVar15), pcVar4 == (char *)0x0)))
         ) {
        param_7[5] = (uint)(pbVar10 + 1);
        uVar11 = FUN_000359d0(param_4,param_5,param_6,param_7,uVar5,&DAT_0003da6d);
        if (uVar11 != 0xffffffff) {
          return uVar11;
        }
        pbVar10 = (byte *)param_2[*param_7];
      }
    }
    pbVar10 = pbVar10 + 1;
  }
  pbVar9 = pbVar10 + 1;
  param_7[5] = (uint)pbVar9;
  bVar15 = *pbVar10;
  uVar11 = (uint)(char)bVar15;
  pcVar4 = strchr(local_3c,uVar11);
  if (pbVar10[1] == 0) {
    *param_7 = *param_7 + 1;
  }
  if (((byte)(bVar15 - 0x3a) < 2) || (pcVar4 == (char *)0x0)) {
    if (uVar5 != 0) {
      uVar2 = *param_2;
      uVar6 = dcgettext(0,"%s: invalid option -- \'%c\'\n",5);
      __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);
    }
    param_7[2] = uVar11;
    return 0x3f;
  }
  if (((*pcVar4 != 'W') || (param_4 == 0)) || (pcVar4[1] != ';')) {
    if (pcVar4[1] != ':') {
      return uVar11;
    }
    if (pcVar4[2] == ':') {
      if (pbVar10[1] == 0) {
        pbVar9 = (byte *)0x0;
      }
      else {
        *param_7 = *param_7 + 1;
      }
      param_7[3] = (uint)pbVar9;
      param_7[5] = 0;
      return uVar11;
    }
    uVar7 = *param_7;
    if (pbVar10[1] == 0) {
      if (param_1 == uVar7) {
        if (uVar5 != 0) {
          uVar2 = *param_2;
          uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);
          __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);
        }
        param_7[2] = uVar11;
        uVar11 = (uint)(*local_3c != ':') * 5 + 0x3a;
      }
      else {
        *param_7 = uVar7 + 1;
        param_7[3] = param_2[uVar7];
      }
    }
    else {
      param_7[3] = (uint)pbVar9;
      *param_7 = uVar7 + 1;
    }
    param_7[5] = 0;
    return uVar11;
  }
  if (pbVar10[1] == 0) {
    if (*param_7 == param_1) {
      if (uVar5 != 0) {
        uVar2 = *param_2;
        uVar6 = dcgettext(0,"%s: option requires an argument -- \'%c\'\n",5);
        __fprintf_chk(*(undefined4 *)PTR_stderr_00047fbc,1,uVar6,uVar2,uVar11);
      }
      param_7[2] = uVar11;
      return (uint)(*local_3c != ':') * 5 + 0x3a;
    }
    pbVar9 = (byte *)param_2[*param_7];
  }
  param_7[5] = (uint)pbVar9;
  param_7[3] = 0;
LAB_000364d6:
  uVar11 = FUN_000359d0();
  return uVar11;
}

