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

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  char **ppcVar5;
  char cVar6;
  undefined4 uVar7;
  int iVar8;
  char *pcVar9;
  char *pcVar10;
  char *pcVar11;
  
  iVar8 = d->rpl_opterr;
  if (argc < 1) {
    return -1;
  }
  d->rpl_optarg = (char *)0x0;
  if (d->rpl_optind == 0) {
    d->rpl_optind = 1;
LAB_0001c7f8:
    d->__last_nonopt = d->rpl_optind;
    d->__first_nonopt = d->rpl_optind;
    d->__nextchar = (char *)0x0;
    if (*optstring == '-') {
      d->__ordering = RETURN_IN_ORDER;
      optstring = optstring + 1;
    }
    else if (*optstring == '+') {
      d->__ordering = REQUIRE_ORDER;
      optstring = optstring + 1;
    }
    else if ((posixly_correct == 0) &&
            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))
    {
      d->__ordering = PERMUTE;
    }
    else {
      d->__ordering = REQUIRE_ORDER;
    }
    d->__initialized = 1;
  }
  else {
    if (d->__initialized == 0) goto LAB_0001c7f8;
    if ((*optstring == '-') || (*optstring == '+')) {
      optstring = optstring + 1;
    }
  }
  if (*optstring == ':') {
    iVar8 = 0;
  }
  if ((d->__nextchar != (char *)0x0) && (*d->__nextchar != '\0')) goto LAB_0001ca80;
  iVar2 = d->rpl_optind;
  if (iVar2 < d->__last_nonopt) {
    d->__last_nonopt = iVar2;
  }
  if (iVar2 < d->__first_nonopt) {
    d->__first_nonopt = iVar2;
  }
  if (d->__ordering == PERMUTE) {
    iVar3 = d->__last_nonopt;
    if (d->__first_nonopt == iVar3) {
      if (iVar2 != iVar3) {
        d->__first_nonopt = iVar2;
      }
LAB_0001c994:
      iVar2 = d->rpl_optind;
    }
    else {
      if (iVar2 == iVar3) goto LAB_0001c994;
      exchange(argv,d);
      iVar2 = d->rpl_optind;
    }
    iVar3 = iVar2;
    if (iVar2 < argc) {
      ppcVar5 = argv + iVar2;
      do {
        if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {
          d->__last_nonopt = iVar2;
          goto LAB_0001c894;
        }
        iVar2 = iVar2 + 1;
        d->rpl_optind = iVar2;
        ppcVar5 = ppcVar5 + 1;
        iVar3 = argc;
      } while (iVar2 != argc);
    }
    d->__last_nonopt = iVar3;
  }
LAB_0001c894:
  iVar2 = d->rpl_optind;
  if (iVar2 == argc) goto LAB_0001c8f4;
  pcVar10 = argv[iVar2];
  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_patterns_49__00032118 + 0xfd0);
  puVar1 = PTR_patterns_49__00032118;
  if (iVar3 != 0) {
    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {
      if (d->__ordering == REQUIRE_ORDER) {
        return -1;
      }
      d->rpl_optind = iVar2 + 1;
      d->rpl_optarg = argv[iVar2];
      return 1;
    }
    if (longopts == (rpl_option *)0x0) {
LAB_0001ca68:
      iVar2 = d->rpl_optind;
    }
    else {
      if (pcVar10[1] == '-') {
        d->__nextchar = pcVar10 + 2;
        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,
                                    puVar1 + 0xfd0);
        return iVar8;
      }
      if ((long_only == 0) ||
         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))
      goto LAB_0001ca68;
      d->__nextchar = pcVar10 + 1;
      iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,
                                  PTR_patterns_49__00032118 + -0x268);
      if (iVar2 != -1) {
        return iVar2;
      }
      iVar2 = d->rpl_optind;
    }
    d->__nextchar = argv[iVar2] + 1;
LAB_0001ca80:
    pcVar9 = d->__nextchar;
    pcVar11 = pcVar9 + 1;
    d->__nextchar = pcVar11;
    iVar2 = (int)*pcVar9;
    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(optstring,iVar2);
    if (pcVar9[1] == '\0') {
      d->rpl_optind = d->rpl_optind + 1;
    }
    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {
      if (iVar8 != 0) {
        uVar7 = *(undefined4 *)PTR_stderr_000323d4;
        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);
        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);
      }
      d->rpl_optopt = iVar2;
      return 0x3f;
    }
    if (*pcVar10 == 'W') {
      cVar6 = pcVar10[1];
      if (cVar6 == ';') {
        if (longopts == (rpl_option *)0x0) {
          return iVar2;
        }
        if (pcVar9[1] == '\0') {
          if (d->rpl_optind == argc) {
            if (iVar8 != 0) {
              uVar7 = *(undefined4 *)PTR_stderr_000323d4;
              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);
              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);
            }
            d->rpl_optopt = iVar2;
            if (*optstring != ':') {
              return 0x3f;
            }
            return 0x3a;
          }
          d->rpl_optarg = argv[d->rpl_optind];
        }
        else {
          d->rpl_optarg = pcVar11;
        }
        d->__nextchar = d->rpl_optarg;
        d->rpl_optarg = (char *)0x0;
        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,
                                    PTR_patterns_49__00032118 + 0x101c);
        return iVar8;
      }
    }
    else {
      cVar6 = pcVar10[1];
    }
    if (cVar6 != ':') {
      return iVar2;
    }
    if (pcVar10[2] == ':') {
      if (pcVar9[1] == '\0') {
        d->rpl_optarg = (char *)0x0;
      }
      else {
        d->rpl_optarg = pcVar11;
        d->rpl_optind = d->rpl_optind + 1;
      }
      d->__nextchar = (char *)0x0;
      return iVar2;
    }
    if (pcVar9[1] == '\0') {
      iVar3 = d->rpl_optind;
      if (iVar3 == argc) {
        if (iVar8 != 0) {
          uVar7 = *(undefined4 *)PTR_stderr_000323d4;
          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);
          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);
        }
        d->rpl_optopt = iVar2;
        iVar2 = (int)*optstring;
        if (iVar2 != 0x3a) {
          iVar2 = 0x3f;
        }
      }
      else {
        d->rpl_optind = iVar3 + 1;
        d->rpl_optarg = argv[iVar3];
      }
    }
    else {
      d->rpl_optarg = pcVar11;
      d->rpl_optind = d->rpl_optind + 1;
    }
    d->__nextchar = (char *)0x0;
    return iVar2;
  }
  iVar2 = iVar2 + 1;
  d->rpl_optind = iVar2;
  if (d->__first_nonopt == d->__last_nonopt) {
    d->__first_nonopt = iVar2;
LAB_0001c8ec:
    d->__last_nonopt = argc;
  }
  else {
    if (iVar2 == d->__last_nonopt) goto LAB_0001c8ec;
    exchange(argv,d);
    d->__last_nonopt = argc;
  }
  d->rpl_optind = argc;
LAB_0001c8f4:
  if (d->__first_nonopt != d->__last_nonopt) {
    d->rpl_optind = d->__first_nonopt;
  }
  return -1;
}



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)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  char cVar6;
  undefined4 uVar7;
  int iVar8;
  char *pcVar9;
  char *pcVar10;
  char *pcVar11;
  
  iVar8 = param_7[1];
  if (param_1 < 1) {
    return -1;
  }
  param_7[3] = 0;
  if (*param_7 == 0) {
    *param_7 = 1;
LAB_0001c7f8:
    param_7[8] = *param_7;
    param_7[7] = *param_7;
    param_7[5] = 0;
    if (*param_3 == '-') {
      param_7[6] = 2;
      param_3 = param_3 + 1;
    }
    else if (*param_3 == '+') {
      param_7[6] = 0;
      param_3 = param_3 + 1;
    }
    else if ((param_8 == 0) &&
            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {
      param_7[6] = 1;
    }
    else {
      param_7[6] = 0;
    }
    param_7[4] = 1;
  }
  else {
    if (param_7[4] == 0) goto LAB_0001c7f8;
    if ((*param_3 == '-') || (*param_3 == '+')) {
      param_3 = param_3 + 1;
    }
  }
  if (*param_3 == ':') {
    iVar8 = 0;
  }
  if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;
  iVar2 = *param_7;
  if (iVar2 < param_7[8]) {
    param_7[8] = iVar2;
  }
  if (iVar2 < param_7[7]) {
    param_7[7] = iVar2;
  }
  if (param_7[6] == 1) {
    iVar3 = param_7[8];
    if (param_7[7] == iVar3) {
      if (iVar2 != iVar3) {
        param_7[7] = iVar2;
      }
LAB_0001c994:
      iVar2 = *param_7;
    }
    else {
      if (iVar2 == iVar3) goto LAB_0001c994;
      FUN_0001bf40(param_2,param_7);
      iVar2 = *param_7;
    }
    iVar3 = iVar2;
    if (iVar2 < param_1) {
      puVar5 = param_2 + iVar2;
      do {
        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {
          param_7[8] = iVar2;
          goto LAB_0001c894;
        }
        iVar2 = iVar2 + 1;
        *param_7 = iVar2;
        puVar5 = puVar5 + 1;
        iVar3 = param_1;
      } while (iVar2 != param_1);
    }
    param_7[8] = iVar3;
  }
LAB_0001c894:
  iVar2 = *param_7;
  if (iVar2 == param_1) goto LAB_0001c8f4;
  pcVar10 = (char *)param_2[iVar2];
  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);
  puVar1 = PTR_DAT_00032118;
  if (iVar3 != 0) {
    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {
      if (param_7[6] == 0) {
        return -1;
      }
      *param_7 = iVar2 + 1;
      param_7[3] = param_2[iVar2];
      return 1;
    }
    if (param_4 == 0) {
LAB_0001ca68:
      iVar2 = *param_7;
    }
    else {
      if (pcVar10[1] == '-') {
        param_7[5] = (int)(pcVar10 + 2);
        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,
                             puVar1 + 0xfd0);
        return iVar8;
      }
      if ((param_6 == 0) ||
         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))
      goto LAB_0001ca68;
      param_7[5] = (int)(pcVar10 + 1);
      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,
                           PTR_DAT_00032118 + -0x268);
      if (iVar2 != -1) {
        return iVar2;
      }
      iVar2 = *param_7;
    }
    param_7[5] = param_2[iVar2] + 1;
LAB_0001ca80:
    pcVar9 = (char *)param_7[5];
    pcVar11 = pcVar9 + 1;
    param_7[5] = (int)pcVar11;
    iVar2 = (int)*pcVar9;
    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);
    if (pcVar9[1] == '\0') {
      *param_7 = *param_7 + 1;
    }
    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {
      if (iVar8 != 0) {
        uVar7 = *(undefined4 *)PTR_stderr_000323d4;
        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);
        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);
      }
      param_7[2] = iVar2;
      return 0x3f;
    }
    if (*pcVar10 == 'W') {
      cVar6 = pcVar10[1];
      if (cVar6 == ';') {
        if (param_4 == 0) {
          return iVar2;
        }
        if (pcVar9[1] == '\0') {
          if (*param_7 == param_1) {
            if (iVar8 != 0) {
              uVar7 = *(undefined4 *)PTR_stderr_000323d4;
              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);
              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);
            }
            param_7[2] = iVar2;
            if (*param_3 != ':') {
              return 0x3f;
            }
            return 0x3a;
          }
          param_7[3] = param_2[*param_7];
        }
        else {
          param_7[3] = (int)pcVar11;
        }
        param_7[5] = param_7[3];
        param_7[3] = 0;
        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,
                             PTR_DAT_00032118 + 0x101c);
        return iVar8;
      }
    }
    else {
      cVar6 = pcVar10[1];
    }
    if (cVar6 != ':') {
      return iVar2;
    }
    if (pcVar10[2] == ':') {
      if (pcVar9[1] == '\0') {
        param_7[3] = 0;
      }
      else {
        param_7[3] = (int)pcVar11;
        *param_7 = *param_7 + 1;
      }
      param_7[5] = 0;
      return iVar2;
    }
    if (pcVar9[1] == '\0') {
      iVar3 = *param_7;
      if (iVar3 == param_1) {
        if (iVar8 != 0) {
          uVar7 = *(undefined4 *)PTR_stderr_000323d4;
          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);
          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);
        }
        param_7[2] = iVar2;
        iVar2 = (int)*param_3;
        if (iVar2 != 0x3a) {
          iVar2 = 0x3f;
        }
      }
      else {
        *param_7 = iVar3 + 1;
        param_7[3] = param_2[iVar3];
      }
    }
    else {
      param_7[3] = (int)pcVar11;
      *param_7 = *param_7 + 1;
    }
    param_7[5] = 0;
    return iVar2;
  }
  iVar2 = iVar2 + 1;
  *param_7 = iVar2;
  if (param_7[7] == param_7[8]) {
    param_7[7] = iVar2;
LAB_0001c8ec:
    param_7[8] = param_1;
  }
  else {
    if (iVar2 == param_7[8]) goto LAB_0001c8ec;
    FUN_0001bf40(param_2,param_7);
    param_7[8] = param_1;
  }
  *param_7 = param_1;
LAB_0001c8f4:
  if (param_7[7] != param_7[8]) {
    *param_7 = param_7[7];
  }
  return -1;
}


