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

{
  char cVar1;
  bool bVar2;
  undefined *puVar3;
  int iVar4;
  char *pcVar5;
  undefined4 uVar6;
  char **ppcVar7;
  char *pcVar8;
  char *pcVar9;
  int iVar10;
  undefined4 uVar11;
  int iVar12;
  
  iVar12 = d->rpl_opterr;
  if (argc < 1) {
    return -1;
  }
  iVar4 = d->rpl_optind;
  d->rpl_optarg = (char *)0x0;
  if (iVar4 == 0) {
    iVar4 = 1;
    d->rpl_optind = 1;
LAB_00016470:
    d->__last_nonopt = iVar4;
    d->__first_nonopt = iVar4;
    d->__nextchar = (char *)0x0;
    if (*optstring == '-') {
      optstring = optstring + 1;
      pcVar9 = (char *)0x0;
      d->__ordering = RETURN_IN_ORDER;
    }
    else if (*optstring == '+') {
      d->__ordering = REQUIRE_ORDER;
      optstring = optstring + 1;
      pcVar9 = (char *)0x0;
    }
    else {
      if (posixly_correct == 0) {
        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);
        pcVar9 = d->__nextchar;
        if (iVar4 == 0) {
          d->__ordering = PERMUTE;
          goto LAB_000164bc;
        }
      }
      else {
        pcVar9 = (char *)0x0;
      }
      d->__ordering = REQUIRE_ORDER;
    }
LAB_000164bc:
    d->__initialized = 1;
    cVar1 = *optstring;
LAB_000164c8:
    if (cVar1 == ':') {
      iVar12 = 0;
    }
    if (pcVar9 == (char *)0x0) goto LAB_000163c0;
LAB_000164d0:
    if (*pcVar9 == '\0') goto LAB_000163c0;
  }
  else {
    if (d->__initialized == 0) goto LAB_00016470;
    cVar1 = *optstring;
    pcVar9 = d->__nextchar;
    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;
    pcVar5 = optstring + 1;
    optstring = optstring + 1;
    if (*pcVar5 == ':') {
      iVar12 = 0;
    }
    if (pcVar9 != (char *)0x0) goto LAB_000164d0;
LAB_000163c0:
    iVar4 = d->rpl_optind;
    if (iVar4 < d->__last_nonopt) {
      d->__last_nonopt = iVar4;
    }
    if (iVar4 < d->__first_nonopt) {
      d->__first_nonopt = iVar4;
    }
    iVar10 = iVar4;
    if (d->__ordering == PERMUTE) {
      iVar10 = d->__last_nonopt;
      if (d->__first_nonopt == iVar10) {
        bVar2 = iVar10 < argc;
        if (iVar4 != iVar10) {
          d->__first_nonopt = iVar4;
          goto LAB_0001662c;
        }
      }
      else {
        bVar2 = iVar10 < argc;
        if (iVar4 != iVar10) {
          exchange(argv,d);
          iVar4 = d->rpl_optind;
LAB_0001662c:
          bVar2 = iVar4 < argc;
          iVar10 = iVar4;
        }
      }
      if (bVar2) {
        ppcVar7 = argv + iVar10;
        do {
          pcVar9 = *ppcVar7;
          ppcVar7 = ppcVar7 + 1;
          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {
            d->__last_nonopt = iVar10;
            iVar10 = d->rpl_optind;
            goto LAB_000163fc;
          }
          iVar10 = iVar10 + 1;
          d->rpl_optind = iVar10;
        } while (iVar10 != argc);
      }
      d->__last_nonopt = iVar10;
    }
LAB_000163fc:
    puVar3 = PTR_DAT_0002910c;
    if (argc == iVar10) {
      argc = d->__last_nonopt;
      iVar10 = d->__first_nonopt;
LAB_000165e4:
      if (argc != iVar10) {
        d->rpl_optind = iVar10;
      }
      return -1;
    }
    pcVar9 = argv[iVar10];
    iVar4 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);
    if (iVar4 == 0) {
      iVar12 = d->__first_nonopt;
      iVar10 = iVar10 + 1;
      d->rpl_optind = iVar10;
      if (iVar12 == d->__last_nonopt) {
        d->__first_nonopt = iVar10;
        d->__last_nonopt = argc;
        d->rpl_optind = argc;
      }
      else {
        if (iVar10 != d->__last_nonopt) {
          exchange(argv,d);
          iVar12 = d->__first_nonopt;
        }
        d->__last_nonopt = argc;
        d->rpl_optind = argc;
        iVar10 = iVar12;
      }
      goto LAB_000165e4;
    }
    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {
      if (d->__ordering == REQUIRE_ORDER) {
        return -1;
      }
      d->rpl_optarg = pcVar9;
      d->rpl_optind = iVar10 + 1;
      return 1;
    }
    if (longopts != (rpl_option *)0x0) {
      if (pcVar9[1] == '-') {
        pcVar5 = puVar3 + -0x7630;
        d->__nextchar = pcVar9 + 2;
        goto LAB_00016798;
      }
      if ((long_only != 0) &&
         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))) {
        puVar3 = PTR_DAT_0002910c;
        d->__nextchar = pcVar9 + 1;
        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,
                                    puVar3 + -0x762c);
        if (iVar4 != -1) {
          return iVar4;
        }
        pcVar9 = argv[d->rpl_optind];
      }
    }
    pcVar9 = pcVar9 + 1;
  }
  puVar3 = PTR_strchr_00029244;
  pcVar8 = pcVar9 + 1;
  d->__nextchar = pcVar8;
  iVar4 = (int)*pcVar9;
  pcVar5 = (char *)(*(code *)puVar3)(optstring,iVar4);
  if (pcVar9[1] == '\0') {
    d->rpl_optind = d->rpl_optind + 1;
  }
  puVar3 = PTR_DAT_0002910c;
  if ((pcVar5 == (char *)0x0) || ((iVar4 - 0x3aU & 0xff) < 2)) {
    if (iVar12 == 0) {
      d->rpl_optopt = iVar4;
    }
    else {
      uVar11 = *(undefined4 *)PTR_stderr_000292ac;
      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);
      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);
      d->rpl_optopt = iVar4;
    }
    return 0x3f;
  }
  if ((*pcVar5 != 'W') || (pcVar5[1] != ';')) {
    if (pcVar5[1] != ':') {
      return iVar4;
    }
    if (pcVar5[2] == ':') {
      if (pcVar9[1] == '\0') {
        d->rpl_optarg = (char *)0x0;
        d->__nextchar = (char *)0x0;
        return iVar4;
      }
      d->rpl_optarg = pcVar8;
      d->__nextchar = (char *)0x0;
      d->rpl_optind = d->rpl_optind + 1;
      return iVar4;
    }
    iVar10 = d->rpl_optind;
    if (pcVar9[1] != '\0') {
      d->rpl_optarg = pcVar8;
      d->__nextchar = (char *)0x0;
      d->rpl_optind = iVar10 + 1;
      return iVar4;
    }
    if (argc == iVar10) {
      if (iVar12 == 0) {
        d->rpl_optopt = iVar4;
      }
      else {
        uVar11 = *(undefined4 *)PTR_stderr_000292ac;
        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);
        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);
        d->rpl_optopt = iVar4;
      }
      cVar1 = *optstring;
      d->__nextchar = (char *)0x0;
      if (cVar1 == ':') {
        return 0x3a;
      }
      return 0x3f;
    }
    d->rpl_optind = iVar10 + 1;
    pcVar9 = argv[iVar10];
    d->__nextchar = (char *)0x0;
    d->rpl_optarg = pcVar9;
    return iVar4;
  }
  if (longopts == (rpl_option *)0x0) {
    return iVar4;
  }
  if (pcVar9[1] == '\0') {
    if (d->rpl_optind == argc) {
      if (iVar12 == 0) {
        d->rpl_optopt = iVar4;
      }
      else {
        uVar11 = *(undefined4 *)PTR_stderr_000292ac;
        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);
        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);
        d->rpl_optopt = iVar4;
      }
      if (*optstring == ':') {
        return 0x3a;
      }
      return 0x3f;
    }
    pcVar8 = argv[d->rpl_optind];
  }
  d->__nextchar = pcVar8;
  d->rpl_optarg = (char *)0x0;
  pcVar5 = puVar3 + -0x75e0;
  long_only = 0;
LAB_00016798:
  iVar12 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,pcVar5);
  return iVar12;
}



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

{
  char cVar1;
  bool bVar2;
  int iVar3;
  char *pcVar4;
  undefined *puVar5;
  undefined4 uVar6;
  undefined4 *puVar7;
  char *pcVar8;
  char *pcVar9;
  int iVar10;
  undefined4 uVar11;
  int iVar12;
  
  iVar12 = param_7[1];
  if (param_1 < 1) {
    return -1;
  }
  iVar3 = *param_7;
  param_7[3] = 0;
  if (iVar3 == 0) {
    iVar3 = 1;
    *param_7 = 1;
LAB_00016470:
    param_7[8] = iVar3;
    param_7[7] = iVar3;
    param_7[5] = 0;
    if (*param_3 == '-') {
      param_3 = param_3 + 1;
      pcVar9 = (char *)0x0;
      param_7[6] = 2;
    }
    else if (*param_3 == '+') {
      param_7[6] = 0;
      param_3 = param_3 + 1;
      pcVar9 = (char *)0x0;
    }
    else {
      if (param_8 == 0) {
        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);
        pcVar9 = (char *)param_7[5];
        if (iVar3 == 0) {
          param_7[6] = 1;
          goto LAB_000164bc;
        }
      }
      else {
        pcVar9 = (char *)0x0;
      }
      param_7[6] = 0;
    }
LAB_000164bc:
    param_7[4] = 1;
    cVar1 = *param_3;
LAB_000164c8:
    if (cVar1 == ':') {
      iVar12 = 0;
    }
    if (pcVar9 == (char *)0x0) goto LAB_000163c0;
LAB_000164d0:
    if (*pcVar9 == '\0') goto LAB_000163c0;
  }
  else {
    if (param_7[4] == 0) goto LAB_00016470;
    cVar1 = *param_3;
    pcVar9 = (char *)param_7[5];
    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;
    pcVar4 = param_3 + 1;
    param_3 = param_3 + 1;
    if (*pcVar4 == ':') {
      iVar12 = 0;
    }
    if (pcVar9 != (char *)0x0) goto LAB_000164d0;
LAB_000163c0:
    iVar3 = *param_7;
    if (iVar3 < param_7[8]) {
      param_7[8] = iVar3;
    }
    if (iVar3 < param_7[7]) {
      param_7[7] = iVar3;
    }
    iVar10 = iVar3;
    if (param_7[6] == 1) {
      iVar10 = param_7[8];
      if (param_7[7] == iVar10) {
        bVar2 = iVar10 < param_1;
        if (iVar3 != iVar10) {
          param_7[7] = iVar3;
          goto LAB_0001662c;
        }
      }
      else {
        bVar2 = iVar10 < param_1;
        if (iVar3 != iVar10) {
          FUN_00015b30(param_2,param_7);
          iVar3 = *param_7;
LAB_0001662c:
          bVar2 = iVar3 < param_1;
          iVar10 = iVar3;
        }
      }
      if (bVar2) {
        puVar7 = param_2 + iVar10;
        do {
          pcVar9 = (char *)*puVar7;
          puVar7 = puVar7 + 1;
          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {
            param_7[8] = iVar10;
            iVar10 = *param_7;
            goto LAB_000163fc;
          }
          iVar10 = iVar10 + 1;
          *param_7 = iVar10;
        } while (iVar10 != param_1);
      }
      param_7[8] = iVar10;
    }
LAB_000163fc:
    puVar5 = PTR_DAT_0002910c;
    if (param_1 == iVar10) {
      param_1 = param_7[8];
      iVar10 = param_7[7];
LAB_000165e4:
      if (param_1 != iVar10) {
        *param_7 = iVar10;
      }
      return -1;
    }
    pcVar9 = (char *)param_2[iVar10];
    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);
    if (iVar3 == 0) {
      iVar12 = param_7[7];
      iVar10 = iVar10 + 1;
      *param_7 = iVar10;
      if (iVar12 == param_7[8]) {
        param_7[7] = iVar10;
        param_7[8] = param_1;
        *param_7 = param_1;
      }
      else {
        if (iVar10 != param_7[8]) {
          FUN_00015b30(param_2,param_7);
          iVar12 = param_7[7];
        }
        param_7[8] = param_1;
        *param_7 = param_1;
        iVar10 = iVar12;
      }
      goto LAB_000165e4;
    }
    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {
      if (param_7[6] == 0) {
        return -1;
      }
      param_7[3] = (int)pcVar9;
      *param_7 = iVar10 + 1;
      return 1;
    }
    if (param_4 != 0) {
      if (pcVar9[1] == '-') {
        puVar5 = puVar5 + -0x7630;
        param_7[5] = (int)(pcVar9 + 2);
        goto LAB_00016798;
      }
      if ((param_6 != 0) &&
         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {
        puVar5 = PTR_DAT_0002910c;
        param_7[5] = (int)(pcVar9 + 1);
        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,
                             puVar5 + -0x762c);
        if (iVar3 != -1) {
          return iVar3;
        }
        pcVar9 = (char *)param_2[*param_7];
      }
    }
    pcVar9 = pcVar9 + 1;
  }
  puVar5 = PTR_strchr_00029244;
  pcVar8 = pcVar9 + 1;
  param_7[5] = (int)pcVar8;
  iVar3 = (int)*pcVar9;
  pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);
  if (pcVar9[1] == '\0') {
    *param_7 = *param_7 + 1;
  }
  puVar5 = PTR_DAT_0002910c;
  if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {
    if (iVar12 == 0) {
      param_7[2] = iVar3;
    }
    else {
      uVar11 = *(undefined4 *)PTR_stderr_000292ac;
      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);
      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);
      param_7[2] = iVar3;
    }
    return 0x3f;
  }
  if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {
    if (pcVar4[1] != ':') {
      return iVar3;
    }
    if (pcVar4[2] == ':') {
      if (pcVar9[1] == '\0') {
        param_7[3] = 0;
        param_7[5] = 0;
        return iVar3;
      }
      param_7[3] = (int)pcVar8;
      param_7[5] = 0;
      *param_7 = *param_7 + 1;
      return iVar3;
    }
    iVar10 = *param_7;
    if (pcVar9[1] != '\0') {
      param_7[3] = (int)pcVar8;
      param_7[5] = 0;
      *param_7 = iVar10 + 1;
      return iVar3;
    }
    if (param_1 == iVar10) {
      if (iVar12 == 0) {
        param_7[2] = iVar3;
      }
      else {
        uVar11 = *(undefined4 *)PTR_stderr_000292ac;
        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);
        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);
        param_7[2] = iVar3;
      }
      cVar1 = *param_3;
      param_7[5] = 0;
      if (cVar1 == ':') {
        return 0x3a;
      }
      return 0x3f;
    }
    *param_7 = iVar10 + 1;
    iVar12 = param_2[iVar10];
    param_7[5] = 0;
    param_7[3] = iVar12;
    return iVar3;
  }
  if (param_4 == 0) {
    return iVar3;
  }
  if (pcVar9[1] == '\0') {
    if (*param_7 == param_1) {
      if (iVar12 == 0) {
        param_7[2] = iVar3;
      }
      else {
        uVar11 = *(undefined4 *)PTR_stderr_000292ac;
        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);
        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);
        param_7[2] = iVar3;
      }
      if (*param_3 == ':') {
        return 0x3a;
      }
      return 0x3f;
    }
    pcVar8 = (char *)param_2[*param_7];
  }
  param_7[5] = (int)pcVar8;
  param_7[3] = 0;
  puVar5 = puVar5 + -0x75e0;
  param_6 = 0;
LAB_00016798:
  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);
  return iVar12;
}