lui gp,0x2
addiu gp,gp,-0x2684
addu gp,gp,t9
addiu sp,sp,-0x60
sw ra,0x5c(sp)
sw s8,0x58(sp)
sw s7,0x54(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)
sw s0,0x38(sp)
sw gp,0x28(sp)
lw s0,0x78(sp)
blez a0,0x0001ce38
_lw s4,0x4(s0)
or s1,a0,zero
or s5,a1,zero
or s2,a2,zero
sw zero,0xc(s0)
lw v0,0x0(s0)
beq v0,zero,0x0001c7f0
_or s7,a3,zero
lw v0,0x10(s0)
beq v0,zero,0x0001c7f8
_li v1,0x2d
lb v0,0x0(a2)
beq v0,v1,0x0001c7e8
_li v1,0x2b
bne v0,v1,0x0001c834
_nop
b 0x0001c834
_addiu s2,s2,0x1
li v0,0x1
sw v0,0x0(s0)
lw v0,0x0(s0)
sw v0,0x20(s0)
sw v0,0x1c(s0)
sw zero,0x14(s0)
lb v0,0x0(s2)
li v1,0x2d
beq v0,v1,0x0001c910
_li v1,0x2b
beq v0,v1,0x0001c920
_lw v0,0x7c(sp)
beq v0,zero,0x0001c92c
_lw a0,-0x7fc8(gp)
sw zero,0x18(s0)
li v0,0x1
sw v0,0x10(s0)
lb v0,0x0(s2)
xori v0,v0,0x3a
movz s4,zero,v0
lw v0,0x14(s0)
beq v0,zero,0x0001c858
_nop
lb v0,0x0(v0)
bne v0,zero,0x0001ca80
_nop
lw v0,0x0(s0)
lw v1,0x20(s0)
slt v1,v0,v1
beq v1,zero,0x0001c870
_nop
sw v0,0x20(s0)
lw v1,0x1c(s0)
slt v1,v0,v1
beq v1,zero,0x0001c884
_nop
sw v0,0x1c(s0)
lw a0,0x18(s0)
li v1,0x1
beq a0,v1,0x0001c950
_nop
lw s3,0x0(s0)
beq s3,s1,0x0001c8f4
_sll s6,s3,0x2
addu s6,s5,s6
lw s8,0x0(s6)
lw a1,-0x7fc8(gp)
addiu a1,a1,0xfd0
or a0,s8,zero
lw t9,-0x7cf8(gp)
jalr t9
_nop
lw gp,0x28(sp)
bne v0,zero,0x0001ce48
_li v0,0x2d
addiu s3,s3,0x1
sw s3,0x0(s0)
lw v0,0x20(s0)
lw v1,0x1c(s0)
beq v1,v0,0x0001ca14
_nop
bne s3,v0,0x0001c9f4
_or a1,s0,zero
sw s1,0x20(s0)
sw s1,0x0(s0)
lw v0,0x1c(s0)
lw v1,0x20(s0)
beq v0,v1,0x0001cea0
_nop
sw v0,0x0(s0)
b 0x0001ce70
_li v0,-0x1
li v0,0x2
sw v0,0x18(s0)
b 0x0001c82c
_addiu s2,s2,0x1
sw zero,0x18(s0)
b 0x0001c82c
_addiu s2,s2,0x1
addiu a0,a0,0xdc
lw t9,-0x7d7c(gp)
jalr t9
_nop
lw gp,0x28(sp)
bne v0,zero,0x0001c828
_li v0,0x1
b 0x0001c830
_sw v0,0x18(s0)
lw v1,0x20(s0)
lw a0,0x1c(s0)
beq a0,v1,0x0001c988
_nop
beq v0,v1,0x0001c994
_or a1,s0,zero
or a0,s5,zero
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x40c0
bal 0x0001bf40
_nop
lw gp,0x28(sp)
b 0x0001c998
_lw v0,0x0(s0)
beq v0,v1,0x0001c994
_nop
sw v0,0x1c(s0)
lw v0,0x0(s0)
slt v1,v0,s1
beq v1,zero,0x0001c9ec
_sll v1,v0,0x2
addu v1,s5,v1
b 0x0001c9c0
_li a2,0x2d
addiu v0,v0,0x1
sw v0,0x0(s0)
beq v0,s1,0x0001c9e8
_addiu v1,v1,0x4
lw a0,0x0(v1)
lb a1,0x0(a0)
bne a1,a2,0x0001c9b0
_nop
lb a0,0x1(a0)
beq a0,zero,0x0001c9b4
_addiu v0,v0,0x1
addiu v0,v0,-0x1
b 0x0001c894
_sw v0,0x20(s0)
or v0,s1,zero
b 0x0001c894
_sw v0,0x20(s0)
or a0,s5,zero
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x40c0
bal 0x0001bf40
_nop
lw gp,0x28(sp)
b 0x0001c8f0
_sw s1,0x20(s0)
b 0x0001c8ec
_sw s3,0x1c(s0)
lb a1,0x1(s8)
beq a1,zero,0x0001ce54
_nop
beq s7,zero,0x0001ca68
_li v0,0x2d
beq a1,v0,0x0001cb00
_lw v0,-0x7fc8(gp)
lw v0,0x74(sp)
beq v0,zero,0x0001ca68
_nop
lb v0,0x2(s8)
bne v0,zero,0x0001cb54
_or a0,s2,zero
lw t9,-0x7d98(gp)
jalr t9
_nop
lw gp,0x28(sp)
beq v0,zero,0x0001cb58
_addiu s8,s8,0x1
lw v0,0x0(s0)
sll v0,v0,0x2
addu v0,s5,v0
lw v0,0x0(v0)
addiu v0,v0,0x1
sw v0,0x14(s0)
lw s6,0x14(s0)
addiu s8,s6,0x1
sw s8,0x14(s0)
lb s3,0x0(s6)
sw s3,0x34(sp)
or a1,s3,zero
or a0,s2,zero
lw t9,-0x7d98(gp)
jalr t9
_nop
lw gp,0x28(sp)
lb v1,0x1(s6)
bne v1,zero,0x0001cac4
_nop
lw v1,0x0(s0)
addiu v1,v1,0x1
sw v1,0x0(s0)
beq v0,zero,0x0001cbb8
_addiu v1,s3,-0x3a
andi v1,v1,0xff
sltiu v1,v1,0x2
bne v1,zero,0x0001cbb8
_li v1,0x57
lb a0,0x0(v0)
beq a0,v1,0x0001cc24
_li v1,0x3b
lb a0,0x1(v0)
li v1,0x3a
beq a0,v1,0x0001cd38
_nop
b 0x0001ce70
_or v0,s3,zero
addiu s8,s8,0x2
sw s8,0x14(s0)
addiu v0,v0,0xfd0
sw v0,0x20(sp)
sw s4,0x1c(sp)
sw s0,0x18(sp)
lw v0,0x74(sp)
sw v0,0x14(sp)
lw v0,0x70(sp)
sw v0,0x10(sp)
or a3,s7,zero
or a2,s2,zero
or a1,s5,zero
or a0,s1,zero
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x3fd0
bal 0x0001c030
_nop
lw gp,0x28(sp)
b 0x0001ce74
_lw ra,0x5c(sp)
addiu s8,s8,0x1
sw s8,0x14(s0)
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x268
sw v0,0x20(sp)
sw s4,0x1c(sp)
sw s0,0x18(sp)
lw v0,0x74(sp)
sw v0,0x14(sp)
lw v0,0x70(sp)
sw v0,0x10(sp)
or a3,s7,zero
or a2,s2,zero
or a1,s5,zero
or a0,s1,zero
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x3fd0
bal 0x0001c030
_nop
lw gp,0x28(sp)
li v1,-0x1
bne v0,v1,0x0001ce74
_lw ra,0x5c(sp)
b 0x0001ca6c
_lw v0,0x0(s0)
bne s4,zero,0x0001cbd0
_li a2,0x5
lw v0,0x34(sp)
sw v0,0x8(s0)
b 0x0001ce70
_li v0,0x3f
lw v0,-0x7d0c(gp)
lw s1,0x0(v0)
lw a1,-0x7fc8(gp)
addiu a1,a1,0xfd4
or a0,zero,zero
lw t9,-0x7d3c(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw v1,0x34(sp)
sw v1,0x10(sp)
lw a3,0x0(s5)
or a2,v0,zero
li a1,0x1
or a0,s1,zero
lw t9,-0x7e20(gp)
jalr t9
_nop
lw gp,0x28(sp)
b 0x0001cbc4
_lw v0,0x34(sp)
lb a0,0x1(v0)
bne a0,v1,0x0001caec
_nop
beq s7,zero,0x0001ce70
_or v0,s3,zero
lb v0,0x1(s6)
bne v0,zero,0x0001ccb4
_nop
lw v0,0x0(s0)
beq v0,s1,0x0001ccbc
_sll v0,v0,0x2
addu v0,s5,v0
lw v0,0x0(v0)
sw v0,0xc(s0)
lw v0,0xc(s0)
sw v0,0x14(s0)
sw zero,0xc(s0)
lw v0,-0x7fc8(gp)
addiu v0,v0,0x101c
sw v0,0x20(sp)
sw s4,0x1c(sp)
sw s0,0x18(sp)
sw zero,0x14(sp)
lw v0,0x70(sp)
sw v0,0x10(sp)
or a3,s7,zero
or a2,s2,zero
or a1,s5,zero
or a0,s1,zero
lw t9,-0x7fc8(gp)
addiu t9,t9,-0x3fd0
bal 0x0001c030
_nop
lw gp,0x28(sp)
b 0x0001ce74
_lw ra,0x5c(sp)
b 0x0001cc5c
_sw s8,0xc(s0)
bne s4,zero,0x0001cce4
_lw v0,-0x7d0c(gp)
lw v0,0x34(sp)
sw v0,0x8(s0)
lb v0,0x0(s2)
li v1,0x3a
beq v0,v1,0x0001ce74
_lw ra,0x5c(sp)
b 0x0001ce70
_li v0,0x3f
lw s1,0x0(v0)
li a2,0x5
lw a1,-0x7fc8(gp)
addiu a1,a1,0xff0
or a0,zero,zero
lw t9,-0x7d3c(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw v1,0x34(sp)
sw v1,0x10(sp)
lw a3,0x0(s5)
or a2,v0,zero
li a1,0x1
or a0,s1,zero
lw t9,-0x7e20(gp)
jalr t9
_nop
lw gp,0x28(sp)
b 0x0001ccc8
_lw v0,0x34(sp)
lb v1,0x2(v0)
li v0,0x3a
beq v1,v0,0x0001cd6c
_nop
lb v0,0x1(s6)
beq v0,zero,0x0001cd98
_nop
sw s8,0xc(s0)
lw v0,0x0(s0)
addiu v0,v0,0x1
sw v0,0x0(s0)
b 0x0001caf8
_sw zero,0x14(s0)
lb v0,0x1(s6)
beq v0,zero,0x0001cd90
_nop
sw s8,0xc(s0)
lw v0,0x0(s0)
addiu v0,v0,0x1
sw v0,0x0(s0)
b 0x0001caf8
_sw zero,0x14(s0)
b 0x0001cd88
_sw zero,0xc(s0)
lw v0,0x0(s0)
beq v0,s1,0x0001cdbc
_addiu v1,v0,0x1
sw v1,0x0(s0)
sll v0,v0,0x2
addu s5,s5,v0
lw v0,0x0(s5)
b 0x0001cd64
_sw v0,0xc(s0)
bne s4,zero,0x0001cde4
_lw v0,-0x7d0c(gp)
lw v0,0x34(sp)
sw v0,0x8(s0)
lb s3,0x0(s2)
li v0,0x3a
beq s3,v0,0x0001cd64
_nop
b 0x0001cd64
_li s3,0x3f
lw s1,0x0(v0)
li a2,0x5
lw a1,-0x7fc8(gp)
addiu a1,a1,0xff0
or a0,zero,zero
lw t9,-0x7d3c(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw v1,0x34(sp)
sw v1,0x10(sp)
lw a3,0x0(s5)
or a2,v0,zero
li a1,0x1
or a0,s1,zero
lw t9,-0x7e20(gp)
jalr t9
_nop
lw gp,0x28(sp)
b 0x0001cdc8
_lw v0,0x34(sp)
b 0x0001ce70
_li v0,-0x1
b 0x0001ce70
_li v0,-0x1
lb v1,0x0(s8)
beq v1,v0,0x0001ca1c
_nop
lw v0,0x18(s0)
beq v0,zero,0x0001ce40
_addiu s3,s3,0x1
sw s3,0x0(s0)
lw v0,0x0(s6)
sw v0,0xc(s0)
li v0,0x1
lw ra,0x5c(sp)
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
b 0x0001ce70
_li v0,-0x1
(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  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  param_7[3] = 0;\n  if (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }\n  if (*param_3 == ':') {\n    iVar8 = 0;\n  }\n  if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;\n  iVar2 = *param_7;\n  if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }\n  if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }\n  if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = *param_7;\n  if (iVar2 == param_1) goto LAB_0001c8f4;\n  pcVar10 = (char *)param_2[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);\n  puVar1 = PTR_DAT_00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  *param_7 = iVar2;\n  if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }\n  *param_7 = param_1;\nLAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }\n  return -1;\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  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  param_7[3] = 0;\n  if (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }\n  if (*param_3 == ':') {\n    iVar8 = 0;\n  }\n  if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;\n  iVar2 = *param_7;\n  if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }\n  if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }\n  if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = *param_7;\n  if (iVar2 == param_1) goto LAB_0001c8f4;\n  pcVar10 = (char *)param_2[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);\n  puVar1 = PTR_DAT_00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  *param_7 = iVar2;\n  if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }\n  *param_7 = param_1;\nLAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }\n  return -1;\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  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  param_7[3] = 0;\n  if (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }\n  if (*param_3 == ':') {\n    iVar8 = 0;\n  }\n  if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;\n  iVar2 = *param_7;\n  if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }\n  if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }\n  if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = *param_7;\n  if (iVar2 == param_1) goto LAB_0001c8f4;\n  pcVar10 = (char *)param_2[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);\n  puVar1 = PTR_DAT_00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  *param_7 = iVar2;\n  if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }\n  *param_7 = param_1;\nLAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }\n  return -1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (expression_statement "iVar8 = param_7[1];" (assignment_expression "iVar8 = 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 "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }" if (parenthesized_expression "(*param_7 == 0)" ( (binary_expression "*param_7 == 0" (pointer_expression "*param_7" * identifier) == number_literal) )) (compound_statement "{\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }" { (expression_statement "*param_7 = 1;" (assignment_expression "*param_7 = 1" (pointer_expression "*param_7" * identifier) = number_literal) ;) (labeled_statement "LAB_0001c7f8:\n    param_7[8] = *param_7;" statement_identifier : (expression_statement "param_7[8] = *param_7;" (assignment_expression "param_7[8] = *param_7" (subscript_expression "param_7[8]" identifier [ number_literal ]) = (pointer_expression "*param_7" * identifier)) ;)) (expression_statement "param_7[7] = *param_7;" (assignment_expression "param_7[7] = *param_7" (subscript_expression "param_7[7]" identifier [ number_literal ]) = (pointer_expression "*param_7" * 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_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\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] = 2;\n      param_3 = param_3 + 1;\n    }" { (expression_statement "param_7[6] = 2;" (assignment_expression "param_7[6] = 2" (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)) ;) }) (else_clause "else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }" else (if_statement "if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\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    }" { (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)) ;) }) (else_clause "else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }" else (if_statement "if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }" if (parenthesized_expression "((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0))" ( (binary_expression "(param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)" (parenthesized_expression "(param_8 == 0)" ( (binary_expression "param_8 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)" ( (comma_expression "iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc)" identifier = (call_expression "(*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc)" (parenthesized_expression "(*(code *)PTR_getenv_00032364)" ( (pointer_expression "*(code *)PTR_getenv_00032364" * (cast_expression "(code *)PTR_getenv_00032364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_00032118 + 0xdc)" ( (binary_expression "PTR_DAT_00032118 + 0xdc" identifier + number_literal) )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      param_7[6] = 1;\n    }" { (expression_statement "param_7[6] = 1;" (assignment_expression "param_7[6] = 1" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      param_7[6] = 0;\n    }" else (compound_statement "{\n      param_7[6] = 0;\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_7[4] = 1;" (assignment_expression "param_7[4] = 1" (subscript_expression "param_7[4]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }" else (compound_statement "{\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }" { (if_statement "if (param_7[4] == 0) goto LAB_0001c7f8;" 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_0001c7f8;" goto statement_identifier ;)) (if_statement "if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }" if (parenthesized_expression "((*param_3 == '-') || (*param_3 == '+'))" ( (binary_expression "(*param_3 == '-') || (*param_3 == '+')" (parenthesized_expression "(*param_3 == '-')" ( (binary_expression "*param_3 == '-'" (pointer_expression "*param_3" * identifier) == (char_literal "'-'" ' character ')) )) || (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    }" { (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 (*param_3 == ':') {\n    iVar8 = 0;\n  }" if (parenthesized_expression "(*param_3 == ':')" ( (binary_expression "*param_3 == ':'" (pointer_expression "*param_3" * identifier) == (char_literal "':'" ' character ')) )) (compound_statement "{\n    iVar8 = 0;\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) })) (if_statement "if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;" if (parenthesized_expression "(((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0'))" ( (binary_expression "((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')" (parenthesized_expression "((char *)param_7[5] != (char *)0x0)" ( (binary_expression "(char *)param_7[5] != (char *)0x0" (cast_expression "(char *)param_7[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ])) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(char *)param_7[5] != '\0')" ( (binary_expression "*(char *)param_7[5] != '\0'" (pointer_expression "*(char *)param_7[5]" * (cast_expression "(char *)param_7[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0001ca80;" goto statement_identifier ;)) (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }" if (parenthesized_expression "(iVar2 < param_7[8])" ( (binary_expression "iVar2 < param_7[8]" identifier < (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n    param_7[8] = iVar2;\n  }" { (expression_statement "param_7[8] = iVar2;" (assignment_expression "param_7[8] = iVar2" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }" if (parenthesized_expression "(iVar2 < param_7[7])" ( (binary_expression "iVar2 < param_7[7]" identifier < (subscript_expression "param_7[7]" identifier [ number_literal ])) )) (compound_statement "{\n    param_7[7] = iVar2;\n  }" { (expression_statement "param_7[7] = iVar2;" (assignment_expression "param_7[7] = iVar2" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\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    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }" { (expression_statement "iVar3 = param_7[8];" (assignment_expression "iVar3 = param_7[8]" identifier = (subscript_expression "param_7[8]" identifier [ number_literal ])) ;) (if_statement "if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }" if (parenthesized_expression "(param_7[7] == iVar3)" ( (binary_expression "param_7[7] == iVar3" (subscript_expression "param_7[7]" identifier [ number_literal ]) == identifier) )) (compound_statement "{\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }" { (if_statement "if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }" if (parenthesized_expression "(iVar2 != iVar3)" ( (binary_expression "iVar2 != iVar3" identifier != identifier) )) (compound_statement "{\n        param_7[7] = iVar2;\n      }" { (expression_statement "param_7[7] = iVar2;" (assignment_expression "param_7[7] = iVar2" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) })) (labeled_statement "LAB_0001c994:\n      iVar2 = *param_7;" statement_identifier : (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;)) }) (else_clause "else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }" else (compound_statement "{\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }" { (if_statement "if (iVar2 == iVar3) goto LAB_0001c994;" if (parenthesized_expression "(iVar2 == iVar3)" ( (binary_expression "iVar2 == iVar3" identifier == identifier) )) (goto_statement "goto LAB_0001c994;" goto statement_identifier ;)) (expression_statement "FUN_0001bf40(param_2,param_7);" (call_expression "FUN_0001bf40(param_2,param_7)" identifier (argument_list "(param_2,param_7)" ( identifier , identifier ))) ;) (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) }))) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) (if_statement "if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }" if (parenthesized_expression "(iVar2 < param_1)" ( (binary_expression "iVar2 < param_1" identifier < identifier) )) (compound_statement "{\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }" { (expression_statement "puVar5 = param_2 + iVar2;" (assignment_expression "puVar5 = param_2 + iVar2" identifier = (binary_expression "param_2 + iVar2" identifier + identifier)) ;) (do_statement "do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);" do (compound_statement "{\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      }" { (if_statement "if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }" if (parenthesized_expression "((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0'))" ( (binary_expression "(*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')" (parenthesized_expression "(*(char *)*puVar5 == '-')" ( (binary_expression "*(char *)*puVar5 == '-'" (pointer_expression "*(char *)*puVar5" * (cast_expression "(char *)*puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(((char *)*puVar5)[1] != '\0')" ( (binary_expression "((char *)*puVar5)[1] != '\0'" (subscript_expression "((char *)*puVar5)[1]" (parenthesized_expression "((char *)*puVar5)" ( (cast_expression "(char *)*puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier)) )) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }" { (expression_statement "param_7[8] = iVar2;" (assignment_expression "param_7[8] = iVar2" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0001c894;" goto statement_identifier ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = iVar2;" (assignment_expression "*param_7 = iVar2" (pointer_expression "*param_7" * identifier) = identifier) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = param_1;" (assignment_expression "iVar3 = param_1" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 != param_1)" ( (binary_expression "iVar2 != param_1" identifier != identifier) )) ;) })) (expression_statement "param_7[8] = iVar3;" (assignment_expression "param_7[8] = iVar3" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (labeled_statement "LAB_0001c894:\n  iVar2 = *param_7;" statement_identifier : (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;)) (if_statement "if (iVar2 == param_1) goto LAB_0001c8f4;" if (parenthesized_expression "(iVar2 == param_1)" ( (binary_expression "iVar2 == param_1" identifier == identifier) )) (goto_statement "goto LAB_0001c8f4;" goto statement_identifier ;)) (expression_statement "pcVar10 = (char *)param_2[iVar2];" (assignment_expression "pcVar10 = (char *)param_2[iVar2]" identifier = (cast_expression "(char *)param_2[iVar2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[iVar2]" identifier [ identifier ]))) ;) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0)" identifier = (call_expression "(*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0)" (parenthesized_expression "(*(code *)PTR_strcmp_000323e8)" ( (pointer_expression "*(code *)PTR_strcmp_000323e8" * (cast_expression "(code *)PTR_strcmp_000323e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar10,PTR_DAT_00032118 + 0xfd0)" ( identifier , (binary_expression "PTR_DAT_00032118 + 0xfd0" identifier + number_literal) )))) ;) (expression_statement "puVar1 = PTR_DAT_00032118;" (assignment_expression "puVar1 = PTR_DAT_00032118" identifier = identifier) ;) (if_statement "if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }" { (if_statement "if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }" if (parenthesized_expression "((*pcVar10 != '-') || (pcVar10[1] == '\0'))" ( (binary_expression "(*pcVar10 != '-') || (pcVar10[1] == '\0')" (parenthesized_expression "(*pcVar10 != '-')" ( (binary_expression "*pcVar10 != '-'" (pointer_expression "*pcVar10" * identifier) != (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(pcVar10[1] == '\0')" ( (binary_expression "pcVar10[1] == '\0'" (subscript_expression "pcVar10[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\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 = iVar2 + 1;" (assignment_expression "*param_7 = iVar2 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "param_7[3] = param_2[iVar2];" (assignment_expression "param_7[3] = param_2[iVar2]" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (subscript_expression "param_2[iVar2]" identifier [ identifier ])) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }" { (labeled_statement "LAB_0001ca68:\n      iVar2 = *param_7;" statement_identifier : (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;)) }) (else_clause "else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }" else (compound_statement "{\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }" { (if_statement "if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }" if (parenthesized_expression "(pcVar10[1] == '-')" ( (binary_expression "pcVar10[1] == '-'" (subscript_expression "pcVar10[1]" identifier [ number_literal ]) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }" { (expression_statement "param_7[5] = (int)(pcVar10 + 2);" (assignment_expression "param_7[5] = (int)(pcVar10 + 2)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)(pcVar10 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar10 + 2)" ( (binary_expression "pcVar10 + 2" identifier + number_literal) )))) ;) (expression_statement "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);" (assignment_expression "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0)" identifier = (call_expression "FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "puVar1 + 0xfd0" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) (if_statement "if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;" if (parenthesized_expression "((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))" ( (binary_expression "(param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)))" (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) || (parenthesized_expression "((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)))" ( (parenthesized_expression "(pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))" ( (binary_expression "pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)" (binary_expression "pcVar10[2] == '\0'" (subscript_expression "pcVar10[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_strchr_00032348)(param_3)" identifier = (call_expression "(*(code *)PTR_strchr_00032348)(param_3)" (parenthesized_expression "(*(code *)PTR_strchr_00032348)" ( (pointer_expression "*(code *)PTR_strchr_00032348" * (cast_expression "(code *)PTR_strchr_00032348" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) ))) )) (goto_statement "goto LAB_0001ca68;" goto statement_identifier ;)) (expression_statement "param_7[5] = (int)(pcVar10 + 1);" (assignment_expression "param_7[5] = (int)(pcVar10 + 1)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)(pcVar10 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar10 + 1)" ( (binary_expression "pcVar10 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);" (assignment_expression "iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268)" identifier = (call_expression "FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "PTR_DAT_00032118 + -0x268" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != -1) {\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (compound_statement "{\n        return iVar2;\n      }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) }))) (expression_statement "param_7[5] = param_2[iVar2] + 1;" (assignment_expression "param_7[5] = param_2[iVar2] + 1" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (binary_expression "param_2[iVar2] + 1" (subscript_expression "param_2[iVar2]" identifier [ identifier ]) + number_literal)) ;) (labeled_statement "LAB_0001ca80:\n    pcVar9 = (char *)param_7[5];" statement_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 ]))) ;)) (expression_statement "pcVar11 = pcVar9 + 1;" (assignment_expression "pcVar11 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "param_7[5] = (int)pcVar11;" (assignment_expression "param_7[5] = (int)pcVar11" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar2 = (int)*pcVar9;" (assignment_expression "iVar2 = (int)*pcVar9" identifier = (cast_expression "(int)*pcVar9" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar9" * identifier))) ;) (expression_statement "pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);" (assignment_expression "pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2)" identifier = (cast_expression "(char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_00032348)(param_3,iVar2)" (parenthesized_expression "(*(code *)PTR_strchr_00032348)" ( (pointer_expression "*(code *)PTR_strchr_00032348" * (cast_expression "(code *)PTR_strchr_00032348" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,iVar2)" ( 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)) ;) })) (if_statement "if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }" if (parenthesized_expression "((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2))" ( (binary_expression "(pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)" (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((iVar2 - 0x3aU & 0xff) < 2)" ( (binary_expression "(iVar2 - 0x3aU & 0xff) < 2" (parenthesized_expression "(iVar2 - 0x3aU & 0xff)" ( (binary_expression "iVar2 - 0x3aU & 0xff" (binary_expression "iVar2 - 0x3aU" identifier - number_literal) & number_literal) )) < number_literal) ))) )) (compound_statement "{\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }" { (if_statement "if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }" { (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" * (cast_expression "(undefined4 *)PTR_stderr_000323d4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" ( (pointer_expression "*(code *)PTR_dcgettext_000323a4" * (cast_expression "(code *)PTR_dcgettext_000323a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_00032118 + 0xfd4,5)" ( number_literal , (binary_expression "PTR_DAT_00032118 + 0xfd4" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" * (cast_expression "(code *)PTR___fprintf_chk_000322c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,uVar4,*param_2,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) })) (expression_statement "param_7[2] = iVar2;" (assignment_expression "param_7[2] = iVar2" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 0x3f;" return number_literal ;) })) (if_statement "if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }" if (parenthesized_expression "(*pcVar10 == 'W')" ( (binary_expression "*pcVar10 == 'W'" (pointer_expression "*pcVar10" * identifier) == (char_literal "'W'" ' character ')) )) (compound_statement "{\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }" { (expression_statement "cVar6 = pcVar10[1];" (assignment_expression "cVar6 = pcVar10[1]" identifier = (subscript_expression "pcVar10[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }" if (parenthesized_expression "(cVar6 == ';')" ( (binary_expression "cVar6 == ';'" identifier == (char_literal "';'" ' character ')) )) (compound_statement "{\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }" { (if_statement "if (param_4 == 0) {\n          return iVar2;\n        }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n          return iVar2;\n        }" { (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\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 (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }" { (if_statement "if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }" if (parenthesized_expression "(*param_7 == param_1)" ( (binary_expression "*param_7 == param_1" (pointer_expression "*param_7" * identifier) == identifier) )) (compound_statement "{\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }" { (if_statement "if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }" { (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" * (cast_expression "(undefined4 *)PTR_stderr_000323d4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" ( (pointer_expression "*(code *)PTR_dcgettext_000323a4" * (cast_expression "(code *)PTR_dcgettext_000323a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_00032118 + 0xff0,5)" ( number_literal , (binary_expression "PTR_DAT_00032118 + 0xff0" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" * (cast_expression "(code *)PTR___fprintf_chk_000322c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,uVar4,*param_2,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) })) (expression_statement "param_7[2] = iVar2;" (assignment_expression "param_7[2] = iVar2" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (*param_3 != ':') {\n              return 0x3f;\n            }" if (parenthesized_expression "(*param_3 != ':')" ( (binary_expression "*param_3 != ':'" (pointer_expression "*param_3" * identifier) != (char_literal "':'" ' character ')) )) (compound_statement "{\n              return 0x3f;\n            }" { (return_statement "return 0x3f;" return number_literal ;) })) (return_statement "return 0x3a;" return number_literal ;) })) (expression_statement "param_7[3] = param_2[*param_7];" (assignment_expression "param_7[3] = param_2[*param_7]" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (subscript_expression "param_2[*param_7]" identifier [ (pointer_expression "*param_7" * identifier) ])) ;) }) (else_clause "else {\n          param_7[3] = (int)pcVar11;\n        }" else (compound_statement "{\n          param_7[3] = (int)pcVar11;\n        }" { (expression_statement "param_7[3] = (int)pcVar11;" (assignment_expression "param_7[3] = (int)pcVar11" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "param_7[5] = param_7[3];" (assignment_expression "param_7[5] = param_7[3]" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (subscript_expression "param_7[3]" identifier [ number_literal ])) ;) (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);" (assignment_expression "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c)" identifier = (call_expression "FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c)" ( identifier , identifier , identifier , identifier , identifier , number_literal , identifier , identifier , (binary_expression "PTR_DAT_00032118 + 0x101c" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) }) (else_clause "else {\n      cVar6 = pcVar10[1];\n    }" else (compound_statement "{\n      cVar6 = pcVar10[1];\n    }" { (expression_statement "cVar6 = pcVar10[1];" (assignment_expression "cVar6 = pcVar10[1]" identifier = (subscript_expression "pcVar10[1]" identifier [ number_literal ])) ;) }))) (if_statement "if (cVar6 != ':') {\n      return iVar2;\n    }" if (parenthesized_expression "(cVar6 != ':')" ( (binary_expression "cVar6 != ':'" identifier != (char_literal "':'" ' character ')) )) (compound_statement "{\n      return iVar2;\n    }" { (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }" if (parenthesized_expression "(pcVar10[2] == ':')" ( (binary_expression "pcVar10[2] == ':'" (subscript_expression "pcVar10[2]" identifier [ number_literal ]) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }" { (if_statement "if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\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[3] = 0;\n      }" { (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }" else (compound_statement "{\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }" { (expression_statement "param_7[3] = (int)pcVar11;" (assignment_expression "param_7[3] = (int)pcVar11" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 + 1" (pointer_expression "*param_7" * identifier) + number_literal)) ;) }))) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\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      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }" { (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }" if (parenthesized_expression "(iVar3 == param_1)" ( (binary_expression "iVar3 == param_1" identifier == identifier) )) (compound_statement "{\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }" { (if_statement "if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }" { (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" * (cast_expression "(undefined4 *)PTR_stderr_000323d4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" ( (pointer_expression "*(code *)PTR_dcgettext_000323a4" * (cast_expression "(code *)PTR_dcgettext_000323a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_00032118 + 0xff0,5)" ( number_literal , (binary_expression "PTR_DAT_00032118 + 0xff0" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" * (cast_expression "(code *)PTR___fprintf_chk_000322c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,uVar4,*param_2,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) })) (expression_statement "param_7[2] = iVar2;" (assignment_expression "param_7[2] = iVar2" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar2 = (int)*param_3;" (assignment_expression "iVar2 = (int)*param_3" identifier = (cast_expression "(int)*param_3" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }" if (parenthesized_expression "(iVar2 != 0x3a)" ( (binary_expression "iVar2 != 0x3a" identifier != number_literal) )) (compound_statement "{\n          iVar2 = 0x3f;\n        }" { (expression_statement "iVar2 = 0x3f;" (assignment_expression "iVar2 = 0x3f" identifier = number_literal) ;) })) }) (else_clause "else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }" else (compound_statement "{\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }" { (expression_statement "*param_7 = iVar3 + 1;" (assignment_expression "*param_7 = iVar3 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "param_7[3] = param_2[iVar3];" (assignment_expression "param_7[3] = param_2[iVar3]" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (subscript_expression "param_2[iVar3]" identifier [ identifier ])) ;) }))) }) (else_clause "else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }" else (compound_statement "{\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }" { (expression_statement "param_7[3] = (int)pcVar11;" (assignment_expression "param_7[3] = (int)pcVar11" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 + 1" (pointer_expression "*param_7" * identifier) + number_literal)) ;) }))) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = iVar2;" (assignment_expression "*param_7 = iVar2" (pointer_expression "*param_7" * identifier) = identifier) ;) (if_statement "if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }" if (parenthesized_expression "(param_7[7] == param_7[8])" ( (binary_expression "param_7[7] == param_7[8]" (subscript_expression "param_7[7]" identifier [ number_literal ]) == (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }" { (expression_statement "param_7[7] = iVar2;" (assignment_expression "param_7[7] = iVar2" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_0001c8ec:\n    param_7[8] = param_1;" statement_identifier : (expression_statement "param_7[8] = param_1;" (assignment_expression "param_7[8] = param_1" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;)) }) (else_clause "else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }" else (compound_statement "{\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }" { (if_statement "if (iVar2 == param_7[8]) goto LAB_0001c8ec;" if (parenthesized_expression "(iVar2 == param_7[8])" ( (binary_expression "iVar2 == param_7[8]" identifier == (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (goto_statement "goto LAB_0001c8ec;" goto statement_identifier ;)) (expression_statement "FUN_0001bf40(param_2,param_7);" (call_expression "FUN_0001bf40(param_2,param_7)" identifier (argument_list "(param_2,param_7)" ( identifier , 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) ;) (labeled_statement "LAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }" statement_identifier : (if_statement "if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }" if (parenthesized_expression "(param_7[7] != param_7[8])" ( (binary_expression "param_7[7] != param_7[8]" (subscript_expression "param_7[7]" identifier [ number_literal ]) != (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n    *param_7 = param_7[7];\n  }" { (expression_statement "*param_7 = param_7[7];" (assignment_expression "*param_7 = param_7[7]" (pointer_expression "*param_7" * identifier) = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) }))) (return_statement "return -1;" return number_literal ;) })))
(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  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char **ppcVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = d->rpl_opterr;\n  if (argc < 1) {\n    return -1;\n  }\n  d->rpl_optarg = (char *)0x0;\n  if (d->rpl_optind == 0) {\n    d->rpl_optind = 1;\nLAB_0001c7f8:\n    d->__last_nonopt = d->rpl_optind;\n    d->__first_nonopt = d->rpl_optind;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      d->__ordering = RETURN_IN_ORDER;\n      optstring = optstring + 1;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n    }\n    else if ((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))\n    {\n      d->__ordering = PERMUTE;\n    }\n    else {\n      d->__ordering = REQUIRE_ORDER;\n    }\n    d->__initialized = 1;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_0001c7f8;\n    if ((*optstring == '-') || (*optstring == '+')) {\n      optstring = optstring + 1;\n    }\n  }\n  if (*optstring == ':') {\n    iVar8 = 0;\n  }\n  if ((d->__nextchar != (char *)0x0) && (*d->__nextchar != '\0')) goto LAB_0001ca80;\n  iVar2 = d->rpl_optind;\n  if (iVar2 < d->__last_nonopt) {\n    d->__last_nonopt = iVar2;\n  }\n  if (iVar2 < d->__first_nonopt) {\n    d->__first_nonopt = iVar2;\n  }\n  if (d->__ordering == PERMUTE) {\n    iVar3 = d->__last_nonopt;\n    if (d->__first_nonopt == iVar3) {\n      if (iVar2 != iVar3) {\n        d->__first_nonopt = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      exchange(argv,d);\n      iVar2 = d->rpl_optind;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < argc) {\n      ppcVar5 = argv + iVar2;\n      do {\n        if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        d->rpl_optind = iVar2;\n        ppcVar5 = ppcVar5 + 1;\n        iVar3 = argc;\n      } while (iVar2 != argc);\n    }\n    d->__last_nonopt = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = d->rpl_optind;\n  if (iVar2 == argc) goto LAB_0001c8f4;\n  pcVar10 = argv[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_patterns_49__00032118 + 0xfd0);\n  puVar1 = PTR_patterns_49__00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optind = iVar2 + 1;\n      d->rpl_optarg = argv[iVar2];\n      return 1;\n    }\n    if (longopts == (rpl_option *)0x0) {\nLAB_0001ca68:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        d->__nextchar = pcVar10 + 2;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))\n      goto LAB_0001ca68;\n      d->__nextchar = pcVar10 + 1;\n      iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = d->rpl_optind;\n    }\n    d->__nextchar = argv[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = d->__nextchar;\n    pcVar11 = pcVar9 + 1;\n    d->__nextchar = pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(optstring,iVar2);\n    if (pcVar9[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n      }\n      d->rpl_optopt = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (longopts == (rpl_option *)0x0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }\n        else {\n          d->rpl_optarg = pcVar11;\n        }\n        d->__nextchar = d->rpl_optarg;\n        d->rpl_optarg = (char *)0x0;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n      }\n      else {\n        d->rpl_optarg = pcVar11;\n        d->rpl_optind = d->rpl_optind + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = d->rpl_optind;\n      if (iVar3 == argc) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }\n        d->rpl_optopt = iVar2;\n        iVar2 = (int)*optstring;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        d->rpl_optind = iVar3 + 1;\n        d->rpl_optarg = argv[iVar3];\n      }\n    }\n    else {\n      d->rpl_optarg = pcVar11;\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    d->__nextchar = (char *)0x0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  d->rpl_optind = iVar2;\n  if (d->__first_nonopt == d->__last_nonopt) {\n    d->__first_nonopt = iVar2;\nLAB_0001c8ec:\n    d->__last_nonopt = argc;\n  }\n  else {\n    if (iVar2 == d->__last_nonopt) goto LAB_0001c8ec;\n    exchange(argv,d);\n    d->__last_nonopt = argc;\n  }\n  d->rpl_optind = argc;\nLAB_0001c8f4:\n  if (d->__first_nonopt != d->__last_nonopt) {\n    d->rpl_optind = d->__first_nonopt;\n  }\n  return -1;\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  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char **ppcVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = d->rpl_opterr;\n  if (argc < 1) {\n    return -1;\n  }\n  d->rpl_optarg = (char *)0x0;\n  if (d->rpl_optind == 0) {\n    d->rpl_optind = 1;\nLAB_0001c7f8:\n    d->__last_nonopt = d->rpl_optind;\n    d->__first_nonopt = d->rpl_optind;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      d->__ordering = RETURN_IN_ORDER;\n      optstring = optstring + 1;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n    }\n    else if ((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))\n    {\n      d->__ordering = PERMUTE;\n    }\n    else {\n      d->__ordering = REQUIRE_ORDER;\n    }\n    d->__initialized = 1;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_0001c7f8;\n    if ((*optstring == '-') || (*optstring == '+')) {\n      optstring = optstring + 1;\n    }\n  }\n  if (*optstring == ':') {\n    iVar8 = 0;\n  }\n  if ((d->__nextchar != (char *)0x0) && (*d->__nextchar != '\0')) goto LAB_0001ca80;\n  iVar2 = d->rpl_optind;\n  if (iVar2 < d->__last_nonopt) {\n    d->__last_nonopt = iVar2;\n  }\n  if (iVar2 < d->__first_nonopt) {\n    d->__first_nonopt = iVar2;\n  }\n  if (d->__ordering == PERMUTE) {\n    iVar3 = d->__last_nonopt;\n    if (d->__first_nonopt == iVar3) {\n      if (iVar2 != iVar3) {\n        d->__first_nonopt = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      exchange(argv,d);\n      iVar2 = d->rpl_optind;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < argc) {\n      ppcVar5 = argv + iVar2;\n      do {\n        if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        d->rpl_optind = iVar2;\n        ppcVar5 = ppcVar5 + 1;\n        iVar3 = argc;\n      } while (iVar2 != argc);\n    }\n    d->__last_nonopt = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = d->rpl_optind;\n  if (iVar2 == argc) goto LAB_0001c8f4;\n  pcVar10 = argv[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_patterns_49__00032118 + 0xfd0);\n  puVar1 = PTR_patterns_49__00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optind = iVar2 + 1;\n      d->rpl_optarg = argv[iVar2];\n      return 1;\n    }\n    if (longopts == (rpl_option *)0x0) {\nLAB_0001ca68:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        d->__nextchar = pcVar10 + 2;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))\n      goto LAB_0001ca68;\n      d->__nextchar = pcVar10 + 1;\n      iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = d->rpl_optind;\n    }\n    d->__nextchar = argv[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = d->__nextchar;\n    pcVar11 = pcVar9 + 1;\n    d->__nextchar = pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(optstring,iVar2);\n    if (pcVar9[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n      }\n      d->rpl_optopt = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (longopts == (rpl_option *)0x0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }\n        else {\n          d->rpl_optarg = pcVar11;\n        }\n        d->__nextchar = d->rpl_optarg;\n        d->rpl_optarg = (char *)0x0;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n      }\n      else {\n        d->rpl_optarg = pcVar11;\n        d->rpl_optind = d->rpl_optind + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = d->rpl_optind;\n      if (iVar3 == argc) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }\n        d->rpl_optopt = iVar2;\n        iVar2 = (int)*optstring;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        d->rpl_optind = iVar3 + 1;\n        d->rpl_optarg = argv[iVar3];\n      }\n    }\n    else {\n      d->rpl_optarg = pcVar11;\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    d->__nextchar = (char *)0x0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  d->rpl_optind = iVar2;\n  if (d->__first_nonopt == d->__last_nonopt) {\n    d->__first_nonopt = iVar2;\nLAB_0001c8ec:\n    d->__last_nonopt = argc;\n  }\n  else {\n    if (iVar2 == d->__last_nonopt) goto LAB_0001c8ec;\n    exchange(argv,d);\n    d->__last_nonopt = argc;\n  }\n  d->rpl_optind = argc;\nLAB_0001c8f4:\n  if (d->__first_nonopt != d->__last_nonopt) {\n    d->rpl_optind = d->__first_nonopt;\n  }\n  return -1;\n}" primitive_type (function_declarator "_getopt_internal_r(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,\n                      int long_only,_getopt_data *d,int posixly_correct)" identifier (parameter_list "(int argc,char **argv,char *optstring,rpl_option *longopts,int *longind,\n                      int long_only,_getopt_data *d,int posixly_correct)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "char *optstring" primitive_type (pointer_declarator "*optstring" * identifier)) , (parameter_declaration "rpl_option *longopts" type_identifier (pointer_declarator "*longopts" * identifier)) , (parameter_declaration "int *longind" primitive_type (pointer_declarator "*longind" * identifier)) , (parameter_declaration "int long_only" primitive_type identifier) , (parameter_declaration "_getopt_data *d" type_identifier (pointer_declarator "*d" * identifier)) , (parameter_declaration "int posixly_correct" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char **ppcVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = d->rpl_opterr;\n  if (argc < 1) {\n    return -1;\n  }\n  d->rpl_optarg = (char *)0x0;\n  if (d->rpl_optind == 0) {\n    d->rpl_optind = 1;\nLAB_0001c7f8:\n    d->__last_nonopt = d->rpl_optind;\n    d->__first_nonopt = d->rpl_optind;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      d->__ordering = RETURN_IN_ORDER;\n      optstring = optstring + 1;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n    }\n    else if ((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))\n    {\n      d->__ordering = PERMUTE;\n    }\n    else {\n      d->__ordering = REQUIRE_ORDER;\n    }\n    d->__initialized = 1;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_0001c7f8;\n    if ((*optstring == '-') || (*optstring == '+')) {\n      optstring = optstring + 1;\n    }\n  }\n  if (*optstring == ':') {\n    iVar8 = 0;\n  }\n  if ((d->__nextchar != (char *)0x0) && (*d->__nextchar != '\0')) goto LAB_0001ca80;\n  iVar2 = d->rpl_optind;\n  if (iVar2 < d->__last_nonopt) {\n    d->__last_nonopt = iVar2;\n  }\n  if (iVar2 < d->__first_nonopt) {\n    d->__first_nonopt = iVar2;\n  }\n  if (d->__ordering == PERMUTE) {\n    iVar3 = d->__last_nonopt;\n    if (d->__first_nonopt == iVar3) {\n      if (iVar2 != iVar3) {\n        d->__first_nonopt = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      exchange(argv,d);\n      iVar2 = d->rpl_optind;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < argc) {\n      ppcVar5 = argv + iVar2;\n      do {\n        if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        d->rpl_optind = iVar2;\n        ppcVar5 = ppcVar5 + 1;\n        iVar3 = argc;\n      } while (iVar2 != argc);\n    }\n    d->__last_nonopt = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = d->rpl_optind;\n  if (iVar2 == argc) goto LAB_0001c8f4;\n  pcVar10 = argv[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_patterns_49__00032118 + 0xfd0);\n  puVar1 = PTR_patterns_49__00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optind = iVar2 + 1;\n      d->rpl_optarg = argv[iVar2];\n      return 1;\n    }\n    if (longopts == (rpl_option *)0x0) {\nLAB_0001ca68:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        d->__nextchar = pcVar10 + 2;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))\n      goto LAB_0001ca68;\n      d->__nextchar = pcVar10 + 1;\n      iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = d->rpl_optind;\n    }\n    d->__nextchar = argv[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = d->__nextchar;\n    pcVar11 = pcVar9 + 1;\n    d->__nextchar = pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(optstring,iVar2);\n    if (pcVar9[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n      }\n      d->rpl_optopt = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (longopts == (rpl_option *)0x0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }\n        else {\n          d->rpl_optarg = pcVar11;\n        }\n        d->__nextchar = d->rpl_optarg;\n        d->rpl_optarg = (char *)0x0;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n      }\n      else {\n        d->rpl_optarg = pcVar11;\n        d->rpl_optind = d->rpl_optind + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = d->rpl_optind;\n      if (iVar3 == argc) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }\n        d->rpl_optopt = iVar2;\n        iVar2 = (int)*optstring;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        d->rpl_optind = iVar3 + 1;\n        d->rpl_optarg = argv[iVar3];\n      }\n    }\n    else {\n      d->rpl_optarg = pcVar11;\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    d->__nextchar = (char *)0x0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  d->rpl_optind = iVar2;\n  if (d->__first_nonopt == d->__last_nonopt) {\n    d->__first_nonopt = iVar2;\nLAB_0001c8ec:\n    d->__last_nonopt = argc;\n  }\n  else {\n    if (iVar2 == d->__last_nonopt) goto LAB_0001c8ec;\n    exchange(argv,d);\n    d->__last_nonopt = argc;\n  }\n  d->rpl_optind = argc;\nLAB_0001c8f4:\n  if (d->__first_nonopt != d->__last_nonopt) {\n    d->rpl_optind = d->__first_nonopt;\n  }\n  return -1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char **ppcVar5;" primitive_type (pointer_declarator "**ppcVar5" * (pointer_declarator "*ppcVar5" * identifier)) ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (expression_statement "iVar8 = d->rpl_opterr;" (assignment_expression "iVar8 = 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 "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 (d->rpl_optind == 0) {\n    d->rpl_optind = 1;\nLAB_0001c7f8:\n    d->__last_nonopt = d->rpl_optind;\n    d->__first_nonopt = d->rpl_optind;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      d->__ordering = RETURN_IN_ORDER;\n      optstring = optstring + 1;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n    }\n    else if ((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))\n    {\n      d->__ordering = PERMUTE;\n    }\n    else {\n      d->__ordering = REQUIRE_ORDER;\n    }\n    d->__initialized = 1;\n  }\n  else {\n    if (d->__initialized == 0) goto LAB_0001c7f8;\n    if ((*optstring == '-') || (*optstring == '+')) {\n      optstring = optstring + 1;\n    }\n  }" if (parenthesized_expression "(d->rpl_optind == 0)" ( (binary_expression "d->rpl_optind == 0" (field_expression "d->rpl_optind" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    d->rpl_optind = 1;\nLAB_0001c7f8:\n    d->__last_nonopt = d->rpl_optind;\n    d->__first_nonopt = d->rpl_optind;\n    d->__nextchar = (char *)0x0;\n    if (*optstring == '-') {\n      d->__ordering = RETURN_IN_ORDER;\n      optstring = optstring + 1;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n    }\n    else if ((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))\n    {\n      d->__ordering = PERMUTE;\n    }\n    else {\n      d->__ordering = REQUIRE_ORDER;\n    }\n    d->__initialized = 1;\n  }" { (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_0001c7f8:\n    d->__last_nonopt = d->rpl_optind;" statement_identifier : (expression_statement "d->__last_nonopt = d->rpl_optind;" (assignment_expression "d->__last_nonopt = d->rpl_optind" (field_expression "d->__last_nonopt" identifier -> field_identifier) = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;)) (expression_statement "d->__first_nonopt = d->rpl_optind;" (assignment_expression "d->__first_nonopt = d->rpl_optind" (field_expression "d->__first_nonopt" identifier -> field_identifier) = (field_expression "d->rpl_optind" identifier -> field_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      d->__ordering = RETURN_IN_ORDER;\n      optstring = optstring + 1;\n    }\n    else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n    }\n    else if ((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))\n    {\n      d->__ordering = PERMUTE;\n    }\n    else {\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 = RETURN_IN_ORDER;\n      optstring = optstring + 1;\n    }" { (expression_statement "d->__ordering = RETURN_IN_ORDER;" (assignment_expression "d->__ordering = RETURN_IN_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)) ;) }) (else_clause "else if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n    }\n    else if ((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))\n    {\n      d->__ordering = PERMUTE;\n    }\n    else {\n      d->__ordering = REQUIRE_ORDER;\n    }" else (if_statement "if (*optstring == '+') {\n      d->__ordering = REQUIRE_ORDER;\n      optstring = optstring + 1;\n    }\n    else if ((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))\n    {\n      d->__ordering = PERMUTE;\n    }\n    else {\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    }" { (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)) ;) }) (else_clause "else if ((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))\n    {\n      d->__ordering = PERMUTE;\n    }\n    else {\n      d->__ordering = REQUIRE_ORDER;\n    }" else (if_statement "if ((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))\n    {\n      d->__ordering = PERMUTE;\n    }\n    else {\n      d->__ordering = REQUIRE_ORDER;\n    }" if (parenthesized_expression "((posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0))" ( (binary_expression "(posixly_correct == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0)" (parenthesized_expression "(posixly_correct == 0)" ( (binary_expression "posixly_correct == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0)" ( (comma_expression "iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc)" identifier = (call_expression "(*(code *)PTR_getenv_00032364)(PTR_patterns_49__00032118 + 0xdc)" (parenthesized_expression "(*(code *)PTR_getenv_00032364)" ( (pointer_expression "*(code *)PTR_getenv_00032364" * (cast_expression "(code *)PTR_getenv_00032364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_patterns_49__00032118 + 0xdc)" ( (binary_expression "PTR_patterns_49__00032118 + 0xdc" identifier + number_literal) )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      d->__ordering = PERMUTE;\n    }" { (expression_statement "d->__ordering = PERMUTE;" (assignment_expression "d->__ordering = PERMUTE" (field_expression "d->__ordering" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n      d->__ordering = REQUIRE_ORDER;\n    }" else (compound_statement "{\n      d->__ordering = REQUIRE_ORDER;\n    }" { (expression_statement "d->__ordering = REQUIRE_ORDER;" (assignment_expression "d->__ordering = REQUIRE_ORDER" (field_expression "d->__ordering" identifier -> field_identifier) = identifier) ;) }))))))) (expression_statement "d->__initialized = 1;" (assignment_expression "d->__initialized = 1" (field_expression "d->__initialized" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else {\n    if (d->__initialized == 0) goto LAB_0001c7f8;\n    if ((*optstring == '-') || (*optstring == '+')) {\n      optstring = optstring + 1;\n    }\n  }" else (compound_statement "{\n    if (d->__initialized == 0) goto LAB_0001c7f8;\n    if ((*optstring == '-') || (*optstring == '+')) {\n      optstring = optstring + 1;\n    }\n  }" { (if_statement "if (d->__initialized == 0) goto LAB_0001c7f8;" if (parenthesized_expression "(d->__initialized == 0)" ( (binary_expression "d->__initialized == 0" (field_expression "d->__initialized" identifier -> field_identifier) == number_literal) )) (goto_statement "goto LAB_0001c7f8;" goto statement_identifier ;)) (if_statement "if ((*optstring == '-') || (*optstring == '+')) {\n      optstring = optstring + 1;\n    }" if (parenthesized_expression "((*optstring == '-') || (*optstring == '+'))" ( (binary_expression "(*optstring == '-') || (*optstring == '+')" (parenthesized_expression "(*optstring == '-')" ( (binary_expression "*optstring == '-'" (pointer_expression "*optstring" * identifier) == (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(*optstring == '+')" ( (binary_expression "*optstring == '+'" (pointer_expression "*optstring" * identifier) == (char_literal "'+'" ' character ')) ))) )) (compound_statement "{\n      optstring = optstring + 1;\n    }" { (expression_statement "optstring = optstring + 1;" (assignment_expression "optstring = optstring + 1" identifier = (binary_expression "optstring + 1" identifier + number_literal)) ;) })) }))) (if_statement "if (*optstring == ':') {\n    iVar8 = 0;\n  }" if (parenthesized_expression "(*optstring == ':')" ( (binary_expression "*optstring == ':'" (pointer_expression "*optstring" * identifier) == (char_literal "':'" ' character ')) )) (compound_statement "{\n    iVar8 = 0;\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) })) (if_statement "if ((d->__nextchar != (char *)0x0) && (*d->__nextchar != '\0')) goto LAB_0001ca80;" if (parenthesized_expression "((d->__nextchar != (char *)0x0) && (*d->__nextchar != '\0'))" ( (binary_expression "(d->__nextchar != (char *)0x0) && (*d->__nextchar != '\0')" (parenthesized_expression "(d->__nextchar != (char *)0x0)" ( (binary_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)) )) && (parenthesized_expression "(*d->__nextchar != '\0')" ( (binary_expression "*d->__nextchar != '\0'" (pointer_expression "*d->__nextchar" * (field_expression "d->__nextchar" identifier -> field_identifier)) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0001ca80;" goto statement_identifier ;)) (expression_statement "iVar2 = d->rpl_optind;" (assignment_expression "iVar2 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;) (if_statement "if (iVar2 < d->__last_nonopt) {\n    d->__last_nonopt = iVar2;\n  }" if (parenthesized_expression "(iVar2 < d->__last_nonopt)" ( (binary_expression "iVar2 < d->__last_nonopt" identifier < (field_expression "d->__last_nonopt" identifier -> field_identifier)) )) (compound_statement "{\n    d->__last_nonopt = iVar2;\n  }" { (expression_statement "d->__last_nonopt = iVar2;" (assignment_expression "d->__last_nonopt = iVar2" (field_expression "d->__last_nonopt" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (iVar2 < d->__first_nonopt) {\n    d->__first_nonopt = iVar2;\n  }" if (parenthesized_expression "(iVar2 < d->__first_nonopt)" ( (binary_expression "iVar2 < d->__first_nonopt" identifier < (field_expression "d->__first_nonopt" identifier -> field_identifier)) )) (compound_statement "{\n    d->__first_nonopt = iVar2;\n  }" { (expression_statement "d->__first_nonopt = iVar2;" (assignment_expression "d->__first_nonopt = iVar2" (field_expression "d->__first_nonopt" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (d->__ordering == PERMUTE) {\n    iVar3 = d->__last_nonopt;\n    if (d->__first_nonopt == iVar3) {\n      if (iVar2 != iVar3) {\n        d->__first_nonopt = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      exchange(argv,d);\n      iVar2 = d->rpl_optind;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < argc) {\n      ppcVar5 = argv + iVar2;\n      do {\n        if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        d->rpl_optind = iVar2;\n        ppcVar5 = ppcVar5 + 1;\n        iVar3 = argc;\n      } while (iVar2 != argc);\n    }\n    d->__last_nonopt = iVar3;\n  }" if (parenthesized_expression "(d->__ordering == PERMUTE)" ( (binary_expression "d->__ordering == PERMUTE" (field_expression "d->__ordering" identifier -> field_identifier) == identifier) )) (compound_statement "{\n    iVar3 = d->__last_nonopt;\n    if (d->__first_nonopt == iVar3) {\n      if (iVar2 != iVar3) {\n        d->__first_nonopt = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      exchange(argv,d);\n      iVar2 = d->rpl_optind;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < argc) {\n      ppcVar5 = argv + iVar2;\n      do {\n        if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        d->rpl_optind = iVar2;\n        ppcVar5 = ppcVar5 + 1;\n        iVar3 = argc;\n      } while (iVar2 != argc);\n    }\n    d->__last_nonopt = iVar3;\n  }" { (expression_statement "iVar3 = d->__last_nonopt;" (assignment_expression "iVar3 = d->__last_nonopt" identifier = (field_expression "d->__last_nonopt" identifier -> field_identifier)) ;) (if_statement "if (d->__first_nonopt == iVar3) {\n      if (iVar2 != iVar3) {\n        d->__first_nonopt = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      exchange(argv,d);\n      iVar2 = d->rpl_optind;\n    }" if (parenthesized_expression "(d->__first_nonopt == iVar3)" ( (binary_expression "d->__first_nonopt == iVar3" (field_expression "d->__first_nonopt" identifier -> field_identifier) == identifier) )) (compound_statement "{\n      if (iVar2 != iVar3) {\n        d->__first_nonopt = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = d->rpl_optind;\n    }" { (if_statement "if (iVar2 != iVar3) {\n        d->__first_nonopt = iVar2;\n      }" if (parenthesized_expression "(iVar2 != iVar3)" ( (binary_expression "iVar2 != iVar3" identifier != identifier) )) (compound_statement "{\n        d->__first_nonopt = iVar2;\n      }" { (expression_statement "d->__first_nonopt = iVar2;" (assignment_expression "d->__first_nonopt = iVar2" (field_expression "d->__first_nonopt" identifier -> field_identifier) = identifier) ;) })) (labeled_statement "LAB_0001c994:\n      iVar2 = d->rpl_optind;" statement_identifier : (expression_statement "iVar2 = d->rpl_optind;" (assignment_expression "iVar2 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;)) }) (else_clause "else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      exchange(argv,d);\n      iVar2 = d->rpl_optind;\n    }" else (compound_statement "{\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      exchange(argv,d);\n      iVar2 = d->rpl_optind;\n    }" { (if_statement "if (iVar2 == iVar3) goto LAB_0001c994;" if (parenthesized_expression "(iVar2 == iVar3)" ( (binary_expression "iVar2 == iVar3" identifier == identifier) )) (goto_statement "goto LAB_0001c994;" goto statement_identifier ;)) (expression_statement "exchange(argv,d);" (call_expression "exchange(argv,d)" identifier (argument_list "(argv,d)" ( identifier , identifier ))) ;) (expression_statement "iVar2 = d->rpl_optind;" (assignment_expression "iVar2 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;) }))) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) (if_statement "if (iVar2 < argc) {\n      ppcVar5 = argv + iVar2;\n      do {\n        if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        d->rpl_optind = iVar2;\n        ppcVar5 = ppcVar5 + 1;\n        iVar3 = argc;\n      } while (iVar2 != argc);\n    }" if (parenthesized_expression "(iVar2 < argc)" ( (binary_expression "iVar2 < argc" identifier < identifier) )) (compound_statement "{\n      ppcVar5 = argv + iVar2;\n      do {\n        if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        d->rpl_optind = iVar2;\n        ppcVar5 = ppcVar5 + 1;\n        iVar3 = argc;\n      } while (iVar2 != argc);\n    }" { (expression_statement "ppcVar5 = argv + iVar2;" (assignment_expression "ppcVar5 = argv + iVar2" identifier = (binary_expression "argv + iVar2" identifier + identifier)) ;) (do_statement "do {\n        if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        d->rpl_optind = iVar2;\n        ppcVar5 = ppcVar5 + 1;\n        iVar3 = argc;\n      } while (iVar2 != argc);" do (compound_statement "{\n        if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        d->rpl_optind = iVar2;\n        ppcVar5 = ppcVar5 + 1;\n        iVar3 = argc;\n      }" { (if_statement "if ((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')) {\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }" if (parenthesized_expression "((**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0'))" ( (binary_expression "(**ppcVar5 == '-') && ((*ppcVar5)[1] != '\0')" (parenthesized_expression "(**ppcVar5 == '-')" ( (binary_expression "**ppcVar5 == '-'" (pointer_expression "**ppcVar5" * (pointer_expression "*ppcVar5" * identifier)) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "((*ppcVar5)[1] != '\0')" ( (binary_expression "(*ppcVar5)[1] != '\0'" (subscript_expression "(*ppcVar5)[1]" (parenthesized_expression "(*ppcVar5)" ( (pointer_expression "*ppcVar5" * identifier) )) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          d->__last_nonopt = iVar2;\n          goto LAB_0001c894;\n        }" { (expression_statement "d->__last_nonopt = iVar2;" (assignment_expression "d->__last_nonopt = iVar2" (field_expression "d->__last_nonopt" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_0001c894;" goto statement_identifier ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "d->rpl_optind = iVar2;" (assignment_expression "d->rpl_optind = iVar2" (field_expression "d->rpl_optind" identifier -> field_identifier) = identifier) ;) (expression_statement "ppcVar5 = ppcVar5 + 1;" (assignment_expression "ppcVar5 = ppcVar5 + 1" identifier = (binary_expression "ppcVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = argc;" (assignment_expression "iVar3 = argc" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 != argc)" ( (binary_expression "iVar2 != argc" identifier != identifier) )) ;) })) (expression_statement "d->__last_nonopt = iVar3;" (assignment_expression "d->__last_nonopt = iVar3" (field_expression "d->__last_nonopt" identifier -> field_identifier) = identifier) ;) })) (labeled_statement "LAB_0001c894:\n  iVar2 = d->rpl_optind;" statement_identifier : (expression_statement "iVar2 = d->rpl_optind;" (assignment_expression "iVar2 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;)) (if_statement "if (iVar2 == argc) goto LAB_0001c8f4;" if (parenthesized_expression "(iVar2 == argc)" ( (binary_expression "iVar2 == argc" identifier == identifier) )) (goto_statement "goto LAB_0001c8f4;" goto statement_identifier ;)) (expression_statement "pcVar10 = argv[iVar2];" (assignment_expression "pcVar10 = argv[iVar2]" identifier = (subscript_expression "argv[iVar2]" identifier [ identifier ])) ;) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_patterns_49__00032118 + 0xfd0);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_patterns_49__00032118 + 0xfd0)" identifier = (call_expression "(*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_patterns_49__00032118 + 0xfd0)" (parenthesized_expression "(*(code *)PTR_strcmp_000323e8)" ( (pointer_expression "*(code *)PTR_strcmp_000323e8" * (cast_expression "(code *)PTR_strcmp_000323e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar10,PTR_patterns_49__00032118 + 0xfd0)" ( identifier , (binary_expression "PTR_patterns_49__00032118 + 0xfd0" identifier + number_literal) )))) ;) (expression_statement "puVar1 = PTR_patterns_49__00032118;" (assignment_expression "puVar1 = PTR_patterns_49__00032118" identifier = identifier) ;) (if_statement "if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optind = iVar2 + 1;\n      d->rpl_optarg = argv[iVar2];\n      return 1;\n    }\n    if (longopts == (rpl_option *)0x0) {\nLAB_0001ca68:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        d->__nextchar = pcVar10 + 2;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))\n      goto LAB_0001ca68;\n      d->__nextchar = pcVar10 + 1;\n      iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = d->rpl_optind;\n    }\n    d->__nextchar = argv[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = d->__nextchar;\n    pcVar11 = pcVar9 + 1;\n    d->__nextchar = pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(optstring,iVar2);\n    if (pcVar9[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n      }\n      d->rpl_optopt = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (longopts == (rpl_option *)0x0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }\n        else {\n          d->rpl_optarg = pcVar11;\n        }\n        d->__nextchar = d->rpl_optarg;\n        d->rpl_optarg = (char *)0x0;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n      }\n      else {\n        d->rpl_optarg = pcVar11;\n        d->rpl_optind = d->rpl_optind + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = d->rpl_optind;\n      if (iVar3 == argc) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }\n        d->rpl_optopt = iVar2;\n        iVar2 = (int)*optstring;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        d->rpl_optind = iVar3 + 1;\n        d->rpl_optarg = argv[iVar3];\n      }\n    }\n    else {\n      d->rpl_optarg = pcVar11;\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    d->__nextchar = (char *)0x0;\n    return iVar2;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optind = iVar2 + 1;\n      d->rpl_optarg = argv[iVar2];\n      return 1;\n    }\n    if (longopts == (rpl_option *)0x0) {\nLAB_0001ca68:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        d->__nextchar = pcVar10 + 2;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))\n      goto LAB_0001ca68;\n      d->__nextchar = pcVar10 + 1;\n      iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = d->rpl_optind;\n    }\n    d->__nextchar = argv[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = d->__nextchar;\n    pcVar11 = pcVar9 + 1;\n    d->__nextchar = pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(optstring,iVar2);\n    if (pcVar9[1] == '\0') {\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n      }\n      d->rpl_optopt = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (longopts == (rpl_option *)0x0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }\n        else {\n          d->rpl_optarg = pcVar11;\n        }\n        d->__nextchar = d->rpl_optarg;\n        d->rpl_optarg = (char *)0x0;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n      }\n      else {\n        d->rpl_optarg = pcVar11;\n        d->rpl_optind = d->rpl_optind + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = d->rpl_optind;\n      if (iVar3 == argc) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }\n        d->rpl_optopt = iVar2;\n        iVar2 = (int)*optstring;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        d->rpl_optind = iVar3 + 1;\n        d->rpl_optarg = argv[iVar3];\n      }\n    }\n    else {\n      d->rpl_optarg = pcVar11;\n      d->rpl_optind = d->rpl_optind + 1;\n    }\n    d->__nextchar = (char *)0x0;\n    return iVar2;\n  }" { (if_statement "if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optind = iVar2 + 1;\n      d->rpl_optarg = argv[iVar2];\n      return 1;\n    }" if (parenthesized_expression "((*pcVar10 != '-') || (pcVar10[1] == '\0'))" ( (binary_expression "(*pcVar10 != '-') || (pcVar10[1] == '\0')" (parenthesized_expression "(*pcVar10 != '-')" ( (binary_expression "*pcVar10 != '-'" (pointer_expression "*pcVar10" * identifier) != (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(pcVar10[1] == '\0')" ( (binary_expression "pcVar10[1] == '\0'" (subscript_expression "pcVar10[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (d->__ordering == REQUIRE_ORDER) {\n        return -1;\n      }\n      d->rpl_optind = iVar2 + 1;\n      d->rpl_optarg = argv[iVar2];\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_optind = iVar2 + 1;" (assignment_expression "d->rpl_optind = iVar2 + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "d->rpl_optarg = argv[iVar2];" (assignment_expression "d->rpl_optarg = argv[iVar2]" (field_expression "d->rpl_optarg" identifier -> field_identifier) = (subscript_expression "argv[iVar2]" identifier [ identifier ])) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (longopts == (rpl_option *)0x0) {\nLAB_0001ca68:\n      iVar2 = d->rpl_optind;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        d->__nextchar = pcVar10 + 2;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))\n      goto LAB_0001ca68;\n      d->__nextchar = pcVar10 + 1;\n      iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = d->rpl_optind;\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 "{\nLAB_0001ca68:\n      iVar2 = d->rpl_optind;\n    }" { (labeled_statement "LAB_0001ca68:\n      iVar2 = d->rpl_optind;" statement_identifier : (expression_statement "iVar2 = d->rpl_optind;" (assignment_expression "iVar2 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;)) }) (else_clause "else {\n      if (pcVar10[1] == '-') {\n        d->__nextchar = pcVar10 + 2;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))\n      goto LAB_0001ca68;\n      d->__nextchar = pcVar10 + 1;\n      iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = d->rpl_optind;\n    }" else (compound_statement "{\n      if (pcVar10[1] == '-') {\n        d->__nextchar = pcVar10 + 2;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))\n      goto LAB_0001ca68;\n      d->__nextchar = pcVar10 + 1;\n      iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = d->rpl_optind;\n    }" { (if_statement "if (pcVar10[1] == '-') {\n        d->__nextchar = pcVar10 + 2;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);\n        return iVar8;\n      }" if (parenthesized_expression "(pcVar10[1] == '-')" ( (binary_expression "pcVar10[1] == '-'" (subscript_expression "pcVar10[1]" identifier [ number_literal ]) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        d->__nextchar = pcVar10 + 2;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);\n        return iVar8;\n      }" { (expression_statement "d->__nextchar = pcVar10 + 2;" (assignment_expression "d->__nextchar = pcVar10 + 2" (field_expression "d->__nextchar" identifier -> field_identifier) = (binary_expression "pcVar10 + 2" identifier + number_literal)) ;) (expression_statement "iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0);" (assignment_expression "iVar8 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0)" identifier = (call_expression "process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0)" identifier (argument_list "(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                    puVar1 + 0xfd0)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "puVar1 + 0xfd0" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) (if_statement "if ((long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))\n      goto LAB_0001ca68;" if (parenthesized_expression "((long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))))" ( (binary_expression "(long_only == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0)))" (parenthesized_expression "(long_only == 0)" ( (binary_expression "long_only == 0" identifier == number_literal) )) || (parenthesized_expression "((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0)))" ( (parenthesized_expression "(pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0))" ( (binary_expression "pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0)" (binary_expression "pcVar10[2] == '\0'" (subscript_expression "pcVar10[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strchr_00032348)(optstring), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_strchr_00032348)(optstring)" identifier = (call_expression "(*(code *)PTR_strchr_00032348)(optstring)" (parenthesized_expression "(*(code *)PTR_strchr_00032348)" ( (pointer_expression "*(code *)PTR_strchr_00032348" * (cast_expression "(code *)PTR_strchr_00032348" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(optstring)" ( identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) ))) )) (goto_statement "goto LAB_0001ca68;" goto statement_identifier ;)) (expression_statement "d->__nextchar = pcVar10 + 1;" (assignment_expression "d->__nextchar = pcVar10 + 1" (field_expression "d->__nextchar" identifier -> field_identifier) = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268);" (assignment_expression "iVar2 = process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268)" identifier = (call_expression "process_long_option(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268)" identifier (argument_list "(argc,argv,optstring,longopts,longind,long_only,d,iVar8,\n                                  PTR_patterns_49__00032118 + -0x268)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "PTR_patterns_49__00032118 + -0x268" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != -1) {\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (compound_statement "{\n        return iVar2;\n      }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = d->rpl_optind;" (assignment_expression "iVar2 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;) }))) (expression_statement "d->__nextchar = argv[iVar2] + 1;" (assignment_expression "d->__nextchar = argv[iVar2] + 1" (field_expression "d->__nextchar" identifier -> field_identifier) = (binary_expression "argv[iVar2] + 1" (subscript_expression "argv[iVar2]" identifier [ identifier ]) + number_literal)) ;) (labeled_statement "LAB_0001ca80:\n    pcVar9 = d->__nextchar;" statement_identifier : (expression_statement "pcVar9 = d->__nextchar;" (assignment_expression "pcVar9 = d->__nextchar" identifier = (field_expression "d->__nextchar" identifier -> field_identifier)) ;)) (expression_statement "pcVar11 = pcVar9 + 1;" (assignment_expression "pcVar11 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "d->__nextchar = pcVar11;" (assignment_expression "d->__nextchar = pcVar11" (field_expression "d->__nextchar" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar2 = (int)*pcVar9;" (assignment_expression "iVar2 = (int)*pcVar9" identifier = (cast_expression "(int)*pcVar9" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar9" * identifier))) ;) (expression_statement "pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(optstring,iVar2);" (assignment_expression "pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(optstring,iVar2)" identifier = (cast_expression "(char *)(*(code *)PTR_strchr_00032348)(optstring,iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_00032348)(optstring,iVar2)" (parenthesized_expression "(*(code *)PTR_strchr_00032348)" ( (pointer_expression "*(code *)PTR_strchr_00032348" * (cast_expression "(code *)PTR_strchr_00032348" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(optstring,iVar2)" ( 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)) ;) })) (if_statement "if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n      }\n      d->rpl_optopt = iVar2;\n      return 0x3f;\n    }" if (parenthesized_expression "((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2))" ( (binary_expression "(pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)" (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((iVar2 - 0x3aU & 0xff) < 2)" ( (binary_expression "(iVar2 - 0x3aU & 0xff) < 2" (parenthesized_expression "(iVar2 - 0x3aU & 0xff)" ( (binary_expression "iVar2 - 0x3aU & 0xff" (binary_expression "iVar2 - 0x3aU" identifier - number_literal) & number_literal) )) < number_literal) ))) )) (compound_statement "{\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n      }\n      d->rpl_optopt = iVar2;\n      return 0x3f;\n    }" { (if_statement "if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n      }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n      }" { (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" * (cast_expression "(undefined4 *)PTR_stderr_000323d4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xfd4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" ( (pointer_expression "*(code *)PTR_dcgettext_000323a4" * (cast_expression "(code *)PTR_dcgettext_000323a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_patterns_49__00032118 + 0xfd4,5)" ( number_literal , (binary_expression "PTR_patterns_49__00032118 + 0xfd4" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" * (cast_expression "(code *)PTR___fprintf_chk_000322c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,uVar4,*argv,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*argv" * identifier) , identifier ))) ;) })) (expression_statement "d->rpl_optopt = iVar2;" (assignment_expression "d->rpl_optopt = iVar2" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) (return_statement "return 0x3f;" return number_literal ;) })) (if_statement "if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (longopts == (rpl_option *)0x0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }\n        else {\n          d->rpl_optarg = pcVar11;\n        }\n        d->__nextchar = d->rpl_optarg;\n        d->rpl_optarg = (char *)0x0;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }" if (parenthesized_expression "(*pcVar10 == 'W')" ( (binary_expression "*pcVar10 == 'W'" (pointer_expression "*pcVar10" * identifier) == (char_literal "'W'" ' character ')) )) (compound_statement "{\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (longopts == (rpl_option *)0x0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }\n        else {\n          d->rpl_optarg = pcVar11;\n        }\n        d->__nextchar = d->rpl_optarg;\n        d->rpl_optarg = (char *)0x0;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c);\n        return iVar8;\n      }\n    }" { (expression_statement "cVar6 = pcVar10[1];" (assignment_expression "cVar6 = pcVar10[1]" identifier = (subscript_expression "pcVar10[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar6 == ';') {\n        if (longopts == (rpl_option *)0x0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }\n        else {\n          d->rpl_optarg = pcVar11;\n        }\n        d->__nextchar = d->rpl_optarg;\n        d->rpl_optarg = (char *)0x0;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c);\n        return iVar8;\n      }" if (parenthesized_expression "(cVar6 == ';')" ( (binary_expression "cVar6 == ';'" identifier == (char_literal "';'" ' character ')) )) (compound_statement "{\n        if (longopts == (rpl_option *)0x0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }\n        else {\n          d->rpl_optarg = pcVar11;\n        }\n        d->__nextchar = d->rpl_optarg;\n        d->rpl_optarg = (char *)0x0;\n        iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c);\n        return iVar8;\n      }" { (if_statement "if (longopts == (rpl_option *)0x0) {\n          return iVar2;\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 iVar2;\n        }" { (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (pcVar9[1] == '\0') {\n          if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }\n        else {\n          d->rpl_optarg = pcVar11;\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 (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          d->rpl_optarg = argv[d->rpl_optind];\n        }" { (if_statement "if (d->rpl_optind == argc) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }" if (parenthesized_expression "(d->rpl_optind == argc)" ( (binary_expression "d->rpl_optind == argc" (field_expression "d->rpl_optind" identifier -> field_identifier) == identifier) )) (compound_statement "{\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }\n            d->rpl_optopt = iVar2;\n            if (*optstring != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }" { (if_statement "if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n            }" { (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" * (cast_expression "(undefined4 *)PTR_stderr_000323d4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" ( (pointer_expression "*(code *)PTR_dcgettext_000323a4" * (cast_expression "(code *)PTR_dcgettext_000323a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_patterns_49__00032118 + 0xff0,5)" ( number_literal , (binary_expression "PTR_patterns_49__00032118 + 0xff0" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" * (cast_expression "(code *)PTR___fprintf_chk_000322c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,uVar4,*argv,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*argv" * identifier) , identifier ))) ;) })) (expression_statement "d->rpl_optopt = iVar2;" (assignment_expression "d->rpl_optopt = iVar2" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) (if_statement "if (*optstring != ':') {\n              return 0x3f;\n            }" if (parenthesized_expression "(*optstring != ':')" ( (binary_expression "*optstring != ':'" (pointer_expression "*optstring" * identifier) != (char_literal "':'" ' character ')) )) (compound_statement "{\n              return 0x3f;\n            }" { (return_statement "return 0x3f;" return number_literal ;) })) (return_statement "return 0x3a;" return number_literal ;) })) (expression_statement "d->rpl_optarg = argv[d->rpl_optind];" (assignment_expression "d->rpl_optarg = argv[d->rpl_optind]" (field_expression "d->rpl_optarg" identifier -> field_identifier) = (subscript_expression "argv[d->rpl_optind]" identifier [ (field_expression "d->rpl_optind" identifier -> field_identifier) ])) ;) }) (else_clause "else {\n          d->rpl_optarg = pcVar11;\n        }" else (compound_statement "{\n          d->rpl_optarg = pcVar11;\n        }" { (expression_statement "d->rpl_optarg = pcVar11;" (assignment_expression "d->rpl_optarg = pcVar11" (field_expression "d->rpl_optarg" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "d->__nextchar = d->rpl_optarg;" (assignment_expression "d->__nextchar = d->rpl_optarg" (field_expression "d->__nextchar" identifier -> field_identifier) = (field_expression "d->rpl_optarg" 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)) ;) (expression_statement "iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c);" (assignment_expression "iVar8 = process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c)" identifier = (call_expression "process_long_option(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c)" identifier (argument_list "(argc,argv,optstring,longopts,longind,0,d,iVar8,\n                                    PTR_patterns_49__00032118 + 0x101c)" ( identifier , identifier , identifier , identifier , identifier , number_literal , identifier , identifier , (binary_expression "PTR_patterns_49__00032118 + 0x101c" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) }) (else_clause "else {\n      cVar6 = pcVar10[1];\n    }" else (compound_statement "{\n      cVar6 = pcVar10[1];\n    }" { (expression_statement "cVar6 = pcVar10[1];" (assignment_expression "cVar6 = pcVar10[1]" identifier = (subscript_expression "pcVar10[1]" identifier [ number_literal ])) ;) }))) (if_statement "if (cVar6 != ':') {\n      return iVar2;\n    }" if (parenthesized_expression "(cVar6 != ':')" ( (binary_expression "cVar6 != ':'" identifier != (char_literal "':'" ' character ')) )) (compound_statement "{\n      return iVar2;\n    }" { (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n      }\n      else {\n        d->rpl_optarg = pcVar11;\n        d->rpl_optind = d->rpl_optind + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar2;\n    }" if (parenthesized_expression "(pcVar10[2] == ':')" ( (binary_expression "pcVar10[2] == ':'" (subscript_expression "pcVar10[2]" identifier [ number_literal ]) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n      }\n      else {\n        d->rpl_optarg = pcVar11;\n        d->rpl_optind = d->rpl_optind + 1;\n      }\n      d->__nextchar = (char *)0x0;\n      return iVar2;\n    }" { (if_statement "if (pcVar9[1] == '\0') {\n        d->rpl_optarg = (char *)0x0;\n      }\n      else {\n        d->rpl_optarg = pcVar11;\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_optarg = (char *)0x0;\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)) ;) }) (else_clause "else {\n        d->rpl_optarg = pcVar11;\n        d->rpl_optind = d->rpl_optind + 1;\n      }" else (compound_statement "{\n        d->rpl_optarg = pcVar11;\n        d->rpl_optind = d->rpl_optind + 1;\n      }" { (expression_statement "d->rpl_optarg = pcVar11;" (assignment_expression "d->rpl_optarg = pcVar11" (field_expression "d->rpl_optarg" identifier -> field_identifier) = identifier) ;) (expression_statement "d->rpl_optind = d->rpl_optind + 1;" (assignment_expression "d->rpl_optind = d->rpl_optind + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "d->rpl_optind + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) + number_literal)) ;) }))) (expression_statement "d->__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 iVar2;" return identifier ;) })) (if_statement "if (pcVar9[1] == '\0') {\n      iVar3 = d->rpl_optind;\n      if (iVar3 == argc) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }\n        d->rpl_optopt = iVar2;\n        iVar2 = (int)*optstring;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        d->rpl_optind = iVar3 + 1;\n        d->rpl_optarg = argv[iVar3];\n      }\n    }\n    else {\n      d->rpl_optarg = pcVar11;\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      iVar3 = d->rpl_optind;\n      if (iVar3 == argc) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }\n        d->rpl_optopt = iVar2;\n        iVar2 = (int)*optstring;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        d->rpl_optind = iVar3 + 1;\n        d->rpl_optarg = argv[iVar3];\n      }\n    }" { (expression_statement "iVar3 = d->rpl_optind;" (assignment_expression "iVar3 = d->rpl_optind" identifier = (field_expression "d->rpl_optind" identifier -> field_identifier)) ;) (if_statement "if (iVar3 == argc) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }\n        d->rpl_optopt = iVar2;\n        iVar2 = (int)*optstring;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        d->rpl_optind = iVar3 + 1;\n        d->rpl_optarg = argv[iVar3];\n      }" if (parenthesized_expression "(iVar3 == argc)" ( (binary_expression "iVar3 == argc" identifier == identifier) )) (compound_statement "{\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }\n        d->rpl_optopt = iVar2;\n        iVar2 = (int)*optstring;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }" { (if_statement "if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);\n        }" { (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" * (cast_expression "(undefined4 *)PTR_stderr_000323d4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_patterns_49__00032118 + 0xff0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" ( (pointer_expression "*(code *)PTR_dcgettext_000323a4" * (cast_expression "(code *)PTR_dcgettext_000323a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_patterns_49__00032118 + 0xff0,5)" ( number_literal , (binary_expression "PTR_patterns_49__00032118 + 0xff0" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*argv,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" * (cast_expression "(code *)PTR___fprintf_chk_000322c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,uVar4,*argv,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*argv" * identifier) , identifier ))) ;) })) (expression_statement "d->rpl_optopt = iVar2;" (assignment_expression "d->rpl_optopt = iVar2" (field_expression "d->rpl_optopt" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar2 = (int)*optstring;" (assignment_expression "iVar2 = (int)*optstring" identifier = (cast_expression "(int)*optstring" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*optstring" * identifier))) ;) (if_statement "if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }" if (parenthesized_expression "(iVar2 != 0x3a)" ( (binary_expression "iVar2 != 0x3a" identifier != number_literal) )) (compound_statement "{\n          iVar2 = 0x3f;\n        }" { (expression_statement "iVar2 = 0x3f;" (assignment_expression "iVar2 = 0x3f" identifier = number_literal) ;) })) }) (else_clause "else {\n        d->rpl_optind = iVar3 + 1;\n        d->rpl_optarg = argv[iVar3];\n      }" else (compound_statement "{\n        d->rpl_optind = iVar3 + 1;\n        d->rpl_optarg = argv[iVar3];\n      }" { (expression_statement "d->rpl_optind = iVar3 + 1;" (assignment_expression "d->rpl_optind = iVar3 + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "d->rpl_optarg = argv[iVar3];" (assignment_expression "d->rpl_optarg = argv[iVar3]" (field_expression "d->rpl_optarg" identifier -> field_identifier) = (subscript_expression "argv[iVar3]" identifier [ identifier ])) ;) }))) }) (else_clause "else {\n      d->rpl_optarg = pcVar11;\n      d->rpl_optind = d->rpl_optind + 1;\n    }" else (compound_statement "{\n      d->rpl_optarg = pcVar11;\n      d->rpl_optind = d->rpl_optind + 1;\n    }" { (expression_statement "d->rpl_optarg = pcVar11;" (assignment_expression "d->rpl_optarg = pcVar11" (field_expression "d->rpl_optarg" identifier -> field_identifier) = identifier) ;) (expression_statement "d->rpl_optind = d->rpl_optind + 1;" (assignment_expression "d->rpl_optind = d->rpl_optind + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) = (binary_expression "d->rpl_optind + 1" (field_expression "d->rpl_optind" identifier -> field_identifier) + number_literal)) ;) }))) (expression_statement "d->__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 iVar2;" return identifier ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "d->rpl_optind = iVar2;" (assignment_expression "d->rpl_optind = iVar2" (field_expression "d->rpl_optind" identifier -> field_identifier) = identifier) ;) (if_statement "if (d->__first_nonopt == d->__last_nonopt) {\n    d->__first_nonopt = iVar2;\nLAB_0001c8ec:\n    d->__last_nonopt = argc;\n  }\n  else {\n    if (iVar2 == d->__last_nonopt) goto LAB_0001c8ec;\n    exchange(argv,d);\n    d->__last_nonopt = argc;\n  }" if (parenthesized_expression "(d->__first_nonopt == d->__last_nonopt)" ( (binary_expression "d->__first_nonopt == d->__last_nonopt" (field_expression "d->__first_nonopt" identifier -> field_identifier) == (field_expression "d->__last_nonopt" identifier -> field_identifier)) )) (compound_statement "{\n    d->__first_nonopt = iVar2;\nLAB_0001c8ec:\n    d->__last_nonopt = argc;\n  }" { (expression_statement "d->__first_nonopt = iVar2;" (assignment_expression "d->__first_nonopt = iVar2" (field_expression "d->__first_nonopt" identifier -> field_identifier) = identifier) ;) (labeled_statement "LAB_0001c8ec:\n    d->__last_nonopt = argc;" statement_identifier : (expression_statement "d->__last_nonopt = argc;" (assignment_expression "d->__last_nonopt = argc" (field_expression "d->__last_nonopt" identifier -> field_identifier) = identifier) ;)) }) (else_clause "else {\n    if (iVar2 == d->__last_nonopt) goto LAB_0001c8ec;\n    exchange(argv,d);\n    d->__last_nonopt = argc;\n  }" else (compound_statement "{\n    if (iVar2 == d->__last_nonopt) goto LAB_0001c8ec;\n    exchange(argv,d);\n    d->__last_nonopt = argc;\n  }" { (if_statement "if (iVar2 == d->__last_nonopt) goto LAB_0001c8ec;" if (parenthesized_expression "(iVar2 == d->__last_nonopt)" ( (binary_expression "iVar2 == d->__last_nonopt" identifier == (field_expression "d->__last_nonopt" identifier -> field_identifier)) )) (goto_statement "goto LAB_0001c8ec;" goto statement_identifier ;)) (expression_statement "exchange(argv,d);" (call_expression "exchange(argv,d)" identifier (argument_list "(argv,d)" ( 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) ;) (labeled_statement "LAB_0001c8f4:\n  if (d->__first_nonopt != d->__last_nonopt) {\n    d->rpl_optind = d->__first_nonopt;\n  }" statement_identifier : (if_statement "if (d->__first_nonopt != d->__last_nonopt) {\n    d->rpl_optind = d->__first_nonopt;\n  }" if (parenthesized_expression "(d->__first_nonopt != d->__last_nonopt)" ( (binary_expression "d->__first_nonopt != d->__last_nonopt" (field_expression "d->__first_nonopt" identifier -> field_identifier) != (field_expression "d->__last_nonopt" identifier -> field_identifier)) )) (compound_statement "{\n    d->rpl_optind = d->__first_nonopt;\n  }" { (expression_statement "d->rpl_optind = d->__first_nonopt;" (assignment_expression "d->rpl_optind = d->__first_nonopt" (field_expression "d->rpl_optind" identifier -> field_identifier) = (field_expression "d->__first_nonopt" identifier -> field_identifier)) ;) }))) (return_statement "return -1;" return number_literal ;) })))
(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  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  param_7[3] = 0;\n  if (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }\n  if (*param_3 == ':') {\n    iVar8 = 0;\n  }\n  if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;\n  iVar2 = *param_7;\n  if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }\n  if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }\n  if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = *param_7;\n  if (iVar2 == param_1) goto LAB_0001c8f4;\n  pcVar10 = (char *)param_2[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);\n  puVar1 = PTR_DAT_00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  *param_7 = iVar2;\n  if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }\n  *param_7 = param_1;\nLAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }\n  return -1;\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  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  param_7[3] = 0;\n  if (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }\n  if (*param_3 == ':') {\n    iVar8 = 0;\n  }\n  if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;\n  iVar2 = *param_7;\n  if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }\n  if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }\n  if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = *param_7;\n  if (iVar2 == param_1) goto LAB_0001c8f4;\n  pcVar10 = (char *)param_2[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);\n  puVar1 = PTR_DAT_00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  *param_7 = iVar2;\n  if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }\n  *param_7 = param_1;\nLAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }\n  return -1;\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  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  param_7[3] = 0;\n  if (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }\n  if (*param_3 == ':') {\n    iVar8 = 0;\n  }\n  if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;\n  iVar2 = *param_7;\n  if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }\n  if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }\n  if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = *param_7;\n  if (iVar2 == param_1) goto LAB_0001c8f4;\n  pcVar10 = (char *)param_2[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);\n  puVar1 = PTR_DAT_00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  *param_7 = iVar2;\n  if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }\n  *param_7 = param_1;\nLAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }\n  return -1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (expression_statement "iVar8 = param_7[1];" (assignment_expression "iVar8 = 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 "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }" if (parenthesized_expression "(*param_7 == 0)" ( (binary_expression "*param_7 == 0" (pointer_expression "*param_7" * identifier) == number_literal) )) (compound_statement "{\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }" { (expression_statement "*param_7 = 1;" (assignment_expression "*param_7 = 1" (pointer_expression "*param_7" * identifier) = number_literal) ;) (labeled_statement "LAB_0001c7f8:\n    param_7[8] = *param_7;" statement_identifier : (expression_statement "param_7[8] = *param_7;" (assignment_expression "param_7[8] = *param_7" (subscript_expression "param_7[8]" identifier [ number_literal ]) = (pointer_expression "*param_7" * identifier)) ;)) (expression_statement "param_7[7] = *param_7;" (assignment_expression "param_7[7] = *param_7" (subscript_expression "param_7[7]" identifier [ number_literal ]) = (pointer_expression "*param_7" * 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_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\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] = 2;\n      param_3 = param_3 + 1;\n    }" { (expression_statement "param_7[6] = 2;" (assignment_expression "param_7[6] = 2" (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)) ;) }) (else_clause "else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }" else (if_statement "if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\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    }" { (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)) ;) }) (else_clause "else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }" else (if_statement "if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }" if (parenthesized_expression "((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0))" ( (binary_expression "(param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)" (parenthesized_expression "(param_8 == 0)" ( (binary_expression "param_8 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)" ( (comma_expression "iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc)" identifier = (call_expression "(*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc)" (parenthesized_expression "(*(code *)PTR_getenv_00032364)" ( (pointer_expression "*(code *)PTR_getenv_00032364" * (cast_expression "(code *)PTR_getenv_00032364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_00032118 + 0xdc)" ( (binary_expression "PTR_DAT_00032118 + 0xdc" identifier + number_literal) )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      param_7[6] = 1;\n    }" { (expression_statement "param_7[6] = 1;" (assignment_expression "param_7[6] = 1" (subscript_expression "param_7[6]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      param_7[6] = 0;\n    }" else (compound_statement "{\n      param_7[6] = 0;\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_7[4] = 1;" (assignment_expression "param_7[4] = 1" (subscript_expression "param_7[4]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }" else (compound_statement "{\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }" { (if_statement "if (param_7[4] == 0) goto LAB_0001c7f8;" 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_0001c7f8;" goto statement_identifier ;)) (if_statement "if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }" if (parenthesized_expression "((*param_3 == '-') || (*param_3 == '+'))" ( (binary_expression "(*param_3 == '-') || (*param_3 == '+')" (parenthesized_expression "(*param_3 == '-')" ( (binary_expression "*param_3 == '-'" (pointer_expression "*param_3" * identifier) == (char_literal "'-'" ' character ')) )) || (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    }" { (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 (*param_3 == ':') {\n    iVar8 = 0;\n  }" if (parenthesized_expression "(*param_3 == ':')" ( (binary_expression "*param_3 == ':'" (pointer_expression "*param_3" * identifier) == (char_literal "':'" ' character ')) )) (compound_statement "{\n    iVar8 = 0;\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) })) (if_statement "if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;" if (parenthesized_expression "(((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0'))" ( (binary_expression "((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')" (parenthesized_expression "((char *)param_7[5] != (char *)0x0)" ( (binary_expression "(char *)param_7[5] != (char *)0x0" (cast_expression "(char *)param_7[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ])) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(char *)param_7[5] != '\0')" ( (binary_expression "*(char *)param_7[5] != '\0'" (pointer_expression "*(char *)param_7[5]" * (cast_expression "(char *)param_7[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_7[5]" identifier [ number_literal ]))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0001ca80;" goto statement_identifier ;)) (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }" if (parenthesized_expression "(iVar2 < param_7[8])" ( (binary_expression "iVar2 < param_7[8]" identifier < (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n    param_7[8] = iVar2;\n  }" { (expression_statement "param_7[8] = iVar2;" (assignment_expression "param_7[8] = iVar2" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }" if (parenthesized_expression "(iVar2 < param_7[7])" ( (binary_expression "iVar2 < param_7[7]" identifier < (subscript_expression "param_7[7]" identifier [ number_literal ])) )) (compound_statement "{\n    param_7[7] = iVar2;\n  }" { (expression_statement "param_7[7] = iVar2;" (assignment_expression "param_7[7] = iVar2" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\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    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }" { (expression_statement "iVar3 = param_7[8];" (assignment_expression "iVar3 = param_7[8]" identifier = (subscript_expression "param_7[8]" identifier [ number_literal ])) ;) (if_statement "if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }" if (parenthesized_expression "(param_7[7] == iVar3)" ( (binary_expression "param_7[7] == iVar3" (subscript_expression "param_7[7]" identifier [ number_literal ]) == identifier) )) (compound_statement "{\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }" { (if_statement "if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }" if (parenthesized_expression "(iVar2 != iVar3)" ( (binary_expression "iVar2 != iVar3" identifier != identifier) )) (compound_statement "{\n        param_7[7] = iVar2;\n      }" { (expression_statement "param_7[7] = iVar2;" (assignment_expression "param_7[7] = iVar2" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) })) (labeled_statement "LAB_0001c994:\n      iVar2 = *param_7;" statement_identifier : (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;)) }) (else_clause "else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }" else (compound_statement "{\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }" { (if_statement "if (iVar2 == iVar3) goto LAB_0001c994;" if (parenthesized_expression "(iVar2 == iVar3)" ( (binary_expression "iVar2 == iVar3" identifier == identifier) )) (goto_statement "goto LAB_0001c994;" goto statement_identifier ;)) (expression_statement "FUN_0001bf40(param_2,param_7);" (call_expression "FUN_0001bf40(param_2,param_7)" identifier (argument_list "(param_2,param_7)" ( identifier , identifier ))) ;) (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) }))) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) (if_statement "if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }" if (parenthesized_expression "(iVar2 < param_1)" ( (binary_expression "iVar2 < param_1" identifier < identifier) )) (compound_statement "{\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }" { (expression_statement "puVar5 = param_2 + iVar2;" (assignment_expression "puVar5 = param_2 + iVar2" identifier = (binary_expression "param_2 + iVar2" identifier + identifier)) ;) (do_statement "do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);" do (compound_statement "{\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      }" { (if_statement "if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }" if (parenthesized_expression "((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0'))" ( (binary_expression "(*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')" (parenthesized_expression "(*(char *)*puVar5 == '-')" ( (binary_expression "*(char *)*puVar5 == '-'" (pointer_expression "*(char *)*puVar5" * (cast_expression "(char *)*puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(((char *)*puVar5)[1] != '\0')" ( (binary_expression "((char *)*puVar5)[1] != '\0'" (subscript_expression "((char *)*puVar5)[1]" (parenthesized_expression "((char *)*puVar5)" ( (cast_expression "(char *)*puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier)) )) [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }" { (expression_statement "param_7[8] = iVar2;" (assignment_expression "param_7[8] = iVar2" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0001c894;" goto statement_identifier ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = iVar2;" (assignment_expression "*param_7 = iVar2" (pointer_expression "*param_7" * identifier) = identifier) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = param_1;" (assignment_expression "iVar3 = param_1" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 != param_1)" ( (binary_expression "iVar2 != param_1" identifier != identifier) )) ;) })) (expression_statement "param_7[8] = iVar3;" (assignment_expression "param_7[8] = iVar3" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;) })) (labeled_statement "LAB_0001c894:\n  iVar2 = *param_7;" statement_identifier : (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;)) (if_statement "if (iVar2 == param_1) goto LAB_0001c8f4;" if (parenthesized_expression "(iVar2 == param_1)" ( (binary_expression "iVar2 == param_1" identifier == identifier) )) (goto_statement "goto LAB_0001c8f4;" goto statement_identifier ;)) (expression_statement "pcVar10 = (char *)param_2[iVar2];" (assignment_expression "pcVar10 = (char *)param_2[iVar2]" identifier = (cast_expression "(char *)param_2[iVar2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[iVar2]" identifier [ identifier ]))) ;) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0)" identifier = (call_expression "(*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0)" (parenthesized_expression "(*(code *)PTR_strcmp_000323e8)" ( (pointer_expression "*(code *)PTR_strcmp_000323e8" * (cast_expression "(code *)PTR_strcmp_000323e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar10,PTR_DAT_00032118 + 0xfd0)" ( identifier , (binary_expression "PTR_DAT_00032118 + 0xfd0" identifier + number_literal) )))) ;) (expression_statement "puVar1 = PTR_DAT_00032118;" (assignment_expression "puVar1 = PTR_DAT_00032118" identifier = identifier) ;) (if_statement "if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }" { (if_statement "if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }" if (parenthesized_expression "((*pcVar10 != '-') || (pcVar10[1] == '\0'))" ( (binary_expression "(*pcVar10 != '-') || (pcVar10[1] == '\0')" (parenthesized_expression "(*pcVar10 != '-')" ( (binary_expression "*pcVar10 != '-'" (pointer_expression "*pcVar10" * identifier) != (char_literal "'-'" ' character ')) )) || (parenthesized_expression "(pcVar10[1] == '\0')" ( (binary_expression "pcVar10[1] == '\0'" (subscript_expression "pcVar10[1]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\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 = iVar2 + 1;" (assignment_expression "*param_7 = iVar2 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "param_7[3] = param_2[iVar2];" (assignment_expression "param_7[3] = param_2[iVar2]" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (subscript_expression "param_2[iVar2]" identifier [ identifier ])) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }" { (labeled_statement "LAB_0001ca68:\n      iVar2 = *param_7;" statement_identifier : (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;)) }) (else_clause "else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }" else (compound_statement "{\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }" { (if_statement "if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }" if (parenthesized_expression "(pcVar10[1] == '-')" ( (binary_expression "pcVar10[1] == '-'" (subscript_expression "pcVar10[1]" identifier [ number_literal ]) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }" { (expression_statement "param_7[5] = (int)(pcVar10 + 2);" (assignment_expression "param_7[5] = (int)(pcVar10 + 2)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)(pcVar10 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar10 + 2)" ( (binary_expression "pcVar10 + 2" identifier + number_literal) )))) ;) (expression_statement "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);" (assignment_expression "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0)" identifier = (call_expression "FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "puVar1 + 0xfd0" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) (if_statement "if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;" if (parenthesized_expression "((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))" ( (binary_expression "(param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)))" (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) || (parenthesized_expression "((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)))" ( (parenthesized_expression "(pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))" ( (binary_expression "pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)" (binary_expression "pcVar10[2] == '\0'" (subscript_expression "pcVar10[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)" ( (comma_expression "iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_strchr_00032348)(param_3)" identifier = (call_expression "(*(code *)PTR_strchr_00032348)(param_3)" (parenthesized_expression "(*(code *)PTR_strchr_00032348)" ( (pointer_expression "*(code *)PTR_strchr_00032348" * (cast_expression "(code *)PTR_strchr_00032348" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) ))) )) (goto_statement "goto LAB_0001ca68;" goto statement_identifier ;)) (expression_statement "param_7[5] = (int)(pcVar10 + 1);" (assignment_expression "param_7[5] = (int)(pcVar10 + 1)" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)(pcVar10 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar10 + 1)" ( (binary_expression "pcVar10 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);" (assignment_expression "iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268)" identifier = (call_expression "FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (binary_expression "PTR_DAT_00032118 + -0x268" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != -1) {\n        return iVar2;\n      }" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (compound_statement "{\n        return iVar2;\n      }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) }))) (expression_statement "param_7[5] = param_2[iVar2] + 1;" (assignment_expression "param_7[5] = param_2[iVar2] + 1" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (binary_expression "param_2[iVar2] + 1" (subscript_expression "param_2[iVar2]" identifier [ identifier ]) + number_literal)) ;) (labeled_statement "LAB_0001ca80:\n    pcVar9 = (char *)param_7[5];" statement_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 ]))) ;)) (expression_statement "pcVar11 = pcVar9 + 1;" (assignment_expression "pcVar11 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "param_7[5] = (int)pcVar11;" (assignment_expression "param_7[5] = (int)pcVar11" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar2 = (int)*pcVar9;" (assignment_expression "iVar2 = (int)*pcVar9" identifier = (cast_expression "(int)*pcVar9" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar9" * identifier))) ;) (expression_statement "pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);" (assignment_expression "pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2)" identifier = (cast_expression "(char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_00032348)(param_3,iVar2)" (parenthesized_expression "(*(code *)PTR_strchr_00032348)" ( (pointer_expression "*(code *)PTR_strchr_00032348" * (cast_expression "(code *)PTR_strchr_00032348" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,iVar2)" ( 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)) ;) })) (if_statement "if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }" if (parenthesized_expression "((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2))" ( (binary_expression "(pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)" (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((iVar2 - 0x3aU & 0xff) < 2)" ( (binary_expression "(iVar2 - 0x3aU & 0xff) < 2" (parenthesized_expression "(iVar2 - 0x3aU & 0xff)" ( (binary_expression "iVar2 - 0x3aU & 0xff" (binary_expression "iVar2 - 0x3aU" identifier - number_literal) & number_literal) )) < number_literal) ))) )) (compound_statement "{\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }" { (if_statement "if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }" { (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" * (cast_expression "(undefined4 *)PTR_stderr_000323d4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" ( (pointer_expression "*(code *)PTR_dcgettext_000323a4" * (cast_expression "(code *)PTR_dcgettext_000323a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_00032118 + 0xfd4,5)" ( number_literal , (binary_expression "PTR_DAT_00032118 + 0xfd4" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" * (cast_expression "(code *)PTR___fprintf_chk_000322c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,uVar4,*param_2,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) })) (expression_statement "param_7[2] = iVar2;" (assignment_expression "param_7[2] = iVar2" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 0x3f;" return number_literal ;) })) (if_statement "if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }" if (parenthesized_expression "(*pcVar10 == 'W')" ( (binary_expression "*pcVar10 == 'W'" (pointer_expression "*pcVar10" * identifier) == (char_literal "'W'" ' character ')) )) (compound_statement "{\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }" { (expression_statement "cVar6 = pcVar10[1];" (assignment_expression "cVar6 = pcVar10[1]" identifier = (subscript_expression "pcVar10[1]" identifier [ number_literal ])) ;) (if_statement "if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }" if (parenthesized_expression "(cVar6 == ';')" ( (binary_expression "cVar6 == ';'" identifier == (char_literal "';'" ' character ')) )) (compound_statement "{\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }" { (if_statement "if (param_4 == 0) {\n          return iVar2;\n        }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n          return iVar2;\n        }" { (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\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 (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }" { (if_statement "if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }" if (parenthesized_expression "(*param_7 == param_1)" ( (binary_expression "*param_7 == param_1" (pointer_expression "*param_7" * identifier) == identifier) )) (compound_statement "{\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }" { (if_statement "if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }" { (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" * (cast_expression "(undefined4 *)PTR_stderr_000323d4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" ( (pointer_expression "*(code *)PTR_dcgettext_000323a4" * (cast_expression "(code *)PTR_dcgettext_000323a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_00032118 + 0xff0,5)" ( number_literal , (binary_expression "PTR_DAT_00032118 + 0xff0" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" * (cast_expression "(code *)PTR___fprintf_chk_000322c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,uVar4,*param_2,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) })) (expression_statement "param_7[2] = iVar2;" (assignment_expression "param_7[2] = iVar2" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (*param_3 != ':') {\n              return 0x3f;\n            }" if (parenthesized_expression "(*param_3 != ':')" ( (binary_expression "*param_3 != ':'" (pointer_expression "*param_3" * identifier) != (char_literal "':'" ' character ')) )) (compound_statement "{\n              return 0x3f;\n            }" { (return_statement "return 0x3f;" return number_literal ;) })) (return_statement "return 0x3a;" return number_literal ;) })) (expression_statement "param_7[3] = param_2[*param_7];" (assignment_expression "param_7[3] = param_2[*param_7]" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (subscript_expression "param_2[*param_7]" identifier [ (pointer_expression "*param_7" * identifier) ])) ;) }) (else_clause "else {\n          param_7[3] = (int)pcVar11;\n        }" else (compound_statement "{\n          param_7[3] = (int)pcVar11;\n        }" { (expression_statement "param_7[3] = (int)pcVar11;" (assignment_expression "param_7[3] = (int)pcVar11" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "param_7[5] = param_7[3];" (assignment_expression "param_7[5] = param_7[3]" (subscript_expression "param_7[5]" identifier [ number_literal ]) = (subscript_expression "param_7[3]" identifier [ number_literal ])) ;) (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);" (assignment_expression "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c)" identifier = (call_expression "FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c)" ( identifier , identifier , identifier , identifier , identifier , number_literal , identifier , identifier , (binary_expression "PTR_DAT_00032118 + 0x101c" identifier + number_literal) )))) ;) (return_statement "return iVar8;" return identifier ;) })) }) (else_clause "else {\n      cVar6 = pcVar10[1];\n    }" else (compound_statement "{\n      cVar6 = pcVar10[1];\n    }" { (expression_statement "cVar6 = pcVar10[1];" (assignment_expression "cVar6 = pcVar10[1]" identifier = (subscript_expression "pcVar10[1]" identifier [ number_literal ])) ;) }))) (if_statement "if (cVar6 != ':') {\n      return iVar2;\n    }" if (parenthesized_expression "(cVar6 != ':')" ( (binary_expression "cVar6 != ':'" identifier != (char_literal "':'" ' character ')) )) (compound_statement "{\n      return iVar2;\n    }" { (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }" if (parenthesized_expression "(pcVar10[2] == ':')" ( (binary_expression "pcVar10[2] == ':'" (subscript_expression "pcVar10[2]" identifier [ number_literal ]) == (char_literal "':'" ' character ')) )) (compound_statement "{\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }" { (if_statement "if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\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[3] = 0;\n      }" { (expression_statement "param_7[3] = 0;" (assignment_expression "param_7[3] = 0" (subscript_expression "param_7[3]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }" else (compound_statement "{\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }" { (expression_statement "param_7[3] = (int)pcVar11;" (assignment_expression "param_7[3] = (int)pcVar11" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 + 1" (pointer_expression "*param_7" * identifier) + number_literal)) ;) }))) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\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      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }" { (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *param_7" identifier = (pointer_expression "*param_7" * identifier)) ;) (if_statement "if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }" if (parenthesized_expression "(iVar3 == param_1)" ( (binary_expression "iVar3 == param_1" identifier == identifier) )) (compound_statement "{\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }" { (if_statement "if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }" { (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" * (cast_expression "(undefined4 *)PTR_stderr_000323d4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" ( (pointer_expression "*(code *)PTR_dcgettext_000323a4" * (cast_expression "(code *)PTR_dcgettext_000323a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_00032118 + 0xff0,5)" ( number_literal , (binary_expression "PTR_DAT_00032118 + 0xff0" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" * (cast_expression "(code *)PTR___fprintf_chk_000322c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,1,uVar4,*param_2,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) })) (expression_statement "param_7[2] = iVar2;" (assignment_expression "param_7[2] = iVar2" (subscript_expression "param_7[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar2 = (int)*param_3;" (assignment_expression "iVar2 = (int)*param_3" identifier = (cast_expression "(int)*param_3" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }" if (parenthesized_expression "(iVar2 != 0x3a)" ( (binary_expression "iVar2 != 0x3a" identifier != number_literal) )) (compound_statement "{\n          iVar2 = 0x3f;\n        }" { (expression_statement "iVar2 = 0x3f;" (assignment_expression "iVar2 = 0x3f" identifier = number_literal) ;) })) }) (else_clause "else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }" else (compound_statement "{\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }" { (expression_statement "*param_7 = iVar3 + 1;" (assignment_expression "*param_7 = iVar3 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "param_7[3] = param_2[iVar3];" (assignment_expression "param_7[3] = param_2[iVar3]" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (subscript_expression "param_2[iVar3]" identifier [ identifier ])) ;) }))) }) (else_clause "else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }" else (compound_statement "{\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }" { (expression_statement "param_7[3] = (int)pcVar11;" (assignment_expression "param_7[3] = (int)pcVar11" (subscript_expression "param_7[3]" identifier [ number_literal ]) = (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 + 1" (pointer_expression "*param_7" * identifier) + number_literal)) ;) }))) (expression_statement "param_7[5] = 0;" (assignment_expression "param_7[5] = 0" (subscript_expression "param_7[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "*param_7 = iVar2;" (assignment_expression "*param_7 = iVar2" (pointer_expression "*param_7" * identifier) = identifier) ;) (if_statement "if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }" if (parenthesized_expression "(param_7[7] == param_7[8])" ( (binary_expression "param_7[7] == param_7[8]" (subscript_expression "param_7[7]" identifier [ number_literal ]) == (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }" { (expression_statement "param_7[7] = iVar2;" (assignment_expression "param_7[7] = iVar2" (subscript_expression "param_7[7]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_0001c8ec:\n    param_7[8] = param_1;" statement_identifier : (expression_statement "param_7[8] = param_1;" (assignment_expression "param_7[8] = param_1" (subscript_expression "param_7[8]" identifier [ number_literal ]) = identifier) ;)) }) (else_clause "else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }" else (compound_statement "{\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }" { (if_statement "if (iVar2 == param_7[8]) goto LAB_0001c8ec;" if (parenthesized_expression "(iVar2 == param_7[8])" ( (binary_expression "iVar2 == param_7[8]" identifier == (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (goto_statement "goto LAB_0001c8ec;" goto statement_identifier ;)) (expression_statement "FUN_0001bf40(param_2,param_7);" (call_expression "FUN_0001bf40(param_2,param_7)" identifier (argument_list "(param_2,param_7)" ( identifier , 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) ;) (labeled_statement "LAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }" statement_identifier : (if_statement "if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }" if (parenthesized_expression "(param_7[7] != param_7[8])" ( (binary_expression "param_7[7] != param_7[8]" (subscript_expression "param_7[7]" identifier [ number_literal ]) != (subscript_expression "param_7[8]" identifier [ number_literal ])) )) (compound_statement "{\n    *param_7 = param_7[7];\n  }" { (expression_statement "*param_7 = param_7[7];" (assignment_expression "*param_7 = param_7[7]" (pointer_expression "*param_7" * identifier) = (subscript_expression "param_7[7]" identifier [ number_literal ])) ;) }))) (return_statement "return -1;" return number_literal ;) })))
(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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * 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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))))))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (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 (pointer_expression * IDENT) == (char_literal ' character ')) ))) )) (compound_statement { (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 (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) != (char_literal ' escape_sequence ')) ))) )) (goto_statement goto 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) ;) })) (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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) == (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )) [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_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 = (pointer_expression * IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ IDENT ])) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) )) (compound_statement { (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) )))) ;) (return_statement return IDENT ;) })) (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)) ))) )) ))) )) (goto_statement goto statement_identifier ;)) (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 = (pointer_expression * IDENT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ IDENT ]) + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (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)) ;) })) (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 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 (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (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 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 (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ (pointer_expression * IDENT) ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , LIT , IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (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) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * 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 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 = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ IDENT ])) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) }))) (return_statement return LIT ;) })))
(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  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  param_7[3] = 0;\n  if (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }\n  if (*param_3 == ':') {\n    iVar8 = 0;\n  }\n  if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;\n  iVar2 = *param_7;\n  if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }\n  if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }\n  if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = *param_7;\n  if (iVar2 == param_1) goto LAB_0001c8f4;\n  pcVar10 = (char *)param_2[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);\n  puVar1 = PTR_DAT_00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  *param_7 = iVar2;\n  if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }\n  *param_7 = param_1;\nLAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }\n  return -1;\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  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  char cVar6;\n  undefined4 uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  iVar8 = param_7[1];\n  if (param_1 < 1) {\n    return -1;\n  }\n  param_7[3] = 0;\n  if (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }\n  if (*param_3 == ':') {\n    iVar8 = 0;\n  }\n  if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;\n  iVar2 = *param_7;\n  if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }\n  if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }\n  if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }\nLAB_0001c894:\n  iVar2 = *param_7;\n  if (iVar2 == param_1) goto LAB_0001c8f4;\n  pcVar10 = (char *)param_2[iVar2];\n  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);\n  puVar1 = PTR_DAT_00032118;\n  if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }\n  iVar2 = iVar2 + 1;\n  *param_7 = iVar2;\n  if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }\n  *param_7 = param_1;\nLAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }\n  return -1;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "char cVar6;" (primitive_type "char") (identifier "cVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "char *pcVar11;" (primitive_type "char") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (expression_statement "iVar8 = param_7[1];" (assignment_expression "iVar8 = param_7[1]" (identifier "iVar8") (= "=") (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 "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 (*param_7 == 0) {\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }\n  else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }" (if "if") (parenthesized_expression "(*param_7 == 0)" (( "(") (binary_expression "*param_7 == 0" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_7 = 1;\nLAB_0001c7f8:\n    param_7[8] = *param_7;\n    param_7[7] = *param_7;\n    param_7[5] = 0;\n    if (*param_3 == '-') {\n      param_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }\n    param_7[4] = 1;\n  }" ({ "{") (expression_statement "*param_7 = 1;" (assignment_expression "*param_7 = 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0001c7f8:\n    param_7[8] = *param_7;" (statement_identifier "LAB_0001c7f8") (: ":") (expression_statement "param_7[8] = *param_7;" (assignment_expression "param_7[8] = *param_7" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";"))) (expression_statement "param_7[7] = *param_7;" (assignment_expression "param_7[7] = *param_7" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (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_7[6] = 2;\n      param_3 = param_3 + 1;\n    }\n    else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\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] = 2;\n      param_3 = param_3 + 1;\n    }" ({ "{") (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")) (; ";")) (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"))) (; ";")) (} "}")) (else_clause "else if (*param_3 == '+') {\n      param_7[6] = 0;\n      param_3 = param_3 + 1;\n    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\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    }\n    else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\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    }" ({ "{") (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"))) (; ";")) (} "}")) (else_clause "else if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }" (else "else") (if_statement "if ((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {\n      param_7[6] = 1;\n    }\n    else {\n      param_7[6] = 0;\n    }" (if "if") (parenthesized_expression "((param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0))" (( "(") (binary_expression "(param_8 == 0) &&\n            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)" (parenthesized_expression "(param_8 == 0)" (( "(") (binary_expression "param_8 == 0" (identifier "param_8") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)" (( "(") (comma_expression "iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0" (assignment_expression "iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc)" (parenthesized_expression "(*(code *)PTR_getenv_00032364)" (( "(") (pointer_expression "*(code *)PTR_getenv_00032364" (* "*") (cast_expression "(code *)PTR_getenv_00032364" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getenv_00032364"))) () ")")) (argument_list "(PTR_DAT_00032118 + 0xdc)" (( "(") (binary_expression "PTR_DAT_00032118 + 0xdc" (identifier "PTR_DAT_00032118") (+ "+") (number_literal "0xdc")) () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      param_7[6] = 1;\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")) (; ";")) (} "}")) (else_clause "else {\n      param_7[6] = 0;\n    }" (else "else") (compound_statement "{\n      param_7[6] = 0;\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_7[4] = 1;" (assignment_expression "param_7[4] = 1" (subscript_expression "param_7[4]" (identifier "param_7") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }" (else "else") (compound_statement "{\n    if (param_7[4] == 0) goto LAB_0001c7f8;\n    if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }\n  }" ({ "{") (if_statement "if (param_7[4] == 0) goto LAB_0001c7f8;" (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_0001c7f8;" (goto "goto") (statement_identifier "LAB_0001c7f8") (; ";"))) (if_statement "if ((*param_3 == '-') || (*param_3 == '+')) {\n      param_3 = param_3 + 1;\n    }" (if "if") (parenthesized_expression "((*param_3 == '-') || (*param_3 == '+'))" (( "(") (binary_expression "(*param_3 == '-') || (*param_3 == '+')" (parenthesized_expression "(*param_3 == '-')" (( "(") (binary_expression "*param_3 == '-'" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (|| "||") (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    }" ({ "{") (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 (*param_3 == ':') {\n    iVar8 = 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    iVar8 = 0;\n  }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;" (if "if") (parenthesized_expression "(((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0'))" (( "(") (binary_expression "((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')" (parenthesized_expression "((char *)param_7[5] != (char *)0x0)" (( "(") (binary_expression "(char *)param_7[5] != (char *)0x0" (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") (] "]"))) (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)param_7[5] != '\0')" (( "(") (binary_expression "*(char *)param_7[5] != '\0'" (pointer_expression "*(char *)param_7[5]" (* "*") (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") (] "]")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_0001ca80;" (goto "goto") (statement_identifier "LAB_0001ca80") (; ";"))) (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" (identifier "iVar2") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (if_statement "if (iVar2 < param_7[8]) {\n    param_7[8] = iVar2;\n  }" (if "if") (parenthesized_expression "(iVar2 < param_7[8])" (( "(") (binary_expression "iVar2 < param_7[8]" (identifier "iVar2") (< "<") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) () ")")) (compound_statement "{\n    param_7[8] = iVar2;\n  }" ({ "{") (expression_statement "param_7[8] = iVar2;" (assignment_expression "param_7[8] = iVar2" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (if_statement "if (iVar2 < param_7[7]) {\n    param_7[7] = iVar2;\n  }" (if "if") (parenthesized_expression "(iVar2 < param_7[7])" (( "(") (binary_expression "iVar2 < param_7[7]" (identifier "iVar2") (< "<") (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]"))) () ")")) (compound_statement "{\n    param_7[7] = iVar2;\n  }" ({ "{") (expression_statement "param_7[7] = iVar2;" (assignment_expression "param_7[7] = iVar2" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (if_statement "if (param_7[6] == 1) {\n    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\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    iVar3 = param_7[8];\n    if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }\n    iVar3 = iVar2;\n    if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }\n    param_7[8] = iVar3;\n  }" ({ "{") (expression_statement "iVar3 = param_7[8];" (assignment_expression "iVar3 = param_7[8]" (identifier "iVar3") (= "=") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) (; ";")) (if_statement "if (param_7[7] == iVar3) {\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }\n    else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }" (if "if") (parenthesized_expression "(param_7[7] == iVar3)" (( "(") (binary_expression "param_7[7] == iVar3" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (== "==") (identifier "iVar3")) () ")")) (compound_statement "{\n      if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }\nLAB_0001c994:\n      iVar2 = *param_7;\n    }" ({ "{") (if_statement "if (iVar2 != iVar3) {\n        param_7[7] = iVar2;\n      }" (if "if") (parenthesized_expression "(iVar2 != iVar3)" (( "(") (binary_expression "iVar2 != iVar3" (identifier "iVar2") (!= "!=") (identifier "iVar3")) () ")")) (compound_statement "{\n        param_7[7] = iVar2;\n      }" ({ "{") (expression_statement "param_7[7] = iVar2;" (assignment_expression "param_7[7] = iVar2" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (labeled_statement "LAB_0001c994:\n      iVar2 = *param_7;" (statement_identifier "LAB_0001c994") (: ":") (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" (identifier "iVar2") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";"))) (} "}")) (else_clause "else {\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }" (else "else") (compound_statement "{\n      if (iVar2 == iVar3) goto LAB_0001c994;\n      FUN_0001bf40(param_2,param_7);\n      iVar2 = *param_7;\n    }" ({ "{") (if_statement "if (iVar2 == iVar3) goto LAB_0001c994;" (if "if") (parenthesized_expression "(iVar2 == iVar3)" (( "(") (binary_expression "iVar2 == iVar3" (identifier "iVar2") (== "==") (identifier "iVar3")) () ")")) (goto_statement "goto LAB_0001c994;" (goto "goto") (statement_identifier "LAB_0001c994") (; ";"))) (expression_statement "FUN_0001bf40(param_2,param_7);" (call_expression "FUN_0001bf40(param_2,param_7)" (identifier "FUN_0001bf40") (argument_list "(param_2,param_7)" (( "(") (identifier "param_2") (, ",") (identifier "param_7") () ")"))) (; ";")) (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" (identifier "iVar2") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (} "}")))) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" (identifier "iVar3") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (iVar2 < param_1) {\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }" (if "if") (parenthesized_expression "(iVar2 < param_1)" (( "(") (binary_expression "iVar2 < param_1" (identifier "iVar2") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n      puVar5 = param_2 + iVar2;\n      do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);\n    }" ({ "{") (expression_statement "puVar5 = param_2 + iVar2;" (assignment_expression "puVar5 = param_2 + iVar2" (identifier "puVar5") (= "=") (binary_expression "param_2 + iVar2" (identifier "param_2") (+ "+") (identifier "iVar2"))) (; ";")) (do_statement "do {\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      } while (iVar2 != param_1);" (do "do") (compound_statement "{\n        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }\n        iVar2 = iVar2 + 1;\n        *param_7 = iVar2;\n        puVar5 = puVar5 + 1;\n        iVar3 = param_1;\n      }" ({ "{") (if_statement "if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }" (if "if") (parenthesized_expression "((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0'))" (( "(") (binary_expression "(*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')" (parenthesized_expression "(*(char *)*puVar5 == '-')" (( "(") (binary_expression "*(char *)*puVar5 == '-'" (pointer_expression "*(char *)*puVar5" (* "*") (cast_expression "(char *)*puVar5" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(((char *)*puVar5)[1] != '\0')" (( "(") (binary_expression "((char *)*puVar5)[1] != '\0'" (subscript_expression "((char *)*puVar5)[1]" (parenthesized_expression "((char *)*puVar5)" (( "(") (cast_expression "(char *)*puVar5" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) () ")")) ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n          param_7[8] = iVar2;\n          goto LAB_0001c894;\n        }" ({ "{") (expression_statement "param_7[8] = iVar2;" (assignment_expression "param_7[8] = iVar2" (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (goto_statement "goto LAB_0001c894;" (goto "goto") (statement_identifier "LAB_0001c894") (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_7 = iVar2;" (assignment_expression "*param_7 = iVar2" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = param_1;" (assignment_expression "iVar3 = param_1" (identifier "iVar3") (= "=") (identifier "param_1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != param_1)" (( "(") (binary_expression "iVar2 != param_1" (identifier "iVar2") (!= "!=") (identifier "param_1")) () ")")) (; ";")) (} "}"))) (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")) (; ";")) (} "}"))) (labeled_statement "LAB_0001c894:\n  iVar2 = *param_7;" (statement_identifier "LAB_0001c894") (: ":") (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" (identifier "iVar2") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";"))) (if_statement "if (iVar2 == param_1) goto LAB_0001c8f4;" (if "if") (parenthesized_expression "(iVar2 == param_1)" (( "(") (binary_expression "iVar2 == param_1" (identifier "iVar2") (== "==") (identifier "param_1")) () ")")) (goto_statement "goto LAB_0001c8f4;" (goto "goto") (statement_identifier "LAB_0001c8f4") (; ";"))) (expression_statement "pcVar10 = (char *)param_2[iVar2];" (assignment_expression "pcVar10 = (char *)param_2[iVar2]" (identifier "pcVar10") (= "=") (cast_expression "(char *)param_2[iVar2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[iVar2]" (identifier "param_2") ([ "[") (identifier "iVar2") (] "]")))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0)" (parenthesized_expression "(*(code *)PTR_strcmp_000323e8)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000323e8" (* "*") (cast_expression "(code *)PTR_strcmp_000323e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000323e8"))) () ")")) (argument_list "(pcVar10,PTR_DAT_00032118 + 0xfd0)" (( "(") (identifier "pcVar10") (, ",") (binary_expression "PTR_DAT_00032118 + 0xfd0" (identifier "PTR_DAT_00032118") (+ "+") (number_literal "0xfd0")) () ")")))) (; ";")) (expression_statement "puVar1 = PTR_DAT_00032118;" (assignment_expression "puVar1 = PTR_DAT_00032118" (identifier "puVar1") (= "=") (identifier "PTR_DAT_00032118")) (; ";")) (if_statement "if (iVar3 != 0) {\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }\n    if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }\n    param_7[5] = param_2[iVar2] + 1;\nLAB_0001ca80:\n    pcVar9 = (char *)param_7[5];\n    pcVar11 = pcVar9 + 1;\n    param_7[5] = (int)pcVar11;\n    iVar2 = (int)*pcVar9;\n    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);\n    if (pcVar9[1] == '\0') {\n      *param_7 = *param_7 + 1;\n    }\n    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }\n    if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }\n    if (cVar6 != ':') {\n      return iVar2;\n    }\n    if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }\n    if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }\n    param_7[5] = 0;\n    return iVar2;\n  }" ({ "{") (if_statement "if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\n      return 1;\n    }" (if "if") (parenthesized_expression "((*pcVar10 != '-') || (pcVar10[1] == '\0'))" (( "(") (binary_expression "(*pcVar10 != '-') || (pcVar10[1] == '\0')" (parenthesized_expression "(*pcVar10 != '-')" (( "(") (binary_expression "*pcVar10 != '-'" (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) (!= "!=") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(pcVar10[1] == '\0')" (( "(") (binary_expression "pcVar10[1] == '\0'" (subscript_expression "pcVar10[1]" (identifier "pcVar10") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      if (param_7[6] == 0) {\n        return -1;\n      }\n      *param_7 = iVar2 + 1;\n      param_7[3] = param_2[iVar2];\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 = iVar2 + 1;" (assignment_expression "*param_7 = iVar2 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_7[3] = param_2[iVar2];" (assignment_expression "param_7[3] = param_2[iVar2]" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "param_2[iVar2]" (identifier "param_2") ([ "[") (identifier "iVar2") (] "]"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (param_4 == 0) {\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }\n    else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0001ca68:\n      iVar2 = *param_7;\n    }" ({ "{") (labeled_statement "LAB_0001ca68:\n      iVar2 = *param_7;" (statement_identifier "LAB_0001ca68") (: ":") (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" (identifier "iVar2") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";"))) (} "}")) (else_clause "else {\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }" (else "else") (compound_statement "{\n      if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }\n      if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;\n      param_7[5] = (int)(pcVar10 + 1);\n      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);\n      if (iVar2 != -1) {\n        return iVar2;\n      }\n      iVar2 = *param_7;\n    }" ({ "{") (if_statement "if (pcVar10[1] == '-') {\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }" (if "if") (parenthesized_expression "(pcVar10[1] == '-')" (( "(") (binary_expression "pcVar10[1] == '-'" (subscript_expression "pcVar10[1]" (identifier "pcVar10") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (compound_statement "{\n        param_7[5] = (int)(pcVar10 + 2);\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);\n        return iVar8;\n      }" ({ "{") (expression_statement "param_7[5] = (int)(pcVar10 + 2);" (assignment_expression "param_7[5] = (int)(pcVar10 + 2)" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(int)(pcVar10 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pcVar10 + 2)" (( "(") (binary_expression "pcVar10 + 2" (identifier "pcVar10") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0);" (assignment_expression "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0)" (identifier "iVar8") (= "=") (call_expression "FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0)" (identifier "FUN_0001c030") (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                             puVar1 + 0xfd0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "iVar8") (, ",") (binary_expression "puVar1 + 0xfd0" (identifier "puVar1") (+ "+") (number_literal "0xfd0")) () ")")))) (; ";")) (return_statement "return iVar8;" (return "return") (identifier "iVar8") (; ";")) (} "}"))) (if_statement "if ((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))\n      goto LAB_0001ca68;" (if "if") (parenthesized_expression "((param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))" (( "(") (binary_expression "(param_6 == 0) ||\n         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)))" (parenthesized_expression "(param_6 == 0)" (( "(") (binary_expression "param_6 == 0" (identifier "param_6") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)))" (( "(") (parenthesized_expression "(pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))" (( "(") (binary_expression "pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)" (binary_expression "pcVar10[2] == '\0'" (subscript_expression "pcVar10[2]" (identifier "pcVar10") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "(iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0)" (( "(") (comma_expression "iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0" (assignment_expression "iVar2 = (*(code *)PTR_strchr_00032348)(param_3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strchr_00032348)(param_3)" (parenthesized_expression "(*(code *)PTR_strchr_00032348)" (( "(") (pointer_expression "*(code *)PTR_strchr_00032348" (* "*") (cast_expression "(code *)PTR_strchr_00032348" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_00032348"))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_0001ca68;" (goto "goto") (statement_identifier "LAB_0001ca68") (; ";"))) (expression_statement "param_7[5] = (int)(pcVar10 + 1);" (assignment_expression "param_7[5] = (int)(pcVar10 + 1)" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(int)(pcVar10 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pcVar10 + 1)" (( "(") (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268);" (assignment_expression "iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268)" (identifier "iVar2") (= "=") (call_expression "FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268)" (identifier "FUN_0001c030") (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,\n                           PTR_DAT_00032118 + -0x268)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "iVar8") (, ",") (binary_expression "PTR_DAT_00032118 + -0x268" (identifier "PTR_DAT_00032118") (+ "+") (number_literal "-0x268")) () ")")))) (; ";")) (if_statement "if (iVar2 != -1) {\n        return iVar2;\n      }" (if "if") (parenthesized_expression "(iVar2 != -1)" (( "(") (binary_expression "iVar2 != -1" (identifier "iVar2") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n        return iVar2;\n      }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "iVar2 = *param_7;" (assignment_expression "iVar2 = *param_7" (identifier "iVar2") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (} "}")))) (expression_statement "param_7[5] = param_2[iVar2] + 1;" (assignment_expression "param_7[5] = param_2[iVar2] + 1" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "param_2[iVar2] + 1" (subscript_expression "param_2[iVar2]" (identifier "param_2") ([ "[") (identifier "iVar2") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (labeled_statement "LAB_0001ca80:\n    pcVar9 = (char *)param_7[5];" (statement_identifier "LAB_0001ca80") (: ":") (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") (] "]")))) (; ";"))) (expression_statement "pcVar11 = pcVar9 + 1;" (assignment_expression "pcVar11 = pcVar9 + 1" (identifier "pcVar11") (= "=") (binary_expression "pcVar9 + 1" (identifier "pcVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_7[5] = (int)pcVar11;" (assignment_expression "param_7[5] = (int)pcVar11" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(int)pcVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar11"))) (; ";")) (expression_statement "iVar2 = (int)*pcVar9;" (assignment_expression "iVar2 = (int)*pcVar9" (identifier "iVar2") (= "=") (cast_expression "(int)*pcVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")))) (; ";")) (expression_statement "pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);" (assignment_expression "pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2)" (identifier "pcVar10") (= "=") (cast_expression "(char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strchr_00032348)(param_3,iVar2)" (parenthesized_expression "(*(code *)PTR_strchr_00032348)" (( "(") (pointer_expression "*(code *)PTR_strchr_00032348" (* "*") (cast_expression "(code *)PTR_strchr_00032348" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_00032348"))) () ")")) (argument_list "(param_3,iVar2)" (( "(") (identifier "param_3") (, ",") (identifier "iVar2") () ")"))))) (; ";")) (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"))) (; ";")) (} "}"))) (if_statement "if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }" (if "if") (parenthesized_expression "((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2))" (( "(") (binary_expression "(pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)" (parenthesized_expression "(pcVar10 == (char *)0x0)" (( "(") (binary_expression "pcVar10 == (char *)0x0" (identifier "pcVar10") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "((iVar2 - 0x3aU & 0xff) < 2)" (( "(") (binary_expression "(iVar2 - 0x3aU & 0xff) < 2" (parenthesized_expression "(iVar2 - 0x3aU & 0xff)" (( "(") (binary_expression "iVar2 - 0x3aU & 0xff" (binary_expression "iVar2 - 0x3aU" (identifier "iVar2") (- "-") (number_literal "0x3aU")) (& "&") (number_literal "0xff")) () ")")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n      if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }\n      param_7[2] = iVar2;\n      return 0x3f;\n    }" ({ "{") (if_statement "if (iVar8 != 0) {\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);\n        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n      }" ({ "{") (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000323d4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000323d4")))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000323a4" (* "*") (cast_expression "(code *)PTR_dcgettext_000323a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000323a4"))) () ")")) (argument_list "(0,PTR_DAT_00032118 + 0xfd4,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_00032118 + 0xfd4" (identifier "PTR_DAT_00032118") (+ "+") (number_literal "0xfd4")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000322c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000322c0"))) () ")")) (argument_list "(uVar7,1,uVar4,*param_2,iVar2)" (( "(") (identifier "uVar7") (, ",") (number_literal "1") (, ",") (identifier "uVar4") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "param_7[2] = iVar2;" (assignment_expression "param_7[2] = iVar2" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return 0x3f;" (return "return") (number_literal "0x3f") (; ";")) (} "}"))) (if_statement "if (*pcVar10 == 'W') {\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }\n    else {\n      cVar6 = pcVar10[1];\n    }" (if "if") (parenthesized_expression "(*pcVar10 == 'W')" (( "(") (binary_expression "*pcVar10 == 'W'" (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) (== "==") (char_literal "'W'" (' "'") (character "W") (' "'"))) () ")")) (compound_statement "{\n      cVar6 = pcVar10[1];\n      if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }\n    }" ({ "{") (expression_statement "cVar6 = pcVar10[1];" (assignment_expression "cVar6 = pcVar10[1]" (identifier "cVar6") (= "=") (subscript_expression "pcVar10[1]" (identifier "pcVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (cVar6 == ';') {\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }" (if "if") (parenthesized_expression "(cVar6 == ';')" (( "(") (binary_expression "cVar6 == ';'" (identifier "cVar6") (== "==") (char_literal "';'" (' "'") (character ";") (' "'"))) () ")")) (compound_statement "{\n        if (param_4 == 0) {\n          return iVar2;\n        }\n        if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\n        }\n        param_7[5] = param_7[3];\n        param_7[3] = 0;\n        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);\n        return iVar8;\n      }" ({ "{") (if_statement "if (param_4 == 0) {\n          return iVar2;\n        }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return iVar2;\n        }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (if_statement "if (pcVar9[1] == '\0') {\n          if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }\n        else {\n          param_7[3] = (int)pcVar11;\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 (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }\n          param_7[3] = param_2[*param_7];\n        }" ({ "{") (if_statement "if (*param_7 == param_1) {\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }" (if "if") (parenthesized_expression "(*param_7 == param_1)" (( "(") (binary_expression "*param_7 == param_1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n            if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }\n            param_7[2] = iVar2;\n            if (*param_3 != ':') {\n              return 0x3f;\n            }\n            return 0x3a;\n          }" ({ "{") (if_statement "if (iVar8 != 0) {\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n            }" ({ "{") (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000323d4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000323d4")))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000323a4" (* "*") (cast_expression "(code *)PTR_dcgettext_000323a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000323a4"))) () ")")) (argument_list "(0,PTR_DAT_00032118 + 0xff0,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_00032118 + 0xff0" (identifier "PTR_DAT_00032118") (+ "+") (number_literal "0xff0")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000322c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000322c0"))) () ")")) (argument_list "(uVar7,1,uVar4,*param_2,iVar2)" (( "(") (identifier "uVar7") (, ",") (number_literal "1") (, ",") (identifier "uVar4") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "param_7[2] = iVar2;" (assignment_expression "param_7[2] = iVar2" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (*param_3 != ':') {\n              return 0x3f;\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 0x3f;\n            }" ({ "{") (return_statement "return 0x3f;" (return "return") (number_literal "0x3f") (; ";")) (} "}"))) (return_statement "return 0x3a;" (return "return") (number_literal "0x3a") (; ";")) (} "}"))) (expression_statement "param_7[3] = param_2[*param_7];" (assignment_expression "param_7[3] = param_2[*param_7]" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "param_2[*param_7]" (identifier "param_2") ([ "[") (pointer_expression "*param_7" (* "*") (identifier "param_7")) (] "]"))) (; ";")) (} "}")) (else_clause "else {\n          param_7[3] = (int)pcVar11;\n        }" (else "else") (compound_statement "{\n          param_7[3] = (int)pcVar11;\n        }" ({ "{") (expression_statement "param_7[3] = (int)pcVar11;" (assignment_expression "param_7[3] = (int)pcVar11" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)pcVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar11"))) (; ";")) (} "}")))) (expression_statement "param_7[5] = param_7[3];" (assignment_expression "param_7[5] = param_7[3]" (subscript_expression "param_7[5]" (identifier "param_7") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]"))) (; ";")) (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 "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c);" (assignment_expression "iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c)" (identifier "iVar8") (= "=") (call_expression "FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c)" (identifier "FUN_0001c030") (argument_list "(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,\n                             PTR_DAT_00032118 + 0x101c)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (number_literal "0") (, ",") (identifier "param_7") (, ",") (identifier "iVar8") (, ",") (binary_expression "PTR_DAT_00032118 + 0x101c" (identifier "PTR_DAT_00032118") (+ "+") (number_literal "0x101c")) () ")")))) (; ";")) (return_statement "return iVar8;" (return "return") (identifier "iVar8") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      cVar6 = pcVar10[1];\n    }" (else "else") (compound_statement "{\n      cVar6 = pcVar10[1];\n    }" ({ "{") (expression_statement "cVar6 = pcVar10[1];" (assignment_expression "cVar6 = pcVar10[1]" (identifier "cVar6") (= "=") (subscript_expression "pcVar10[1]" (identifier "pcVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")))) (if_statement "if (cVar6 != ':') {\n      return iVar2;\n    }" (if "if") (parenthesized_expression "(cVar6 != ':')" (( "(") (binary_expression "cVar6 != ':'" (identifier "cVar6") (!= "!=") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n      return iVar2;\n    }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (if_statement "if (pcVar10[2] == ':') {\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }" (if "if") (parenthesized_expression "(pcVar10[2] == ':')" (( "(") (binary_expression "pcVar10[2] == ':'" (subscript_expression "pcVar10[2]" (identifier "pcVar10") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n      if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }\n      param_7[5] = 0;\n      return iVar2;\n    }" ({ "{") (if_statement "if (pcVar9[1] == '\0') {\n        param_7[3] = 0;\n      }\n      else {\n        param_7[3] = (int)pcVar11;\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[3] = 0;\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")) (; ";")) (} "}")) (else_clause "else {\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }" (else "else") (compound_statement "{\n        param_7[3] = (int)pcVar11;\n        *param_7 = *param_7 + 1;\n      }" ({ "{") (expression_statement "param_7[3] = (int)pcVar11;" (assignment_expression "param_7[3] = (int)pcVar11" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)pcVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar11"))) (; ";")) (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "*param_7 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "param_7[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 iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (if_statement "if (pcVar9[1] == '\0') {\n      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }\n    else {\n      param_7[3] = (int)pcVar11;\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      iVar3 = *param_7;\n      if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }\n    }" ({ "{") (expression_statement "iVar3 = *param_7;" (assignment_expression "iVar3 = *param_7" (identifier "iVar3") (= "=") (pointer_expression "*param_7" (* "*") (identifier "param_7"))) (; ";")) (if_statement "if (iVar3 == param_1) {\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }\n      else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }" (if "if") (parenthesized_expression "(iVar3 == param_1)" (( "(") (binary_expression "iVar3 == param_1" (identifier "iVar3") (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n        if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }\n        param_7[2] = iVar2;\n        iVar2 = (int)*param_3;\n        if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }\n      }" ({ "{") (if_statement "if (iVar8 != 0) {\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar7 = *(undefined4 *)PTR_stderr_000323d4;\n          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);\n          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);\n        }" ({ "{") (expression_statement "uVar7 = *(undefined4 *)PTR_stderr_000323d4;" (assignment_expression "uVar7 = *(undefined4 *)PTR_stderr_000323d4" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_000323d4" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000323d4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000323d4")))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_000323a4)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_000323a4" (* "*") (cast_expression "(code *)PTR_dcgettext_000323a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_000323a4"))) () ")")) (argument_list "(0,PTR_DAT_00032118 + 0xff0,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_00032118 + 0xff0" (identifier "PTR_DAT_00032118") (+ "+") (number_literal "0xff0")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000322c0)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000322c0" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000322c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000322c0"))) () ")")) (argument_list "(uVar7,1,uVar4,*param_2,iVar2)" (( "(") (identifier "uVar7") (, ",") (number_literal "1") (, ",") (identifier "uVar4") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "param_7[2] = iVar2;" (assignment_expression "param_7[2] = iVar2" (subscript_expression "param_7[2]" (identifier "param_7") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "iVar2 = (int)*param_3;" (assignment_expression "iVar2 = (int)*param_3" (identifier "iVar2") (= "=") (cast_expression "(int)*param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (if_statement "if (iVar2 != 0x3a) {\n          iVar2 = 0x3f;\n        }" (if "if") (parenthesized_expression "(iVar2 != 0x3a)" (( "(") (binary_expression "iVar2 != 0x3a" (identifier "iVar2") (!= "!=") (number_literal "0x3a")) () ")")) (compound_statement "{\n          iVar2 = 0x3f;\n        }" ({ "{") (expression_statement "iVar2 = 0x3f;" (assignment_expression "iVar2 = 0x3f" (identifier "iVar2") (= "=") (number_literal "0x3f")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }" (else "else") (compound_statement "{\n        *param_7 = iVar3 + 1;\n        param_7[3] = param_2[iVar3];\n      }" ({ "{") (expression_statement "*param_7 = iVar3 + 1;" (assignment_expression "*param_7 = iVar3 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_7[3] = param_2[iVar3];" (assignment_expression "param_7[3] = param_2[iVar3]" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "param_2[iVar3]" (identifier "param_2") ([ "[") (identifier "iVar3") (] "]"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }" (else "else") (compound_statement "{\n      param_7[3] = (int)pcVar11;\n      *param_7 = *param_7 + 1;\n    }" ({ "{") (expression_statement "param_7[3] = (int)pcVar11;" (assignment_expression "param_7[3] = (int)pcVar11" (subscript_expression "param_7[3]" (identifier "param_7") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)pcVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar11"))) (; ";")) (expression_statement "*param_7 = *param_7 + 1;" (assignment_expression "*param_7 = *param_7 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "*param_7 + 1" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "param_7[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 iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_7 = iVar2;" (assignment_expression "*param_7 = iVar2" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (param_7[7] == param_7[8]) {\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }\n  else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }" (if "if") (parenthesized_expression "(param_7[7] == param_7[8])" (( "(") (binary_expression "param_7[7] == param_7[8]" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (== "==") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) () ")")) (compound_statement "{\n    param_7[7] = iVar2;\nLAB_0001c8ec:\n    param_7[8] = param_1;\n  }" ({ "{") (expression_statement "param_7[7] = iVar2;" (assignment_expression "param_7[7] = iVar2" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (labeled_statement "LAB_0001c8ec:\n    param_7[8] = param_1;" (statement_identifier "LAB_0001c8ec") (: ":") (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")) (; ";"))) (} "}")) (else_clause "else {\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }" (else "else") (compound_statement "{\n    if (iVar2 == param_7[8]) goto LAB_0001c8ec;\n    FUN_0001bf40(param_2,param_7);\n    param_7[8] = param_1;\n  }" ({ "{") (if_statement "if (iVar2 == param_7[8]) goto LAB_0001c8ec;" (if "if") (parenthesized_expression "(iVar2 == param_7[8])" (( "(") (binary_expression "iVar2 == param_7[8]" (identifier "iVar2") (== "==") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) () ")")) (goto_statement "goto LAB_0001c8ec;" (goto "goto") (statement_identifier "LAB_0001c8ec") (; ";"))) (expression_statement "FUN_0001bf40(param_2,param_7);" (call_expression "FUN_0001bf40(param_2,param_7)" (identifier "FUN_0001bf40") (argument_list "(param_2,param_7)" (( "(") (identifier "param_2") (, ",") (identifier "param_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")) (; ";")) (labeled_statement "LAB_0001c8f4:\n  if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }" (statement_identifier "LAB_0001c8f4") (: ":") (if_statement "if (param_7[7] != param_7[8]) {\n    *param_7 = param_7[7];\n  }" (if "if") (parenthesized_expression "(param_7[7] != param_7[8])" (( "(") (binary_expression "param_7[7] != param_7[8]" (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]")) (!= "!=") (subscript_expression "param_7[8]" (identifier "param_7") ([ "[") (number_literal "8") (] "]"))) () ")")) (compound_statement "{\n    *param_7 = param_7[7];\n  }" ({ "{") (expression_statement "*param_7 = param_7[7];" (assignment_expression "*param_7 = param_7[7]" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (subscript_expression "param_7[7]" (identifier "param_7") ([ "[") (number_literal "7") (] "]"))) (; ";")) (} "}")))) (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}")))
(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (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: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (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))))) 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))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (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))))) right: (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)))) alternative: (else_clause (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)))) 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))) (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: (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))))))))) (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: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (char_literal (escape_sequence)))))) consequence: (goto_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))))) (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 (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))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_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))) (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))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (identifier)))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character)))) 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: (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)))))) (return_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: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (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)))))) (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: (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: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (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: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (number_literal) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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)))) alternative: (else_clause (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (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 (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (identifier)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_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))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (return_statement (number_literal)))))

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)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  char cVar6;
  undefined4 uVar7;
  int iVar8;
  char *pcVar9;
  char *pcVar10;
  char *pcVar11;
  
  iVar8 = param_7[1];
  if (param_1 < 1) {
    return -1;
  }
  param_7[3] = 0;
  if (*param_7 == 0) {
    *param_7 = 1;
LAB_0001c7f8:
    param_7[8] = *param_7;
    param_7[7] = *param_7;
    param_7[5] = 0;
    if (*param_3 == '-') {
      param_7[6] = 2;
      param_3 = param_3 + 1;
    }
    else if (*param_3 == '+') {
      param_7[6] = 0;
      param_3 = param_3 + 1;
    }
    else if ((param_8 == 0) &&
            (iVar2 = (*(code *)PTR_getenv_00032364)(PTR_DAT_00032118 + 0xdc), iVar2 == 0)) {
      param_7[6] = 1;
    }
    else {
      param_7[6] = 0;
    }
    param_7[4] = 1;
  }
  else {
    if (param_7[4] == 0) goto LAB_0001c7f8;
    if ((*param_3 == '-') || (*param_3 == '+')) {
      param_3 = param_3 + 1;
    }
  }
  if (*param_3 == ':') {
    iVar8 = 0;
  }
  if (((char *)param_7[5] != (char *)0x0) && (*(char *)param_7[5] != '\0')) goto LAB_0001ca80;
  iVar2 = *param_7;
  if (iVar2 < param_7[8]) {
    param_7[8] = iVar2;
  }
  if (iVar2 < param_7[7]) {
    param_7[7] = iVar2;
  }
  if (param_7[6] == 1) {
    iVar3 = param_7[8];
    if (param_7[7] == iVar3) {
      if (iVar2 != iVar3) {
        param_7[7] = iVar2;
      }
LAB_0001c994:
      iVar2 = *param_7;
    }
    else {
      if (iVar2 == iVar3) goto LAB_0001c994;
      FUN_0001bf40(param_2,param_7);
      iVar2 = *param_7;
    }
    iVar3 = iVar2;
    if (iVar2 < param_1) {
      puVar5 = param_2 + iVar2;
      do {
        if ((*(char *)*puVar5 == '-') && (((char *)*puVar5)[1] != '\0')) {
          param_7[8] = iVar2;
          goto LAB_0001c894;
        }
        iVar2 = iVar2 + 1;
        *param_7 = iVar2;
        puVar5 = puVar5 + 1;
        iVar3 = param_1;
      } while (iVar2 != param_1);
    }
    param_7[8] = iVar3;
  }
LAB_0001c894:
  iVar2 = *param_7;
  if (iVar2 == param_1) goto LAB_0001c8f4;
  pcVar10 = (char *)param_2[iVar2];
  iVar3 = (*(code *)PTR_strcmp_000323e8)(pcVar10,PTR_DAT_00032118 + 0xfd0);
  puVar1 = PTR_DAT_00032118;
  if (iVar3 != 0) {
    if ((*pcVar10 != '-') || (pcVar10[1] == '\0')) {
      if (param_7[6] == 0) {
        return -1;
      }
      *param_7 = iVar2 + 1;
      param_7[3] = param_2[iVar2];
      return 1;
    }
    if (param_4 == 0) {
LAB_0001ca68:
      iVar2 = *param_7;
    }
    else {
      if (pcVar10[1] == '-') {
        param_7[5] = (int)(pcVar10 + 2);
        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,
                             puVar1 + 0xfd0);
        return iVar8;
      }
      if ((param_6 == 0) ||
         ((pcVar10[2] == '\0' && (iVar2 = (*(code *)PTR_strchr_00032348)(param_3), iVar2 != 0))))
      goto LAB_0001ca68;
      param_7[5] = (int)(pcVar10 + 1);
      iVar2 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,param_6,param_7,iVar8,
                           PTR_DAT_00032118 + -0x268);
      if (iVar2 != -1) {
        return iVar2;
      }
      iVar2 = *param_7;
    }
    param_7[5] = param_2[iVar2] + 1;
LAB_0001ca80:
    pcVar9 = (char *)param_7[5];
    pcVar11 = pcVar9 + 1;
    param_7[5] = (int)pcVar11;
    iVar2 = (int)*pcVar9;
    pcVar10 = (char *)(*(code *)PTR_strchr_00032348)(param_3,iVar2);
    if (pcVar9[1] == '\0') {
      *param_7 = *param_7 + 1;
    }
    if ((pcVar10 == (char *)0x0) || ((iVar2 - 0x3aU & 0xff) < 2)) {
      if (iVar8 != 0) {
        uVar7 = *(undefined4 *)PTR_stderr_000323d4;
        uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xfd4,5);
        (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);
      }
      param_7[2] = iVar2;
      return 0x3f;
    }
    if (*pcVar10 == 'W') {
      cVar6 = pcVar10[1];
      if (cVar6 == ';') {
        if (param_4 == 0) {
          return iVar2;
        }
        if (pcVar9[1] == '\0') {
          if (*param_7 == param_1) {
            if (iVar8 != 0) {
              uVar7 = *(undefined4 *)PTR_stderr_000323d4;
              uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);
              (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);
            }
            param_7[2] = iVar2;
            if (*param_3 != ':') {
              return 0x3f;
            }
            return 0x3a;
          }
          param_7[3] = param_2[*param_7];
        }
        else {
          param_7[3] = (int)pcVar11;
        }
        param_7[5] = param_7[3];
        param_7[3] = 0;
        iVar8 = FUN_0001c030(param_1,param_2,param_3,param_4,param_5,0,param_7,iVar8,
                             PTR_DAT_00032118 + 0x101c);
        return iVar8;
      }
    }
    else {
      cVar6 = pcVar10[1];
    }
    if (cVar6 != ':') {
      return iVar2;
    }
    if (pcVar10[2] == ':') {
      if (pcVar9[1] == '\0') {
        param_7[3] = 0;
      }
      else {
        param_7[3] = (int)pcVar11;
        *param_7 = *param_7 + 1;
      }
      param_7[5] = 0;
      return iVar2;
    }
    if (pcVar9[1] == '\0') {
      iVar3 = *param_7;
      if (iVar3 == param_1) {
        if (iVar8 != 0) {
          uVar7 = *(undefined4 *)PTR_stderr_000323d4;
          uVar4 = (*(code *)PTR_dcgettext_000323a4)(0,PTR_DAT_00032118 + 0xff0,5);
          (*(code *)PTR___fprintf_chk_000322c0)(uVar7,1,uVar4,*param_2,iVar2);
        }
        param_7[2] = iVar2;
        iVar2 = (int)*param_3;
        if (iVar2 != 0x3a) {
          iVar2 = 0x3f;
        }
      }
      else {
        *param_7 = iVar3 + 1;
        param_7[3] = param_2[iVar3];
      }
    }
    else {
      param_7[3] = (int)pcVar11;
      *param_7 = *param_7 + 1;
    }
    param_7[5] = 0;
    return iVar2;
  }
  iVar2 = iVar2 + 1;
  *param_7 = iVar2;
  if (param_7[7] == param_7[8]) {
    param_7[7] = iVar2;
LAB_0001c8ec:
    param_7[8] = param_1;
  }
  else {
    if (iVar2 == param_7[8]) goto LAB_0001c8ec;
    FUN_0001bf40(param_2,param_7);
    param_7[8] = param_1;
  }
  *param_7 = param_1;
LAB_0001c8f4:
  if (param_7[7] != param_7[8]) {
    *param_7 = param_7[7];
  }
  return -1;
}