lui gp,0x2
addiu gp,gp,-0x5254
addu gp,gp,t9
addiu sp,sp,-0x60
sw s0,0x38(sp)
sw gp,0x28(sp)
sw s7,0x54(sp)
sw ra,0x5c(sp)
sw s8,0x58(sp)
sw s6,0x50(sp)
sw s5,0x4c(sp)
sw s4,0x48(sp)
sw s3,0x44(sp)
sw s2,0x40(sp)
sw s1,0x3c(sp)
lw s0,0x78(sp)
blez a0,0x000165f0
_lw s7,0x4(s0)
lw v0,0x0(s0)
or s5,a0,zero
or s2,a1,zero
sw zero,0xc(s0)
or s6,a2,zero
beq v0,zero,0x00016464
_or s3,a3,zero
lw v1,0x10(s0)
beq v1,zero,0x00016470
_li v1,0x2d
lb v0,0x0(a2)
beq v0,v1,0x000163ac
_lw s1,0x14(s0)
li v1,0x2b
bne v0,v1,0x000164c8
_xori v0,v0,0x3a
lb v0,0x1(s6)
addiu s6,s6,0x1
xori v0,v0,0x3a
bne s1,zero,0x000164d0
_movz s7,zero,v0
lw s1,0x0(s0)
lw v0,0x20(s0)
slt v0,s1,v0
beq v0,zero,0x000163d8
_nop
sw s1,0x20(s0)
lw v0,0x1c(s0)
slt v0,s1,v0
beq v0,zero,0x000163ec
_nop
sw s1,0x1c(s0)
lw v1,0x18(s0)
li v0,0x1
beq v1,v0,0x000165f8
_nop
beq s5,s1,0x000165dc
_sll v0,s1,0x2
lw s8,-0x7fc4(gp)
lw t9,-0x7e14(gp)
addu v0,s2,v0
addiu a1,s8,-0x7630
lw s4,0x0(v0)
jalr t9
_or a0,s4,zero
bne v0,zero,0x00016580
_lw gp,0x28(sp)
lw v0,0x1c(s0)
addiu s1,s1,0x1
lw v1,0x20(s0)
beq v0,v1,0x00016880
_sw s1,0x0(s0)
beq s1,v1,0x00016458
_lw t9,-0x7fcc(gp)
or a1,s0,zero
addiu t9,t9,0x5b30
bal 0x00015b30
_or a0,s2,zero
lw v0,0x1c(s0)
sw s5,0x20(s0)
b 0x000165e4
_sw s5,0x0(s0)
li v1,0x1
li v0,0x1
sw v1,0x0(s0)
sw v0,0x20(s0)
li v1,0x2d
sw v0,0x1c(s0)
sw zero,0x14(s0)
lb v0,0x0(s6)
beq v0,v1,0x000164a8
_li v1,0x2b
beq v0,v1,0x0001682c
_lw v0,0x7c(sp)
beq v0,zero,0x000167b0
_lw a0,-0x7fc4(gp)
or s1,zero,zero
b 0x000164b8
_sw zero,0x18(s0)
li v0,0x2
addiu s6,s6,0x1
or s1,zero,zero
sw v0,0x18(s0)
li v0,0x1
sw v0,0x10(s0)
lb v0,0x0(s6)
xori v0,v0,0x3a
beq s1,zero,0x000163c0
_movz s7,zero,v0
lb v0,0x0(s1)
beq v0,zero,0x000163c0
_nop
addiu t0,s1,0x1
lw t9,-0x7e8c(gp)
or a0,s6,zero
sw t0,0x14(s0)
sw t0,0x34(sp)
lb s8,0x0(s1)
jalr t9
_or a1,s8,zero
or s4,s8,zero
lb v1,0x1(s1)
lw gp,0x28(sp)
bne v1,zero,0x0001651c
_lw t0,0x34(sp)
lw v1,0x0(s0)
addiu v1,v1,0x1
sw v1,0x0(s0)
beq v0,zero,0x0001683c
_addiu v1,s8,-0x3a
andi v1,v1,0xff
sltiu v1,v1,0x2
bne v1,zero,0x0001683c
_li a0,0x57
lb a1,0x0(v0)
beq a1,a0,0x0001672c
_lb v1,0x1(v0)
li a0,0x3a
beq v1,a0,0x000167d4
_nop
lw ra,0x5c(sp)
or v0,s4,zero
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
lb v0,0x0(s4)
li v1,0x2d
beq v0,v1,0x0001667c
_nop
lw v0,0x18(s0)
beq v0,zero,0x000165f0
_lw ra,0x5c(sp)
addiu s1,s1,0x1
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
sw s4,0xc(s0)
li s4,0x1
sw s1,0x0(s0)
or v0,s4,zero
lw s1,0x3c(sp)
lw s4,0x48(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
lw s5,0x20(s0)
lw v0,0x1c(s0)
beq s5,v0,0x000165f0
_nop
sw v0,0x0(s0)
b 0x0001654c
_li s4,-0x1
lw v0,0x20(s0)
lw v1,0x1c(s0)
beq v1,v0,0x0001680c
_nop
beq s1,v0,0x00016630
_slt v1,v0,s5
lw t9,-0x7fcc(gp)
or a1,s0,zero
addiu t9,t9,0x5b30
bal 0x00015b30
_or a0,s2,zero
lw gp,0x28(sp)
lw v0,0x0(s0)
slt v1,v0,s5
beq v1,zero,0x00016820
_sll v1,v0,0x2
li a2,0x2d
b 0x00016650
_addu v1,s2,v1
addiu v0,v0,0x1
beq v0,s5,0x00016820
_sw v0,0x0(s0)
lw a0,0x0(v1)
lb a1,0x0(a0)
bne a1,a2,0x00016644
_addiu v1,v1,0x4
lb a0,0x1(a0)
beq a0,zero,0x00016648
_addiu v0,v0,0x1
addiu v0,v0,-0x1
lw s1,0x0(s0)
b 0x000163fc
_sw v0,0x20(s0)
lb a1,0x1(s4)
beq a1,zero,0x00016590
_nop
beq s3,zero,0x00016724
_nop
beq a1,v0,0x00016948
_lw v0,0x74(sp)
beq v0,zero,0x00016724
_nop
lb v0,0x2(s4)
bne v0,zero,0x000166bc
_lw t9,-0x7e8c(gp)
jalr t9
_or a0,s6,zero
bne v0,zero,0x00016724
_lw gp,0x28(sp)
lw v0,-0x7fc4(gp)
addiu s1,s4,0x1
lw t9,-0x7fcc(gp)
or a3,s3,zero
sw s1,0x14(s0)
or a2,s6,zero
addiu v0,v0,-0x762c
sw s7,0x1c(sp)
addiu t9,t9,0x5c10
sw s0,0x18(sp)
sw v0,0x20(sp)
or a1,s2,zero
lw v0,0x74(sp)
or a0,s5,zero
sw v0,0x14(sp)
lw v0,0x70(sp)
bal 0x00015c10
_sw v0,0x10(sp)
li v1,-0x1
lw gp,0x28(sp)
bne v0,v1,0x0001654c
_or s4,v0,zero
lw v0,0x0(s0)
sll v0,v0,0x2
addu v0,s2,v0
lw s4,0x0(v0)
b 0x000164dc
_addiu s1,s4,0x1
li a0,0x3b
bne v1,a0,0x00016540
_nop
beq s3,zero,0x00016550
_lw ra,0x5c(sp)
lb v0,0x1(s1)
bne v0,zero,0x00016764
_lw v0,-0x7fc4(gp)
lw v0,0x0(s0)
beq v0,s5,0x00016980
_sll v0,v0,0x2
addu v0,s2,v0
lw t0,0x0(v0)
lw v0,-0x7fc4(gp)
or a3,s3,zero
sw t0,0x14(s0)
or a2,s6,zero
sw zero,0xc(s0)
or a1,s2,zero
addiu v0,v0,-0x75e0
sw s7,0x1c(sp)
or a0,s5,zero
sw s0,0x18(sp)
sw v0,0x20(sp)
sw zero,0x14(sp)
lw v0,0x70(sp)
sw v0,0x10(sp)
lw t9,-0x7fcc(gp)
addiu t9,t9,0x5c10
bal 0x00015c10
_nop
b 0x0001654c
_or s4,v0,zero
lw t9,-0x7e70(gp)
jalr t9
_addiu a0,a0,-0x7640
lw gp,0x28(sp)
bne v0,zero,0x000164a0
_lw s1,0x14(s0)
li v0,0x1
b 0x000164bc
_sw v0,0x18(s0)
lb v0,0x2(v0)
beq v0,v1,0x000168f0
_lb a0,0x1(s1)
bne a0,zero,0x000168dc
_lw v0,0x0(s0)
beq s5,v0,0x0001691c
_sll v1,v0,0x2
addiu v0,v0,0x1
addu s2,s2,v1
sw v0,0x0(s0)
lw v0,0x0(s2)
sw zero,0x14(s0)
b 0x0001654c
_sw v0,0xc(s0)
beq s1,v0,0x00016630
_slt v1,v0,s5
sw s1,0x1c(s0)
b 0x0001662c
_or v0,s1,zero
or s1,v0,zero
b 0x000163fc
_sw v0,0x20(s0)
sw zero,0x18(s0)
addiu s6,s6,0x1
b 0x000164b8
_or s1,zero,zero
bne s7,zero,0x00016894
_lw a1,-0x7fc4(gp)
li s4,0x3f
sw s8,0x8(s0)
lw ra,0x5c(sp)
or v0,s4,zero
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
sw s1,0x1c(s0)
or v0,s1,zero
sw s5,0x20(s0)
b 0x000165e4
_sw s5,0x0(s0)
li a2,0x5
lw v0,-0x7e24(gp)
or a0,zero,zero
lw t9,-0x7e40(gp)
li s4,0x3f
addiu a1,a1,-0x7628
jalr t9
_lw s1,0x0(v0)
li a1,0x1
lw gp,0x28(sp)
or a2,v0,zero
lw a3,0x0(s2)
or a0,s1,zero
lw t9,-0x7ed8(gp)
jalr t9
_sw s8,0x10(sp)
b 0x0001684c
_sw s8,0x8(s0)
addiu v0,v0,0x1
sw t0,0xc(s0)
sw zero,0x14(s0)
b 0x0001654c
_sw v0,0x0(s0)
beq a0,zero,0x00016910
_nop
lw v0,0x0(s0)
sw t0,0xc(s0)
sw zero,0x14(s0)
addiu v0,v0,0x1
b 0x0001654c
_sw v0,0x0(s0)
sw zero,0xc(s0)
b 0x0001654c
_sw zero,0x14(s0)
bne s7,zero,0x000169a8
_lw a1,-0x7fc4(gp)
sw s8,0x8(s0)
li v1,0x3a
lb s4,0x0(s6)
li v0,0x3f
sw zero,0x14(s0)
xori s4,s4,0x3a
movz v0,v1,s4
b 0x0001654c
_or s4,v0,zero
addiu s1,s4,0x2
sw s7,0x1c(sp)
addiu s8,s8,-0x7630
sw s1,0x14(s0)
or a3,s3,zero
sw v0,0x14(sp)
or a2,s6,zero
sw s8,0x20(sp)
or a1,s2,zero
sw s0,0x18(sp)
or a0,s5,zero
lw v0,0x70(sp)
b 0x00016798
_sw v0,0x10(sp)
bne s7,zero,0x000169ec
_lw a1,-0x7fc4(gp)
sw s8,0x8(s0)
li v1,0x3a
lb s4,0x0(s6)
li v0,0x3f
xori s4,s4,0x3a
movz v0,v1,s4
b 0x0001654c
_or s4,v0,zero
li a2,0x5
lw v0,-0x7e24(gp)
or a0,zero,zero
lw t9,-0x7e40(gp)
addiu a1,a1,-0x760c
jalr t9
_lw s1,0x0(v0)
li a1,0x1
lw gp,0x28(sp)
or a2,v0,zero
lw a3,0x0(s2)
or a0,s1,zero
lw t9,-0x7ed8(gp)
jalr t9
_sw s8,0x10(sp)
b 0x00016928
_sw s8,0x8(s0)
li a2,0x5
lw v0,-0x7e24(gp)
or a0,zero,zero
lw t9,-0x7e40(gp)
addiu a1,a1,-0x760c
jalr t9
_lw s1,0x0(v0)
li a1,0x1
lw gp,0x28(sp)
or a2,v0,zero
lw a3,0x0(s2)
or a0,s1,zero
lw t9,-0x7ed8(gp)
jalr t9
_sw s8,0x10(sp)
b 0x0001698c
_sw s8,0x8(s0)
(translation_unit "int _getopt_internal_r(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  iVar3 = *param_7;\n  param_7[3] = 0;\n  if (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar5 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  param_7[5] = (int)pcVar8;\n  iVar3 = (int)*pcVar9;\n  pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);\n  if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }\n  puVar5 = PTR_DAT_0002910c;\n  if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }\n  if (param_4 == 0) {\n    return iVar3;\n  }\n  if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }\n  param_7[5] = (int)pcVar8;\n  param_7[3] = 0;\n  puVar5 = puVar5 + -0x75e0;\n  param_6 = 0;\nLAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);\n  return iVar12;\n}\n\n" (function_definition "int _getopt_internal_r(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  iVar3 = *param_7;\n  param_7[3] = 0;\n  if (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar5 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  param_7[5] = (int)pcVar8;\n  iVar3 = (int)*pcVar9;\n  pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);\n  if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }\n  puVar5 = PTR_DAT_0002910c;\n  if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }\n  if (param_4 == 0) {\n    return iVar3;\n  }\n  if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }\n  param_7[5] = (int)pcVar8;\n  param_7[3] = 0;\n  puVar5 = puVar5 + -0x75e0;\n  param_6 = 0;\nLAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);\n  return iVar12;\n}" primitive_type (function_declarator "_getopt_internal_r(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)" identifier (parameter_list "(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)" ( (parameter_declaration "int param_1" primitive_type 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 "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "int param_8" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  iVar3 = *param_7;\n  param_7[3] = 0;\n  if (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar5 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  param_7[5] = (int)pcVar8;\n  iVar3 = (int)*pcVar9;\n  pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);\n  if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }\n  puVar5 = PTR_DAT_0002910c;\n  if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }\n  if (param_4 == 0) {\n    return iVar3;\n  }\n  if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }\n  param_7[5] = (int)pcVar8;\n  param_7[3] = 0;\n  puVar5 = puVar5 + -0x75e0;\n  param_6 = 0;\nLAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);\n  return iVar12;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (expression_statement "iVar12 = param_7[1];" (assignment_expression "iVar12 = param_7[1]" identifier = (subscript_expression "param_7[1]" identifier [ number_literal ])) ;) (if_statement "if (param_1 < 1) {\n    return -1;\n  }" if (parenthesized_expression "(param_1 < 1)" ( (binary_expression "param_1 < 1" identifier < number_literal) )) (compound_statement "{\n    return -1;\n  }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *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 (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "*param_7 = 1;" (assignment_expression "*param_7 = 1" (pointer_expression "*param_7" * identifier) = number_literal) ;) (labeled_statement "LAB_00016470:\n    param_7[8] = iVar3;" statement_identifier : (expression_statement "param_7[8] = iVar3;" (assignment_expression "param_7[8] = iVar3" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "param_7[7] = iVar3;" (assignment_expression "param_7[7] = iVar3" (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      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\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_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }" { (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (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      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }" else (if_statement "if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\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      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\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 "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }" else (compound_statement "{\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }" { (if_statement "if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }" if (parenthesized_expression "(param_8 == 0)" ( (binary_expression "param_8 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }" { (expression_statement "iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);" (assignment_expression "iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640)" identifier = (call_expression "(*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640)" (parenthesized_expression "(*(code *)PTR_getenv_00029260)" ( (pointer_expression "*(code *)PTR_getenv_00029260" * (cast_expression "(code *)PTR_getenv_00029260" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002910c + -0x7640)" ( (binary_expression "PTR_DAT_0002910c + -0x7640" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = (char *)param_7[5];" (assignment_expression "pcVar9 = (char *)param_7[5]" identifier = (cast_expression "(char *)param_7[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) ;) (if_statement "if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }" { (expression_statement "param_7[6] = 1;" (assignment_expression "param_7[6] = 1" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_000164bc;" goto statement_identifier ;) })) }) (else_clause "else {\n        pcVar9 = (char *)0x0;\n      }" else (compound_statement "{\n        pcVar9 = (char *)0x0;\n      }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) 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_000164bc:\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 "cVar1 = *param_3;" (assignment_expression "cVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (labeled_statement "LAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }" statement_identifier : (if_statement "if (cVar1 == ':') {\n      iVar12 = 0;\n    }" if (parenthesized_expression "(cVar1 == ':')" ( (binary_expression "cVar1 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n      iVar12 = 0;\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) }))) (if_statement "if (pcVar9 == (char *)0x0) goto LAB_000163c0;" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000163c0;" goto statement_identifier ;)) (labeled_statement "LAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;" statement_identifier : (if_statement "if (*pcVar9 == '\0') goto LAB_000163c0;" if (parenthesized_expression "(*pcVar9 == '\0')" ( (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000163c0;" goto statement_identifier ;))) }) (else_clause "else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" else (compound_statement "{\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" { (if_statement "if (param_7[4] == 0) goto LAB_00016470;" 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_00016470;" goto statement_identifier ;)) (expression_statement "cVar1 = *param_3;" (assignment_expression "cVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "pcVar9 = (char *)param_7[5];" (assignment_expression "pcVar9 = (char *)param_7[5]" identifier = (cast_expression "(char *)param_7[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) ;) (if_statement "if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;" if (parenthesized_expression "((cVar1 != '-') && (cVar1 != '+'))" ( (binary_expression "(cVar1 != '-') && (cVar1 != '+')" (parenthesized_expression "(cVar1 != '-')" ( (binary_expression "cVar1 != '-'" identifier != (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(cVar1 != '+')" ( (binary_expression "cVar1 != '+'" identifier != (char_literal "'+'" ' character ')) ))) )) (goto_statement "goto LAB_000164c8;" goto statement_identifier ;)) (expression_statement "pcVar4 = param_3 + 1;" (assignment_expression "pcVar4 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (if_statement "if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }" if (parenthesized_expression "(*pcVar4 == ':')" ( (binary_expression "*pcVar4 == ':'" (pointer_expression "*pcVar4" * identifier) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      iVar12 = 0;\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) })) (if_statement "if (pcVar9 != (char *)0x0) goto LAB_000164d0;" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000164d0;" goto statement_identifier ;)) (labeled_statement "LAB_000163c0:\n    iVar3 = *param_7;" statement_identifier : (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;)) (if_statement "if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }" if (parenthesized_expression "(iVar3 < param_7[8])" ( (binary_expression "iVar3 < param_7[8]" identifier < (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n      param_7[8] = iVar3;\n    }" { (expression_statement "param_7[8] = iVar3;" (assignment_expression "param_7[8] = iVar3" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }" if (parenthesized_expression "(iVar3 < param_7[7])" ( (binary_expression "iVar3 < param_7[7]" identifier < (subscript_expression "param_7[7]" identifier [ number_literal ])) )) (compound_statement "{\n      param_7[7] = iVar3;\n    }" { (expression_statement "param_7[7] = iVar3;" (assignment_expression "param_7[7] = iVar3" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "iVar10 = iVar3;" (assignment_expression "iVar10 = iVar3" identifier = identifier) ;) (if_statement "if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\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      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }" { (expression_statement "iVar10 = param_7[8];" (assignment_expression "iVar10 = param_7[8]" identifier = (subscript_expression "param_7[8]" identifier [ number_literal ])) ;) (if_statement "if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }" if (parenthesized_expression "(param_7[7] == iVar10)" ( (binary_expression "param_7[7] == iVar10" (subscript_expression "param_7[7]" identifier [ number_literal ]) == identifier) )) (compound_statement "{\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }" { (expression_statement "bVar2 = iVar10 < param_1;" (assignment_expression "bVar2 = iVar10 < param_1" identifier = (binary_expression "iVar10 < param_1" identifier < identifier)) ;) (if_statement "if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }" if (parenthesized_expression "(iVar3 != iVar10)" ( (binary_expression "iVar3 != iVar10" identifier != identifier) )) (compound_statement "{\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }" { (expression_statement "param_7[7] = iVar3;" (assignment_expression "param_7[7] = iVar3" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0001662c;" goto statement_identifier ;) })) }) (else_clause "else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }" else (compound_statement "{\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }" { (expression_statement "bVar2 = iVar10 < param_1;" (assignment_expression "bVar2 = iVar10 < param_1" identifier = (binary_expression "iVar10 < param_1" identifier < identifier)) ;) (if_statement "if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }" if (parenthesized_expression "(iVar3 != iVar10)" ( (binary_expression "iVar3 != iVar10" identifier != identifier) )) (compound_statement "{\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }" { (expression_statement "FUN_00015b30(param_2,param_7);" (call_expression "FUN_00015b30(param_2,param_7)" identifier (argument_list "(param_2,param_7)" ( identifier , identifier ))) ;) (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (labeled_statement "LAB_0001662c:\n          bVar2 = iVar3 < param_1;" statement_identifier : (expression_statement "bVar2 = iVar3 < param_1;" (assignment_expression "bVar2 = iVar3 < param_1" identifier = (binary_expression "iVar3 < param_1" identifier < identifier)) ;)) (expression_statement "iVar10 = iVar3;" (assignment_expression "iVar10 = iVar3" identifier = identifier) ;) })) }))) (if_statement "if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }" { (expression_statement "puVar7 = param_2 + iVar10;" (assignment_expression "puVar7 = param_2 + iVar10" identifier = (binary_expression "param_2 + iVar10" identifier + identifier)) ;) (do_statement "do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);" do (compound_statement "{\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        }" { (expression_statement "pcVar9 = (char *)*puVar7;" (assignment_expression "pcVar9 = (char *)*puVar7" identifier = (cast_expression "(char *)*puVar7" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar7" * identifier))) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }" if (parenthesized_expression "((*pcVar9 == '-') && (pcVar9[1] != '\0'))" ( (binary_expression "(*pcVar9 == '-') && (pcVar9[1] != '\0')" (parenthesized_expression "(*pcVar9 == '-')" ( (binary_expression "*pcVar9 == '-'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(pcVar9[1] != '\0')" ( (binary_expression "pcVar9[1] != '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }" { (expression_statement "param_7[8] = iVar10;" (assignment_expression "param_7[8] = iVar10" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar10 = *param_7;" (assignment_expression "iVar10 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (goto_statement "goto LAB_000163fc;" goto statement_identifier ;) })) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = iVar10;" (assignment_expression "*param_7 = iVar10" (pointer_expression "*param_7" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar10 != param_1)" ( (binary_expression "iVar10 != param_1" identifier != identifier) )) ;) })) (expression_statement "param_7[8] = iVar10;" (assignment_expression "param_7[8] = iVar10" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (labeled_statement "LAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;" statement_identifier : (expression_statement "puVar5 = PTR_DAT_0002910c;" (assignment_expression "puVar5 = PTR_DAT_0002910c" identifier = identifier) ;)) (if_statement "if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }" if (parenthesized_expression "(param_1 == iVar10)" ( (binary_expression "param_1 == iVar10" identifier == identifier) )) (compound_statement "{\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }" { (expression_statement "param_1 = param_7[8];" (assignment_expression "param_1 = param_7[8]" identifier = (subscript_expression "param_7[8]" identifier [ number_literal ])) ;) (expression_statement "iVar10 = param_7[7];" (assignment_expression "iVar10 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) (labeled_statement "LAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }" statement_identifier : (if_statement "if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }" if (parenthesized_expression "(param_1 != iVar10)" ( (binary_expression "param_1 != iVar10" identifier != identifier) )) (compound_statement "{\n        *param_7 = iVar10;\n      }" { (expression_statement "*param_7 = iVar10;" (assignment_expression "*param_7 = iVar10" (pointer_expression "*param_7" * identifier) = identifier) ;) }))) (return_statement "return -1;" return number_literal ;) })) (expression_statement "pcVar9 = (char *)param_2[iVar10];" (assignment_expression "pcVar9 = (char *)param_2[iVar10]" identifier = (cast_expression "(char *)param_2[iVar10]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[iVar10]" identifier [ identifier ]))) ;) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630)" identifier = (call_expression "(*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630)" (parenthesized_expression "(*(code *)PTR_strcmp_000292bc)" ( (pointer_expression "*(code *)PTR_strcmp_000292bc" * (cast_expression "(code *)PTR_strcmp_000292bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9,PTR_DAT_0002910c + -0x7630)" ( identifier , (binary_expression "PTR_DAT_0002910c + -0x7630" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }" { (expression_statement "iVar12 = param_7[7];" (assignment_expression "iVar12 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = iVar10;" (assignment_expression "*param_7 = iVar10" (pointer_expression "*param_7" * identifier) = identifier) ;) (if_statement "if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }" if (parenthesized_expression "(iVar12 == param_7[8])" ( (binary_expression "iVar12 == param_7[8]" identifier == (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }" { (expression_statement "param_7[7] = iVar10;" (assignment_expression "param_7[7] = iVar10" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (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) ;) }) (else_clause "else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }" else (compound_statement "{\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }" { (if_statement "if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }" if (parenthesized_expression "(iVar10 != param_7[8])" ( (binary_expression "iVar10 != param_7[8]" identifier != (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }" { (expression_statement "FUN_00015b30(param_2,param_7);" (call_expression "FUN_00015b30(param_2,param_7)" identifier (argument_list "(param_2,param_7)" ( identifier , identifier ))) ;) (expression_statement "iVar12 = param_7[7];" (assignment_expression "iVar12 = 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) ;) (expression_statement "iVar10 = iVar12;" (assignment_expression "iVar10 = iVar12" identifier = identifier) ;) }))) (goto_statement "goto LAB_000165e4;" goto statement_identifier ;) })) (if_statement "if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }" if (parenthesized_expression "((*pcVar9 != '-') || (pcVar9[1] == '\0'))" ( (binary_expression "(*pcVar9 != '-') || (pcVar9[1] == '\0')" (parenthesized_expression "(*pcVar9 != '-')" ( (binary_expression "*pcVar9 != '-'" (pointer_expression "*pcVar9" * identifier) != (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }" { (if_statement "if (param_7[6] == 0) {\n        return -1;\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 -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "param_7[3] = (int)pcVar9;" (assignment_expression "param_7[3] = (int)pcVar9" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_7 = iVar10 + 1;" (assignment_expression "*param_7 = iVar10 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }" { (if_statement "if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }" if (parenthesized_expression "(pcVar9[1] == '-')" ( (binary_expression "pcVar9[1] == '-'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }" { (expression_statement "puVar5 = puVar5 + -0x7630;" (assignment_expression "puVar5 = puVar5 + -0x7630" identifier = (binary_expression "puVar5 + -0x7630" identifier + number_literal)) ;) (expression_statement "param_7[5] = (int)(pcVar9 + 2);" (assignment_expression "param_7[5] = (int)(pcVar9 + 2)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)(pcVar9 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar9 + 2)" ( (binary_expression "pcVar9 + 2" identifier + number_literal) )))) ;) (goto_statement "goto LAB_00016798;" goto statement_identifier ;) })) (if_statement "if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }" if (parenthesized_expression "((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0))))" ( (binary_expression "(param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))" ( (parenthesized_expression "(pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0))" ( (binary_expression "pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)" (binary_expression "pcVar9[2] != '\0'" (subscript_expression "pcVar9[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0" (assignment_expression "iVar3 = (*(code *)PTR_strchr_00029244)(param_3)" identifier = (call_expression "(*(code *)PTR_strchr_00029244)(param_3)" (parenthesized_expression "(*(code *)PTR_strchr_00029244)" ( (pointer_expression "*(code *)PTR_strchr_00029244" * (cast_expression "(code *)PTR_strchr_00029244" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }" { (expression_statement "puVar5 = PTR_DAT_0002910c;" (assignment_expression "puVar5 = PTR_DAT_0002910c" identifier = identifier) ;) (expression_statement "param_7[5] = (int)(pcVar9 + 1);" (assignment_expression "param_7[5] = (int)(pcVar9 + 1)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)(pcVar9 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar9 + 1)" ( (binary_expression "pcVar9 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);" (assignment_expression "iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c)" identifier = (call_expression "FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "puVar5 + -0x762c" identifier + number_literal) )))) ;) (if_statement "if (iVar3 != -1) {\n          return iVar3;\n        }" if (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) (compound_statement "{\n          return iVar3;\n        }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "pcVar9 = (char *)param_2[*param_7];" (assignment_expression "pcVar9 = (char *)param_2[*param_7]" identifier = (cast_expression "(char *)param_2[*param_7]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[*param_7]" identifier [ (pointer_expression "*param_7" * identifier) ]))) ;) })) })) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) }))) (expression_statement "puVar5 = PTR_strchr_00029244;" (assignment_expression "puVar5 = PTR_strchr_00029244" identifier = identifier) ;) (expression_statement "pcVar8 = pcVar9 + 1;" (assignment_expression "pcVar8 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "param_7[5] = (int)pcVar8;" (assignment_expression "param_7[5] = (int)pcVar8" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar3 = (int)*pcVar9;" (assignment_expression "iVar3 = (int)*pcVar9" identifier = (cast_expression "(int)*pcVar9" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar9" * identifier))) ;) (expression_statement "pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);" (assignment_expression "pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3)" identifier = (cast_expression "(char *)(*(code *)puVar5)(param_3,iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar5)(param_3,iVar3)" (parenthesized_expression "(*(code *)puVar5)" ( (pointer_expression "*(code *)puVar5" * (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,iVar3)" ( identifier , identifier ))))) ;) (if_statement "if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (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 "puVar5 = PTR_DAT_0002910c;" (assignment_expression "puVar5 = PTR_DAT_0002910c" identifier = identifier) ;) (if_statement "if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }" if (parenthesized_expression "((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2))" ( (binary_expression "(pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)" (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)) )) || (parenthesized_expression "((iVar3 - 0x3aU & 0xff) < 2)" ( (binary_expression "(iVar3 - 0x3aU & 0xff) < 2" (parenthesized_expression "(iVar3 - 0x3aU & 0xff)" ( (binary_expression "iVar3 - 0x3aU & 0xff" (binary_expression "iVar3 - 0x3aU" identifier - number_literal) & number_literal) )) < number_literal) ))) )) (compound_statement "{\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }" { (if_statement "if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n      param_7[2] = iVar3;\n    }" { (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }" else (compound_statement "{\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }" { (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" * (cast_expression "(undefined4 *)PTR_stderr_000292ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" ( (pointer_expression "*(code *)PTR_dcgettext_00029290" * (cast_expression "(code *)PTR_dcgettext_00029290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002910c + -0x7628,5)" ( number_literal , (binary_expression "PTR_DAT_0002910c + -0x7628" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" * (cast_expression "(code *)PTR___fprintf_chk_000291f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,1,uVar6,*param_2,iVar3)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return 0x3f;" return number_literal ;) })) (if_statement "if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }" if (parenthesized_expression "((*pcVar4 != 'W') || (pcVar4[1] != ';'))" ( (binary_expression "(*pcVar4 != 'W') || (pcVar4[1] != ';')" (parenthesized_expression "(*pcVar4 != 'W')" ( (binary_expression "*pcVar4 != 'W'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'W'" ' character ')) )) || (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 iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }" { (if_statement "if (pcVar4[1] != ':') {\n      return iVar3;\n    }" if (parenthesized_expression "(pcVar4[1] != ':')" ( (binary_expression "pcVar4[1] != ':'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n      return iVar3;\n    }" { (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }" if (parenthesized_expression "(pcVar4[2] == ':')" ( (binary_expression "pcVar4[2] == ':'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }" { (if_statement "if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }" { (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = 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 iVar3;" return identifier ;) })) (expression_statement "param_7[3] = (int)pcVar8;" (assignment_expression "param_7[3] = (int)pcVar8" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (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)) ;) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar10 = *param_7;" (assignment_expression "iVar10 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }" if (parenthesized_expression "(pcVar9[1] != '\0')" ( (binary_expression "pcVar9[1] != '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }" { (expression_statement "param_7[3] = (int)pcVar8;" (assignment_expression "param_7[3] = (int)pcVar8" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_7 = iVar10 + 1;" (assignment_expression "*param_7 = iVar10 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" if (parenthesized_expression "(param_1 == iVar10)" ( (binary_expression "param_1 == iVar10" identifier == identifier) )) (compound_statement "{\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" { (if_statement "if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n        param_7[2] = iVar3;\n      }" { (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" else (compound_statement "{\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" { (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" * (cast_expression "(undefined4 *)PTR_stderr_000292ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" ( (pointer_expression "*(code *)PTR_dcgettext_00029290" * (cast_expression "(code *)PTR_dcgettext_00029290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002910c + -0x760c,5)" ( number_literal , (binary_expression "PTR_DAT_0002910c + -0x760c" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" * (cast_expression "(code *)PTR___fprintf_chk_000291f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,1,uVar6,*param_2,iVar3)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }))) (expression_statement "cVar1 = *param_3;" (assignment_expression "cVar1 = *param_3" identifier = (pointer_expression "*param_3" * 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 (cVar1 == ':') {\n        return 0x3a;\n      }" if (parenthesized_expression "(cVar1 == ':')" ( (binary_expression "cVar1 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n        return 0x3a;\n      }" { (return_statement "return 0x3a;" return number_literal ;) })) (return_statement "return 0x3f;" return number_literal ;) })) (expression_statement "*param_7 = iVar10 + 1;" (assignment_expression "*param_7 = iVar10 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = param_2[iVar10];" (assignment_expression "iVar12 = param_2[iVar10]" identifier = (subscript_expression "param_2[iVar10]" identifier [ identifier ])) ;) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_7[3] = iVar12;" (assignment_expression "param_7[3] = iVar12" (subscript_expression "param_7[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (param_4 == 0) {\n    return iVar3;\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }" { (if_statement "if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" if (parenthesized_expression "(*param_7 == param_1)" ( (binary_expression "*param_7 == param_1" (pointer_expression "*param_7" * identifier) == identifier) )) (compound_statement "{\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" { (if_statement "if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n        param_7[2] = iVar3;\n      }" { (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" else (compound_statement "{\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" { (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" * (cast_expression "(undefined4 *)PTR_stderr_000292ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" ( (pointer_expression "*(code *)PTR_dcgettext_00029290" * (cast_expression "(code *)PTR_dcgettext_00029290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002910c + -0x760c,5)" ( number_literal , (binary_expression "PTR_DAT_0002910c + -0x760c" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" * (cast_expression "(code *)PTR___fprintf_chk_000291f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,1,uVar6,*param_2,iVar3)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }))) (if_statement "if (*param_3 == ':') {\n        return 0x3a;\n      }" if (parenthesized_expression "(*param_3 == ':')" ( (binary_expression "*param_3 == ':'" (pointer_expression "*param_3" * identifier) == (char_literal "':'" ' character ')) )) (compound_statement "{\n        return 0x3a;\n      }" { (return_statement "return 0x3a;" return number_literal ;) })) (return_statement "return 0x3f;" return number_literal ;) })) (expression_statement "pcVar8 = (char *)param_2[*param_7];" (assignment_expression "pcVar8 = (char *)param_2[*param_7]" identifier = (cast_expression "(char *)param_2[*param_7]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[*param_7]" identifier [ (pointer_expression "*param_7" * identifier) ]))) ;) })) (expression_statement "param_7[5] = (int)pcVar8;" (assignment_expression "param_7[5] = (int)pcVar8" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5 = puVar5 + -0x75e0;" (assignment_expression "puVar5 = puVar5 + -0x75e0" identifier = (binary_expression "puVar5 + -0x75e0" identifier + number_literal)) ;) (expression_statement "param_6 = 0;" (assignment_expression "param_6 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);" statement_identifier : (expression_statement "iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);" (assignment_expression "iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5)" identifier = (call_expression "FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier )))) ;)) (return_statement "return iVar12;" return identifier ;) })))
(translation_unit "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  char cVar1;\n  bool bVar2;\n  undefined *puVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  char **ppcVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = d->rpl_opterr;\n  if (argc < 1) {\n    return -1;\n  }\n  iVar4 = d->rpl_optind;\n  d->rpl_optarg = (char *)0x0;\n  if (iVar4 == 0) {\n    iVar4 = 1;\n    d->rpl_optind = 1;\nLAB_00016470:\n    d->__last_nonopt = iVar4;\n    d->__first_nonopt = iVar4;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }\nLAB_000164bc:\n    d->__initialized = 1;\n    cVar1 = *optstring;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_00016470;\n    cVar1 = *optstring;\n    pcVar9 = d->__nextchar;\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar5 = optstring + 1;\n    optstring = optstring + 1;\n    if (*pcVar5 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar4 = d->rpl_optind;\n    if (iVar4 < d->__last_nonopt) {\n      d->__last_nonopt = iVar4;\n    }\n    if (iVar4 < d->__first_nonopt) {\n      d->__first_nonopt = iVar4;\n    }\n    iVar10 = iVar4;\n    if (d->__ordering == PERMUTE) {\n      iVar10 = d->__last_nonopt;\n      if (d->__first_nonopt == iVar10) {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }\n      if (bVar2) {\n        ppcVar7 = argv + iVar10;\n        do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);\n      }\n      d->__last_nonopt = iVar10;\n    }\nLAB_000163fc:\n    puVar3 = PTR_DAT_0002910c;\n    if (argc == iVar10) {\n      argc = d->__last_nonopt;\n      iVar10 = d->__first_nonopt;\nLAB_000165e4:\n      if (argc != iVar10) {\n        d->rpl_optind = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = argv[iVar10];\n    iVar4 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar4 == 0) {\n      iVar12 = d->__first_nonopt;\n      iVar10 = iVar10 + 1;\n      d->rpl_optind = iVar10;\n      if (iVar12 == d->__last_nonopt) {\n        d->__first_nonopt = iVar10;\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n      }\n      else {\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = pcVar9;\n      d->rpl_optind = iVar10 + 1;\n      return 1;\n    }\n    if (longopts != (rpl_option *)0x0) {\n      if (pcVar9[1] == '-') {\n        pcVar5 = puVar3 + -0x7630;\n        d->__nextchar = pcVar9 + 2;\n        goto LAB_00016798;\n      }\n      if ((long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))) {\n        puVar3 = PTR_DAT_0002910c;\n        d->__nextchar = pcVar9 + 1;\n        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);\n        if (iVar4 != -1) {\n          return iVar4;\n        }\n        pcVar9 = argv[d->rpl_optind];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar3 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  d->__nextchar = pcVar8;\n  iVar4 = (int)*pcVar9;\n  pcVar5 = (char *)(*(code *)puVar3)(optstring,iVar4);\n  if (pcVar9[1] == '\0') {\n    d->rpl_optind = d->rpl_optind + 1;\n  }\n  puVar3 = PTR_DAT_0002910c;\n  if ((pcVar5 == (char *)0x0) || ((iVar4 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      d->rpl_optopt = iVar4;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n      d->rpl_optopt = iVar4;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar5 != 'W') || (pcVar5[1] != ';')) {\n    if (pcVar5[1] != ':') {\n      return iVar4;\n    }\n    if (pcVar5[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n        d->__nextchar = (char *)0x0;\n        return iVar4;\n      }\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = d->rpl_optind + 1;\n      return iVar4;\n    }\n    iVar10 = d->rpl_optind;\n    if (pcVar9[1] != '\0') {\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = iVar10 + 1;\n      return iVar4;\n    }\n    if (argc == iVar10) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      cVar1 = *optstring;\n      d->__nextchar = (char *)0x0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    d->rpl_optind = iVar10 + 1;\n    pcVar9 = argv[iVar10];\n    d->__nextchar = (char *)0x0;\n    d->rpl_optarg = pcVar9;\n    return iVar4;\n  }\n  if (longopts == (rpl_option *)0x0) {\n    return iVar4;\n  }\n  if (pcVar9[1] == '\0') {\n    if (d->rpl_optind == argc) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      if (*optstring == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = argv[d->rpl_optind];\n  }\n  d->__nextchar = pcVar8;\n  d->rpl_optarg = (char *)0x0;\n  pcVar5 = puVar3 + -0x75e0;\n  long_only = 0;\nLAB_00016798:\n  iVar12 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,pcVar5);\n  return iVar12;\n}\n\n" (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  char cVar1;\n  bool bVar2;\n  undefined *puVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  char **ppcVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = d->rpl_opterr;\n  if (argc < 1) {\n    return -1;\n  }\n  iVar4 = d->rpl_optind;\n  d->rpl_optarg = (char *)0x0;\n  if (iVar4 == 0) {\n    iVar4 = 1;\n    d->rpl_optind = 1;\nLAB_00016470:\n    d->__last_nonopt = iVar4;\n    d->__first_nonopt = iVar4;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }\nLAB_000164bc:\n    d->__initialized = 1;\n    cVar1 = *optstring;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_00016470;\n    cVar1 = *optstring;\n    pcVar9 = d->__nextchar;\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar5 = optstring + 1;\n    optstring = optstring + 1;\n    if (*pcVar5 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar4 = d->rpl_optind;\n    if (iVar4 < d->__last_nonopt) {\n      d->__last_nonopt = iVar4;\n    }\n    if (iVar4 < d->__first_nonopt) {\n      d->__first_nonopt = iVar4;\n    }\n    iVar10 = iVar4;\n    if (d->__ordering == PERMUTE) {\n      iVar10 = d->__last_nonopt;\n      if (d->__first_nonopt == iVar10) {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }\n      if (bVar2) {\n        ppcVar7 = argv + iVar10;\n        do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);\n      }\n      d->__last_nonopt = iVar10;\n    }\nLAB_000163fc:\n    puVar3 = PTR_DAT_0002910c;\n    if (argc == iVar10) {\n      argc = d->__last_nonopt;\n      iVar10 = d->__first_nonopt;\nLAB_000165e4:\n      if (argc != iVar10) {\n        d->rpl_optind = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = argv[iVar10];\n    iVar4 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar4 == 0) {\n      iVar12 = d->__first_nonopt;\n      iVar10 = iVar10 + 1;\n      d->rpl_optind = iVar10;\n      if (iVar12 == d->__last_nonopt) {\n        d->__first_nonopt = iVar10;\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n      }\n      else {\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = pcVar9;\n      d->rpl_optind = iVar10 + 1;\n      return 1;\n    }\n    if (longopts != (rpl_option *)0x0) {\n      if (pcVar9[1] == '-') {\n        pcVar5 = puVar3 + -0x7630;\n        d->__nextchar = pcVar9 + 2;\n        goto LAB_00016798;\n      }\n      if ((long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))) {\n        puVar3 = PTR_DAT_0002910c;\n        d->__nextchar = pcVar9 + 1;\n        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);\n        if (iVar4 != -1) {\n          return iVar4;\n        }\n        pcVar9 = argv[d->rpl_optind];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar3 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  d->__nextchar = pcVar8;\n  iVar4 = (int)*pcVar9;\n  pcVar5 = (char *)(*(code *)puVar3)(optstring,iVar4);\n  if (pcVar9[1] == '\0') {\n    d->rpl_optind = d->rpl_optind + 1;\n  }\n  puVar3 = PTR_DAT_0002910c;\n  if ((pcVar5 == (char *)0x0) || ((iVar4 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      d->rpl_optopt = iVar4;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n      d->rpl_optopt = iVar4;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar5 != 'W') || (pcVar5[1] != ';')) {\n    if (pcVar5[1] != ':') {\n      return iVar4;\n    }\n    if (pcVar5[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n        d->__nextchar = (char *)0x0;\n        return iVar4;\n      }\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = d->rpl_optind + 1;\n      return iVar4;\n    }\n    iVar10 = d->rpl_optind;\n    if (pcVar9[1] != '\0') {\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = iVar10 + 1;\n      return iVar4;\n    }\n    if (argc == iVar10) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      cVar1 = *optstring;\n      d->__nextchar = (char *)0x0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    d->rpl_optind = iVar10 + 1;\n    pcVar9 = argv[iVar10];\n    d->__nextchar = (char *)0x0;\n    d->rpl_optarg = pcVar9;\n    return iVar4;\n  }\n  if (longopts == (rpl_option *)0x0) {\n    return iVar4;\n  }\n  if (pcVar9[1] == '\0') {\n    if (d->rpl_optind == argc) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      if (*optstring == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = argv[d->rpl_optind];\n  }\n  d->__nextchar = pcVar8;\n  d->rpl_optarg = (char *)0x0;\n  pcVar5 = puVar3 + -0x75e0;\n  long_only = 0;\nLAB_00016798:\n  iVar12 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,pcVar5);\n  return iVar12;\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  char cVar1;\n  bool bVar2;\n  undefined *puVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  char **ppcVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = d->rpl_opterr;\n  if (argc < 1) {\n    return -1;\n  }\n  iVar4 = d->rpl_optind;\n  d->rpl_optarg = (char *)0x0;\n  if (iVar4 == 0) {\n    iVar4 = 1;\n    d->rpl_optind = 1;\nLAB_00016470:\n    d->__last_nonopt = iVar4;\n    d->__first_nonopt = iVar4;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }\nLAB_000164bc:\n    d->__initialized = 1;\n    cVar1 = *optstring;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_00016470;\n    cVar1 = *optstring;\n    pcVar9 = d->__nextchar;\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar5 = optstring + 1;\n    optstring = optstring + 1;\n    if (*pcVar5 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar4 = d->rpl_optind;\n    if (iVar4 < d->__last_nonopt) {\n      d->__last_nonopt = iVar4;\n    }\n    if (iVar4 < d->__first_nonopt) {\n      d->__first_nonopt = iVar4;\n    }\n    iVar10 = iVar4;\n    if (d->__ordering == PERMUTE) {\n      iVar10 = d->__last_nonopt;\n      if (d->__first_nonopt == iVar10) {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }\n      if (bVar2) {\n        ppcVar7 = argv + iVar10;\n        do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);\n      }\n      d->__last_nonopt = iVar10;\n    }\nLAB_000163fc:\n    puVar3 = PTR_DAT_0002910c;\n    if (argc == iVar10) {\n      argc = d->__last_nonopt;\n      iVar10 = d->__first_nonopt;\nLAB_000165e4:\n      if (argc != iVar10) {\n        d->rpl_optind = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = argv[iVar10];\n    iVar4 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar4 == 0) {\n      iVar12 = d->__first_nonopt;\n      iVar10 = iVar10 + 1;\n      d->rpl_optind = iVar10;\n      if (iVar12 == d->__last_nonopt) {\n        d->__first_nonopt = iVar10;\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n      }\n      else {\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = pcVar9;\n      d->rpl_optind = iVar10 + 1;\n      return 1;\n    }\n    if (longopts != (rpl_option *)0x0) {\n      if (pcVar9[1] == '-') {\n        pcVar5 = puVar3 + -0x7630;\n        d->__nextchar = pcVar9 + 2;\n        goto LAB_00016798;\n      }\n      if ((long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))) {\n        puVar3 = PTR_DAT_0002910c;\n        d->__nextchar = pcVar9 + 1;\n        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);\n        if (iVar4 != -1) {\n          return iVar4;\n        }\n        pcVar9 = argv[d->rpl_optind];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar3 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  d->__nextchar = pcVar8;\n  iVar4 = (int)*pcVar9;\n  pcVar5 = (char *)(*(code *)puVar3)(optstring,iVar4);\n  if (pcVar9[1] == '\0') {\n    d->rpl_optind = d->rpl_optind + 1;\n  }\n  puVar3 = PTR_DAT_0002910c;\n  if ((pcVar5 == (char *)0x0) || ((iVar4 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      d->rpl_optopt = iVar4;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n      d->rpl_optopt = iVar4;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar5 != 'W') || (pcVar5[1] != ';')) {\n    if (pcVar5[1] != ':') {\n      return iVar4;\n    }\n    if (pcVar5[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n        d->__nextchar = (char *)0x0;\n        return iVar4;\n      }\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = d->rpl_optind + 1;\n      return iVar4;\n    }\n    iVar10 = d->rpl_optind;\n    if (pcVar9[1] != '\0') {\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = iVar10 + 1;\n      return iVar4;\n    }\n    if (argc == iVar10) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      cVar1 = *optstring;\n      d->__nextchar = (char *)0x0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    d->rpl_optind = iVar10 + 1;\n    pcVar9 = argv[iVar10];\n    d->__nextchar = (char *)0x0;\n    d->rpl_optarg = pcVar9;\n    return iVar4;\n  }\n  if (longopts == (rpl_option *)0x0) {\n    return iVar4;\n  }\n  if (pcVar9[1] == '\0') {\n    if (d->rpl_optind == argc) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      if (*optstring == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = argv[d->rpl_optind];\n  }\n  d->__nextchar = pcVar8;\n  d->rpl_optarg = (char *)0x0;\n  pcVar5 = puVar3 + -0x75e0;\n  long_only = 0;\nLAB_00016798:\n  iVar12 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,pcVar5);\n  return iVar12;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char **ppcVar7;" primitive_type (pointer_declarator "**ppcVar7" * (pointer_declarator "*ppcVar7" * identifier)) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (expression_statement "iVar12 = d->rpl_opterr;" (assignment_expression "iVar12 = d->rpl_opterr" identifier = (field_expression "d->rpl_opterr" identifier -> field_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 "iVar4 = d->rpl_optind;" (assignment_expression "iVar4 = 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 (iVar4 == 0) {\n    iVar4 = 1;\n    d->rpl_optind = 1;\nLAB_00016470:\n    d->__last_nonopt = iVar4;\n    d->__first_nonopt = iVar4;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }\nLAB_000164bc:\n    d->__initialized = 1;\n    cVar1 = *optstring;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_00016470;\n    cVar1 = *optstring;\n    pcVar9 = d->__nextchar;\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar5 = optstring + 1;\n    optstring = optstring + 1;\n    if (*pcVar5 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar4 = d->rpl_optind;\n    if (iVar4 < d->__last_nonopt) {\n      d->__last_nonopt = iVar4;\n    }\n    if (iVar4 < d->__first_nonopt) {\n      d->__first_nonopt = iVar4;\n    }\n    iVar10 = iVar4;\n    if (d->__ordering == PERMUTE) {\n      iVar10 = d->__last_nonopt;\n      if (d->__first_nonopt == iVar10) {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }\n      if (bVar2) {\n        ppcVar7 = argv + iVar10;\n        do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);\n      }\n      d->__last_nonopt = iVar10;\n    }\nLAB_000163fc:\n    puVar3 = PTR_DAT_0002910c;\n    if (argc == iVar10) {\n      argc = d->__last_nonopt;\n      iVar10 = d->__first_nonopt;\nLAB_000165e4:\n      if (argc != iVar10) {\n        d->rpl_optind = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = argv[iVar10];\n    iVar4 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar4 == 0) {\n      iVar12 = d->__first_nonopt;\n      iVar10 = iVar10 + 1;\n      d->rpl_optind = iVar10;\n      if (iVar12 == d->__last_nonopt) {\n        d->__first_nonopt = iVar10;\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n      }\n      else {\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = pcVar9;\n      d->rpl_optind = iVar10 + 1;\n      return 1;\n    }\n    if (longopts != (rpl_option *)0x0) {\n      if (pcVar9[1] == '-') {\n        pcVar5 = puVar3 + -0x7630;\n        d->__nextchar = pcVar9 + 2;\n        goto LAB_00016798;\n      }\n      if ((long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))) {\n        puVar3 = PTR_DAT_0002910c;\n        d->__nextchar = pcVar9 + 1;\n        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);\n        if (iVar4 != -1) {\n          return iVar4;\n        }\n        pcVar9 = argv[d->rpl_optind];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = 1;\n    d->rpl_optind = 1;\nLAB_00016470:\n    d->__last_nonopt = iVar4;\n    d->__first_nonopt = iVar4;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }\nLAB_000164bc:\n    d->__initialized = 1;\n    cVar1 = *optstring;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "d->rpl_optind = 1;" (assignment_expression "d->rpl_optind = 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = number_literal) ;) (labeled_statement "LAB_00016470:\n    d->__last_nonopt = iVar4;" statement_identifier : (expression_statement "d->__last_nonopt = iVar4;" (assignment_expression "d->__last_nonopt = iVar4" (field_expression "d->__last_nonopt" identifier -> field_identifier) = identifier) ;)) (expression_statement "d->__first_nonopt = iVar4;" (assignment_expression "d->__first_nonopt = iVar4" (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      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }" if (parenthesized_expression "(*optstring == '-')" ( (binary_expression "*optstring == '-'" (pointer_expression "*optstring" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n      d->__ordering = RETURN_IN_ORDER;\n    }" { (expression_statement "optstring = optstring + 1;" (assignment_expression "optstring = optstring + 1" identifier = (binary_expression "optstring + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (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      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }" else (if_statement "if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\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      optstring = optstring + 1;\n      pcVar9 = (char *)0x0;\n    }" { (expression_statement "d->__ordering = REQUIRE_ORDER;" (assignment_expression "d->__ordering = REQUIRE_ORDER" (field_expression "d->__ordering" identifier -> field_identifier) = identifier) ;) (expression_statement "optstring = optstring + 1;" (assignment_expression "optstring = optstring + 1" identifier = (binary_expression "optstring + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }" else (compound_statement "{\n      if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      d->__ordering = REQUIRE_ORDER;\n    }" { (if_statement "if (posixly_correct == 0) {\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }" if (parenthesized_expression "(posixly_correct == 0)" ( (binary_expression "posixly_correct == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = d->__nextchar;\n        if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }\n      }" { (expression_statement "iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);" (assignment_expression "iVar4 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640)" identifier = (call_expression "(*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640)" (parenthesized_expression "(*(code *)PTR_getenv_00029260)" ( (pointer_expression "*(code *)PTR_getenv_00029260" * (cast_expression "(code *)PTR_getenv_00029260" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002910c + -0x7640)" ( (binary_expression "PTR_DAT_0002910c + -0x7640" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = d->__nextchar;" (assignment_expression "pcVar9 = d->__nextchar" identifier = (field_expression "d->__nextchar" identifier -> field_identifier)) ;) (if_statement "if (iVar4 == 0) {\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          d->__ordering = PERMUTE;\n          goto LAB_000164bc;\n        }" { (expression_statement "d->__ordering = PERMUTE;" (assignment_expression "d->__ordering = PERMUTE" (field_expression "d->__ordering" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_000164bc;" goto statement_identifier ;) })) }) (else_clause "else {\n        pcVar9 = (char *)0x0;\n      }" else (compound_statement "{\n        pcVar9 = (char *)0x0;\n      }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "d->__ordering = REQUIRE_ORDER;" (assignment_expression "d->__ordering = REQUIRE_ORDER" (field_expression "d->__ordering" identifier -> field_identifier) = identifier) ;) }))))) (labeled_statement "LAB_000164bc:\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 "cVar1 = *optstring;" (assignment_expression "cVar1 = *optstring" identifier = (pointer_expression "*optstring" * identifier)) ;) (labeled_statement "LAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }" statement_identifier : (if_statement "if (cVar1 == ':') {\n      iVar12 = 0;\n    }" if (parenthesized_expression "(cVar1 == ':')" ( (binary_expression "cVar1 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n      iVar12 = 0;\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) }))) (if_statement "if (pcVar9 == (char *)0x0) goto LAB_000163c0;" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000163c0;" goto statement_identifier ;)) (labeled_statement "LAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;" statement_identifier : (if_statement "if (*pcVar9 == '\0') goto LAB_000163c0;" if (parenthesized_expression "(*pcVar9 == '\0')" ( (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000163c0;" goto statement_identifier ;))) }) (else_clause "else {\n    if (d->__initialized == 0) goto LAB_00016470;\n    cVar1 = *optstring;\n    pcVar9 = d->__nextchar;\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar5 = optstring + 1;\n    optstring = optstring + 1;\n    if (*pcVar5 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar4 = d->rpl_optind;\n    if (iVar4 < d->__last_nonopt) {\n      d->__last_nonopt = iVar4;\n    }\n    if (iVar4 < d->__first_nonopt) {\n      d->__first_nonopt = iVar4;\n    }\n    iVar10 = iVar4;\n    if (d->__ordering == PERMUTE) {\n      iVar10 = d->__last_nonopt;\n      if (d->__first_nonopt == iVar10) {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }\n      if (bVar2) {\n        ppcVar7 = argv + iVar10;\n        do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);\n      }\n      d->__last_nonopt = iVar10;\n    }\nLAB_000163fc:\n    puVar3 = PTR_DAT_0002910c;\n    if (argc == iVar10) {\n      argc = d->__last_nonopt;\n      iVar10 = d->__first_nonopt;\nLAB_000165e4:\n      if (argc != iVar10) {\n        d->rpl_optind = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = argv[iVar10];\n    iVar4 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar4 == 0) {\n      iVar12 = d->__first_nonopt;\n      iVar10 = iVar10 + 1;\n      d->rpl_optind = iVar10;\n      if (iVar12 == d->__last_nonopt) {\n        d->__first_nonopt = iVar10;\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n      }\n      else {\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = pcVar9;\n      d->rpl_optind = iVar10 + 1;\n      return 1;\n    }\n    if (longopts != (rpl_option *)0x0) {\n      if (pcVar9[1] == '-') {\n        pcVar5 = puVar3 + -0x7630;\n        d->__nextchar = pcVar9 + 2;\n        goto LAB_00016798;\n      }\n      if ((long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))) {\n        puVar3 = PTR_DAT_0002910c;\n        d->__nextchar = pcVar9 + 1;\n        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);\n        if (iVar4 != -1) {\n          return iVar4;\n        }\n        pcVar9 = argv[d->rpl_optind];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" else (compound_statement "{\n    if (d->__initialized == 0) goto LAB_00016470;\n    cVar1 = *optstring;\n    pcVar9 = d->__nextchar;\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar5 = optstring + 1;\n    optstring = optstring + 1;\n    if (*pcVar5 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar4 = d->rpl_optind;\n    if (iVar4 < d->__last_nonopt) {\n      d->__last_nonopt = iVar4;\n    }\n    if (iVar4 < d->__first_nonopt) {\n      d->__first_nonopt = iVar4;\n    }\n    iVar10 = iVar4;\n    if (d->__ordering == PERMUTE) {\n      iVar10 = d->__last_nonopt;\n      if (d->__first_nonopt == iVar10) {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }\n      if (bVar2) {\n        ppcVar7 = argv + iVar10;\n        do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);\n      }\n      d->__last_nonopt = iVar10;\n    }\nLAB_000163fc:\n    puVar3 = PTR_DAT_0002910c;\n    if (argc == iVar10) {\n      argc = d->__last_nonopt;\n      iVar10 = d->__first_nonopt;\nLAB_000165e4:\n      if (argc != iVar10) {\n        d->rpl_optind = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = argv[iVar10];\n    iVar4 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar4 == 0) {\n      iVar12 = d->__first_nonopt;\n      iVar10 = iVar10 + 1;\n      d->rpl_optind = iVar10;\n      if (iVar12 == d->__last_nonopt) {\n        d->__first_nonopt = iVar10;\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n      }\n      else {\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = pcVar9;\n      d->rpl_optind = iVar10 + 1;\n      return 1;\n    }\n    if (longopts != (rpl_option *)0x0) {\n      if (pcVar9[1] == '-') {\n        pcVar5 = puVar3 + -0x7630;\n        d->__nextchar = pcVar9 + 2;\n        goto LAB_00016798;\n      }\n      if ((long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))) {\n        puVar3 = PTR_DAT_0002910c;\n        d->__nextchar = pcVar9 + 1;\n        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);\n        if (iVar4 != -1) {\n          return iVar4;\n        }\n        pcVar9 = argv[d->rpl_optind];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" { (if_statement "if (d->__initialized == 0) goto LAB_00016470;" if (parenthesized_expression "(d->__initialized == 0)" ( (binary_expression "d->__initialized == 0" (field_expression "d->__initialized" identifier -> field_identifier) == number_literal) )) (goto_statement "goto LAB_00016470;" goto statement_identifier ;)) (expression_statement "cVar1 = *optstring;" (assignment_expression "cVar1 = *optstring" identifier = (pointer_expression "*optstring" * identifier)) ;) (expression_statement "pcVar9 = d->__nextchar;" (assignment_expression "pcVar9 = d->__nextchar" identifier = (field_expression "d->__nextchar" identifier -> field_identifier)) ;) (if_statement "if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;" if (parenthesized_expression "((cVar1 != '-') && (cVar1 != '+'))" ( (binary_expression "(cVar1 != '-') && (cVar1 != '+')" (parenthesized_expression "(cVar1 != '-')" ( (binary_expression "cVar1 != '-'" identifier != (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(cVar1 != '+')" ( (binary_expression "cVar1 != '+'" identifier != (char_literal "'+'" ' character ')) ))) )) (goto_statement "goto LAB_000164c8;" goto statement_identifier ;)) (expression_statement "pcVar5 = optstring + 1;" (assignment_expression "pcVar5 = optstring + 1" identifier = (binary_expression "optstring + 1" identifier + number_literal)) ;) (expression_statement "optstring = optstring + 1;" (assignment_expression "optstring = optstring + 1" identifier = (binary_expression "optstring + 1" identifier + number_literal)) ;) (if_statement "if (*pcVar5 == ':') {\n      iVar12 = 0;\n    }" if (parenthesized_expression "(*pcVar5 == ':')" ( (binary_expression "*pcVar5 == ':'" (pointer_expression "*pcVar5" * identifier) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      iVar12 = 0;\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) })) (if_statement "if (pcVar9 != (char *)0x0) goto LAB_000164d0;" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000164d0;" goto statement_identifier ;)) (labeled_statement "LAB_000163c0:\n    iVar4 = d->rpl_optind;" statement_identifier : (expression_statement "iVar4 = d->rpl_optind;" (assignment_expression "iVar4 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;)) (if_statement "if (iVar4 < d->__last_nonopt) {\n      d->__last_nonopt = iVar4;\n    }" if (parenthesized_expression "(iVar4 < d->__last_nonopt)" ( (binary_expression "iVar4 < d->__last_nonopt" identifier < (field_expression "d->__last_nonopt" identifier -> field_identifier)) )) (compound_statement "{\n      d->__last_nonopt = iVar4;\n    }" { (expression_statement "d->__last_nonopt = iVar4;" (assignment_expression "d->__last_nonopt = iVar4" (field_expression "d->__last_nonopt" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (iVar4 < d->__first_nonopt) {\n      d->__first_nonopt = iVar4;\n    }" if (parenthesized_expression "(iVar4 < d->__first_nonopt)" ( (binary_expression "iVar4 < d->__first_nonopt" identifier < (field_expression "d->__first_nonopt" identifier -> field_identifier)) )) (compound_statement "{\n      d->__first_nonopt = iVar4;\n    }" { (expression_statement "d->__first_nonopt = iVar4;" (assignment_expression "d->__first_nonopt = iVar4" (field_expression "d->__first_nonopt" identifier -> field_identifier) = identifier) ;) })) (expression_statement "iVar10 = iVar4;" (assignment_expression "iVar10 = iVar4" identifier = identifier) ;) (if_statement "if (d->__ordering == PERMUTE) {\n      iVar10 = d->__last_nonopt;\n      if (d->__first_nonopt == iVar10) {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }\n      if (bVar2) {\n        ppcVar7 = argv + iVar10;\n        do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);\n      }\n      d->__last_nonopt = iVar10;\n    }" if (parenthesized_expression "(d->__ordering == PERMUTE)" ( (binary_expression "d->__ordering == PERMUTE" (field_expression "d->__ordering" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      iVar10 = d->__last_nonopt;\n      if (d->__first_nonopt == iVar10) {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }\n      if (bVar2) {\n        ppcVar7 = argv + iVar10;\n        do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);\n      }\n      d->__last_nonopt = iVar10;\n    }" { (expression_statement "iVar10 = d->__last_nonopt;" (assignment_expression "iVar10 = d->__last_nonopt" identifier = (field_expression "d->__last_nonopt" identifier -> field_identifier)) ;) (if_statement "if (d->__first_nonopt == iVar10) {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }" if (parenthesized_expression "(d->__first_nonopt == iVar10)" ( (binary_expression "d->__first_nonopt == iVar10" (field_expression "d->__first_nonopt" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }\n      }" { (expression_statement "bVar2 = iVar10 < argc;" (assignment_expression "bVar2 = iVar10 < argc" identifier = (binary_expression "iVar10 < argc" identifier < identifier)) ;) (if_statement "if (iVar4 != iVar10) {\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }" if (parenthesized_expression "(iVar4 != iVar10)" ( (binary_expression "iVar4 != iVar10" identifier != identifier) )) (compound_statement "{\n          d->__first_nonopt = iVar4;\n          goto LAB_0001662c;\n        }" { (expression_statement "d->__first_nonopt = iVar4;" (assignment_expression "d->__first_nonopt = iVar4" (field_expression "d->__first_nonopt" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_0001662c;" goto statement_identifier ;) })) }) (else_clause "else {\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }" else (compound_statement "{\n        bVar2 = iVar10 < argc;\n        if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }\n      }" { (expression_statement "bVar2 = iVar10 < argc;" (assignment_expression "bVar2 = iVar10 < argc" identifier = (binary_expression "iVar10 < argc" identifier < identifier)) ;) (if_statement "if (iVar4 != iVar10) {\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }" if (parenthesized_expression "(iVar4 != iVar10)" ( (binary_expression "iVar4 != iVar10" identifier != identifier) )) (compound_statement "{\n          exchange(argv,d);\n          iVar4 = d->rpl_optind;\nLAB_0001662c:\n          bVar2 = iVar4 < argc;\n          iVar10 = iVar4;\n        }" { (expression_statement "exchange(argv,d);" (call_expression "exchange(argv,d)" identifier (argument_list "(argv,d)" ( identifier , identifier ))) ;) (expression_statement "iVar4 = d->rpl_optind;" (assignment_expression "iVar4 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;) (labeled_statement "LAB_0001662c:\n          bVar2 = iVar4 < argc;" statement_identifier : (expression_statement "bVar2 = iVar4 < argc;" (assignment_expression "bVar2 = iVar4 < argc" identifier = (binary_expression "iVar4 < argc" identifier < identifier)) ;)) (expression_statement "iVar10 = iVar4;" (assignment_expression "iVar10 = iVar4" identifier = identifier) ;) })) }))) (if_statement "if (bVar2) {\n        ppcVar7 = argv + iVar10;\n        do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        ppcVar7 = argv + iVar10;\n        do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);\n      }" { (expression_statement "ppcVar7 = argv + iVar10;" (assignment_expression "ppcVar7 = argv + iVar10" identifier = (binary_expression "argv + iVar10" identifier + identifier)) ;) (do_statement "do {\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        } while (iVar10 != argc);" do (compound_statement "{\n          pcVar9 = *ppcVar7;\n          ppcVar7 = ppcVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          d->rpl_optind = iVar10;\n        }" { (expression_statement "pcVar9 = *ppcVar7;" (assignment_expression "pcVar9 = *ppcVar7" identifier = (pointer_expression "*ppcVar7" * identifier)) ;) (expression_statement "ppcVar7 = ppcVar7 + 1;" (assignment_expression "ppcVar7 = ppcVar7 + 1" identifier = (binary_expression "ppcVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }" if (parenthesized_expression "((*pcVar9 == '-') && (pcVar9[1] != '\0'))" ( (binary_expression "(*pcVar9 == '-') && (pcVar9[1] != '\0')" (parenthesized_expression "(*pcVar9 == '-')" ( (binary_expression "*pcVar9 == '-'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(pcVar9[1] != '\0')" ( (binary_expression "pcVar9[1] != '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n            d->__last_nonopt = iVar10;\n            iVar10 = d->rpl_optind;\n            goto LAB_000163fc;\n          }" { (expression_statement "d->__last_nonopt = iVar10;" (assignment_expression "d->__last_nonopt = iVar10" (field_expression "d->__last_nonopt" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar10 = d->rpl_optind;" (assignment_expression "iVar10 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;) (goto_statement "goto LAB_000163fc;" goto statement_identifier ;) })) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "d->rpl_optind = iVar10;" (assignment_expression "d->rpl_optind = iVar10" (field_expression "d->rpl_optind" identifier -> field_identifier) = identifier) ;) }) while (parenthesized_expression "(iVar10 != argc)" ( (binary_expression "iVar10 != argc" identifier != identifier) )) ;) })) (expression_statement "d->__last_nonopt = iVar10;" (assignment_expression "d->__last_nonopt = iVar10" (field_expression "d->__last_nonopt" identifier -> field_identifier) = identifier) ;) })) (labeled_statement "LAB_000163fc:\n    puVar3 = PTR_DAT_0002910c;" statement_identifier : (expression_statement "puVar3 = PTR_DAT_0002910c;" (assignment_expression "puVar3 = PTR_DAT_0002910c" identifier = identifier) ;)) (if_statement "if (argc == iVar10) {\n      argc = d->__last_nonopt;\n      iVar10 = d->__first_nonopt;\nLAB_000165e4:\n      if (argc != iVar10) {\n        d->rpl_optind = iVar10;\n      }\n      return -1;\n    }" if (parenthesized_expression "(argc == iVar10)" ( (binary_expression "argc == iVar10" identifier == identifier) )) (compound_statement "{\n      argc = d->__last_nonopt;\n      iVar10 = d->__first_nonopt;\nLAB_000165e4:\n      if (argc != iVar10) {\n        d->rpl_optind = iVar10;\n      }\n      return -1;\n    }" { (expression_statement "argc = d->__last_nonopt;" (assignment_expression "argc = d->__last_nonopt" identifier = (field_expression "d->__last_nonopt" identifier -> field_identifier)) ;) (expression_statement "iVar10 = d->__first_nonopt;" (assignment_expression "iVar10 = d->__first_nonopt" identifier = (field_expression "d->__first_nonopt" identifier -> field_identifier)) ;) (labeled_statement "LAB_000165e4:\n      if (argc != iVar10) {\n        d->rpl_optind = iVar10;\n      }" statement_identifier : (if_statement "if (argc != iVar10) {\n        d->rpl_optind = iVar10;\n      }" if (parenthesized_expression "(argc != iVar10)" ( (binary_expression "argc != iVar10" identifier != identifier) )) (compound_statement "{\n        d->rpl_optind = iVar10;\n      }" { (expression_statement "d->rpl_optind = iVar10;" (assignment_expression "d->rpl_optind = iVar10" (field_expression "d->rpl_optind" identifier -> field_identifier) = identifier) ;) }))) (return_statement "return -1;" return number_literal ;) })) (expression_statement "pcVar9 = argv[iVar10];" (assignment_expression "pcVar9 = argv[iVar10]" identifier = (subscript_expression "argv[iVar10]" identifier [ identifier ])) ;) (expression_statement "iVar4 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630)" identifier = (call_expression "(*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630)" (parenthesized_expression "(*(code *)PTR_strcmp_000292bc)" ( (pointer_expression "*(code *)PTR_strcmp_000292bc" * (cast_expression "(code *)PTR_strcmp_000292bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9,PTR_DAT_0002910c + -0x7630)" ( identifier , (binary_expression "PTR_DAT_0002910c + -0x7630" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      iVar12 = d->__first_nonopt;\n      iVar10 = iVar10 + 1;\n      d->rpl_optind = iVar10;\n      if (iVar12 == d->__last_nonopt) {\n        d->__first_nonopt = iVar10;\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n      }\n      else {\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar12 = d->__first_nonopt;\n      iVar10 = iVar10 + 1;\n      d->rpl_optind = iVar10;\n      if (iVar12 == d->__last_nonopt) {\n        d->__first_nonopt = iVar10;\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n      }\n      else {\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }" { (expression_statement "iVar12 = d->__first_nonopt;" (assignment_expression "iVar12 = d->__first_nonopt" identifier = (field_expression "d->__first_nonopt" identifier -> field_identifier)) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "d->rpl_optind = iVar10;" (assignment_expression "d->rpl_optind = iVar10" (field_expression "d->rpl_optind" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar12 == d->__last_nonopt) {\n        d->__first_nonopt = iVar10;\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n      }\n      else {\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }" if (parenthesized_expression "(iVar12 == d->__last_nonopt)" ( (binary_expression "iVar12 == d->__last_nonopt" identifier == (field_expression "d->__last_nonopt" identifier -> field_identifier)) )) (compound_statement "{\n        d->__first_nonopt = iVar10;\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n      }" { (expression_statement "d->__first_nonopt = iVar10;" (assignment_expression "d->__first_nonopt = iVar10" (field_expression "d->__first_nonopt" identifier -> field_identifier) = 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) ;) }) (else_clause "else {\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }" else (compound_statement "{\n        if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }\n        d->__last_nonopt = argc;\n        d->rpl_optind = argc;\n        iVar10 = iVar12;\n      }" { (if_statement "if (iVar10 != d->__last_nonopt) {\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }" if (parenthesized_expression "(iVar10 != d->__last_nonopt)" ( (binary_expression "iVar10 != d->__last_nonopt" identifier != (field_expression "d->__last_nonopt" identifier -> field_identifier)) )) (compound_statement "{\n          exchange(argv,d);\n          iVar12 = d->__first_nonopt;\n        }" { (expression_statement "exchange(argv,d);" (call_expression "exchange(argv,d)" identifier (argument_list "(argv,d)" ( identifier , identifier ))) ;) (expression_statement "iVar12 = d->__first_nonopt;" (assignment_expression "iVar12 = d->__first_nonopt" identifier = (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) ;) (expression_statement "iVar10 = iVar12;" (assignment_expression "iVar10 = iVar12" identifier = identifier) ;) }))) (goto_statement "goto LAB_000165e4;" goto statement_identifier ;) })) (if_statement "if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = pcVar9;\n      d->rpl_optind = iVar10 + 1;\n      return 1;\n    }" if (parenthesized_expression "((*pcVar9 != '-') || (pcVar9[1] == '\0'))" ( (binary_expression "(*pcVar9 != '-') || (pcVar9[1] == '\0')" (parenthesized_expression "(*pcVar9 != '-')" ( (binary_expression "*pcVar9 != '-'" (pointer_expression "*pcVar9" * identifier) != (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optarg = pcVar9;\n      d->rpl_optind = iVar10 + 1;\n      return 1;\n    }" { (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 = pcVar9;" (assignment_expression "d->rpl_optarg = pcVar9" (field_expression "d->rpl_optarg" identifier -> field_identifier) = identifier) ;) (expression_statement "d->rpl_optind = iVar10 + 1;" (assignment_expression "d->rpl_optind = iVar10 + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (longopts != (rpl_option *)0x0) {\n      if (pcVar9[1] == '-') {\n        pcVar5 = puVar3 + -0x7630;\n        d->__nextchar = pcVar9 + 2;\n        goto LAB_00016798;\n      }\n      if ((long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))) {\n        puVar3 = PTR_DAT_0002910c;\n        d->__nextchar = pcVar9 + 1;\n        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);\n        if (iVar4 != -1) {\n          return iVar4;\n        }\n        pcVar9 = argv[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 (pcVar9[1] == '-') {\n        pcVar5 = puVar3 + -0x7630;\n        d->__nextchar = pcVar9 + 2;\n        goto LAB_00016798;\n      }\n      if ((long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))) {\n        puVar3 = PTR_DAT_0002910c;\n        d->__nextchar = pcVar9 + 1;\n        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);\n        if (iVar4 != -1) {\n          return iVar4;\n        }\n        pcVar9 = argv[d->rpl_optind];\n      }\n    }" { (if_statement "if (pcVar9[1] == '-') {\n        pcVar5 = puVar3 + -0x7630;\n        d->__nextchar = pcVar9 + 2;\n        goto LAB_00016798;\n      }" if (parenthesized_expression "(pcVar9[1] == '-')" ( (binary_expression "pcVar9[1] == '-'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        pcVar5 = puVar3 + -0x7630;\n        d->__nextchar = pcVar9 + 2;\n        goto LAB_00016798;\n      }" { (expression_statement "pcVar5 = puVar3 + -0x7630;" (assignment_expression "pcVar5 = puVar3 + -0x7630" identifier = (binary_expression "puVar3 + -0x7630" identifier + number_literal)) ;) (expression_statement "d->__nextchar = pcVar9 + 2;" (assignment_expression "d->__nextchar = pcVar9 + 2" (field_expression "d->__nextchar" identifier -> field_identifier) = (binary_expression "pcVar9 + 2" identifier + number_literal)) ;) (goto_statement "goto LAB_00016798;" goto statement_identifier ;) })) (if_statement "if ((long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))) {\n        puVar3 = PTR_DAT_0002910c;\n        d->__nextchar = pcVar9 + 1;\n        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);\n        if (iVar4 != -1) {\n          return iVar4;\n        }\n        pcVar9 = argv[d->rpl_optind];\n      }" if (parenthesized_expression "((long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0))))" ( (binary_expression "(long_only != 0) &&\n         ((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))" (parenthesized_expression "(long_only != 0)" ( (binary_expression "long_only != 0" identifier != number_literal) )) && (parenthesized_expression "((pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)))" ( (parenthesized_expression "(pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0))" ( (binary_expression "pcVar9[2] != '\0' || (iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)" (binary_expression "pcVar9[2] != '\0'" (subscript_expression "pcVar9[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0)" ( (comma_expression "iVar4 = (*(code *)PTR_strchr_00029244)(optstring), iVar4 == 0" (assignment_expression "iVar4 = (*(code *)PTR_strchr_00029244)(optstring)" identifier = (call_expression "(*(code *)PTR_strchr_00029244)(optstring)" (parenthesized_expression "(*(code *)PTR_strchr_00029244)" ( (pointer_expression "*(code *)PTR_strchr_00029244" * (cast_expression "(code *)PTR_strchr_00029244" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(optstring)" ( identifier )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n        puVar3 = PTR_DAT_0002910c;\n        d->__nextchar = pcVar9 + 1;\n        iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);\n        if (iVar4 != -1) {\n          return iVar4;\n        }\n        pcVar9 = argv[d->rpl_optind];\n      }" { (expression_statement "puVar3 = PTR_DAT_0002910c;" (assignment_expression "puVar3 = PTR_DAT_0002910c" identifier = identifier) ;) (expression_statement "d->__nextchar = pcVar9 + 1;" (assignment_expression "d->__nextchar = pcVar9 + 1" (field_expression "d->__nextchar" identifier -> field_identifier) = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c);" (assignment_expression "iVar4 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c)" identifier = (call_expression "process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c)" identifier (argument_list "(argc,argv,optstring,longopts,longind,long_only,d,iVar12,\n                                    puVar3 + -0x762c)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "puVar3 + -0x762c" identifier + number_literal) )))) ;) (if_statement "if (iVar4 != -1) {\n          return iVar4;\n        }" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (compound_statement "{\n          return iVar4;\n        }" { (return_statement "return iVar4;" return identifier ;) })) (expression_statement "pcVar9 = argv[d->rpl_optind];" (assignment_expression "pcVar9 = argv[d->rpl_optind]" identifier = (subscript_expression "argv[d->rpl_optind]" identifier [ (field_expression "d->rpl_optind" identifier -> field_identifier) ])) ;) })) })) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) }))) (expression_statement "puVar3 = PTR_strchr_00029244;" (assignment_expression "puVar3 = PTR_strchr_00029244" identifier = identifier) ;) (expression_statement "pcVar8 = pcVar9 + 1;" (assignment_expression "pcVar8 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "d->__nextchar = pcVar8;" (assignment_expression "d->__nextchar = pcVar8" (field_expression "d->__nextchar" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar4 = (int)*pcVar9;" (assignment_expression "iVar4 = (int)*pcVar9" identifier = (cast_expression "(int)*pcVar9" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar9" * identifier))) ;) (expression_statement "pcVar5 = (char *)(*(code *)puVar3)(optstring,iVar4);" (assignment_expression "pcVar5 = (char *)(*(code *)puVar3)(optstring,iVar4)" identifier = (cast_expression "(char *)(*(code *)puVar3)(optstring,iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(optstring,iVar4)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(optstring,iVar4)" ( identifier , identifier ))))) ;) (if_statement "if (pcVar9[1] == '\0') {\n    d->rpl_optind = d->rpl_optind + 1;\n  }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[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)) ;) })) (expression_statement "puVar3 = PTR_DAT_0002910c;" (assignment_expression "puVar3 = PTR_DAT_0002910c" identifier = identifier) ;) (if_statement "if ((pcVar5 == (char *)0x0) || ((iVar4 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      d->rpl_optopt = iVar4;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n      d->rpl_optopt = iVar4;\n    }\n    return 0x3f;\n  }" if (parenthesized_expression "((pcVar5 == (char *)0x0) || ((iVar4 - 0x3aU & 0xff) < 2))" ( (binary_expression "(pcVar5 == (char *)0x0) || ((iVar4 - 0x3aU & 0xff) < 2)" (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((iVar4 - 0x3aU & 0xff) < 2)" ( (binary_expression "(iVar4 - 0x3aU & 0xff) < 2" (parenthesized_expression "(iVar4 - 0x3aU & 0xff)" ( (binary_expression "iVar4 - 0x3aU & 0xff" (binary_expression "iVar4 - 0x3aU" identifier - number_literal) & number_literal) )) < number_literal) ))) )) (compound_statement "{\n    if (iVar12 == 0) {\n      d->rpl_optopt = iVar4;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n      d->rpl_optopt = iVar4;\n    }\n    return 0x3f;\n  }" { (if_statement "if (iVar12 == 0) {\n      d->rpl_optopt = iVar4;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n      d->rpl_optopt = iVar4;\n    }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n      d->rpl_optopt = iVar4;\n    }" { (expression_statement "d->rpl_optopt = iVar4;" (assignment_expression "d->rpl_optopt = iVar4" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n      d->rpl_optopt = iVar4;\n    }" else (compound_statement "{\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n      d->rpl_optopt = iVar4;\n    }" { (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" * (cast_expression "(undefined4 *)PTR_stderr_000292ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" ( (pointer_expression "*(code *)PTR_dcgettext_00029290" * (cast_expression "(code *)PTR_dcgettext_00029290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002910c + -0x7628,5)" ( number_literal , (binary_expression "PTR_DAT_0002910c + -0x7628" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" * (cast_expression "(code *)PTR___fprintf_chk_000291f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,1,uVar6,*argv,iVar4)" ( identifier , number_literal , identifier , (pointer_expression "*argv" * identifier) , identifier ))) ;) (expression_statement "d->rpl_optopt = iVar4;" (assignment_expression "d->rpl_optopt = iVar4" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) }))) (return_statement "return 0x3f;" return number_literal ;) })) (if_statement "if ((*pcVar5 != 'W') || (pcVar5[1] != ';')) {\n    if (pcVar5[1] != ':') {\n      return iVar4;\n    }\n    if (pcVar5[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n        d->__nextchar = (char *)0x0;\n        return iVar4;\n      }\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = d->rpl_optind + 1;\n      return iVar4;\n    }\n    iVar10 = d->rpl_optind;\n    if (pcVar9[1] != '\0') {\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = iVar10 + 1;\n      return iVar4;\n    }\n    if (argc == iVar10) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      cVar1 = *optstring;\n      d->__nextchar = (char *)0x0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    d->rpl_optind = iVar10 + 1;\n    pcVar9 = argv[iVar10];\n    d->__nextchar = (char *)0x0;\n    d->rpl_optarg = pcVar9;\n    return iVar4;\n  }" if (parenthesized_expression "((*pcVar5 != 'W') || (pcVar5[1] != ';'))" ( (binary_expression "(*pcVar5 != 'W') || (pcVar5[1] != ';')" (parenthesized_expression "(*pcVar5 != 'W')" ( (binary_expression "*pcVar5 != 'W'" (pointer_expression "*pcVar5" * identifier) != (char_literal "'W'" ' character ')) )) || (parenthesized_expression "(pcVar5[1] != ';')" ( (binary_expression "pcVar5[1] != ';'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) != (char_literal "';'" ' character ')) ))) )) (compound_statement "{\n    if (pcVar5[1] != ':') {\n      return iVar4;\n    }\n    if (pcVar5[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n        d->__nextchar = (char *)0x0;\n        return iVar4;\n      }\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = d->rpl_optind + 1;\n      return iVar4;\n    }\n    iVar10 = d->rpl_optind;\n    if (pcVar9[1] != '\0') {\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = iVar10 + 1;\n      return iVar4;\n    }\n    if (argc == iVar10) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      cVar1 = *optstring;\n      d->__nextchar = (char *)0x0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    d->rpl_optind = iVar10 + 1;\n    pcVar9 = argv[iVar10];\n    d->__nextchar = (char *)0x0;\n    d->rpl_optarg = pcVar9;\n    return iVar4;\n  }" { (if_statement "if (pcVar5[1] != ':') {\n      return iVar4;\n    }" if (parenthesized_expression "(pcVar5[1] != ':')" ( (binary_expression "pcVar5[1] != ':'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n      return iVar4;\n    }" { (return_statement "return iVar4;" return identifier ;) })) (if_statement "if (pcVar5[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n        d->__nextchar = (char *)0x0;\n        return iVar4;\n      }\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = d->rpl_optind + 1;\n      return iVar4;\n    }" if (parenthesized_expression "(pcVar5[2] == ':')" ( (binary_expression "pcVar5[2] == ':'" (subscript_expression "pcVar5[2]" identifier [ number_literal ]) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n        d->__nextchar = (char *)0x0;\n        return iVar4;\n      }\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = d->rpl_optind + 1;\n      return iVar4;\n    }" { (if_statement "if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n        d->__nextchar = (char *)0x0;\n        return iVar4;\n      }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        d->rpl_optarg = (char *)0x0;\n        d->__nextchar = (char *)0x0;\n        return iVar4;\n      }" { (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 "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 iVar4;" return identifier ;) })) (expression_statement "d->rpl_optarg = pcVar8;" (assignment_expression "d->rpl_optarg = pcVar8" (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)) ;) (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)) ;) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "iVar10 = d->rpl_optind;" (assignment_expression "iVar10 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;) (if_statement "if (pcVar9[1] != '\0') {\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = iVar10 + 1;\n      return iVar4;\n    }" if (parenthesized_expression "(pcVar9[1] != '\0')" ( (binary_expression "pcVar9[1] != '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      d->rpl_optarg = pcVar8;\n      d->__nextchar = (char *)0x0;\n      d->rpl_optind = iVar10 + 1;\n      return iVar4;\n    }" { (expression_statement "d->rpl_optarg = pcVar8;" (assignment_expression "d->rpl_optarg = pcVar8" (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)) ;) (expression_statement "d->rpl_optind = iVar10 + 1;" (assignment_expression "d->rpl_optind = iVar10 + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (return_statement "return iVar4;" return identifier ;) })) (if_statement "if (argc == iVar10) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      cVar1 = *optstring;\n      d->__nextchar = (char *)0x0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" if (parenthesized_expression "(argc == iVar10)" ( (binary_expression "argc == iVar10" identifier == identifier) )) (compound_statement "{\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      cVar1 = *optstring;\n      d->__nextchar = (char *)0x0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" { (if_statement "if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n        d->rpl_optopt = iVar4;\n      }" { (expression_statement "d->rpl_optopt = iVar4;" (assignment_expression "d->rpl_optopt = iVar4" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }" else (compound_statement "{\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }" { (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" * (cast_expression "(undefined4 *)PTR_stderr_000292ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" ( (pointer_expression "*(code *)PTR_dcgettext_00029290" * (cast_expression "(code *)PTR_dcgettext_00029290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002910c + -0x760c,5)" ( number_literal , (binary_expression "PTR_DAT_0002910c + -0x760c" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" * (cast_expression "(code *)PTR___fprintf_chk_000291f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,1,uVar6,*argv,iVar4)" ( identifier , number_literal , identifier , (pointer_expression "*argv" * identifier) , identifier ))) ;) (expression_statement "d->rpl_optopt = iVar4;" (assignment_expression "d->rpl_optopt = iVar4" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "cVar1 = *optstring;" (assignment_expression "cVar1 = *optstring" identifier = (pointer_expression "*optstring" * 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 (cVar1 == ':') {\n        return 0x3a;\n      }" if (parenthesized_expression "(cVar1 == ':')" ( (binary_expression "cVar1 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n        return 0x3a;\n      }" { (return_statement "return 0x3a;" return number_literal ;) })) (return_statement "return 0x3f;" return number_literal ;) })) (expression_statement "d->rpl_optind = iVar10 + 1;" (assignment_expression "d->rpl_optind = iVar10 + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = argv[iVar10];" (assignment_expression "pcVar9 = argv[iVar10]" identifier = (subscript_expression "argv[iVar10]" 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)) ;) (expression_statement "d->rpl_optarg = pcVar9;" (assignment_expression "d->rpl_optarg = pcVar9" (field_expression "d->rpl_optarg" identifier -> field_identifier) = identifier) ;) (return_statement "return iVar4;" return identifier ;) })) (if_statement "if (longopts == (rpl_option *)0x0) {\n    return iVar4;\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    return iVar4;\n  }" { (return_statement "return iVar4;" return identifier ;) })) (if_statement "if (pcVar9[1] == '\0') {\n    if (d->rpl_optind == argc) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      if (*optstring == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = argv[d->rpl_optind];\n  }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (d->rpl_optind == argc) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      if (*optstring == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = argv[d->rpl_optind];\n  }" { (if_statement "if (d->rpl_optind == argc) {\n      if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      if (*optstring == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\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 (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }\n      if (*optstring == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" { (if_statement "if (iVar12 == 0) {\n        d->rpl_optopt = iVar4;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n        d->rpl_optopt = iVar4;\n      }" { (expression_statement "d->rpl_optopt = iVar4;" (assignment_expression "d->rpl_optopt = iVar4" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }" else (compound_statement "{\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);\n        d->rpl_optopt = iVar4;\n      }" { (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" * (cast_expression "(undefined4 *)PTR_stderr_000292ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" ( (pointer_expression "*(code *)PTR_dcgettext_00029290" * (cast_expression "(code *)PTR_dcgettext_00029290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002910c + -0x760c,5)" ( number_literal , (binary_expression "PTR_DAT_0002910c + -0x760c" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*argv,iVar4)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" * (cast_expression "(code *)PTR___fprintf_chk_000291f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,1,uVar6,*argv,iVar4)" ( identifier , number_literal , identifier , (pointer_expression "*argv" * identifier) , identifier ))) ;) (expression_statement "d->rpl_optopt = iVar4;" (assignment_expression "d->rpl_optopt = iVar4" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) }))) (if_statement "if (*optstring == ':') {\n        return 0x3a;\n      }" if (parenthesized_expression "(*optstring == ':')" ( (binary_expression "*optstring == ':'" (pointer_expression "*optstring" * identifier) == (char_literal "':'" ' character ')) )) (compound_statement "{\n        return 0x3a;\n      }" { (return_statement "return 0x3a;" return number_literal ;) })) (return_statement "return 0x3f;" return number_literal ;) })) (expression_statement "pcVar8 = argv[d->rpl_optind];" (assignment_expression "pcVar8 = argv[d->rpl_optind]" identifier = (subscript_expression "argv[d->rpl_optind]" identifier [ (field_expression "d->rpl_optind" identifier -> field_identifier) ])) ;) })) (expression_statement "d->__nextchar = pcVar8;" (assignment_expression "d->__nextchar = pcVar8" (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 "pcVar5 = puVar3 + -0x75e0;" (assignment_expression "pcVar5 = puVar3 + -0x75e0" identifier = (binary_expression "puVar3 + -0x75e0" identifier + number_literal)) ;) (expression_statement "long_only = 0;" (assignment_expression "long_only = 0" identifier = number_literal) ;) (labeled_statement "LAB_00016798:\n  iVar12 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,pcVar5);" statement_identifier : (expression_statement "iVar12 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,pcVar5);" (assignment_expression "iVar12 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,pcVar5)" identifier = (call_expression "process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar12,pcVar5)" identifier (argument_list "(argc,argv,optstring,longopts,longind,long_only,d,iVar12,pcVar5)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier )))) ;)) (return_statement "return iVar12;" return identifier ;) })))
(translation_unit "int _getopt_internal_r(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  iVar3 = *param_7;\n  param_7[3] = 0;\n  if (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar5 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  param_7[5] = (int)pcVar8;\n  iVar3 = (int)*pcVar9;\n  pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);\n  if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }\n  puVar5 = PTR_DAT_0002910c;\n  if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }\n  if (param_4 == 0) {\n    return iVar3;\n  }\n  if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }\n  param_7[5] = (int)pcVar8;\n  param_7[3] = 0;\n  puVar5 = puVar5 + -0x75e0;\n  param_6 = 0;\nLAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);\n  return iVar12;\n}\n\n" (function_definition "int _getopt_internal_r(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  iVar3 = *param_7;\n  param_7[3] = 0;\n  if (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar5 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  param_7[5] = (int)pcVar8;\n  iVar3 = (int)*pcVar9;\n  pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);\n  if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }\n  puVar5 = PTR_DAT_0002910c;\n  if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }\n  if (param_4 == 0) {\n    return iVar3;\n  }\n  if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }\n  param_7[5] = (int)pcVar8;\n  param_7[3] = 0;\n  puVar5 = puVar5 + -0x75e0;\n  param_6 = 0;\nLAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);\n  return iVar12;\n}" primitive_type (function_declarator "_getopt_internal_r(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)" identifier (parameter_list "(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)" ( (parameter_declaration "int param_1" primitive_type 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 "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "int param_8" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  iVar3 = *param_7;\n  param_7[3] = 0;\n  if (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar5 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  param_7[5] = (int)pcVar8;\n  iVar3 = (int)*pcVar9;\n  pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);\n  if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }\n  puVar5 = PTR_DAT_0002910c;\n  if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }\n  if (param_4 == 0) {\n    return iVar3;\n  }\n  if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }\n  param_7[5] = (int)pcVar8;\n  param_7[3] = 0;\n  puVar5 = puVar5 + -0x75e0;\n  param_6 = 0;\nLAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);\n  return iVar12;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (expression_statement "iVar12 = param_7[1];" (assignment_expression "iVar12 = param_7[1]" identifier = (subscript_expression "param_7[1]" identifier [ number_literal ])) ;) (if_statement "if (param_1 < 1) {\n    return -1;\n  }" if (parenthesized_expression "(param_1 < 1)" ( (binary_expression "param_1 < 1" identifier < number_literal) )) (compound_statement "{\n    return -1;\n  }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *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 (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "*param_7 = 1;" (assignment_expression "*param_7 = 1" (pointer_expression "*param_7" * identifier) = number_literal) ;) (labeled_statement "LAB_00016470:\n    param_7[8] = iVar3;" statement_identifier : (expression_statement "param_7[8] = iVar3;" (assignment_expression "param_7[8] = iVar3" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "param_7[7] = iVar3;" (assignment_expression "param_7[7] = iVar3" (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      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\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_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }" { (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (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      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }" else (if_statement "if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\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      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\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 "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }" else (compound_statement "{\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }" { (if_statement "if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }" if (parenthesized_expression "(param_8 == 0)" ( (binary_expression "param_8 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }" { (expression_statement "iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);" (assignment_expression "iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640)" identifier = (call_expression "(*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640)" (parenthesized_expression "(*(code *)PTR_getenv_00029260)" ( (pointer_expression "*(code *)PTR_getenv_00029260" * (cast_expression "(code *)PTR_getenv_00029260" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002910c + -0x7640)" ( (binary_expression "PTR_DAT_0002910c + -0x7640" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = (char *)param_7[5];" (assignment_expression "pcVar9 = (char *)param_7[5]" identifier = (cast_expression "(char *)param_7[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) ;) (if_statement "if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }" { (expression_statement "param_7[6] = 1;" (assignment_expression "param_7[6] = 1" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_000164bc;" goto statement_identifier ;) })) }) (else_clause "else {\n        pcVar9 = (char *)0x0;\n      }" else (compound_statement "{\n        pcVar9 = (char *)0x0;\n      }" { (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) 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_000164bc:\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 "cVar1 = *param_3;" (assignment_expression "cVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (labeled_statement "LAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }" statement_identifier : (if_statement "if (cVar1 == ':') {\n      iVar12 = 0;\n    }" if (parenthesized_expression "(cVar1 == ':')" ( (binary_expression "cVar1 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n      iVar12 = 0;\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) }))) (if_statement "if (pcVar9 == (char *)0x0) goto LAB_000163c0;" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000163c0;" goto statement_identifier ;)) (labeled_statement "LAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;" statement_identifier : (if_statement "if (*pcVar9 == '\0') goto LAB_000163c0;" if (parenthesized_expression "(*pcVar9 == '\0')" ( (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000163c0;" goto statement_identifier ;))) }) (else_clause "else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" else (compound_statement "{\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" { (if_statement "if (param_7[4] == 0) goto LAB_00016470;" 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_00016470;" goto statement_identifier ;)) (expression_statement "cVar1 = *param_3;" (assignment_expression "cVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "pcVar9 = (char *)param_7[5];" (assignment_expression "pcVar9 = (char *)param_7[5]" identifier = (cast_expression "(char *)param_7[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) ;) (if_statement "if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;" if (parenthesized_expression "((cVar1 != '-') && (cVar1 != '+'))" ( (binary_expression "(cVar1 != '-') && (cVar1 != '+')" (parenthesized_expression "(cVar1 != '-')" ( (binary_expression "cVar1 != '-'" identifier != (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(cVar1 != '+')" ( (binary_expression "cVar1 != '+'" identifier != (char_literal "'+'" ' character ')) ))) )) (goto_statement "goto LAB_000164c8;" goto statement_identifier ;)) (expression_statement "pcVar4 = param_3 + 1;" (assignment_expression "pcVar4 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (if_statement "if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }" if (parenthesized_expression "(*pcVar4 == ':')" ( (binary_expression "*pcVar4 == ':'" (pointer_expression "*pcVar4" * identifier) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      iVar12 = 0;\n    }" { (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) })) (if_statement "if (pcVar9 != (char *)0x0) goto LAB_000164d0;" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000164d0;" goto statement_identifier ;)) (labeled_statement "LAB_000163c0:\n    iVar3 = *param_7;" statement_identifier : (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;)) (if_statement "if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }" if (parenthesized_expression "(iVar3 < param_7[8])" ( (binary_expression "iVar3 < param_7[8]" identifier < (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n      param_7[8] = iVar3;\n    }" { (expression_statement "param_7[8] = iVar3;" (assignment_expression "param_7[8] = iVar3" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }" if (parenthesized_expression "(iVar3 < param_7[7])" ( (binary_expression "iVar3 < param_7[7]" identifier < (subscript_expression "param_7[7]" identifier [ number_literal ])) )) (compound_statement "{\n      param_7[7] = iVar3;\n    }" { (expression_statement "param_7[7] = iVar3;" (assignment_expression "param_7[7] = iVar3" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "iVar10 = iVar3;" (assignment_expression "iVar10 = iVar3" identifier = identifier) ;) (if_statement "if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\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      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }" { (expression_statement "iVar10 = param_7[8];" (assignment_expression "iVar10 = param_7[8]" identifier = (subscript_expression "param_7[8]" identifier [ number_literal ])) ;) (if_statement "if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }" if (parenthesized_expression "(param_7[7] == iVar10)" ( (binary_expression "param_7[7] == iVar10" (subscript_expression "param_7[7]" identifier [ number_literal ]) == identifier) )) (compound_statement "{\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }" { (expression_statement "bVar2 = iVar10 < param_1;" (assignment_expression "bVar2 = iVar10 < param_1" identifier = (binary_expression "iVar10 < param_1" identifier < identifier)) ;) (if_statement "if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }" if (parenthesized_expression "(iVar3 != iVar10)" ( (binary_expression "iVar3 != iVar10" identifier != identifier) )) (compound_statement "{\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }" { (expression_statement "param_7[7] = iVar3;" (assignment_expression "param_7[7] = iVar3" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0001662c;" goto statement_identifier ;) })) }) (else_clause "else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }" else (compound_statement "{\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }" { (expression_statement "bVar2 = iVar10 < param_1;" (assignment_expression "bVar2 = iVar10 < param_1" identifier = (binary_expression "iVar10 < param_1" identifier < identifier)) ;) (if_statement "if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }" if (parenthesized_expression "(iVar3 != iVar10)" ( (binary_expression "iVar3 != iVar10" identifier != identifier) )) (compound_statement "{\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }" { (expression_statement "FUN_00015b30(param_2,param_7);" (call_expression "FUN_00015b30(param_2,param_7)" identifier (argument_list "(param_2,param_7)" ( identifier , identifier ))) ;) (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (labeled_statement "LAB_0001662c:\n          bVar2 = iVar3 < param_1;" statement_identifier : (expression_statement "bVar2 = iVar3 < param_1;" (assignment_expression "bVar2 = iVar3 < param_1" identifier = (binary_expression "iVar3 < param_1" identifier < identifier)) ;)) (expression_statement "iVar10 = iVar3;" (assignment_expression "iVar10 = iVar3" identifier = identifier) ;) })) }))) (if_statement "if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }" { (expression_statement "puVar7 = param_2 + iVar10;" (assignment_expression "puVar7 = param_2 + iVar10" identifier = (binary_expression "param_2 + iVar10" identifier + identifier)) ;) (do_statement "do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);" do (compound_statement "{\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        }" { (expression_statement "pcVar9 = (char *)*puVar7;" (assignment_expression "pcVar9 = (char *)*puVar7" identifier = (cast_expression "(char *)*puVar7" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar7" * identifier))) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }" if (parenthesized_expression "((*pcVar9 == '-') && (pcVar9[1] != '\0'))" ( (binary_expression "(*pcVar9 == '-') && (pcVar9[1] != '\0')" (parenthesized_expression "(*pcVar9 == '-')" ( (binary_expression "*pcVar9 == '-'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(pcVar9[1] != '\0')" ( (binary_expression "pcVar9[1] != '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }" { (expression_statement "param_7[8] = iVar10;" (assignment_expression "param_7[8] = iVar10" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar10 = *param_7;" (assignment_expression "iVar10 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (goto_statement "goto LAB_000163fc;" goto statement_identifier ;) })) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = iVar10;" (assignment_expression "*param_7 = iVar10" (pointer_expression "*param_7" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar10 != param_1)" ( (binary_expression "iVar10 != param_1" identifier != identifier) )) ;) })) (expression_statement "param_7[8] = iVar10;" (assignment_expression "param_7[8] = iVar10" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (labeled_statement "LAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;" statement_identifier : (expression_statement "puVar5 = PTR_DAT_0002910c;" (assignment_expression "puVar5 = PTR_DAT_0002910c" identifier = identifier) ;)) (if_statement "if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }" if (parenthesized_expression "(param_1 == iVar10)" ( (binary_expression "param_1 == iVar10" identifier == identifier) )) (compound_statement "{\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }" { (expression_statement "param_1 = param_7[8];" (assignment_expression "param_1 = param_7[8]" identifier = (subscript_expression "param_7[8]" identifier [ number_literal ])) ;) (expression_statement "iVar10 = param_7[7];" (assignment_expression "iVar10 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) (labeled_statement "LAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }" statement_identifier : (if_statement "if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }" if (parenthesized_expression "(param_1 != iVar10)" ( (binary_expression "param_1 != iVar10" identifier != identifier) )) (compound_statement "{\n        *param_7 = iVar10;\n      }" { (expression_statement "*param_7 = iVar10;" (assignment_expression "*param_7 = iVar10" (pointer_expression "*param_7" * identifier) = identifier) ;) }))) (return_statement "return -1;" return number_literal ;) })) (expression_statement "pcVar9 = (char *)param_2[iVar10];" (assignment_expression "pcVar9 = (char *)param_2[iVar10]" identifier = (cast_expression "(char *)param_2[iVar10]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[iVar10]" identifier [ identifier ]))) ;) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630)" identifier = (call_expression "(*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630)" (parenthesized_expression "(*(code *)PTR_strcmp_000292bc)" ( (pointer_expression "*(code *)PTR_strcmp_000292bc" * (cast_expression "(code *)PTR_strcmp_000292bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar9,PTR_DAT_0002910c + -0x7630)" ( identifier , (binary_expression "PTR_DAT_0002910c + -0x7630" identifier + number_literal) )))) ;) (if_statement "if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }" { (expression_statement "iVar12 = param_7[7];" (assignment_expression "iVar12 = param_7[7]" identifier = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = iVar10;" (assignment_expression "*param_7 = iVar10" (pointer_expression "*param_7" * identifier) = identifier) ;) (if_statement "if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }" if (parenthesized_expression "(iVar12 == param_7[8])" ( (binary_expression "iVar12 == param_7[8]" identifier == (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }" { (expression_statement "param_7[7] = iVar10;" (assignment_expression "param_7[7] = iVar10" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (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) ;) }) (else_clause "else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }" else (compound_statement "{\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }" { (if_statement "if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }" if (parenthesized_expression "(iVar10 != param_7[8])" ( (binary_expression "iVar10 != param_7[8]" identifier != (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }" { (expression_statement "FUN_00015b30(param_2,param_7);" (call_expression "FUN_00015b30(param_2,param_7)" identifier (argument_list "(param_2,param_7)" ( identifier , identifier ))) ;) (expression_statement "iVar12 = param_7[7];" (assignment_expression "iVar12 = 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) ;) (expression_statement "iVar10 = iVar12;" (assignment_expression "iVar10 = iVar12" identifier = identifier) ;) }))) (goto_statement "goto LAB_000165e4;" goto statement_identifier ;) })) (if_statement "if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }" if (parenthesized_expression "((*pcVar9 != '-') || (pcVar9[1] == '\0'))" ( (binary_expression "(*pcVar9 != '-') || (pcVar9[1] == '\0')" (parenthesized_expression "(*pcVar9 != '-')" ( (binary_expression "*pcVar9 != '-'" (pointer_expression "*pcVar9" * identifier) != (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }" { (if_statement "if (param_7[6] == 0) {\n        return -1;\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 -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "param_7[3] = (int)pcVar9;" (assignment_expression "param_7[3] = (int)pcVar9" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_7 = iVar10 + 1;" (assignment_expression "*param_7 = iVar10 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }" { (if_statement "if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }" if (parenthesized_expression "(pcVar9[1] == '-')" ( (binary_expression "pcVar9[1] == '-'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }" { (expression_statement "puVar5 = puVar5 + -0x7630;" (assignment_expression "puVar5 = puVar5 + -0x7630" identifier = (binary_expression "puVar5 + -0x7630" identifier + number_literal)) ;) (expression_statement "param_7[5] = (int)(pcVar9 + 2);" (assignment_expression "param_7[5] = (int)(pcVar9 + 2)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)(pcVar9 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar9 + 2)" ( (binary_expression "pcVar9 + 2" identifier + number_literal) )))) ;) (goto_statement "goto LAB_00016798;" goto statement_identifier ;) })) (if_statement "if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }" if (parenthesized_expression "((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0))))" ( (binary_expression "(param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))" (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) )) && (parenthesized_expression "((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))" ( (parenthesized_expression "(pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0))" ( (binary_expression "pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)" (binary_expression "pcVar9[2] != '\0'" (subscript_expression "pcVar9[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "(iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0" (assignment_expression "iVar3 = (*(code *)PTR_strchr_00029244)(param_3)" identifier = (call_expression "(*(code *)PTR_strchr_00029244)(param_3)" (parenthesized_expression "(*(code *)PTR_strchr_00029244)" ( (pointer_expression "*(code *)PTR_strchr_00029244" * (cast_expression "(code *)PTR_strchr_00029244" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }" { (expression_statement "puVar5 = PTR_DAT_0002910c;" (assignment_expression "puVar5 = PTR_DAT_0002910c" identifier = identifier) ;) (expression_statement "param_7[5] = (int)(pcVar9 + 1);" (assignment_expression "param_7[5] = (int)(pcVar9 + 1)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)(pcVar9 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar9 + 1)" ( (binary_expression "pcVar9 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);" (assignment_expression "iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c)" identifier = (call_expression "FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "puVar5 + -0x762c" identifier + number_literal) )))) ;) (if_statement "if (iVar3 != -1) {\n          return iVar3;\n        }" if (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) (compound_statement "{\n          return iVar3;\n        }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "pcVar9 = (char *)param_2[*param_7];" (assignment_expression "pcVar9 = (char *)param_2[*param_7]" identifier = (cast_expression "(char *)param_2[*param_7]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[*param_7]" identifier [ (pointer_expression "*param_7" * identifier) ]))) ;) })) })) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) }))) (expression_statement "puVar5 = PTR_strchr_00029244;" (assignment_expression "puVar5 = PTR_strchr_00029244" identifier = identifier) ;) (expression_statement "pcVar8 = pcVar9 + 1;" (assignment_expression "pcVar8 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "param_7[5] = (int)pcVar8;" (assignment_expression "param_7[5] = (int)pcVar8" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar3 = (int)*pcVar9;" (assignment_expression "iVar3 = (int)*pcVar9" identifier = (cast_expression "(int)*pcVar9" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar9" * identifier))) ;) (expression_statement "pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);" (assignment_expression "pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3)" identifier = (cast_expression "(char *)(*(code *)puVar5)(param_3,iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar5)(param_3,iVar3)" (parenthesized_expression "(*(code *)puVar5)" ( (pointer_expression "*(code *)puVar5" * (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,iVar3)" ( identifier , identifier ))))) ;) (if_statement "if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (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 "puVar5 = PTR_DAT_0002910c;" (assignment_expression "puVar5 = PTR_DAT_0002910c" identifier = identifier) ;) (if_statement "if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }" if (parenthesized_expression "((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2))" ( (binary_expression "(pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)" (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)) )) || (parenthesized_expression "((iVar3 - 0x3aU & 0xff) < 2)" ( (binary_expression "(iVar3 - 0x3aU & 0xff) < 2" (parenthesized_expression "(iVar3 - 0x3aU & 0xff)" ( (binary_expression "iVar3 - 0x3aU & 0xff" (binary_expression "iVar3 - 0x3aU" identifier - number_literal) & number_literal) )) < number_literal) ))) )) (compound_statement "{\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }" { (if_statement "if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n      param_7[2] = iVar3;\n    }" { (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }" else (compound_statement "{\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }" { (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" * (cast_expression "(undefined4 *)PTR_stderr_000292ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" ( (pointer_expression "*(code *)PTR_dcgettext_00029290" * (cast_expression "(code *)PTR_dcgettext_00029290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002910c + -0x7628,5)" ( number_literal , (binary_expression "PTR_DAT_0002910c + -0x7628" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" * (cast_expression "(code *)PTR___fprintf_chk_000291f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,1,uVar6,*param_2,iVar3)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return 0x3f;" return number_literal ;) })) (if_statement "if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }" if (parenthesized_expression "((*pcVar4 != 'W') || (pcVar4[1] != ';'))" ( (binary_expression "(*pcVar4 != 'W') || (pcVar4[1] != ';')" (parenthesized_expression "(*pcVar4 != 'W')" ( (binary_expression "*pcVar4 != 'W'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'W'" ' character ')) )) || (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 iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }" { (if_statement "if (pcVar4[1] != ':') {\n      return iVar3;\n    }" if (parenthesized_expression "(pcVar4[1] != ':')" ( (binary_expression "pcVar4[1] != ':'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) != (char_literal "':'" ' character ')) )) (compound_statement "{\n      return iVar3;\n    }" { (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }" if (parenthesized_expression "(pcVar4[2] == ':')" ( (binary_expression "pcVar4[2] == ':'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }" { (if_statement "if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }" { (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = 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 iVar3;" return identifier ;) })) (expression_statement "param_7[3] = (int)pcVar8;" (assignment_expression "param_7[3] = (int)pcVar8" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (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)) ;) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar10 = *param_7;" (assignment_expression "iVar10 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }" if (parenthesized_expression "(pcVar9[1] != '\0')" ( (binary_expression "pcVar9[1] != '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }" { (expression_statement "param_7[3] = (int)pcVar8;" (assignment_expression "param_7[3] = (int)pcVar8" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_7 = iVar10 + 1;" (assignment_expression "*param_7 = iVar10 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" if (parenthesized_expression "(param_1 == iVar10)" ( (binary_expression "param_1 == iVar10" identifier == identifier) )) (compound_statement "{\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" { (if_statement "if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n        param_7[2] = iVar3;\n      }" { (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" else (compound_statement "{\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" { (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" * (cast_expression "(undefined4 *)PTR_stderr_000292ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" ( (pointer_expression "*(code *)PTR_dcgettext_00029290" * (cast_expression "(code *)PTR_dcgettext_00029290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002910c + -0x760c,5)" ( number_literal , (binary_expression "PTR_DAT_0002910c + -0x760c" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" * (cast_expression "(code *)PTR___fprintf_chk_000291f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,1,uVar6,*param_2,iVar3)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }))) (expression_statement "cVar1 = *param_3;" (assignment_expression "cVar1 = *param_3" identifier = (pointer_expression "*param_3" * 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 (cVar1 == ':') {\n        return 0x3a;\n      }" if (parenthesized_expression "(cVar1 == ':')" ( (binary_expression "cVar1 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n        return 0x3a;\n      }" { (return_statement "return 0x3a;" return number_literal ;) })) (return_statement "return 0x3f;" return number_literal ;) })) (expression_statement "*param_7 = iVar10 + 1;" (assignment_expression "*param_7 = iVar10 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = param_2[iVar10];" (assignment_expression "iVar12 = param_2[iVar10]" identifier = (subscript_expression "param_2[iVar10]" identifier [ identifier ])) ;) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_7[3] = iVar12;" (assignment_expression "param_7[3] = iVar12" (subscript_expression "param_7[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (param_4 == 0) {\n    return iVar3;\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }" if (parenthesized_expression "(pcVar9[1] == '\0')" ( (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }" { (if_statement "if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" if (parenthesized_expression "(*param_7 == param_1)" ( (binary_expression "*param_7 == param_1" (pointer_expression "*param_7" * identifier) == identifier) )) (compound_statement "{\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" { (if_statement "if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n        param_7[2] = iVar3;\n      }" { (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" else (compound_statement "{\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" { (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" * (cast_expression "(undefined4 *)PTR_stderr_000292ac" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" ( (pointer_expression "*(code *)PTR_dcgettext_00029290" * (cast_expression "(code *)PTR_dcgettext_00029290" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002910c + -0x760c,5)" ( number_literal , (binary_expression "PTR_DAT_0002910c + -0x760c" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" * (cast_expression "(code *)PTR___fprintf_chk_000291f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11,1,uVar6,*param_2,iVar3)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) }))) (if_statement "if (*param_3 == ':') {\n        return 0x3a;\n      }" if (parenthesized_expression "(*param_3 == ':')" ( (binary_expression "*param_3 == ':'" (pointer_expression "*param_3" * identifier) == (char_literal "':'" ' character ')) )) (compound_statement "{\n        return 0x3a;\n      }" { (return_statement "return 0x3a;" return number_literal ;) })) (return_statement "return 0x3f;" return number_literal ;) })) (expression_statement "pcVar8 = (char *)param_2[*param_7];" (assignment_expression "pcVar8 = (char *)param_2[*param_7]" identifier = (cast_expression "(char *)param_2[*param_7]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[*param_7]" identifier [ (pointer_expression "*param_7" * identifier) ]))) ;) })) (expression_statement "param_7[5] = (int)pcVar8;" (assignment_expression "param_7[5] = (int)pcVar8" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)pcVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5 = puVar5 + -0x75e0;" (assignment_expression "puVar5 = puVar5 + -0x75e0" identifier = (binary_expression "puVar5 + -0x75e0" identifier + number_literal)) ;) (expression_statement "param_6 = 0;" (assignment_expression "param_6 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);" statement_identifier : (expression_statement "iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);" (assignment_expression "iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5)" identifier = (call_expression "FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier )))) ;)) (return_statement "return iVar12;" 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression 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 IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;))) }) (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 = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (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 (subscript_expression IDENT [ LIT ]) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }))) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (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) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ IDENT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (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 ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (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 ]) != (char_literal ' escape_sequence ')) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (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 = IDENT) ;) (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 = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) })) (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 (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) < LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , (pointer_expression * 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 (pointer_expression * IDENT) != (char_literal ' character ')) )) || (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 ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return IDENT ;) })) (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (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 == (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (return_statement return 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) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT )))) ;)) (return_statement return IDENT ;) })))
(function_definition "int _getopt_internal_r(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  iVar3 = *param_7;\n  param_7[3] = 0;\n  if (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar5 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  param_7[5] = (int)pcVar8;\n  iVar3 = (int)*pcVar9;\n  pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);\n  if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }\n  puVar5 = PTR_DAT_0002910c;\n  if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }\n  if (param_4 == 0) {\n    return iVar3;\n  }\n  if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }\n  param_7[5] = (int)pcVar8;\n  param_7[3] = 0;\n  puVar5 = puVar5 + -0x75e0;\n  param_6 = 0;\nLAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);\n  return iVar12;\n}" (primitive_type "int") (function_declarator "_getopt_internal_r(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)" (identifier "_getopt_internal_r") (parameter_list "(int param_1,undefined4 *param_2,char *param_3,int param_4,undefined4 param_5,\n                      int param_6,int *param_7,int param_8)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (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 "int *param_7" (primitive_type "int") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) (, ",") (parameter_declaration "int param_8" (primitive_type "int") (identifier "param_8")) () ")"))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int iVar10;\n  undefined4 uVar11;\n  int iVar12;\n  \n  iVar12 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  iVar3 = *param_7;\n  param_7[3] = 0;\n  if (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }\n  puVar5 = PTR_strchr_00029244;\n  pcVar8 = pcVar9 + 1;\n  param_7[5] = (int)pcVar8;\n  iVar3 = (int)*pcVar9;\n  pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);\n  if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }\n  puVar5 = PTR_DAT_0002910c;\n  if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }\n  if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }\n  if (param_4 == 0) {\n    return iVar3;\n  }\n  if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }\n  param_7[5] = (int)pcVar8;\n  param_7[3] = 0;\n  puVar5 = puVar5 + -0x75e0;\n  param_6 = 0;\nLAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);\n  return iVar12;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "undefined4 uVar11;" (type_identifier "undefined4") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (expression_statement "iVar12 = param_7[1];" (assignment_expression "iVar12 = param_7[1]" (identifier "iVar12") (= "=") (subscript_expression "param_7[1]" (identifier "param_7") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (param_1 < 1) {\n    return -1;\n  }" (if "if") (parenthesized_expression "(param_1 < 1)" (( "(") (binary_expression "param_1 < 1" (identifier "param_1") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    return -1;\n  }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *param_7" (identifier "iVar3") (= "=") (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 (iVar3 == 0) {\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = 1;\n    *param_7 = 1;\nLAB_00016470:\n    param_7[8] = iVar3;\n    param_7[7] = iVar3;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }\nLAB_000164bc:\n    param_7[4] = 1;\n    cVar1 = *param_3;\nLAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 == (char *)0x0) goto LAB_000163c0;\nLAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;\n  }" ({ "{") (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "*param_7 = 1;" (assignment_expression "*param_7 = 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_00016470:\n    param_7[8] = iVar3;" (statement_identifier "LAB_00016470") (: ":") (expression_statement "param_7[8] = iVar3;" (assignment_expression "param_7[8] = iVar3" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "iVar3")) (; ";"))) (expression_statement "param_7[7] = iVar3;" (assignment_expression "param_7[7] = iVar3" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (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      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\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_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n      param_7[6] = 2;\n    }" ({ "{") (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" (identifier "param_3") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" (identifier "pcVar9") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (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      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }" (else "else") (if_statement "if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\n    }\n    else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\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      param_3 = param_3 + 1;\n      pcVar9 = (char *)0x0;\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 "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" (identifier "param_3") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" (identifier "pcVar9") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }" (else "else") (compound_statement "{\n      if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }\n      param_7[6] = 0;\n    }" ({ "{") (if_statement "if (param_8 == 0) {\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }\n      else {\n        pcVar9 = (char *)0x0;\n      }" (if "if") (parenthesized_expression "(param_8 == 0)" (( "(") (binary_expression "param_8 == 0" (identifier "param_8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);\n        pcVar9 = (char *)param_7[5];\n        if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }\n      }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);" (assignment_expression "iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640)" (parenthesized_expression "(*(code *)PTR_getenv_00029260)" (( "(") (pointer_expression "*(code *)PTR_getenv_00029260" (* "*") (cast_expression "(code *)PTR_getenv_00029260" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getenv_00029260"))) () ")")) (argument_list "(PTR_DAT_0002910c + -0x7640)" (( "(") (binary_expression "PTR_DAT_0002910c + -0x7640" (identifier "PTR_DAT_0002910c") (+ "+") (number_literal "-0x7640")) () ")")))) (; ";")) (expression_statement "pcVar9 = (char *)param_7[5];" (assignment_expression "pcVar9 = (char *)param_7[5]" (identifier "pcVar9") (= "=") (cast_expression "(char *)param_7[5]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")))) (; ";")) (if_statement "if (iVar3 == 0) {\n          param_7[6] = 1;\n          goto LAB_000164bc;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          param_7[6] = 1;\n          goto LAB_000164bc;\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")) (; ";")) (goto_statement "goto LAB_000164bc;" (goto "goto") (statement_identifier "LAB_000164bc") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        pcVar9 = (char *)0x0;\n      }" (else "else") (compound_statement "{\n        pcVar9 = (char *)0x0;\n      }" ({ "{") (expression_statement "pcVar9 = (char *)0x0;" (assignment_expression "pcVar9 = (char *)0x0" (identifier "pcVar9") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (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_000164bc:\n    param_7[4] = 1;" (statement_identifier "LAB_000164bc") (: ":") (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 "cVar1 = *param_3;" (assignment_expression "cVar1 = *param_3" (identifier "cVar1") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (labeled_statement "LAB_000164c8:\n    if (cVar1 == ':') {\n      iVar12 = 0;\n    }" (statement_identifier "LAB_000164c8") (: ":") (if_statement "if (cVar1 == ':') {\n      iVar12 = 0;\n    }" (if "if") (parenthesized_expression "(cVar1 == ':')" (( "(") (binary_expression "cVar1 == ':'" (identifier "cVar1") (== "==") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n      iVar12 = 0;\n    }" ({ "{") (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (} "}")))) (if_statement "if (pcVar9 == (char *)0x0) goto LAB_000163c0;" (if "if") (parenthesized_expression "(pcVar9 == (char *)0x0)" (( "(") (binary_expression "pcVar9 == (char *)0x0" (identifier "pcVar9") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000163c0;" (goto "goto") (statement_identifier "LAB_000163c0") (; ";"))) (labeled_statement "LAB_000164d0:\n    if (*pcVar9 == '\0') goto LAB_000163c0;" (statement_identifier "LAB_000164d0") (: ":") (if_statement "if (*pcVar9 == '\0') goto LAB_000163c0;" (if "if") (parenthesized_expression "(*pcVar9 == '\0')" (( "(") (binary_expression "*pcVar9 == '\0'" (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_000163c0;" (goto "goto") (statement_identifier "LAB_000163c0") (; ";")))) (} "}")) (else_clause "else {\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" (else "else") (compound_statement "{\n    if (param_7[4] == 0) goto LAB_00016470;\n    cVar1 = *param_3;\n    pcVar9 = (char *)param_7[5];\n    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;\n    pcVar4 = param_3 + 1;\n    param_3 = param_3 + 1;\n    if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }\n    if (pcVar9 != (char *)0x0) goto LAB_000164d0;\nLAB_000163c0:\n    iVar3 = *param_7;\n    if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }\n    if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }\n    iVar10 = iVar3;\n    if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }\nLAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;\n    if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }\n    pcVar9 = (char *)param_2[iVar10];\n    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);\n    if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }\n    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }\n    if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }\n    pcVar9 = pcVar9 + 1;\n  }" ({ "{") (if_statement "if (param_7[4] == 0) goto LAB_00016470;" (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_00016470;" (goto "goto") (statement_identifier "LAB_00016470") (; ";"))) (expression_statement "cVar1 = *param_3;" (assignment_expression "cVar1 = *param_3" (identifier "cVar1") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "pcVar9 = (char *)param_7[5];" (assignment_expression "pcVar9 = (char *)param_7[5]" (identifier "pcVar9") (= "=") (cast_expression "(char *)param_7[5]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")))) (; ";")) (if_statement "if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;" (if "if") (parenthesized_expression "((cVar1 != '-') && (cVar1 != '+'))" (( "(") (binary_expression "(cVar1 != '-') && (cVar1 != '+')" (parenthesized_expression "(cVar1 != '-')" (( "(") (binary_expression "cVar1 != '-'" (identifier "cVar1") (!= "!=") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(cVar1 != '+')" (( "(") (binary_expression "cVar1 != '+'" (identifier "cVar1") (!= "!=") (char_literal "'+'" (' "'") (character "+") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_000164c8;" (goto "goto") (statement_identifier "LAB_000164c8") (; ";"))) (expression_statement "pcVar4 = param_3 + 1;" (assignment_expression "pcVar4 = param_3 + 1" (identifier "pcVar4") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" (identifier "param_3") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*pcVar4 == ':') {\n      iVar12 = 0;\n    }" (if "if") (parenthesized_expression "(*pcVar4 == ':')" (( "(") (binary_expression "*pcVar4 == ':'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (== "==") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n      iVar12 = 0;\n    }" ({ "{") (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (pcVar9 != (char *)0x0) goto LAB_000164d0;" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000164d0;" (goto "goto") (statement_identifier "LAB_000164d0") (; ";"))) (labeled_statement "LAB_000163c0:\n    iVar3 = *param_7;" (statement_identifier "LAB_000163c0") (: ":") (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *param_7" (identifier "iVar3") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";"))) (if_statement "if (iVar3 < param_7[8]) {\n      param_7[8] = iVar3;\n    }" (if "if") (parenthesized_expression "(iVar3 < param_7[8])" (( "(") (binary_expression "iVar3 < param_7[8]" (identifier "iVar3") (< "<") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) () ")")) (compound_statement "{\n      param_7[8] = iVar3;\n    }" ({ "{") (expression_statement "param_7[8] = iVar3;" (assignment_expression "param_7[8] = iVar3" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (} "}"))) (if_statement "if (iVar3 < param_7[7]) {\n      param_7[7] = iVar3;\n    }" (if "if") (parenthesized_expression "(iVar3 < param_7[7])" (( "(") (binary_expression "iVar3 < param_7[7]" (identifier "iVar3") (< "<") (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]"))) () ")")) (compound_statement "{\n      param_7[7] = iVar3;\n    }" ({ "{") (expression_statement "param_7[7] = iVar3;" (assignment_expression "param_7[7] = iVar3" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (} "}"))) (expression_statement "iVar10 = iVar3;" (assignment_expression "iVar10 = iVar3" (identifier "iVar10") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (param_7[6] == 1) {\n      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\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      iVar10 = param_7[8];\n      if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }\n      if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }\n      param_7[8] = iVar10;\n    }" ({ "{") (expression_statement "iVar10 = param_7[8];" (assignment_expression "iVar10 = param_7[8]" (identifier "iVar10") (= "=") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) (; ";")) (if_statement "if (param_7[7] == iVar10) {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }\n      else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }" (if "if") (parenthesized_expression "(param_7[7] == iVar10)" (( "(") (binary_expression "param_7[7] == iVar10" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (== "==") (identifier "iVar10")) () ")")) (compound_statement "{\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }\n      }" ({ "{") (expression_statement "bVar2 = iVar10 < param_1;" (assignment_expression "bVar2 = iVar10 < param_1" (identifier "bVar2") (= "=") (binary_expression "iVar10 < param_1" (identifier "iVar10") (< "<") (identifier "param_1"))) (; ";")) (if_statement "if (iVar3 != iVar10) {\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }" (if "if") (parenthesized_expression "(iVar3 != iVar10)" (( "(") (binary_expression "iVar3 != iVar10" (identifier "iVar3") (!= "!=") (identifier "iVar10")) () ")")) (compound_statement "{\n          param_7[7] = iVar3;\n          goto LAB_0001662c;\n        }" ({ "{") (expression_statement "param_7[7] = iVar3;" (assignment_expression "param_7[7] = iVar3" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (goto_statement "goto LAB_0001662c;" (goto "goto") (statement_identifier "LAB_0001662c") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }" (else "else") (compound_statement "{\n        bVar2 = iVar10 < param_1;\n        if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }\n      }" ({ "{") (expression_statement "bVar2 = iVar10 < param_1;" (assignment_expression "bVar2 = iVar10 < param_1" (identifier "bVar2") (= "=") (binary_expression "iVar10 < param_1" (identifier "iVar10") (< "<") (identifier "param_1"))) (; ";")) (if_statement "if (iVar3 != iVar10) {\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }" (if "if") (parenthesized_expression "(iVar3 != iVar10)" (( "(") (binary_expression "iVar3 != iVar10" (identifier "iVar3") (!= "!=") (identifier "iVar10")) () ")")) (compound_statement "{\n          FUN_00015b30(param_2,param_7);\n          iVar3 = *param_7;\nLAB_0001662c:\n          bVar2 = iVar3 < param_1;\n          iVar10 = iVar3;\n        }" ({ "{") (expression_statement "FUN_00015b30(param_2,param_7);" (call_expression "FUN_00015b30(param_2,param_7)" (identifier "FUN_00015b30") (argument_list "(param_2,param_7)" (( "(") (identifier "param_2") (, ",") (identifier "param_7") () ")"))) (; ";")) (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *param_7" (identifier "iVar3") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (labeled_statement "LAB_0001662c:\n          bVar2 = iVar3 < param_1;" (statement_identifier "LAB_0001662c") (: ":") (expression_statement "bVar2 = iVar3 < param_1;" (assignment_expression "bVar2 = iVar3 < param_1" (identifier "bVar2") (= "=") (binary_expression "iVar3 < param_1" (identifier "iVar3") (< "<") (identifier "param_1"))) (; ";"))) (expression_statement "iVar10 = iVar3;" (assignment_expression "iVar10 = iVar3" (identifier "iVar10") (= "=") (identifier "iVar3")) (; ";")) (} "}"))) (} "}")))) (if_statement "if (bVar2) {\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }" (if "if") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")")) (compound_statement "{\n        puVar7 = param_2 + iVar10;\n        do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);\n      }" ({ "{") (expression_statement "puVar7 = param_2 + iVar10;" (assignment_expression "puVar7 = param_2 + iVar10" (identifier "puVar7") (= "=") (binary_expression "param_2 + iVar10" (identifier "param_2") (+ "+") (identifier "iVar10"))) (; ";")) (do_statement "do {\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        } while (iVar10 != param_1);" (do "do") (compound_statement "{\n          pcVar9 = (char *)*puVar7;\n          puVar7 = puVar7 + 1;\n          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }\n          iVar10 = iVar10 + 1;\n          *param_7 = iVar10;\n        }" ({ "{") (expression_statement "pcVar9 = (char *)*puVar7;" (assignment_expression "pcVar9 = (char *)*puVar7" (identifier "pcVar9") (= "=") (cast_expression "(char *)*puVar7" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar7" (* "*") (identifier "puVar7")))) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }" (if "if") (parenthesized_expression "((*pcVar9 == '-') && (pcVar9[1] != '\0'))" (( "(") (binary_expression "(*pcVar9 == '-') && (pcVar9[1] != '\0')" (parenthesized_expression "(*pcVar9 == '-')" (( "(") (binary_expression "*pcVar9 == '-'" (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar9[1] != '\0')" (( "(") (binary_expression "pcVar9[1] != '\0'" (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n            param_7[8] = iVar10;\n            iVar10 = *param_7;\n            goto LAB_000163fc;\n          }" ({ "{") (expression_statement "param_7[8] = iVar10;" (assignment_expression "param_7[8] = iVar10" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "iVar10 = *param_7;" (assignment_expression "iVar10 = *param_7" (identifier "iVar10") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (goto_statement "goto LAB_000163fc;" (goto "goto") (statement_identifier "LAB_000163fc") (; ";")) (} "}"))) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_7 = iVar10;" (assignment_expression "*param_7 = iVar10" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "iVar10")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 != param_1)" (( "(") (binary_expression "iVar10 != param_1" (identifier "iVar10") (!= "!=") (identifier "param_1")) () ")")) (; ";")) (} "}"))) (expression_statement "param_7[8] = iVar10;" (assignment_expression "param_7[8] = iVar10" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (} "}"))) (labeled_statement "LAB_000163fc:\n    puVar5 = PTR_DAT_0002910c;" (statement_identifier "LAB_000163fc") (: ":") (expression_statement "puVar5 = PTR_DAT_0002910c;" (assignment_expression "puVar5 = PTR_DAT_0002910c" (identifier "puVar5") (= "=") (identifier "PTR_DAT_0002910c")) (; ";"))) (if_statement "if (param_1 == iVar10) {\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }" (if "if") (parenthesized_expression "(param_1 == iVar10)" (( "(") (binary_expression "param_1 == iVar10" (identifier "param_1") (== "==") (identifier "iVar10")) () ")")) (compound_statement "{\n      param_1 = param_7[8];\n      iVar10 = param_7[7];\nLAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }\n      return -1;\n    }" ({ "{") (expression_statement "param_1 = param_7[8];" (assignment_expression "param_1 = param_7[8]" (identifier "param_1") (= "=") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "iVar10 = param_7[7];" (assignment_expression "iVar10 = param_7[7]" (identifier "iVar10") (= "=") (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]"))) (; ";")) (labeled_statement "LAB_000165e4:\n      if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }" (statement_identifier "LAB_000165e4") (: ":") (if_statement "if (param_1 != iVar10) {\n        *param_7 = iVar10;\n      }" (if "if") (parenthesized_expression "(param_1 != iVar10)" (( "(") (binary_expression "param_1 != iVar10" (identifier "param_1") (!= "!=") (identifier "iVar10")) () ")")) (compound_statement "{\n        *param_7 = iVar10;\n      }" ({ "{") (expression_statement "*param_7 = iVar10;" (assignment_expression "*param_7 = iVar10" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "iVar10")) (; ";")) (} "}")))) (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "pcVar9 = (char *)param_2[iVar10];" (assignment_expression "pcVar9 = (char *)param_2[iVar10]" (identifier "pcVar9") (= "=") (cast_expression "(char *)param_2[iVar10]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[iVar10]" (identifier "param_2") ([ "[") (identifier "iVar10") (] "]")))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630)" (parenthesized_expression "(*(code *)PTR_strcmp_000292bc)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000292bc" (* "*") (cast_expression "(code *)PTR_strcmp_000292bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000292bc"))) () ")")) (argument_list "(pcVar9,PTR_DAT_0002910c + -0x7630)" (( "(") (identifier "pcVar9") (, ",") (binary_expression "PTR_DAT_0002910c + -0x7630" (identifier "PTR_DAT_0002910c") (+ "+") (number_literal "-0x7630")) () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar12 = param_7[7];\n      iVar10 = iVar10 + 1;\n      *param_7 = iVar10;\n      if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }\n      goto LAB_000165e4;\n    }" ({ "{") (expression_statement "iVar12 = param_7[7];" (assignment_expression "iVar12 = param_7[7]" (identifier "iVar12") (= "=") (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_7 = iVar10;" (assignment_expression "*param_7 = iVar10" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "iVar10")) (; ";")) (if_statement "if (iVar12 == param_7[8]) {\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }\n      else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }" (if "if") (parenthesized_expression "(iVar12 == param_7[8])" (( "(") (binary_expression "iVar12 == param_7[8]" (identifier "iVar12") (== "==") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) () ")")) (compound_statement "{\n        param_7[7] = iVar10;\n        param_7[8] = param_1;\n        *param_7 = param_1;\n      }" ({ "{") (expression_statement "param_7[7] = iVar10;" (assignment_expression "param_7[7] = iVar10" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (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")) (; ";")) (} "}")) (else_clause "else {\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }" (else "else") (compound_statement "{\n        if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }\n        param_7[8] = param_1;\n        *param_7 = param_1;\n        iVar10 = iVar12;\n      }" ({ "{") (if_statement "if (iVar10 != param_7[8]) {\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }" (if "if") (parenthesized_expression "(iVar10 != param_7[8])" (( "(") (binary_expression "iVar10 != param_7[8]" (identifier "iVar10") (!= "!=") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) () ")")) (compound_statement "{\n          FUN_00015b30(param_2,param_7);\n          iVar12 = param_7[7];\n        }" ({ "{") (expression_statement "FUN_00015b30(param_2,param_7);" (call_expression "FUN_00015b30(param_2,param_7)" (identifier "FUN_00015b30") (argument_list "(param_2,param_7)" (( "(") (identifier "param_2") (, ",") (identifier "param_7") () ")"))) (; ";")) (expression_statement "iVar12 = param_7[7];" (assignment_expression "iVar12 = param_7[7]" (identifier "iVar12") (= "=") (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")) (; ";")) (expression_statement "iVar10 = iVar12;" (assignment_expression "iVar10 = iVar12" (identifier "iVar10") (= "=") (identifier "iVar12")) (; ";")) (} "}")))) (goto_statement "goto LAB_000165e4;" (goto "goto") (statement_identifier "LAB_000165e4") (; ";")) (} "}"))) (if_statement "if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }" (if "if") (parenthesized_expression "((*pcVar9 != '-') || (pcVar9[1] == '\0'))" (( "(") (binary_expression "(*pcVar9 != '-') || (pcVar9[1] == '\0')" (parenthesized_expression "(*pcVar9 != '-')" (( "(") (binary_expression "*pcVar9 != '-'" (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) (!= "!=") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(pcVar9[1] == '\0')" (( "(") (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      param_7[3] = (int)pcVar9;\n      *param_7 = iVar10 + 1;\n      return 1;\n    }" ({ "{") (if_statement "if (param_7[6] == 0) {\n        return -1;\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 -1;\n      }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "param_7[3] = (int)pcVar9;" (assignment_expression "param_7[3] = (int)pcVar9" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)pcVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar9"))) (; ";")) (expression_statement "*param_7 = iVar10 + 1;" (assignment_expression "*param_7 = iVar10 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (param_4 != 0) {\n      if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)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 (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }\n      if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }\n    }" ({ "{") (if_statement "if (pcVar9[1] == '-') {\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }" (if "if") (parenthesized_expression "(pcVar9[1] == '-')" (( "(") (binary_expression "pcVar9[1] == '-'" (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (compound_statement "{\n        puVar5 = puVar5 + -0x7630;\n        param_7[5] = (int)(pcVar9 + 2);\n        goto LAB_00016798;\n      }" ({ "{") (expression_statement "puVar5 = puVar5 + -0x7630;" (assignment_expression "puVar5 = puVar5 + -0x7630" (identifier "puVar5") (= "=") (binary_expression "puVar5 + -0x7630" (identifier "puVar5") (+ "+") (number_literal "-0x7630"))) (; ";")) (expression_statement "param_7[5] = (int)(pcVar9 + 2);" (assignment_expression "param_7[5] = (int)(pcVar9 + 2)" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(int)(pcVar9 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pcVar9 + 2)" (( "(") (binary_expression "pcVar9 + 2" (identifier "pcVar9") (+ "+") (number_literal "2")) () ")")))) (; ";")) (goto_statement "goto LAB_00016798;" (goto "goto") (statement_identifier "LAB_00016798") (; ";")) (} "}"))) (if_statement "if ((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }" (if "if") (parenthesized_expression "((param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0))))" (( "(") (binary_expression "(param_6 != 0) &&\n         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))" (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))" (( "(") (parenthesized_expression "(pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0))" (( "(") (binary_expression "pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)" (binary_expression "pcVar9[2] != '\0'" (subscript_expression "pcVar9[2]" (identifier "pcVar9") ([ "[") (number_literal "2") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (parenthesized_expression "(iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)" (( "(") (comma_expression "iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0" (assignment_expression "iVar3 = (*(code *)PTR_strchr_00029244)(param_3)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strchr_00029244)(param_3)" (parenthesized_expression "(*(code *)PTR_strchr_00029244)" (( "(") (pointer_expression "*(code *)PTR_strchr_00029244" (* "*") (cast_expression "(code *)PTR_strchr_00029244" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_00029244"))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        puVar5 = PTR_DAT_0002910c;\n        param_7[5] = (int)(pcVar9 + 1);\n        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);\n        if (iVar3 != -1) {\n          return iVar3;\n        }\n        pcVar9 = (char *)param_2[*param_7];\n      }" ({ "{") (expression_statement "puVar5 = PTR_DAT_0002910c;" (assignment_expression "puVar5 = PTR_DAT_0002910c" (identifier "puVar5") (= "=") (identifier "PTR_DAT_0002910c")) (; ";")) (expression_statement "param_7[5] = (int)(pcVar9 + 1);" (assignment_expression "param_7[5] = (int)(pcVar9 + 1)" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(int)(pcVar9 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pcVar9 + 1)" (( "(") (binary_expression "pcVar9 + 1" (identifier "pcVar9") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c);" (assignment_expression "iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c)" (identifier "iVar3") (= "=") (call_expression "FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c)" (identifier "FUN_00015c10") (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,\n                             puVar5 + -0x762c)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "iVar12") (, ",") (binary_expression "puVar5 + -0x762c" (identifier "puVar5") (+ "+") (number_literal "-0x762c")) () ")")))) (; ";")) (if_statement "if (iVar3 != -1) {\n          return iVar3;\n        }" (if "if") (parenthesized_expression "(iVar3 != -1)" (( "(") (binary_expression "iVar3 != -1" (identifier "iVar3") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          return iVar3;\n        }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "pcVar9 = (char *)param_2[*param_7];" (assignment_expression "pcVar9 = (char *)param_2[*param_7]" (identifier "pcVar9") (= "=") (cast_expression "(char *)param_2[*param_7]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[*param_7]" (identifier "param_2") ([ "[") (pointer_expression "*param_7" (* "*") (identifier "param_7")) (] "]")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" (identifier "pcVar9") (= "=") (binary_expression "pcVar9 + 1" (identifier "pcVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "puVar5 = PTR_strchr_00029244;" (assignment_expression "puVar5 = PTR_strchr_00029244" (identifier "puVar5") (= "=") (identifier "PTR_strchr_00029244")) (; ";")) (expression_statement "pcVar8 = pcVar9 + 1;" (assignment_expression "pcVar8 = pcVar9 + 1" (identifier "pcVar8") (= "=") (binary_expression "pcVar9 + 1" (identifier "pcVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_7[5] = (int)pcVar8;" (assignment_expression "param_7[5] = (int)pcVar8" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(int)pcVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar8"))) (; ";")) (expression_statement "iVar3 = (int)*pcVar9;" (assignment_expression "iVar3 = (int)*pcVar9" (identifier "iVar3") (= "=") (cast_expression "(int)*pcVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")))) (; ";")) (expression_statement "pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);" (assignment_expression "pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3)" (identifier "pcVar4") (= "=") (cast_expression "(char *)(*(code *)puVar5)(param_3,iVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar5)(param_3,iVar3)" (parenthesized_expression "(*(code *)puVar5)" (( "(") (pointer_expression "*(code *)puVar5" (* "*") (cast_expression "(code *)puVar5" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) () ")")) (argument_list "(param_3,iVar3)" (( "(") (identifier "param_3") (, ",") (identifier "iVar3") () ")"))))) (; ";")) (if_statement "if (pcVar9[1] == '\0') {\n    *param_7 = *param_7 + 1;\n  }" (if "if") (parenthesized_expression "(pcVar9[1] == '\0')" (( "(") (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\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"))) (; ";")) (} "}"))) (expression_statement "puVar5 = PTR_DAT_0002910c;" (assignment_expression "puVar5 = PTR_DAT_0002910c" (identifier "puVar5") (= "=") (identifier "PTR_DAT_0002910c")) (; ";")) (if_statement "if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }" (if "if") (parenthesized_expression "((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2))" (( "(") (binary_expression "(pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 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"))) () ")")) (|| "||") (parenthesized_expression "((iVar3 - 0x3aU & 0xff) < 2)" (( "(") (binary_expression "(iVar3 - 0x3aU & 0xff) < 2" (parenthesized_expression "(iVar3 - 0x3aU & 0xff)" (( "(") (binary_expression "iVar3 - 0x3aU & 0xff" (binary_expression "iVar3 - 0x3aU" (identifier "iVar3") (- "-") (number_literal "0x3aU")) (& "&") (number_literal "0xff")) () ")")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n    if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }\n    return 0x3f;\n  }" ({ "{") (if_statement "if (iVar12 == 0) {\n      param_7[2] = iVar3;\n    }\n    else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      param_7[2] = iVar3;\n    }" ({ "{") (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (} "}")) (else_clause "else {\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }" (else "else") (compound_statement "{\n      uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);\n      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n      param_7[2] = iVar3;\n    }" ({ "{") (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" (identifier "uVar11") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000292ac" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000292ac")))) (; ";")) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00029290" (* "*") (cast_expression "(code *)PTR_dcgettext_00029290" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00029290"))) () ")")) (argument_list "(0,PTR_DAT_0002910c + -0x7628,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002910c + -0x7628" (identifier "PTR_DAT_0002910c") (+ "+") (number_literal "-0x7628")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000291f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000291f8"))) () ")")) (argument_list "(uVar11,1,uVar6,*param_2,iVar3)" (( "(") (identifier "uVar11") (, ",") (number_literal "1") (, ",") (identifier "uVar6") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (} "}")))) (return_statement "return 0x3f;" (return "return") (number_literal "0x3f") (; ";")) (} "}"))) (if_statement "if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {\n    if (pcVar4[1] != ':') {\n      return iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }" (if "if") (parenthesized_expression "((*pcVar4 != 'W') || (pcVar4[1] != ';'))" (( "(") (binary_expression "(*pcVar4 != 'W') || (pcVar4[1] != ';')" (parenthesized_expression "(*pcVar4 != 'W')" (( "(") (binary_expression "*pcVar4 != 'W'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (!= "!=") (char_literal "'W'" (' "'") (character "W") (' "'"))) () ")")) (|| "||") (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 iVar3;\n    }\n    if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }\n    iVar10 = *param_7;\n    if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }\n    if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    *param_7 = iVar10 + 1;\n    iVar12 = param_2[iVar10];\n    param_7[5] = 0;\n    param_7[3] = iVar12;\n    return iVar3;\n  }" ({ "{") (if_statement "if (pcVar4[1] != ':') {\n      return iVar3;\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 iVar3;\n    }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (if_statement "if (pcVar4[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\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 (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = *param_7 + 1;\n      return iVar3;\n    }" ({ "{") (if_statement "if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }" (if "if") (parenthesized_expression "(pcVar9[1] == '\0')" (( "(") (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        param_7[3] = 0;\n        param_7[5] = 0;\n        return iVar3;\n      }" ({ "{") (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")) (; ";")) (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 iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "param_7[3] = (int)pcVar8;" (assignment_expression "param_7[3] = (int)pcVar8" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)pcVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar8"))) (; ";")) (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")) (; ";")) (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"))) (; ";")) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "iVar10 = *param_7;" (assignment_expression "iVar10 = *param_7" (identifier "iVar10") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (if_statement "if (pcVar9[1] != '\0') {\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }" (if "if") (parenthesized_expression "(pcVar9[1] != '\0')" (( "(") (binary_expression "pcVar9[1] != '\0'" (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      param_7[3] = (int)pcVar8;\n      param_7[5] = 0;\n      *param_7 = iVar10 + 1;\n      return iVar3;\n    }" ({ "{") (expression_statement "param_7[3] = (int)pcVar8;" (assignment_expression "param_7[3] = (int)pcVar8" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)pcVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar8"))) (; ";")) (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")) (; ";")) (expression_statement "*param_7 = iVar10 + 1;" (assignment_expression "*param_7 = iVar10 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (if_statement "if (param_1 == iVar10) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" (if "if") (parenthesized_expression "(param_1 == iVar10)" (( "(") (binary_expression "param_1 == iVar10" (identifier "param_1") (== "==") (identifier "iVar10")) () ")")) (compound_statement "{\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      cVar1 = *param_3;\n      param_7[5] = 0;\n      if (cVar1 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" ({ "{") (if_statement "if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        param_7[2] = iVar3;\n      }" ({ "{") (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (} "}")) (else_clause "else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" (else "else") (compound_statement "{\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" ({ "{") (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" (identifier "uVar11") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000292ac" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000292ac")))) (; ";")) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00029290" (* "*") (cast_expression "(code *)PTR_dcgettext_00029290" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00029290"))) () ")")) (argument_list "(0,PTR_DAT_0002910c + -0x760c,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002910c + -0x760c" (identifier "PTR_DAT_0002910c") (+ "+") (number_literal "-0x760c")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000291f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000291f8"))) () ")")) (argument_list "(uVar11,1,uVar6,*param_2,iVar3)" (( "(") (identifier "uVar11") (, ",") (number_literal "1") (, ",") (identifier "uVar6") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (} "}")))) (expression_statement "cVar1 = *param_3;" (assignment_expression "cVar1 = *param_3" (identifier "cVar1") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (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 (cVar1 == ':') {\n        return 0x3a;\n      }" (if "if") (parenthesized_expression "(cVar1 == ':')" (( "(") (binary_expression "cVar1 == ':'" (identifier "cVar1") (== "==") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n        return 0x3a;\n      }" ({ "{") (return_statement "return 0x3a;" (return "return") (number_literal "0x3a") (; ";")) (} "}"))) (return_statement "return 0x3f;" (return "return") (number_literal "0x3f") (; ";")) (} "}"))) (expression_statement "*param_7 = iVar10 + 1;" (assignment_expression "*param_7 = iVar10 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar12 = param_2[iVar10];" (assignment_expression "iVar12 = param_2[iVar10]" (identifier "iVar12") (= "=") (subscript_expression "param_2[iVar10]" (identifier "param_2") ([ "[") (identifier "iVar10") (] "]"))) (; ";")) (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")) (; ";")) (expression_statement "param_7[3] = iVar12;" (assignment_expression "param_7[3] = iVar12" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar12")) (; ";")) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (if_statement "if (param_4 == 0) {\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return iVar3;\n  }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (if_statement "if (pcVar9[1] == '\0') {\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }" (if "if") (parenthesized_expression "(pcVar9[1] == '\0')" (( "(") (binary_expression "pcVar9[1] == '\0'" (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }\n    pcVar8 = (char *)param_2[*param_7];\n  }" ({ "{") (if_statement "if (*param_7 == param_1) {\n      if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\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 (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }\n      if (*param_3 == ':') {\n        return 0x3a;\n      }\n      return 0x3f;\n    }" ({ "{") (if_statement "if (iVar12 == 0) {\n        param_7[2] = iVar3;\n      }\n      else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        param_7[2] = iVar3;\n      }" ({ "{") (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (} "}")) (else_clause "else {\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" (else "else") (compound_statement "{\n        uVar11 = *(undefined4 *)PTR_stderr_000292ac;\n        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);\n        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);\n        param_7[2] = iVar3;\n      }" ({ "{") (expression_statement "uVar11 = *(undefined4 *)PTR_stderr_000292ac;" (assignment_expression "uVar11 = *(undefined4 *)PTR_stderr_000292ac" (identifier "uVar11") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_000292ac" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000292ac" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000292ac")))) (; ";")) (expression_statement "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);" (assignment_expression "uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00029290)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00029290" (* "*") (cast_expression "(code *)PTR_dcgettext_00029290" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00029290"))) () ")")) (argument_list "(0,PTR_DAT_0002910c + -0x760c,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002910c + -0x760c" (identifier "PTR_DAT_0002910c") (+ "+") (number_literal "-0x760c")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);" (call_expression "(*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000291f8)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000291f8" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000291f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000291f8"))) () ")")) (argument_list "(uVar11,1,uVar6,*param_2,iVar3)" (( "(") (identifier "uVar11") (, ",") (number_literal "1") (, ",") (identifier "uVar6") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "param_7[2] = iVar3;" (assignment_expression "param_7[2] = iVar3" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (} "}")))) (if_statement "if (*param_3 == ':') {\n        return 0x3a;\n      }" (if "if") (parenthesized_expression "(*param_3 == ':')" (( "(") (binary_expression "*param_3 == ':'" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (== "==") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n        return 0x3a;\n      }" ({ "{") (return_statement "return 0x3a;" (return "return") (number_literal "0x3a") (; ";")) (} "}"))) (return_statement "return 0x3f;" (return "return") (number_literal "0x3f") (; ";")) (} "}"))) (expression_statement "pcVar8 = (char *)param_2[*param_7];" (assignment_expression "pcVar8 = (char *)param_2[*param_7]" (identifier "pcVar8") (= "=") (cast_expression "(char *)param_2[*param_7]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[*param_7]" (identifier "param_2") ([ "[") (pointer_expression "*param_7" (* "*") (identifier "param_7")) (] "]")))) (; ";")) (} "}"))) (expression_statement "param_7[5] = (int)pcVar8;" (assignment_expression "param_7[5] = (int)pcVar8" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(int)pcVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar8"))) (; ";")) (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")) (; ";")) (expression_statement "puVar5 = puVar5 + -0x75e0;" (assignment_expression "puVar5 = puVar5 + -0x75e0" (identifier "puVar5") (= "=") (binary_expression "puVar5 + -0x75e0" (identifier "puVar5") (+ "+") (number_literal "-0x75e0"))) (; ";")) (expression_statement "param_6 = 0;" (assignment_expression "param_6 = 0" (identifier "param_6") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00016798:\n  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);" (statement_identifier "LAB_00016798") (: ":") (expression_statement "iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);" (assignment_expression "iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5)" (identifier "iVar12") (= "=") (call_expression "FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5)" (identifier "FUN_00015c10") (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "iVar12") (, ",") (identifier "puVar5") () ")")))) (; ";"))) (return_statement "return iVar12;" (return "return") (identifier "iVar12") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) 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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (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: (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: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (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: (primitive_type) 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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (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: (number_literal))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) (expression_statement (assignment_expression left: (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)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) 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: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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))))) (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier)))) (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))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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))) (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)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (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))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (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: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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 (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: (primitive_type)) value: (parenthesized_expression (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: (char_literal (escape_sequence))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (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: (primitive_type) 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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (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: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) 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: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (char_literal (character)))) 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: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) 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: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (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: (char_literal (character)))) consequence: (compound_statement (return_statement (number_literal)))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) 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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (return_statement (number_literal)))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (pointer_expression argument: (identifier)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier)))))) (return_statement (identifier)))))

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

{
  char cVar1;
  bool bVar2;
  int iVar3;
  char *pcVar4;
  undefined *puVar5;
  undefined4 uVar6;
  undefined4 *puVar7;
  char *pcVar8;
  char *pcVar9;
  int iVar10;
  undefined4 uVar11;
  int iVar12;
  
  iVar12 = param_7[1];
  if (param_1 < 1) {
    return -1;
  }
  iVar3 = *param_7;
  param_7[3] = 0;
  if (iVar3 == 0) {
    iVar3 = 1;
    *param_7 = 1;
LAB_00016470:
    param_7[8] = iVar3;
    param_7[7] = iVar3;
    param_7[5] = 0;
    if (*param_3 == '-') {
      param_3 = param_3 + 1;
      pcVar9 = (char *)0x0;
      param_7[6] = 2;
    }
    else if (*param_3 == '+') {
      param_7[6] = 0;
      param_3 = param_3 + 1;
      pcVar9 = (char *)0x0;
    }
    else {
      if (param_8 == 0) {
        iVar3 = (*(code *)PTR_getenv_00029260)(PTR_DAT_0002910c + -0x7640);
        pcVar9 = (char *)param_7[5];
        if (iVar3 == 0) {
          param_7[6] = 1;
          goto LAB_000164bc;
        }
      }
      else {
        pcVar9 = (char *)0x0;
      }
      param_7[6] = 0;
    }
LAB_000164bc:
    param_7[4] = 1;
    cVar1 = *param_3;
LAB_000164c8:
    if (cVar1 == ':') {
      iVar12 = 0;
    }
    if (pcVar9 == (char *)0x0) goto LAB_000163c0;
LAB_000164d0:
    if (*pcVar9 == '\0') goto LAB_000163c0;
  }
  else {
    if (param_7[4] == 0) goto LAB_00016470;
    cVar1 = *param_3;
    pcVar9 = (char *)param_7[5];
    if ((cVar1 != '-') && (cVar1 != '+')) goto LAB_000164c8;
    pcVar4 = param_3 + 1;
    param_3 = param_3 + 1;
    if (*pcVar4 == ':') {
      iVar12 = 0;
    }
    if (pcVar9 != (char *)0x0) goto LAB_000164d0;
LAB_000163c0:
    iVar3 = *param_7;
    if (iVar3 < param_7[8]) {
      param_7[8] = iVar3;
    }
    if (iVar3 < param_7[7]) {
      param_7[7] = iVar3;
    }
    iVar10 = iVar3;
    if (param_7[6] == 1) {
      iVar10 = param_7[8];
      if (param_7[7] == iVar10) {
        bVar2 = iVar10 < param_1;
        if (iVar3 != iVar10) {
          param_7[7] = iVar3;
          goto LAB_0001662c;
        }
      }
      else {
        bVar2 = iVar10 < param_1;
        if (iVar3 != iVar10) {
          FUN_00015b30(param_2,param_7);
          iVar3 = *param_7;
LAB_0001662c:
          bVar2 = iVar3 < param_1;
          iVar10 = iVar3;
        }
      }
      if (bVar2) {
        puVar7 = param_2 + iVar10;
        do {
          pcVar9 = (char *)*puVar7;
          puVar7 = puVar7 + 1;
          if ((*pcVar9 == '-') && (pcVar9[1] != '\0')) {
            param_7[8] = iVar10;
            iVar10 = *param_7;
            goto LAB_000163fc;
          }
          iVar10 = iVar10 + 1;
          *param_7 = iVar10;
        } while (iVar10 != param_1);
      }
      param_7[8] = iVar10;
    }
LAB_000163fc:
    puVar5 = PTR_DAT_0002910c;
    if (param_1 == iVar10) {
      param_1 = param_7[8];
      iVar10 = param_7[7];
LAB_000165e4:
      if (param_1 != iVar10) {
        *param_7 = iVar10;
      }
      return -1;
    }
    pcVar9 = (char *)param_2[iVar10];
    iVar3 = (*(code *)PTR_strcmp_000292bc)(pcVar9,PTR_DAT_0002910c + -0x7630);
    if (iVar3 == 0) {
      iVar12 = param_7[7];
      iVar10 = iVar10 + 1;
      *param_7 = iVar10;
      if (iVar12 == param_7[8]) {
        param_7[7] = iVar10;
        param_7[8] = param_1;
        *param_7 = param_1;
      }
      else {
        if (iVar10 != param_7[8]) {
          FUN_00015b30(param_2,param_7);
          iVar12 = param_7[7];
        }
        param_7[8] = param_1;
        *param_7 = param_1;
        iVar10 = iVar12;
      }
      goto LAB_000165e4;
    }
    if ((*pcVar9 != '-') || (pcVar9[1] == '\0')) {
      if (param_7[6] == 0) {
        return -1;
      }
      param_7[3] = (int)pcVar9;
      *param_7 = iVar10 + 1;
      return 1;
    }
    if (param_4 != 0) {
      if (pcVar9[1] == '-') {
        puVar5 = puVar5 + -0x7630;
        param_7[5] = (int)(pcVar9 + 2);
        goto LAB_00016798;
      }
      if ((param_6 != 0) &&
         ((pcVar9[2] != '\0' || (iVar3 = (*(code *)PTR_strchr_00029244)(param_3), iVar3 == 0)))) {
        puVar5 = PTR_DAT_0002910c;
        param_7[5] = (int)(pcVar9 + 1);
        iVar3 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,
                             puVar5 + -0x762c);
        if (iVar3 != -1) {
          return iVar3;
        }
        pcVar9 = (char *)param_2[*param_7];
      }
    }
    pcVar9 = pcVar9 + 1;
  }
  puVar5 = PTR_strchr_00029244;
  pcVar8 = pcVar9 + 1;
  param_7[5] = (int)pcVar8;
  iVar3 = (int)*pcVar9;
  pcVar4 = (char *)(*(code *)puVar5)(param_3,iVar3);
  if (pcVar9[1] == '\0') {
    *param_7 = *param_7 + 1;
  }
  puVar5 = PTR_DAT_0002910c;
  if ((pcVar4 == (char *)0x0) || ((iVar3 - 0x3aU & 0xff) < 2)) {
    if (iVar12 == 0) {
      param_7[2] = iVar3;
    }
    else {
      uVar11 = *(undefined4 *)PTR_stderr_000292ac;
      uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x7628,5);
      (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);
      param_7[2] = iVar3;
    }
    return 0x3f;
  }
  if ((*pcVar4 != 'W') || (pcVar4[1] != ';')) {
    if (pcVar4[1] != ':') {
      return iVar3;
    }
    if (pcVar4[2] == ':') {
      if (pcVar9[1] == '\0') {
        param_7[3] = 0;
        param_7[5] = 0;
        return iVar3;
      }
      param_7[3] = (int)pcVar8;
      param_7[5] = 0;
      *param_7 = *param_7 + 1;
      return iVar3;
    }
    iVar10 = *param_7;
    if (pcVar9[1] != '\0') {
      param_7[3] = (int)pcVar8;
      param_7[5] = 0;
      *param_7 = iVar10 + 1;
      return iVar3;
    }
    if (param_1 == iVar10) {
      if (iVar12 == 0) {
        param_7[2] = iVar3;
      }
      else {
        uVar11 = *(undefined4 *)PTR_stderr_000292ac;
        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);
        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);
        param_7[2] = iVar3;
      }
      cVar1 = *param_3;
      param_7[5] = 0;
      if (cVar1 == ':') {
        return 0x3a;
      }
      return 0x3f;
    }
    *param_7 = iVar10 + 1;
    iVar12 = param_2[iVar10];
    param_7[5] = 0;
    param_7[3] = iVar12;
    return iVar3;
  }
  if (param_4 == 0) {
    return iVar3;
  }
  if (pcVar9[1] == '\0') {
    if (*param_7 == param_1) {
      if (iVar12 == 0) {
        param_7[2] = iVar3;
      }
      else {
        uVar11 = *(undefined4 *)PTR_stderr_000292ac;
        uVar6 = (*(code *)PTR_dcgettext_00029290)(0,PTR_DAT_0002910c + -0x760c,5);
        (*(code *)PTR___fprintf_chk_000291f8)(uVar11,1,uVar6,*param_2,iVar3);
        param_7[2] = iVar3;
      }
      if (*param_3 == ':') {
        return 0x3a;
      }
      return 0x3f;
    }
    pcVar8 = (char *)param_2[*param_7];
  }
  param_7[5] = (int)pcVar8;
  param_7[3] = 0;
  puVar5 = puVar5 + -0x75e0;
  param_6 = 0;
LAB_00016798:
  iVar12 = FUN_00015c10(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar12,puVar5);
  return iVar12;
}

