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

void bc_push_arg(buildcmd_control *ctl,buildcmd_state *state,char *arg,size_t len,char *prefix,
                size_t pfxlen,int initial_args)

{
  size_t sVar1;
  char **ppcVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  size_t sVar6;
  uint local_20;
  
  if (arg == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");
  }
  if (arg == "do_not_care") {
LAB_00022345:
    if (initial_args == 0) {
LAB_0002234d:
      state->todo = 1;
    }
    uVar5 = state->cmd_argc;
    uVar4 = state->cmd_argv_alloc;
    ppcVar2 = state->cmd_argv;
    if (uVar4 <= uVar5) {
LAB_00022410:
      if (ppcVar2 == (char **)0x0) {
        state->cmd_argv_alloc = 0x40;
        ppcVar2 = (char **)xmalloc(0x100);
        uVar5 = state->cmd_argc;
        state->cmd_argv = ppcVar2;
        goto LAB_00022364;
      }
      state->cmd_argv_alloc = uVar4 * 2;
      ppcVar2 = (char **)xrealloc(ppcVar2,uVar4 << 3);
      state->cmd_argv = ppcVar2;
      sVar1 = state->cmd_argc + 1;
      ppcVar2 = ppcVar2 + state->cmd_argc;
      if (arg == "do_not_care") goto LAB_00022443;
LAB_00022374:
      sVar6 = state->cmd_argv_chars;
      goto LAB_00022377;
    }
LAB_00022364:
    sVar1 = uVar5 + 1;
    ppcVar2 = ppcVar2 + uVar5;
    if (arg != "do_not_care") goto LAB_00022374;
LAB_00022443:
    state->cmd_argc = sVar1;
    *ppcVar2 = (char *)0x0;
  }
  else {
    sVar6 = state->cmd_argv_chars;
    if (ctl->arg_max < len + pfxlen + sVar6) {
      if ((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)) {
        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);
                    /* WARNING: Subroutine does not return */
        error(1,0,uVar3);
      }
      if ((ctl->replace_pat != (char *)0x0) ||
         ((ctl->exit_if_size_exceeded != 0 &&
          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))
      {
        uVar3 = dcgettext(0,"argument list too long",5,sVar6);
                    /* WARNING: Subroutine does not return */
        error(1,0,uVar3);
      }
      bc_do_exec(ctl,state);
      local_20 = state->cmd_argc;
LAB_0002231d:
      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||
         (ctl->max_arg_count == local_20)) {
LAB_00022338:
        bc_do_exec(ctl,state);
        goto LAB_00022345;
      }
      goto LAB_0002234d;
    }
    local_20 = state->cmd_argc;
    if (initial_args == 0) goto LAB_0002231d;
    if (local_20 == ctl->max_arg_count) goto LAB_00022338;
    uVar4 = state->cmd_argv_alloc;
    ppcVar2 = state->cmd_argv;
    if (uVar4 <= local_20) goto LAB_00022410;
    sVar1 = local_20 + 1;
    ppcVar2 = ppcVar2 + local_20;
LAB_00022377:
    state->cmd_argc = sVar1;
    *ppcVar2 = state->argbuf + sVar6;
    if (prefix != (char *)0x0) {
      strcpy(state->argbuf + sVar6,prefix);
      sVar6 = pfxlen + state->cmd_argv_chars;
      state->cmd_argv_chars = sVar6;
    }
    strcpy(state->argbuf + sVar6,arg);
    sVar1 = len + state->cmd_argv_chars;
    sVar6 = state->cmd_argc;
    state->cmd_argv_chars = sVar1;
    if (initial_args == 0) {
      if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&
         (sVar6 != ctl->max_arg_count)) {
        return;
      }
    }
    else if (sVar6 != ctl->max_arg_count) goto LAB_000223fd;
    bc_do_exec(ctl,state);
  }
  if (initial_args == 0) {
    return;
  }
  sVar1 = state->cmd_argv_chars;
LAB_000223fd:
  state->cmd_initial_argv_chars = sVar1;
  return;
}



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

void FUN_00022280(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,
                 int param_7)

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  undefined4 uVar4;
  undefined4 in_ECX;
  uint uVar5;
  uint local_20;
  
  if (param_3 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");
  }
  if (param_3 == "do_not_care") {
LAB_00022345:
    if (param_7 == 0) {
LAB_0002234d:
      param_2[7] = 1;
    }
    uVar5 = *param_2;
    uVar2 = param_2[2];
    uVar3 = param_2[1];
    if (uVar2 <= uVar5) {
LAB_00022410:
      if (uVar3 == 0) {
        param_2[2] = 0x40;
        uVar3 = FUN_000331f0(0x100);
        uVar5 = *param_2;
        param_2[1] = uVar3;
        goto LAB_00022364;
      }
      param_2[2] = uVar2 * 2;
      uVar5 = FUN_00033270(uVar3,uVar2 << 3);
      param_2[1] = uVar5;
      uVar2 = *param_2 + 1;
      piVar1 = (int *)(uVar5 + *param_2 * 4);
      if (param_3 == "do_not_care") goto LAB_00022443;
LAB_00022374:
      uVar5 = param_2[4];
      goto LAB_00022377;
    }
LAB_00022364:
    uVar2 = uVar5 + 1;
    piVar1 = (int *)(uVar3 + uVar5 * 4);
    if (param_3 != "do_not_care") goto LAB_00022374;
LAB_00022443:
    *param_2 = uVar2;
    *piVar1 = 0;
  }
  else {
    uVar5 = param_2[4];
    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {
      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {
        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);
                    /* WARNING: Subroutine does not return */
        error(1,0,uVar4);
      }
      if ((param_1[6] != 0) ||
         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))
         )) {
        uVar4 = dcgettext(0,"argument list too long",5,uVar5);
                    /* WARNING: Subroutine does not return */
        error(1,0,uVar4);
      }
      FUN_00022720(param_1,param_2);
      local_20 = *param_2;
LAB_0002231d:
      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)
         ) {
LAB_00022338:
        FUN_00022720(param_1,param_2);
        goto LAB_00022345;
      }
      goto LAB_0002234d;
    }
    local_20 = *param_2;
    if (param_7 == 0) goto LAB_0002231d;
    if (local_20 == param_1[4]) goto LAB_00022338;
    uVar2 = param_2[2];
    uVar3 = param_2[1];
    if (uVar2 <= local_20) goto LAB_00022410;
    uVar2 = local_20 + 1;
    piVar1 = (int *)(uVar3 + local_20 * 4);
LAB_00022377:
    *param_2 = uVar2;
    *piVar1 = param_2[3] + uVar5;
    if (param_5 != (char *)0x0) {
      strcpy((char *)(uVar5 + param_2[3]),param_5);
      uVar5 = param_6 + param_2[4];
      param_2[4] = uVar5;
    }
    strcpy((char *)(uVar5 + param_2[3]),param_3);
    uVar2 = param_4 + param_2[4];
    uVar5 = *param_2;
    param_2[4] = uVar2;
    if (param_7 == 0) {
      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {
        return;
      }
    }
    else if (uVar5 != param_1[4]) goto LAB_000223fd;
    FUN_00022720(param_1,param_2);
  }
  if (param_7 == 0) {
    return;
  }
  uVar2 = param_2[4];
LAB_000223fd:
  param_2[5] = uVar2;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014d70
ADD EBX,0x48a5f
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x38]
MOV EDI,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [ESP + 0x34]
TEST EAX,EAX
JZ 0x000224c1
LEA EBP,[EBX + 0xfffe7fc5]
CMP dword ptr [ESP + 0x38],EBP
JZ 0x00022345
MOV EDX,dword ptr [ESI + 0x10]
MOV EAX,dword ptr [ESP + 0x3c]
ADD EAX,dword ptr [ESP + 0x44]
ADD EAX,EDX
CMP EAX,dword ptr [EDI + 0xc]
JBE 0x00022450
MOV EAX,dword ptr [ESP + 0x48]
TEST EAX,EAX
JNZ 0x000224e0
MOV EAX,dword ptr [EDI + 0x1c]
CMP dword ptr [ESI],EAX
JZ 0x000224e0
MOV EDX,dword ptr [EDI + 0x18]
TEST EDX,EDX
JNZ 0x000224fe
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x0002230a
MOV EAX,dword ptr [EDI + 0x24]
TEST EAX,EAX
JNZ 0x000224fe
MOV EAX,dword ptr [EDI + 0x28]
TEST EAX,EAX
JNZ 0x000224fe
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x00022720
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0x10
MOV EAX,dword ptr [EDI + 0x28]
TEST EAX,EAX
JZ 0x0002232f
MOV EDX,dword ptr [ESP + 0xc]
SUB EDX,dword ptr [EDI + 0x1c]
CMP EAX,EDX
JZ 0x00022338
MOV EAX,dword ptr [ESP + 0xc]
CMP dword ptr [EDI + 0x10],EAX
JNZ 0x0002234d
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x00022720
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x48]
TEST EAX,EAX
JNZ 0x00022354
MOV dword ptr [ESI + 0x1c],0x1
MOV EDX,dword ptr [ESI]
MOV ECX,dword ptr [ESI + 0x8]
MOV EAX,dword ptr [ESI + 0x4]
CMP EDX,ECX
JNC 0x00022410
LEA ECX,[EDX + 0x1]
LEA EAX,[EAX + EDX*0x4]
CMP dword ptr [ESP + 0x38],EBP
JZ 0x00022443
MOV EDX,dword ptr [ESI + 0x10]
MOV dword ptr [ESI],ECX
MOV ECX,dword ptr [ESI + 0xc]
MOV EBP,dword ptr [ESP + 0x40]
ADD ECX,EDX
MOV dword ptr [EAX],ECX
TEST EBP,EBP
JZ 0x000223a5
SUB ESP,0x8
PUSH dword ptr [ESP + 0x48]
ADD EDX,dword ptr [ESI + 0xc]
PUSH EDX
CALL 0x00014430
MOV EDX,dword ptr [ESP + 0x54]
ADD EDX,dword ptr [ESI + 0x10]
ADD ESP,0x10
MOV dword ptr [ESI + 0x10],EDX
SUB ESP,0x8
PUSH dword ptr [ESP + 0x40]
ADD EDX,dword ptr [ESI + 0xc]
PUSH EDX
CALL 0x00014430
MOV EAX,dword ptr [ESP + 0x4c]
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x48]
ADD EAX,dword ptr [ESI + 0x10]
MOV EDX,dword ptr [ESI]
MOV dword ptr [ESI + 0x10],EAX
TEST ECX,ECX
JNZ 0x00022490
MOV EAX,dword ptr [EDI + 0x28]
TEST EAX,EAX
JZ 0x000223e0
MOV ECX,EDX
SUB ECX,dword ptr [EDI + 0x1c]
CMP EAX,ECX
JZ 0x000223e5
CMP EDX,dword ptr [EDI + 0x10]
JNZ 0x00022400
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x00022720
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x48]
TEST EAX,EAX
JZ 0x00022400
MOV EAX,dword ptr [ESI + 0x10]
MOV dword ptr [ESI + 0x14],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EAX,EAX
JZ 0x000224a0
LEA EDX,[ECX + ECX*0x1]
SUB ESP,0x8
SHL ECX,0x3
MOV dword ptr [ESI + 0x8],EDX
PUSH ECX
PUSH EAX
CALL 0x00033270
MOV EDX,dword ptr [ESI]
ADD ESP,0x10
MOV dword ptr [ESI + 0x4],EAX
LEA ECX,[EDX + 0x1]
LEA EAX,[EAX + EDX*0x4]
CMP dword ptr [ESP + 0x38],EBP
JNZ 0x00022374
MOV dword ptr [ESI],ECX
MOV dword ptr [EAX],0x0
JMP 0x000223f2
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x48]
TEST EAX,EAX
JZ 0x0002231d
MOV EAX,dword ptr [ESP + 0xc]
CMP EAX,dword ptr [EDI + 0x10]
JZ 0x00022338
MOV ECX,dword ptr [ESI + 0x8]
MOV EAX,dword ptr [ESI + 0x4]
CMP dword ptr [ESP + 0xc],ECX
JNC 0x00022410
MOV EBP,dword ptr [ESP + 0xc]
LEA ECX,[EBP + 0x1]
LEA EAX,[EAX + EBP*0x4]
JMP 0x00022377
CMP EDX,dword ptr [EDI + 0x10]
JZ 0x000223e5
JMP 0x000223fd
SUB ESP,0xc
MOV dword ptr [ESI + 0x8],0x40
PUSH 0x100
CALL 0x000331f0
MOV EDX,dword ptr [ESI]
ADD ESP,0x10
MOV dword ptr [ESI + 0x4],EAX
JMP 0x00022364
LEA EAX,[EBX + 0xfffe8068]
PUSH EAX
LEA EAX,[EBX + 0xfffe7fae]
PUSH 0x155
PUSH EAX
LEA EAX,[EBX + 0xfffe7fb9]
PUSH EAX
CALL 0x00014990
LEA EAX,[EBX + 0xfffe7ea0]
PUSH ECX
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142c0
ADD ESP,0xc
PUSH EAX
PUSH 0x0
PUSH 0x1
CALL 0x000144a0
PUSH EAX
LEA EAX,[EBX + 0xfffe7fd1]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142c0
ADD ESP,0xc
PUSH EAX
PUSH 0x0
PUSH 0x1
CALL 0x000144a0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00022280(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 in_ECX;\n  uint uVar5;\n  uint local_20;\n  \n  if (param_3 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }\n  if (param_7 == 0) {\n    return;\n  }\n  uVar2 = param_2[4];\nLAB_000223fd:\n  param_2[5] = uVar2;\n  return;\n}\n\n" comment (function_definition "void FUN_00022280(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 in_ECX;\n  uint uVar5;\n  uint local_20;\n  \n  if (param_3 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }\n  if (param_7 == 0) {\n    return;\n  }\n  uVar2 = param_2[4];\nLAB_000223fd:\n  param_2[5] = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_00022280(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)" identifier (parameter_list "(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *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 "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 in_ECX;\n  uint uVar5;\n  uint local_20;\n  \n  if (param_3 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }\n  if (param_7 == 0) {\n    return;\n  }\n  uVar2 = param_2[4];\nLAB_000223fd:\n  param_2[5] = uVar2;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 in_ECX;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (if_statement "if (param_3 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }" if (parenthesized_expression "(param_3 == (char *)0x0)" ( (binary_expression "param_3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }" { comment (expression_statement "__assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");" (call_expression "__assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg")" identifier (argument_list "("arg != NULL","buildcmd.c",0x155,"bc_push_arg")" ( (string_literal ""arg != NULL"" " string_content ") , (string_literal ""buildcmd.c"" " string_content ") , number_literal , (string_literal ""bc_push_arg"" " string_content ") ))) ;) })) (if_statement "if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }" if (parenthesized_expression "(param_3 == "do_not_care")" ( (binary_expression "param_3 == "do_not_care"" identifier == (string_literal ""do_not_care"" " string_content ")) )) (compound_statement "{\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }" { (labeled_statement "LAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }" statement_identifier : (if_statement "if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0002234d:\n      param_2[7] = 1;\n    }" { (labeled_statement "LAB_0002234d:\n      param_2[7] = 1;" statement_identifier : (expression_statement "param_2[7] = 1;" (assignment_expression "param_2[7] = 1" (subscript_expression "param_2[7]" identifier [ number_literal ]) = number_literal) ;)) }))) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar2 = param_2[2];" (assignment_expression "uVar2 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = param_2[1];" (assignment_expression "uVar3 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }" if (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) (compound_statement "{\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }" { (labeled_statement "LAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }" statement_identifier : (if_statement "if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }" { (expression_statement "param_2[2] = 0x40;" (assignment_expression "param_2[2] = 0x40" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = FUN_000331f0(0x100);" (assignment_expression "uVar3 = FUN_000331f0(0x100)" identifier = (call_expression "FUN_000331f0(0x100)" identifier (argument_list "(0x100)" ( number_literal )))) ;) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2[1] = uVar3;" (assignment_expression "param_2[1] = uVar3" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_00022364;" goto statement_identifier ;) }))) (expression_statement "param_2[2] = uVar2 * 2;" (assignment_expression "param_2[2] = uVar2 * 2" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "uVar5 = FUN_00033270(uVar3,uVar2 << 3);" (assignment_expression "uVar5 = FUN_00033270(uVar3,uVar2 << 3)" identifier = (call_expression "FUN_00033270(uVar3,uVar2 << 3)" identifier (argument_list "(uVar3,uVar2 << 3)" ( identifier , (binary_expression "uVar2 << 3" identifier << number_literal) )))) ;) (expression_statement "param_2[1] = uVar5;" (assignment_expression "param_2[1] = uVar5" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = *param_2 + 1;" (assignment_expression "uVar2 = *param_2 + 1" identifier = (binary_expression "*param_2 + 1" (pointer_expression "*param_2" * identifier) + number_literal)) ;) (expression_statement "piVar1 = (int *)(uVar5 + *param_2 * 4);" (assignment_expression "piVar1 = (int *)(uVar5 + *param_2 * 4)" identifier = (cast_expression "(int *)(uVar5 + *param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + *param_2 * 4)" ( (binary_expression "uVar5 + *param_2 * 4" identifier + (binary_expression "*param_2 * 4" (pointer_expression "*param_2" * identifier) * number_literal)) )))) ;) (if_statement "if (param_3 == "do_not_care") goto LAB_00022443;" if (parenthesized_expression "(param_3 == "do_not_care")" ( (binary_expression "param_3 == "do_not_care"" identifier == (string_literal ""do_not_care"" " string_content ")) )) (goto_statement "goto LAB_00022443;" goto statement_identifier ;)) (labeled_statement "LAB_00022374:\n      uVar5 = param_2[4];" statement_identifier : (expression_statement "uVar5 = param_2[4];" (assignment_expression "uVar5 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;)) (goto_statement "goto LAB_00022377;" goto statement_identifier ;) })) (labeled_statement "LAB_00022364:\n    uVar2 = uVar5 + 1;" statement_identifier : (expression_statement "uVar2 = uVar5 + 1;" (assignment_expression "uVar2 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;)) (expression_statement "piVar1 = (int *)(uVar3 + uVar5 * 4);" (assignment_expression "piVar1 = (int *)(uVar3 + uVar5 * 4)" identifier = (cast_expression "(int *)(uVar3 + uVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + uVar5 * 4)" ( (binary_expression "uVar3 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) ;) (if_statement "if (param_3 != "do_not_care") goto LAB_00022374;" if (parenthesized_expression "(param_3 != "do_not_care")" ( (binary_expression "param_3 != "do_not_care"" identifier != (string_literal ""do_not_care"" " string_content ")) )) (goto_statement "goto LAB_00022374;" goto statement_identifier ;)) (labeled_statement "LAB_00022443:\n    *param_2 = uVar2;" statement_identifier : (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" * identifier) = identifier) ;)) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) }) (else_clause "else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }" else (compound_statement "{\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }" { (expression_statement "uVar5 = param_2[4];" (assignment_expression "uVar5 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (if_statement "if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }" if (parenthesized_expression "((uint)param_1[3] < param_4 + param_6 + uVar5)" ( (binary_expression "(uint)param_1[3] < param_4 + param_6 + uVar5" (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) < (binary_expression "param_4 + param_6 + uVar5" (binary_expression "param_4 + param_6" identifier + identifier) + identifier)) )) (compound_statement "{\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }" { (if_statement "if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }" if (parenthesized_expression "((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5))" ( (binary_expression "(param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)" (parenthesized_expression "(param_7 != 0)" ( (binary_expression "param_7 != 0" identifier != number_literal) )) || (parenthesized_expression "(uVar5 = param_1[7], *param_2 == uVar5)" ( (comma_expression "uVar5 = param_1[7], *param_2 == uVar5" (assignment_expression "uVar5 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) , (binary_expression "*param_2 == uVar5" (pointer_expression "*param_2" * identifier) == identifier)) ))) )) (compound_statement "{\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }" { (expression_statement "uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);" (assignment_expression "uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX)" identifier = (call_expression "dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX)" identifier (argument_list "(0,"cannot fit single argument within argument list size limit",5,in_ECX)" ( number_literal , (string_literal ""cannot fit single argument within argument list size limit"" " string_content ") , number_literal , identifier )))) ;) comment (expression_statement "error(1,0,uVar4);" (call_expression "error(1,0,uVar4)" identifier (argument_list "(1,0,uVar4)" ( number_literal , number_literal , identifier ))) ;) })) (if_statement "if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }" if (parenthesized_expression "((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         ))" ( (binary_expression "(param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )" (parenthesized_expression "(param_1[6] != 0)" ( (binary_expression "param_1[6] != 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) != number_literal) )) || (parenthesized_expression "((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )" ( (parenthesized_expression "(*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))" ( (binary_expression "*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)))" (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) && (parenthesized_expression "((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)))" ( (parenthesized_expression "(uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))" ( (comma_expression "uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)" (assignment_expression "uVar5 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) , (binary_expression "uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)" (binary_expression "uVar5 != 0" identifier != number_literal) || (parenthesized_expression "(uVar5 = param_1[10], uVar5 != 0)" ( (comma_expression "uVar5 = param_1[10], uVar5 != 0" (assignment_expression "uVar5 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) , (binary_expression "uVar5 != 0" identifier != number_literal)) )))) )) ))) )) ))) )) (compound_statement "{\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar4);\n      }" { (expression_statement "uVar4 = dcgettext(0,"argument list too long",5,uVar5);" (assignment_expression "uVar4 = dcgettext(0,"argument list too long",5,uVar5)" identifier = (call_expression "dcgettext(0,"argument list too long",5,uVar5)" identifier (argument_list "(0,"argument list too long",5,uVar5)" ( number_literal , (string_literal ""argument list too long"" " string_content ") , number_literal , identifier )))) ;) comment (expression_statement "error(1,0,uVar4);" (call_expression "error(1,0,uVar4)" identifier (argument_list "(1,0,uVar4)" ( number_literal , number_literal , identifier ))) ;) })) (expression_statement "FUN_00022720(param_1,param_2);" (call_expression "FUN_00022720(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "local_20 = *param_2;" (assignment_expression "local_20 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (labeled_statement "LAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }" statement_identifier : (if_statement "if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }" if (parenthesized_expression "(((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         )" ( (binary_expression "((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)" (parenthesized_expression "((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7]))" ( (binary_expression "(param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])" (parenthesized_expression "(param_1[10] != 0)" ( (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(param_1[10] == local_20 - param_1[7])" ( (binary_expression "param_1[10] == local_20 - param_1[7]" (subscript_expression "param_1[10]" identifier [ number_literal ]) == (binary_expression "local_20 - param_1[7]" identifier - (subscript_expression "param_1[7]" identifier [ number_literal ]))) ))) )) || (parenthesized_expression "(param_1[4] == local_20)" ( (binary_expression "param_1[4] == local_20" (subscript_expression "param_1[4]" identifier [ number_literal ]) == identifier) ))) )) (compound_statement "{\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }" { (labeled_statement "LAB_00022338:\n        FUN_00022720(param_1,param_2);" statement_identifier : (expression_statement "FUN_00022720(param_1,param_2);" (call_expression "FUN_00022720(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;)) (goto_statement "goto LAB_00022345;" goto statement_identifier ;) }))) (goto_statement "goto LAB_0002234d;" goto statement_identifier ;) })) (expression_statement "local_20 = *param_2;" (assignment_expression "local_20 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (param_7 == 0) goto LAB_0002231d;" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002231d;" goto statement_identifier ;)) (if_statement "if (local_20 == param_1[4]) goto LAB_00022338;" if (parenthesized_expression "(local_20 == param_1[4])" ( (binary_expression "local_20 == param_1[4]" identifier == (subscript_expression "param_1[4]" identifier [ number_literal ])) )) (goto_statement "goto LAB_00022338;" goto statement_identifier ;)) (expression_statement "uVar2 = param_2[2];" (assignment_expression "uVar2 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = param_2[1];" (assignment_expression "uVar3 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar2 <= local_20) goto LAB_00022410;" if (parenthesized_expression "(uVar2 <= local_20)" ( (binary_expression "uVar2 <= local_20" identifier <= identifier) )) (goto_statement "goto LAB_00022410;" goto statement_identifier ;)) (expression_statement "uVar2 = local_20 + 1;" (assignment_expression "uVar2 = local_20 + 1" identifier = (binary_expression "local_20 + 1" identifier + number_literal)) ;) (expression_statement "piVar1 = (int *)(uVar3 + local_20 * 4);" (assignment_expression "piVar1 = (int *)(uVar3 + local_20 * 4)" identifier = (cast_expression "(int *)(uVar3 + local_20 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + local_20 * 4)" ( (binary_expression "uVar3 + local_20 * 4" identifier + (binary_expression "local_20 * 4" identifier * number_literal)) )))) ;) (labeled_statement "LAB_00022377:\n    *param_2 = uVar2;" statement_identifier : (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" * identifier) = identifier) ;)) (expression_statement "*piVar1 = param_2[3] + uVar5;" (assignment_expression "*piVar1 = param_2[3] + uVar5" (pointer_expression "*piVar1" * identifier) = (binary_expression "param_2[3] + uVar5" (subscript_expression "param_2[3]" identifier [ number_literal ]) + identifier)) ;) (if_statement "if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }" if (parenthesized_expression "(param_5 != (char *)0x0)" ( (binary_expression "param_5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }" { (expression_statement "strcpy((char *)(uVar5 + param_2[3]),param_5);" (call_expression "strcpy((char *)(uVar5 + param_2[3]),param_5)" identifier (argument_list "((char *)(uVar5 + param_2[3]),param_5)" ( (cast_expression "(char *)(uVar5 + param_2[3])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + param_2[3])" ( (binary_expression "uVar5 + param_2[3]" identifier + (subscript_expression "param_2[3]" identifier [ number_literal ])) ))) , identifier ))) ;) (expression_statement "uVar5 = param_6 + param_2[4];" (assignment_expression "uVar5 = param_6 + param_2[4]" identifier = (binary_expression "param_6 + param_2[4]" identifier + (subscript_expression "param_2[4]" identifier [ number_literal ]))) ;) (expression_statement "param_2[4] = uVar5;" (assignment_expression "param_2[4] = uVar5" (subscript_expression "param_2[4]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "strcpy((char *)(uVar5 + param_2[3]),param_3);" (call_expression "strcpy((char *)(uVar5 + param_2[3]),param_3)" identifier (argument_list "((char *)(uVar5 + param_2[3]),param_3)" ( (cast_expression "(char *)(uVar5 + param_2[3])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + param_2[3])" ( (binary_expression "uVar5 + param_2[3]" identifier + (subscript_expression "param_2[3]" identifier [ number_literal ])) ))) , identifier ))) ;) (expression_statement "uVar2 = param_4 + param_2[4];" (assignment_expression "uVar2 = param_4 + param_2[4]" identifier = (binary_expression "param_4 + param_2[4]" identifier + (subscript_expression "param_2[4]" identifier [ number_literal ]))) ;) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2[4] = uVar2;" (assignment_expression "param_2[4] = uVar2" (subscript_expression "param_2[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }" { (if_statement "if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }" if (parenthesized_expression "(((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4]))" ( (binary_expression "((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])" (parenthesized_expression "((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7]))" ( (binary_expression "(param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])" (parenthesized_expression "(param_1[10] == 0)" ( (binary_expression "param_1[10] == 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) == number_literal) )) || (parenthesized_expression "(param_1[10] != uVar5 - param_1[7])" ( (binary_expression "param_1[10] != uVar5 - param_1[7]" (subscript_expression "param_1[10]" identifier [ number_literal ]) != (binary_expression "uVar5 - param_1[7]" identifier - (subscript_expression "param_1[7]" identifier [ number_literal ]))) ))) )) && (parenthesized_expression "(uVar5 != param_1[4])" ( (binary_expression "uVar5 != param_1[4]" identifier != (subscript_expression "param_1[4]" identifier [ number_literal ])) ))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if (uVar5 != param_1[4]) goto LAB_000223fd;" else (if_statement "if (uVar5 != param_1[4]) goto LAB_000223fd;" if (parenthesized_expression "(uVar5 != param_1[4])" ( (binary_expression "uVar5 != param_1[4]" identifier != (subscript_expression "param_1[4]" identifier [ number_literal ])) )) (goto_statement "goto LAB_000223fd;" goto statement_identifier ;)))) (expression_statement "FUN_00022720(param_1,param_2);" (call_expression "FUN_00022720(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) }))) (if_statement "if (param_7 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = param_2[4];" (assignment_expression "uVar2 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (labeled_statement "LAB_000223fd:\n  param_2[5] = uVar2;" statement_identifier : (expression_statement "param_2[5] = uVar2;" (assignment_expression "param_2[5] = uVar2" (subscript_expression "param_2[5]" identifier [ number_literal ]) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid bc_push_arg(buildcmd_control *ctl,buildcmd_state *state,char *arg,size_t len,char *prefix,\n                size_t pfxlen,int initial_args)\n\n{\n  size_t sVar1;\n  char **ppcVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint local_20;\n  \n  if (arg == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (arg == "do_not_care") {\nLAB_00022345:\n    if (initial_args == 0) {\nLAB_0002234d:\n      state->todo = 1;\n    }\n    uVar5 = state->cmd_argc;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= uVar5) {\nLAB_00022410:\n      if (ppcVar2 == (char **)0x0) {\n        state->cmd_argv_alloc = 0x40;\n        ppcVar2 = (char **)xmalloc(0x100);\n        uVar5 = state->cmd_argc;\n        state->cmd_argv = ppcVar2;\n        goto LAB_00022364;\n      }\n      state->cmd_argv_alloc = uVar4 * 2;\n      ppcVar2 = (char **)xrealloc(ppcVar2,uVar4 << 3);\n      state->cmd_argv = ppcVar2;\n      sVar1 = state->cmd_argc + 1;\n      ppcVar2 = ppcVar2 + state->cmd_argc;\n      if (arg == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      sVar6 = state->cmd_argv_chars;\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    sVar1 = uVar5 + 1;\n    ppcVar2 = ppcVar2 + uVar5;\n    if (arg != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = (char *)0x0;\n  }\n  else {\n    sVar6 = state->cmd_argv_chars;\n    if (ctl->arg_max < len + pfxlen + sVar6) {\n      if ((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)) {\n        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      if ((ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))\n      {\n        uVar3 = dcgettext(0,"argument list too long",5,sVar6);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      bc_do_exec(ctl,state);\n      local_20 = state->cmd_argc;\nLAB_0002231d:\n      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)) {\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = state->cmd_argc;\n    if (initial_args == 0) goto LAB_0002231d;\n    if (local_20 == ctl->max_arg_count) goto LAB_00022338;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= local_20) goto LAB_00022410;\n    sVar1 = local_20 + 1;\n    ppcVar2 = ppcVar2 + local_20;\nLAB_00022377:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = state->argbuf + sVar6;\n    if (prefix != (char *)0x0) {\n      strcpy(state->argbuf + sVar6,prefix);\n      sVar6 = pfxlen + state->cmd_argv_chars;\n      state->cmd_argv_chars = sVar6;\n    }\n    strcpy(state->argbuf + sVar6,arg);\n    sVar1 = len + state->cmd_argv_chars;\n    sVar6 = state->cmd_argc;\n    state->cmd_argv_chars = sVar1;\n    if (initial_args == 0) {\n      if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count)) {\n        return;\n      }\n    }\n    else if (sVar6 != ctl->max_arg_count) goto LAB_000223fd;\n    bc_do_exec(ctl,state);\n  }\n  if (initial_args == 0) {\n    return;\n  }\n  sVar1 = state->cmd_argv_chars;\nLAB_000223fd:\n  state->cmd_initial_argv_chars = sVar1;\n  return;\n}\n\n" comment comment (function_definition "void bc_push_arg(buildcmd_control *ctl,buildcmd_state *state,char *arg,size_t len,char *prefix,\n                size_t pfxlen,int initial_args)\n\n{\n  size_t sVar1;\n  char **ppcVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint local_20;\n  \n  if (arg == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (arg == "do_not_care") {\nLAB_00022345:\n    if (initial_args == 0) {\nLAB_0002234d:\n      state->todo = 1;\n    }\n    uVar5 = state->cmd_argc;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= uVar5) {\nLAB_00022410:\n      if (ppcVar2 == (char **)0x0) {\n        state->cmd_argv_alloc = 0x40;\n        ppcVar2 = (char **)xmalloc(0x100);\n        uVar5 = state->cmd_argc;\n        state->cmd_argv = ppcVar2;\n        goto LAB_00022364;\n      }\n      state->cmd_argv_alloc = uVar4 * 2;\n      ppcVar2 = (char **)xrealloc(ppcVar2,uVar4 << 3);\n      state->cmd_argv = ppcVar2;\n      sVar1 = state->cmd_argc + 1;\n      ppcVar2 = ppcVar2 + state->cmd_argc;\n      if (arg == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      sVar6 = state->cmd_argv_chars;\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    sVar1 = uVar5 + 1;\n    ppcVar2 = ppcVar2 + uVar5;\n    if (arg != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = (char *)0x0;\n  }\n  else {\n    sVar6 = state->cmd_argv_chars;\n    if (ctl->arg_max < len + pfxlen + sVar6) {\n      if ((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)) {\n        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      if ((ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))\n      {\n        uVar3 = dcgettext(0,"argument list too long",5,sVar6);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      bc_do_exec(ctl,state);\n      local_20 = state->cmd_argc;\nLAB_0002231d:\n      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)) {\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = state->cmd_argc;\n    if (initial_args == 0) goto LAB_0002231d;\n    if (local_20 == ctl->max_arg_count) goto LAB_00022338;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= local_20) goto LAB_00022410;\n    sVar1 = local_20 + 1;\n    ppcVar2 = ppcVar2 + local_20;\nLAB_00022377:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = state->argbuf + sVar6;\n    if (prefix != (char *)0x0) {\n      strcpy(state->argbuf + sVar6,prefix);\n      sVar6 = pfxlen + state->cmd_argv_chars;\n      state->cmd_argv_chars = sVar6;\n    }\n    strcpy(state->argbuf + sVar6,arg);\n    sVar1 = len + state->cmd_argv_chars;\n    sVar6 = state->cmd_argc;\n    state->cmd_argv_chars = sVar1;\n    if (initial_args == 0) {\n      if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count)) {\n        return;\n      }\n    }\n    else if (sVar6 != ctl->max_arg_count) goto LAB_000223fd;\n    bc_do_exec(ctl,state);\n  }\n  if (initial_args == 0) {\n    return;\n  }\n  sVar1 = state->cmd_argv_chars;\nLAB_000223fd:\n  state->cmd_initial_argv_chars = sVar1;\n  return;\n}" primitive_type (function_declarator "bc_push_arg(buildcmd_control *ctl,buildcmd_state *state,char *arg,size_t len,char *prefix,\n                size_t pfxlen,int initial_args)" identifier (parameter_list "(buildcmd_control *ctl,buildcmd_state *state,char *arg,size_t len,char *prefix,\n                size_t pfxlen,int initial_args)" ( (parameter_declaration "buildcmd_control *ctl" type_identifier (pointer_declarator "*ctl" * identifier)) , (parameter_declaration "buildcmd_state *state" type_identifier (pointer_declarator "*state" * identifier)) , (parameter_declaration "char *arg" primitive_type (pointer_declarator "*arg" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) , (parameter_declaration "char *prefix" primitive_type (pointer_declarator "*prefix" * identifier)) , (parameter_declaration "size_t pfxlen" primitive_type identifier) , (parameter_declaration "int initial_args" primitive_type identifier) ))) (compound_statement "{\n  size_t sVar1;\n  char **ppcVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  size_t sVar6;\n  uint local_20;\n  \n  if (arg == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (arg == "do_not_care") {\nLAB_00022345:\n    if (initial_args == 0) {\nLAB_0002234d:\n      state->todo = 1;\n    }\n    uVar5 = state->cmd_argc;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= uVar5) {\nLAB_00022410:\n      if (ppcVar2 == (char **)0x0) {\n        state->cmd_argv_alloc = 0x40;\n        ppcVar2 = (char **)xmalloc(0x100);\n        uVar5 = state->cmd_argc;\n        state->cmd_argv = ppcVar2;\n        goto LAB_00022364;\n      }\n      state->cmd_argv_alloc = uVar4 * 2;\n      ppcVar2 = (char **)xrealloc(ppcVar2,uVar4 << 3);\n      state->cmd_argv = ppcVar2;\n      sVar1 = state->cmd_argc + 1;\n      ppcVar2 = ppcVar2 + state->cmd_argc;\n      if (arg == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      sVar6 = state->cmd_argv_chars;\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    sVar1 = uVar5 + 1;\n    ppcVar2 = ppcVar2 + uVar5;\n    if (arg != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = (char *)0x0;\n  }\n  else {\n    sVar6 = state->cmd_argv_chars;\n    if (ctl->arg_max < len + pfxlen + sVar6) {\n      if ((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)) {\n        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      if ((ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))\n      {\n        uVar3 = dcgettext(0,"argument list too long",5,sVar6);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      bc_do_exec(ctl,state);\n      local_20 = state->cmd_argc;\nLAB_0002231d:\n      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)) {\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = state->cmd_argc;\n    if (initial_args == 0) goto LAB_0002231d;\n    if (local_20 == ctl->max_arg_count) goto LAB_00022338;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= local_20) goto LAB_00022410;\n    sVar1 = local_20 + 1;\n    ppcVar2 = ppcVar2 + local_20;\nLAB_00022377:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = state->argbuf + sVar6;\n    if (prefix != (char *)0x0) {\n      strcpy(state->argbuf + sVar6,prefix);\n      sVar6 = pfxlen + state->cmd_argv_chars;\n      state->cmd_argv_chars = sVar6;\n    }\n    strcpy(state->argbuf + sVar6,arg);\n    sVar1 = len + state->cmd_argv_chars;\n    sVar6 = state->cmd_argc;\n    state->cmd_argv_chars = sVar1;\n    if (initial_args == 0) {\n      if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count)) {\n        return;\n      }\n    }\n    else if (sVar6 != ctl->max_arg_count) goto LAB_000223fd;\n    bc_do_exec(ctl,state);\n  }\n  if (initial_args == 0) {\n    return;\n  }\n  sVar1 = state->cmd_argv_chars;\nLAB_000223fd:\n  state->cmd_initial_argv_chars = sVar1;\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "char **ppcVar2;" primitive_type (pointer_declarator "**ppcVar2" * (pointer_declarator "*ppcVar2" * identifier)) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (if_statement "if (arg == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }" if (parenthesized_expression "(arg == (char *)0x0)" ( (binary_expression "arg == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }" { comment (expression_statement "__assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");" (call_expression "__assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg")" identifier (argument_list "("arg != NULL","buildcmd.c",0x155,"bc_push_arg")" ( (string_literal ""arg != NULL"" " string_content ") , (string_literal ""buildcmd.c"" " string_content ") , number_literal , (string_literal ""bc_push_arg"" " string_content ") ))) ;) })) (if_statement "if (arg == "do_not_care") {\nLAB_00022345:\n    if (initial_args == 0) {\nLAB_0002234d:\n      state->todo = 1;\n    }\n    uVar5 = state->cmd_argc;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= uVar5) {\nLAB_00022410:\n      if (ppcVar2 == (char **)0x0) {\n        state->cmd_argv_alloc = 0x40;\n        ppcVar2 = (char **)xmalloc(0x100);\n        uVar5 = state->cmd_argc;\n        state->cmd_argv = ppcVar2;\n        goto LAB_00022364;\n      }\n      state->cmd_argv_alloc = uVar4 * 2;\n      ppcVar2 = (char **)xrealloc(ppcVar2,uVar4 << 3);\n      state->cmd_argv = ppcVar2;\n      sVar1 = state->cmd_argc + 1;\n      ppcVar2 = ppcVar2 + state->cmd_argc;\n      if (arg == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      sVar6 = state->cmd_argv_chars;\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    sVar1 = uVar5 + 1;\n    ppcVar2 = ppcVar2 + uVar5;\n    if (arg != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = (char *)0x0;\n  }\n  else {\n    sVar6 = state->cmd_argv_chars;\n    if (ctl->arg_max < len + pfxlen + sVar6) {\n      if ((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)) {\n        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      if ((ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))\n      {\n        uVar3 = dcgettext(0,"argument list too long",5,sVar6);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      bc_do_exec(ctl,state);\n      local_20 = state->cmd_argc;\nLAB_0002231d:\n      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)) {\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = state->cmd_argc;\n    if (initial_args == 0) goto LAB_0002231d;\n    if (local_20 == ctl->max_arg_count) goto LAB_00022338;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= local_20) goto LAB_00022410;\n    sVar1 = local_20 + 1;\n    ppcVar2 = ppcVar2 + local_20;\nLAB_00022377:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = state->argbuf + sVar6;\n    if (prefix != (char *)0x0) {\n      strcpy(state->argbuf + sVar6,prefix);\n      sVar6 = pfxlen + state->cmd_argv_chars;\n      state->cmd_argv_chars = sVar6;\n    }\n    strcpy(state->argbuf + sVar6,arg);\n    sVar1 = len + state->cmd_argv_chars;\n    sVar6 = state->cmd_argc;\n    state->cmd_argv_chars = sVar1;\n    if (initial_args == 0) {\n      if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count)) {\n        return;\n      }\n    }\n    else if (sVar6 != ctl->max_arg_count) goto LAB_000223fd;\n    bc_do_exec(ctl,state);\n  }" if (parenthesized_expression "(arg == "do_not_care")" ( (binary_expression "arg == "do_not_care"" identifier == (string_literal ""do_not_care"" " string_content ")) )) (compound_statement "{\nLAB_00022345:\n    if (initial_args == 0) {\nLAB_0002234d:\n      state->todo = 1;\n    }\n    uVar5 = state->cmd_argc;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= uVar5) {\nLAB_00022410:\n      if (ppcVar2 == (char **)0x0) {\n        state->cmd_argv_alloc = 0x40;\n        ppcVar2 = (char **)xmalloc(0x100);\n        uVar5 = state->cmd_argc;\n        state->cmd_argv = ppcVar2;\n        goto LAB_00022364;\n      }\n      state->cmd_argv_alloc = uVar4 * 2;\n      ppcVar2 = (char **)xrealloc(ppcVar2,uVar4 << 3);\n      state->cmd_argv = ppcVar2;\n      sVar1 = state->cmd_argc + 1;\n      ppcVar2 = ppcVar2 + state->cmd_argc;\n      if (arg == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      sVar6 = state->cmd_argv_chars;\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    sVar1 = uVar5 + 1;\n    ppcVar2 = ppcVar2 + uVar5;\n    if (arg != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = (char *)0x0;\n  }" { (labeled_statement "LAB_00022345:\n    if (initial_args == 0) {\nLAB_0002234d:\n      state->todo = 1;\n    }" statement_identifier : (if_statement "if (initial_args == 0) {\nLAB_0002234d:\n      state->todo = 1;\n    }" if (parenthesized_expression "(initial_args == 0)" ( (binary_expression "initial_args == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0002234d:\n      state->todo = 1;\n    }" { (labeled_statement "LAB_0002234d:\n      state->todo = 1;" statement_identifier : (expression_statement "state->todo = 1;" (assignment_expression "state->todo = 1" (field_expression "state->todo" identifier -> field_identifier) = number_literal) ;)) }))) (expression_statement "uVar5 = state->cmd_argc;" (assignment_expression "uVar5 = state->cmd_argc" identifier = (field_expression "state->cmd_argc" identifier -> field_identifier)) ;) (expression_statement "uVar4 = state->cmd_argv_alloc;" (assignment_expression "uVar4 = state->cmd_argv_alloc" identifier = (field_expression "state->cmd_argv_alloc" identifier -> field_identifier)) ;) (expression_statement "ppcVar2 = state->cmd_argv;" (assignment_expression "ppcVar2 = state->cmd_argv" identifier = (field_expression "state->cmd_argv" identifier -> field_identifier)) ;) (if_statement "if (uVar4 <= uVar5) {\nLAB_00022410:\n      if (ppcVar2 == (char **)0x0) {\n        state->cmd_argv_alloc = 0x40;\n        ppcVar2 = (char **)xmalloc(0x100);\n        uVar5 = state->cmd_argc;\n        state->cmd_argv = ppcVar2;\n        goto LAB_00022364;\n      }\n      state->cmd_argv_alloc = uVar4 * 2;\n      ppcVar2 = (char **)xrealloc(ppcVar2,uVar4 << 3);\n      state->cmd_argv = ppcVar2;\n      sVar1 = state->cmd_argc + 1;\n      ppcVar2 = ppcVar2 + state->cmd_argc;\n      if (arg == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      sVar6 = state->cmd_argv_chars;\n      goto LAB_00022377;\n    }" if (parenthesized_expression "(uVar4 <= uVar5)" ( (binary_expression "uVar4 <= uVar5" identifier <= identifier) )) (compound_statement "{\nLAB_00022410:\n      if (ppcVar2 == (char **)0x0) {\n        state->cmd_argv_alloc = 0x40;\n        ppcVar2 = (char **)xmalloc(0x100);\n        uVar5 = state->cmd_argc;\n        state->cmd_argv = ppcVar2;\n        goto LAB_00022364;\n      }\n      state->cmd_argv_alloc = uVar4 * 2;\n      ppcVar2 = (char **)xrealloc(ppcVar2,uVar4 << 3);\n      state->cmd_argv = ppcVar2;\n      sVar1 = state->cmd_argc + 1;\n      ppcVar2 = ppcVar2 + state->cmd_argc;\n      if (arg == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      sVar6 = state->cmd_argv_chars;\n      goto LAB_00022377;\n    }" { (labeled_statement "LAB_00022410:\n      if (ppcVar2 == (char **)0x0) {\n        state->cmd_argv_alloc = 0x40;\n        ppcVar2 = (char **)xmalloc(0x100);\n        uVar5 = state->cmd_argc;\n        state->cmd_argv = ppcVar2;\n        goto LAB_00022364;\n      }" statement_identifier : (if_statement "if (ppcVar2 == (char **)0x0) {\n        state->cmd_argv_alloc = 0x40;\n        ppcVar2 = (char **)xmalloc(0x100);\n        uVar5 = state->cmd_argc;\n        state->cmd_argv = ppcVar2;\n        goto LAB_00022364;\n      }" if (parenthesized_expression "(ppcVar2 == (char **)0x0)" ( (binary_expression "ppcVar2 == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n        state->cmd_argv_alloc = 0x40;\n        ppcVar2 = (char **)xmalloc(0x100);\n        uVar5 = state->cmd_argc;\n        state->cmd_argv = ppcVar2;\n        goto LAB_00022364;\n      }" { (expression_statement "state->cmd_argv_alloc = 0x40;" (assignment_expression "state->cmd_argv_alloc = 0x40" (field_expression "state->cmd_argv_alloc" identifier -> field_identifier) = number_literal) ;) (expression_statement "ppcVar2 = (char **)xmalloc(0x100);" (assignment_expression "ppcVar2 = (char **)xmalloc(0x100)" identifier = (cast_expression "(char **)xmalloc(0x100)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xmalloc(0x100)" identifier (argument_list "(0x100)" ( number_literal ))))) ;) (expression_statement "uVar5 = state->cmd_argc;" (assignment_expression "uVar5 = state->cmd_argc" identifier = (field_expression "state->cmd_argc" identifier -> field_identifier)) ;) (expression_statement "state->cmd_argv = ppcVar2;" (assignment_expression "state->cmd_argv = ppcVar2" (field_expression "state->cmd_argv" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_00022364;" goto statement_identifier ;) }))) (expression_statement "state->cmd_argv_alloc = uVar4 * 2;" (assignment_expression "state->cmd_argv_alloc = uVar4 * 2" (field_expression "state->cmd_argv_alloc" identifier -> field_identifier) = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (expression_statement "ppcVar2 = (char **)xrealloc(ppcVar2,uVar4 << 3);" (assignment_expression "ppcVar2 = (char **)xrealloc(ppcVar2,uVar4 << 3)" identifier = (cast_expression "(char **)xrealloc(ppcVar2,uVar4 << 3)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xrealloc(ppcVar2,uVar4 << 3)" identifier (argument_list "(ppcVar2,uVar4 << 3)" ( identifier , (binary_expression "uVar4 << 3" identifier << number_literal) ))))) ;) (expression_statement "state->cmd_argv = ppcVar2;" (assignment_expression "state->cmd_argv = ppcVar2" (field_expression "state->cmd_argv" identifier -> field_identifier) = identifier) ;) (expression_statement "sVar1 = state->cmd_argc + 1;" (assignment_expression "sVar1 = state->cmd_argc + 1" identifier = (binary_expression "state->cmd_argc + 1" (field_expression "state->cmd_argc" identifier -> field_identifier) + number_literal)) ;) (expression_statement "ppcVar2 = ppcVar2 + state->cmd_argc;" (assignment_expression "ppcVar2 = ppcVar2 + state->cmd_argc" identifier = (binary_expression "ppcVar2 + state->cmd_argc" identifier + (field_expression "state->cmd_argc" identifier -> field_identifier))) ;) (if_statement "if (arg == "do_not_care") goto LAB_00022443;" if (parenthesized_expression "(arg == "do_not_care")" ( (binary_expression "arg == "do_not_care"" identifier == (string_literal ""do_not_care"" " string_content ")) )) (goto_statement "goto LAB_00022443;" goto statement_identifier ;)) (labeled_statement "LAB_00022374:\n      sVar6 = state->cmd_argv_chars;" statement_identifier : (expression_statement "sVar6 = state->cmd_argv_chars;" (assignment_expression "sVar6 = state->cmd_argv_chars" identifier = (field_expression "state->cmd_argv_chars" identifier -> field_identifier)) ;)) (goto_statement "goto LAB_00022377;" goto statement_identifier ;) })) (labeled_statement "LAB_00022364:\n    sVar1 = uVar5 + 1;" statement_identifier : (expression_statement "sVar1 = uVar5 + 1;" (assignment_expression "sVar1 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;)) (expression_statement "ppcVar2 = ppcVar2 + uVar5;" (assignment_expression "ppcVar2 = ppcVar2 + uVar5" identifier = (binary_expression "ppcVar2 + uVar5" identifier + identifier)) ;) (if_statement "if (arg != "do_not_care") goto LAB_00022374;" if (parenthesized_expression "(arg != "do_not_care")" ( (binary_expression "arg != "do_not_care"" identifier != (string_literal ""do_not_care"" " string_content ")) )) (goto_statement "goto LAB_00022374;" goto statement_identifier ;)) (labeled_statement "LAB_00022443:\n    state->cmd_argc = sVar1;" statement_identifier : (expression_statement "state->cmd_argc = sVar1;" (assignment_expression "state->cmd_argc = sVar1" (field_expression "state->cmd_argc" identifier -> field_identifier) = identifier) ;)) (expression_statement "*ppcVar2 = (char *)0x0;" (assignment_expression "*ppcVar2 = (char *)0x0" (pointer_expression "*ppcVar2" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    sVar6 = state->cmd_argv_chars;\n    if (ctl->arg_max < len + pfxlen + sVar6) {\n      if ((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)) {\n        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      if ((ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))\n      {\n        uVar3 = dcgettext(0,"argument list too long",5,sVar6);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      bc_do_exec(ctl,state);\n      local_20 = state->cmd_argc;\nLAB_0002231d:\n      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)) {\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = state->cmd_argc;\n    if (initial_args == 0) goto LAB_0002231d;\n    if (local_20 == ctl->max_arg_count) goto LAB_00022338;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= local_20) goto LAB_00022410;\n    sVar1 = local_20 + 1;\n    ppcVar2 = ppcVar2 + local_20;\nLAB_00022377:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = state->argbuf + sVar6;\n    if (prefix != (char *)0x0) {\n      strcpy(state->argbuf + sVar6,prefix);\n      sVar6 = pfxlen + state->cmd_argv_chars;\n      state->cmd_argv_chars = sVar6;\n    }\n    strcpy(state->argbuf + sVar6,arg);\n    sVar1 = len + state->cmd_argv_chars;\n    sVar6 = state->cmd_argc;\n    state->cmd_argv_chars = sVar1;\n    if (initial_args == 0) {\n      if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count)) {\n        return;\n      }\n    }\n    else if (sVar6 != ctl->max_arg_count) goto LAB_000223fd;\n    bc_do_exec(ctl,state);\n  }" else (compound_statement "{\n    sVar6 = state->cmd_argv_chars;\n    if (ctl->arg_max < len + pfxlen + sVar6) {\n      if ((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)) {\n        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      if ((ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))\n      {\n        uVar3 = dcgettext(0,"argument list too long",5,sVar6);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      bc_do_exec(ctl,state);\n      local_20 = state->cmd_argc;\nLAB_0002231d:\n      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)) {\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = state->cmd_argc;\n    if (initial_args == 0) goto LAB_0002231d;\n    if (local_20 == ctl->max_arg_count) goto LAB_00022338;\n    uVar4 = state->cmd_argv_alloc;\n    ppcVar2 = state->cmd_argv;\n    if (uVar4 <= local_20) goto LAB_00022410;\n    sVar1 = local_20 + 1;\n    ppcVar2 = ppcVar2 + local_20;\nLAB_00022377:\n    state->cmd_argc = sVar1;\n    *ppcVar2 = state->argbuf + sVar6;\n    if (prefix != (char *)0x0) {\n      strcpy(state->argbuf + sVar6,prefix);\n      sVar6 = pfxlen + state->cmd_argv_chars;\n      state->cmd_argv_chars = sVar6;\n    }\n    strcpy(state->argbuf + sVar6,arg);\n    sVar1 = len + state->cmd_argv_chars;\n    sVar6 = state->cmd_argc;\n    state->cmd_argv_chars = sVar1;\n    if (initial_args == 0) {\n      if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count)) {\n        return;\n      }\n    }\n    else if (sVar6 != ctl->max_arg_count) goto LAB_000223fd;\n    bc_do_exec(ctl,state);\n  }" { (expression_statement "sVar6 = state->cmd_argv_chars;" (assignment_expression "sVar6 = state->cmd_argv_chars" identifier = (field_expression "state->cmd_argv_chars" identifier -> field_identifier)) ;) (if_statement "if (ctl->arg_max < len + pfxlen + sVar6) {\n      if ((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)) {\n        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      if ((ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))\n      {\n        uVar3 = dcgettext(0,"argument list too long",5,sVar6);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      bc_do_exec(ctl,state);\n      local_20 = state->cmd_argc;\nLAB_0002231d:\n      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)) {\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }" if (parenthesized_expression "(ctl->arg_max < len + pfxlen + sVar6)" ( (binary_expression "ctl->arg_max < len + pfxlen + sVar6" (field_expression "ctl->arg_max" identifier -> field_identifier) < (binary_expression "len + pfxlen + sVar6" (binary_expression "len + pfxlen" identifier + identifier) + identifier)) )) (compound_statement "{\n      if ((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)) {\n        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      if ((ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))\n      {\n        uVar3 = dcgettext(0,"argument list too long",5,sVar6);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }\n      bc_do_exec(ctl,state);\n      local_20 = state->cmd_argc;\nLAB_0002231d:\n      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)) {\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }" { (if_statement "if ((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)) {\n        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }" if (parenthesized_expression "((initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6))" ( (binary_expression "(initial_args != 0) || (sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)" (parenthesized_expression "(initial_args != 0)" ( (binary_expression "initial_args != 0" identifier != number_literal) )) || (parenthesized_expression "(sVar6 = ctl->initial_argc, state->cmd_argc == sVar6)" ( (comma_expression "sVar6 = ctl->initial_argc, state->cmd_argc == sVar6" (assignment_expression "sVar6 = ctl->initial_argc" identifier = (field_expression "ctl->initial_argc" identifier -> field_identifier)) , (binary_expression "state->cmd_argc == sVar6" (field_expression "state->cmd_argc" identifier -> field_identifier) == identifier)) ))) )) (compound_statement "{\n        uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }" { (expression_statement "uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5);" (assignment_expression "uVar3 = dcgettext(0,"cannot fit single argument within argument list size limit",5)" identifier = (call_expression "dcgettext(0,"cannot fit single argument within argument list size limit",5)" identifier (argument_list "(0,"cannot fit single argument within argument list size limit",5)" ( number_literal , (string_literal ""cannot fit single argument within argument list size limit"" " string_content ") , number_literal )))) ;) comment (expression_statement "error(1,0,uVar3);" (call_expression "error(1,0,uVar3)" identifier (argument_list "(1,0,uVar3)" ( number_literal , number_literal , identifier ))) ;) })) (if_statement "if ((ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))\n      {\n        uVar3 = dcgettext(0,"argument list too long",5,sVar6);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }" if (parenthesized_expression "((ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))))" ( (binary_expression "(ctl->replace_pat != (char *)0x0) ||\n         ((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0)))))" (parenthesized_expression "(ctl->replace_pat != (char *)0x0)" ( (binary_expression "ctl->replace_pat != (char *)0x0" (field_expression "ctl->replace_pat" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0)))))" ( (parenthesized_expression "(ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))))" ( (binary_expression "ctl->exit_if_size_exceeded != 0 &&\n          ((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0)))" (binary_expression "ctl->exit_if_size_exceeded != 0" (field_expression "ctl->exit_if_size_exceeded" identifier -> field_identifier) != number_literal) && (parenthesized_expression "((sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0)))" ( (parenthesized_expression "(sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0))" ( (comma_expression "sVar6 = ctl->lines_per_exec, sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0)" (assignment_expression "sVar6 = ctl->lines_per_exec" identifier = (field_expression "ctl->lines_per_exec" identifier -> field_identifier)) , (binary_expression "sVar6 != 0 || (sVar6 = ctl->args_per_exec, sVar6 != 0)" (binary_expression "sVar6 != 0" identifier != number_literal) || (parenthesized_expression "(sVar6 = ctl->args_per_exec, sVar6 != 0)" ( (comma_expression "sVar6 = ctl->args_per_exec, sVar6 != 0" (assignment_expression "sVar6 = ctl->args_per_exec" identifier = (field_expression "ctl->args_per_exec" identifier -> field_identifier)) , (binary_expression "sVar6 != 0" identifier != number_literal)) )))) )) ))) )) ))) )) (compound_statement "{\n        uVar3 = dcgettext(0,"argument list too long",5,sVar6);\n                    /* WARNING: Subroutine does not return */\n        error(1,0,uVar3);\n      }" { (expression_statement "uVar3 = dcgettext(0,"argument list too long",5,sVar6);" (assignment_expression "uVar3 = dcgettext(0,"argument list too long",5,sVar6)" identifier = (call_expression "dcgettext(0,"argument list too long",5,sVar6)" identifier (argument_list "(0,"argument list too long",5,sVar6)" ( number_literal , (string_literal ""argument list too long"" " string_content ") , number_literal , identifier )))) ;) comment (expression_statement "error(1,0,uVar3);" (call_expression "error(1,0,uVar3)" identifier (argument_list "(1,0,uVar3)" ( number_literal , number_literal , identifier ))) ;) })) (expression_statement "bc_do_exec(ctl,state);" (call_expression "bc_do_exec(ctl,state)" identifier (argument_list "(ctl,state)" ( identifier , identifier ))) ;) (expression_statement "local_20 = state->cmd_argc;" (assignment_expression "local_20 = state->cmd_argc" identifier = (field_expression "state->cmd_argc" identifier -> field_identifier)) ;) (labeled_statement "LAB_0002231d:\n      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)) {\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }" statement_identifier : (if_statement "if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)) {\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }" if (parenthesized_expression "(((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20))" ( (binary_expression "((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)) ||\n         (ctl->max_arg_count == local_20)" (parenthesized_expression "((ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc))" ( (binary_expression "(ctl->args_per_exec != 0) && (ctl->args_per_exec == local_20 - ctl->initial_argc)" (parenthesized_expression "(ctl->args_per_exec != 0)" ( (binary_expression "ctl->args_per_exec != 0" (field_expression "ctl->args_per_exec" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(ctl->args_per_exec == local_20 - ctl->initial_argc)" ( (binary_expression "ctl->args_per_exec == local_20 - ctl->initial_argc" (field_expression "ctl->args_per_exec" identifier -> field_identifier) == (binary_expression "local_20 - ctl->initial_argc" identifier - (field_expression "ctl->initial_argc" identifier -> field_identifier))) ))) )) || (parenthesized_expression "(ctl->max_arg_count == local_20)" ( (binary_expression "ctl->max_arg_count == local_20" (field_expression "ctl->max_arg_count" identifier -> field_identifier) == identifier) ))) )) (compound_statement "{\nLAB_00022338:\n        bc_do_exec(ctl,state);\n        goto LAB_00022345;\n      }" { (labeled_statement "LAB_00022338:\n        bc_do_exec(ctl,state);" statement_identifier : (expression_statement "bc_do_exec(ctl,state);" (call_expression "bc_do_exec(ctl,state)" identifier (argument_list "(ctl,state)" ( identifier , identifier ))) ;)) (goto_statement "goto LAB_00022345;" goto statement_identifier ;) }))) (goto_statement "goto LAB_0002234d;" goto statement_identifier ;) })) (expression_statement "local_20 = state->cmd_argc;" (assignment_expression "local_20 = state->cmd_argc" identifier = (field_expression "state->cmd_argc" identifier -> field_identifier)) ;) (if_statement "if (initial_args == 0) goto LAB_0002231d;" if (parenthesized_expression "(initial_args == 0)" ( (binary_expression "initial_args == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002231d;" goto statement_identifier ;)) (if_statement "if (local_20 == ctl->max_arg_count) goto LAB_00022338;" if (parenthesized_expression "(local_20 == ctl->max_arg_count)" ( (binary_expression "local_20 == ctl->max_arg_count" identifier == (field_expression "ctl->max_arg_count" identifier -> field_identifier)) )) (goto_statement "goto LAB_00022338;" goto statement_identifier ;)) (expression_statement "uVar4 = state->cmd_argv_alloc;" (assignment_expression "uVar4 = state->cmd_argv_alloc" identifier = (field_expression "state->cmd_argv_alloc" identifier -> field_identifier)) ;) (expression_statement "ppcVar2 = state->cmd_argv;" (assignment_expression "ppcVar2 = state->cmd_argv" identifier = (field_expression "state->cmd_argv" identifier -> field_identifier)) ;) (if_statement "if (uVar4 <= local_20) goto LAB_00022410;" if (parenthesized_expression "(uVar4 <= local_20)" ( (binary_expression "uVar4 <= local_20" identifier <= identifier) )) (goto_statement "goto LAB_00022410;" goto statement_identifier ;)) (expression_statement "sVar1 = local_20 + 1;" (assignment_expression "sVar1 = local_20 + 1" identifier = (binary_expression "local_20 + 1" identifier + number_literal)) ;) (expression_statement "ppcVar2 = ppcVar2 + local_20;" (assignment_expression "ppcVar2 = ppcVar2 + local_20" identifier = (binary_expression "ppcVar2 + local_20" identifier + identifier)) ;) (labeled_statement "LAB_00022377:\n    state->cmd_argc = sVar1;" statement_identifier : (expression_statement "state->cmd_argc = sVar1;" (assignment_expression "state->cmd_argc = sVar1" (field_expression "state->cmd_argc" identifier -> field_identifier) = identifier) ;)) (expression_statement "*ppcVar2 = state->argbuf + sVar6;" (assignment_expression "*ppcVar2 = state->argbuf + sVar6" (pointer_expression "*ppcVar2" * identifier) = (binary_expression "state->argbuf + sVar6" (field_expression "state->argbuf" identifier -> field_identifier) + identifier)) ;) (if_statement "if (prefix != (char *)0x0) {\n      strcpy(state->argbuf + sVar6,prefix);\n      sVar6 = pfxlen + state->cmd_argv_chars;\n      state->cmd_argv_chars = sVar6;\n    }" if (parenthesized_expression "(prefix != (char *)0x0)" ( (binary_expression "prefix != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      strcpy(state->argbuf + sVar6,prefix);\n      sVar6 = pfxlen + state->cmd_argv_chars;\n      state->cmd_argv_chars = sVar6;\n    }" { (expression_statement "strcpy(state->argbuf + sVar6,prefix);" (call_expression "strcpy(state->argbuf + sVar6,prefix)" identifier (argument_list "(state->argbuf + sVar6,prefix)" ( (binary_expression "state->argbuf + sVar6" (field_expression "state->argbuf" identifier -> field_identifier) + identifier) , identifier ))) ;) (expression_statement "sVar6 = pfxlen + state->cmd_argv_chars;" (assignment_expression "sVar6 = pfxlen + state->cmd_argv_chars" identifier = (binary_expression "pfxlen + state->cmd_argv_chars" identifier + (field_expression "state->cmd_argv_chars" identifier -> field_identifier))) ;) (expression_statement "state->cmd_argv_chars = sVar6;" (assignment_expression "state->cmd_argv_chars = sVar6" (field_expression "state->cmd_argv_chars" identifier -> field_identifier) = identifier) ;) })) (expression_statement "strcpy(state->argbuf + sVar6,arg);" (call_expression "strcpy(state->argbuf + sVar6,arg)" identifier (argument_list "(state->argbuf + sVar6,arg)" ( (binary_expression "state->argbuf + sVar6" (field_expression "state->argbuf" identifier -> field_identifier) + identifier) , identifier ))) ;) (expression_statement "sVar1 = len + state->cmd_argv_chars;" (assignment_expression "sVar1 = len + state->cmd_argv_chars" identifier = (binary_expression "len + state->cmd_argv_chars" identifier + (field_expression "state->cmd_argv_chars" identifier -> field_identifier))) ;) (expression_statement "sVar6 = state->cmd_argc;" (assignment_expression "sVar6 = state->cmd_argc" identifier = (field_expression "state->cmd_argc" identifier -> field_identifier)) ;) (expression_statement "state->cmd_argv_chars = sVar1;" (assignment_expression "state->cmd_argv_chars = sVar1" (field_expression "state->cmd_argv_chars" identifier -> field_identifier) = identifier) ;) (if_statement "if (initial_args == 0) {\n      if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count)) {\n        return;\n      }\n    }\n    else if (sVar6 != ctl->max_arg_count) goto LAB_000223fd;" if (parenthesized_expression "(initial_args == 0)" ( (binary_expression "initial_args == 0" identifier == number_literal) )) (compound_statement "{\n      if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count)) {\n        return;\n      }\n    }" { (if_statement "if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count)) {\n        return;\n      }" if (parenthesized_expression "(((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count))" ( (binary_expression "((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)) &&\n         (sVar6 != ctl->max_arg_count)" (parenthesized_expression "((ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc))" ( (binary_expression "(ctl->args_per_exec == 0) || (ctl->args_per_exec != sVar6 - ctl->initial_argc)" (parenthesized_expression "(ctl->args_per_exec == 0)" ( (binary_expression "ctl->args_per_exec == 0" (field_expression "ctl->args_per_exec" identifier -> field_identifier) == number_literal) )) || (parenthesized_expression "(ctl->args_per_exec != sVar6 - ctl->initial_argc)" ( (binary_expression "ctl->args_per_exec != sVar6 - ctl->initial_argc" (field_expression "ctl->args_per_exec" identifier -> field_identifier) != (binary_expression "sVar6 - ctl->initial_argc" identifier - (field_expression "ctl->initial_argc" identifier -> field_identifier))) ))) )) && (parenthesized_expression "(sVar6 != ctl->max_arg_count)" ( (binary_expression "sVar6 != ctl->max_arg_count" identifier != (field_expression "ctl->max_arg_count" identifier -> field_identifier)) ))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if (sVar6 != ctl->max_arg_count) goto LAB_000223fd;" else (if_statement "if (sVar6 != ctl->max_arg_count) goto LAB_000223fd;" if (parenthesized_expression "(sVar6 != ctl->max_arg_count)" ( (binary_expression "sVar6 != ctl->max_arg_count" identifier != (field_expression "ctl->max_arg_count" identifier -> field_identifier)) )) (goto_statement "goto LAB_000223fd;" goto statement_identifier ;)))) (expression_statement "bc_do_exec(ctl,state);" (call_expression "bc_do_exec(ctl,state)" identifier (argument_list "(ctl,state)" ( identifier , identifier ))) ;) }))) (if_statement "if (initial_args == 0) {\n    return;\n  }" if (parenthesized_expression "(initial_args == 0)" ( (binary_expression "initial_args == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "sVar1 = state->cmd_argv_chars;" (assignment_expression "sVar1 = state->cmd_argv_chars" identifier = (field_expression "state->cmd_argv_chars" identifier -> field_identifier)) ;) (labeled_statement "LAB_000223fd:\n  state->cmd_initial_argv_chars = sVar1;" statement_identifier : (expression_statement "state->cmd_initial_argv_chars = sVar1;" (assignment_expression "state->cmd_initial_argv_chars = sVar1" (field_expression "state->cmd_initial_argv_chars" identifier -> field_identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00022280(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 in_ECX;\n  uint uVar5;\n  uint local_20;\n  \n  if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }\n  if (param_7 == 0) {\n    return;\n  }\n  uVar2 = param_2[4];\nLAB_000223fd:\n  param_2[5] = uVar2;\n  return;\n}\n\n" (function_definition "void FUN_00022280(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 in_ECX;\n  uint uVar5;\n  uint local_20;\n  \n  if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }\n  if (param_7 == 0) {\n    return;\n  }\n  uVar2 = param_2[4];\nLAB_000223fd:\n  param_2[5] = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_00022280(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)" identifier (parameter_list "(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *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 "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 in_ECX;\n  uint uVar5;\n  uint local_20;\n  \n  if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }\n  if (param_7 == 0) {\n    return;\n  }\n  uVar2 = param_2[4];\nLAB_000223fd:\n  param_2[5] = uVar2;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 in_ECX;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (if_statement "if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }" if (parenthesized_expression "(param_3 == (char *)0x0)" ( (binary_expression "param_3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }" { (expression_statement "__assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");" (call_expression "__assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg")" identifier (argument_list "("arg != NULL","buildcmd.c",0x155,"bc_push_arg")" ( (string_literal ""arg != NULL"" " string_content ") , (string_literal ""buildcmd.c"" " string_content ") , number_literal , (string_literal ""bc_push_arg"" " string_content ") ))) ;) })) (if_statement "if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }" if (parenthesized_expression "(param_3 == "do_not_care")" ( (binary_expression "param_3 == "do_not_care"" identifier == (string_literal ""do_not_care"" " string_content ")) )) (compound_statement "{\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }" { (labeled_statement "LAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }" statement_identifier : (if_statement "if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0002234d:\n      param_2[7] = 1;\n    }" { (labeled_statement "LAB_0002234d:\n      param_2[7] = 1;" statement_identifier : (expression_statement "param_2[7] = 1;" (assignment_expression "param_2[7] = 1" (subscript_expression "param_2[7]" identifier [ number_literal ]) = number_literal) ;)) }))) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar2 = param_2[2];" (assignment_expression "uVar2 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = param_2[1];" (assignment_expression "uVar3 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }" if (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) (compound_statement "{\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }" { (labeled_statement "LAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }" statement_identifier : (if_statement "if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }" { (expression_statement "param_2[2] = 0x40;" (assignment_expression "param_2[2] = 0x40" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = FUN_000331f0(0x100);" (assignment_expression "uVar3 = FUN_000331f0(0x100)" identifier = (call_expression "FUN_000331f0(0x100)" identifier (argument_list "(0x100)" ( number_literal )))) ;) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2[1] = uVar3;" (assignment_expression "param_2[1] = uVar3" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_00022364;" goto statement_identifier ;) }))) (expression_statement "param_2[2] = uVar2 * 2;" (assignment_expression "param_2[2] = uVar2 * 2" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "uVar5 = FUN_00033270(uVar3,uVar2 << 3);" (assignment_expression "uVar5 = FUN_00033270(uVar3,uVar2 << 3)" identifier = (call_expression "FUN_00033270(uVar3,uVar2 << 3)" identifier (argument_list "(uVar3,uVar2 << 3)" ( identifier , (binary_expression "uVar2 << 3" identifier << number_literal) )))) ;) (expression_statement "param_2[1] = uVar5;" (assignment_expression "param_2[1] = uVar5" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = *param_2 + 1;" (assignment_expression "uVar2 = *param_2 + 1" identifier = (binary_expression "*param_2 + 1" (pointer_expression "*param_2" * identifier) + number_literal)) ;) (expression_statement "piVar1 = (int *)(uVar5 + *param_2 * 4);" (assignment_expression "piVar1 = (int *)(uVar5 + *param_2 * 4)" identifier = (cast_expression "(int *)(uVar5 + *param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + *param_2 * 4)" ( (binary_expression "uVar5 + *param_2 * 4" identifier + (binary_expression "*param_2 * 4" (pointer_expression "*param_2" * identifier) * number_literal)) )))) ;) (if_statement "if (param_3 == "do_not_care") goto LAB_00022443;" if (parenthesized_expression "(param_3 == "do_not_care")" ( (binary_expression "param_3 == "do_not_care"" identifier == (string_literal ""do_not_care"" " string_content ")) )) (goto_statement "goto LAB_00022443;" goto statement_identifier ;)) (labeled_statement "LAB_00022374:\n      uVar5 = param_2[4];" statement_identifier : (expression_statement "uVar5 = param_2[4];" (assignment_expression "uVar5 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;)) (goto_statement "goto LAB_00022377;" goto statement_identifier ;) })) (labeled_statement "LAB_00022364:\n    uVar2 = uVar5 + 1;" statement_identifier : (expression_statement "uVar2 = uVar5 + 1;" (assignment_expression "uVar2 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;)) (expression_statement "piVar1 = (int *)(uVar3 + uVar5 * 4);" (assignment_expression "piVar1 = (int *)(uVar3 + uVar5 * 4)" identifier = (cast_expression "(int *)(uVar3 + uVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + uVar5 * 4)" ( (binary_expression "uVar3 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) ;) (if_statement "if (param_3 != "do_not_care") goto LAB_00022374;" if (parenthesized_expression "(param_3 != "do_not_care")" ( (binary_expression "param_3 != "do_not_care"" identifier != (string_literal ""do_not_care"" " string_content ")) )) (goto_statement "goto LAB_00022374;" goto statement_identifier ;)) (labeled_statement "LAB_00022443:\n    *param_2 = uVar2;" statement_identifier : (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" * identifier) = identifier) ;)) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) }) (else_clause "else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }" else (compound_statement "{\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }" { (expression_statement "uVar5 = param_2[4];" (assignment_expression "uVar5 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (if_statement "if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }" if (parenthesized_expression "((uint)param_1[3] < param_4 + param_6 + uVar5)" ( (binary_expression "(uint)param_1[3] < param_4 + param_6 + uVar5" (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) < (binary_expression "param_4 + param_6 + uVar5" (binary_expression "param_4 + param_6" identifier + identifier) + identifier)) )) (compound_statement "{\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }" { (if_statement "if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }" if (parenthesized_expression "((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5))" ( (binary_expression "(param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)" (parenthesized_expression "(param_7 != 0)" ( (binary_expression "param_7 != 0" identifier != number_literal) )) || (parenthesized_expression "(uVar5 = param_1[7], *param_2 == uVar5)" ( (comma_expression "uVar5 = param_1[7], *param_2 == uVar5" (assignment_expression "uVar5 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) , (binary_expression "*param_2 == uVar5" (pointer_expression "*param_2" * identifier) == identifier)) ))) )) (compound_statement "{\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }" { (expression_statement "uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);" (assignment_expression "uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX)" identifier = (call_expression "dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX)" identifier (argument_list "(0,"cannot fit single argument within argument list size limit",5,in_ECX)" ( number_literal , (string_literal ""cannot fit single argument within argument list size limit"" " string_content ") , number_literal , identifier )))) ;) (expression_statement "error(1,0,uVar4);" (call_expression "error(1,0,uVar4)" identifier (argument_list "(1,0,uVar4)" ( number_literal , number_literal , identifier ))) ;) })) (if_statement "if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }" if (parenthesized_expression "((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         ))" ( (binary_expression "(param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )" (parenthesized_expression "(param_1[6] != 0)" ( (binary_expression "param_1[6] != 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) != number_literal) )) || (parenthesized_expression "((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )" ( (parenthesized_expression "(*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))" ( (binary_expression "*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)))" (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) && (parenthesized_expression "((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)))" ( (parenthesized_expression "(uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))" ( (comma_expression "uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)" (assignment_expression "uVar5 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) , (binary_expression "uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)" (binary_expression "uVar5 != 0" identifier != number_literal) || (parenthesized_expression "(uVar5 = param_1[10], uVar5 != 0)" ( (comma_expression "uVar5 = param_1[10], uVar5 != 0" (assignment_expression "uVar5 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) , (binary_expression "uVar5 != 0" identifier != number_literal)) )))) )) ))) )) ))) )) (compound_statement "{\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }" { (expression_statement "uVar4 = dcgettext(0,"argument list too long",5,uVar5);" (assignment_expression "uVar4 = dcgettext(0,"argument list too long",5,uVar5)" identifier = (call_expression "dcgettext(0,"argument list too long",5,uVar5)" identifier (argument_list "(0,"argument list too long",5,uVar5)" ( number_literal , (string_literal ""argument list too long"" " string_content ") , number_literal , identifier )))) ;) (expression_statement "error(1,0,uVar4);" (call_expression "error(1,0,uVar4)" identifier (argument_list "(1,0,uVar4)" ( number_literal , number_literal , identifier ))) ;) })) (expression_statement "FUN_00022720(param_1,param_2);" (call_expression "FUN_00022720(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "local_20 = *param_2;" (assignment_expression "local_20 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (labeled_statement "LAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }" statement_identifier : (if_statement "if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }" if (parenthesized_expression "(((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         )" ( (binary_expression "((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)" (parenthesized_expression "((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7]))" ( (binary_expression "(param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])" (parenthesized_expression "(param_1[10] != 0)" ( (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(param_1[10] == local_20 - param_1[7])" ( (binary_expression "param_1[10] == local_20 - param_1[7]" (subscript_expression "param_1[10]" identifier [ number_literal ]) == (binary_expression "local_20 - param_1[7]" identifier - (subscript_expression "param_1[7]" identifier [ number_literal ]))) ))) )) || (parenthesized_expression "(param_1[4] == local_20)" ( (binary_expression "param_1[4] == local_20" (subscript_expression "param_1[4]" identifier [ number_literal ]) == identifier) ))) )) (compound_statement "{\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }" { (labeled_statement "LAB_00022338:\n        FUN_00022720(param_1,param_2);" statement_identifier : (expression_statement "FUN_00022720(param_1,param_2);" (call_expression "FUN_00022720(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;)) (goto_statement "goto LAB_00022345;" goto statement_identifier ;) }))) (goto_statement "goto LAB_0002234d;" goto statement_identifier ;) })) (expression_statement "local_20 = *param_2;" (assignment_expression "local_20 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (param_7 == 0) goto LAB_0002231d;" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002231d;" goto statement_identifier ;)) (if_statement "if (local_20 == param_1[4]) goto LAB_00022338;" if (parenthesized_expression "(local_20 == param_1[4])" ( (binary_expression "local_20 == param_1[4]" identifier == (subscript_expression "param_1[4]" identifier [ number_literal ])) )) (goto_statement "goto LAB_00022338;" goto statement_identifier ;)) (expression_statement "uVar2 = param_2[2];" (assignment_expression "uVar2 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = param_2[1];" (assignment_expression "uVar3 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar2 <= local_20) goto LAB_00022410;" if (parenthesized_expression "(uVar2 <= local_20)" ( (binary_expression "uVar2 <= local_20" identifier <= identifier) )) (goto_statement "goto LAB_00022410;" goto statement_identifier ;)) (expression_statement "uVar2 = local_20 + 1;" (assignment_expression "uVar2 = local_20 + 1" identifier = (binary_expression "local_20 + 1" identifier + number_literal)) ;) (expression_statement "piVar1 = (int *)(uVar3 + local_20 * 4);" (assignment_expression "piVar1 = (int *)(uVar3 + local_20 * 4)" identifier = (cast_expression "(int *)(uVar3 + local_20 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + local_20 * 4)" ( (binary_expression "uVar3 + local_20 * 4" identifier + (binary_expression "local_20 * 4" identifier * number_literal)) )))) ;) (labeled_statement "LAB_00022377:\n    *param_2 = uVar2;" statement_identifier : (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" * identifier) = identifier) ;)) (expression_statement "*piVar1 = param_2[3] + uVar5;" (assignment_expression "*piVar1 = param_2[3] + uVar5" (pointer_expression "*piVar1" * identifier) = (binary_expression "param_2[3] + uVar5" (subscript_expression "param_2[3]" identifier [ number_literal ]) + identifier)) ;) (if_statement "if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }" if (parenthesized_expression "(param_5 != (char *)0x0)" ( (binary_expression "param_5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }" { (expression_statement "strcpy((char *)(uVar5 + param_2[3]),param_5);" (call_expression "strcpy((char *)(uVar5 + param_2[3]),param_5)" identifier (argument_list "((char *)(uVar5 + param_2[3]),param_5)" ( (cast_expression "(char *)(uVar5 + param_2[3])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + param_2[3])" ( (binary_expression "uVar5 + param_2[3]" identifier + (subscript_expression "param_2[3]" identifier [ number_literal ])) ))) , identifier ))) ;) (expression_statement "uVar5 = param_6 + param_2[4];" (assignment_expression "uVar5 = param_6 + param_2[4]" identifier = (binary_expression "param_6 + param_2[4]" identifier + (subscript_expression "param_2[4]" identifier [ number_literal ]))) ;) (expression_statement "param_2[4] = uVar5;" (assignment_expression "param_2[4] = uVar5" (subscript_expression "param_2[4]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "strcpy((char *)(uVar5 + param_2[3]),param_3);" (call_expression "strcpy((char *)(uVar5 + param_2[3]),param_3)" identifier (argument_list "((char *)(uVar5 + param_2[3]),param_3)" ( (cast_expression "(char *)(uVar5 + param_2[3])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 + param_2[3])" ( (binary_expression "uVar5 + param_2[3]" identifier + (subscript_expression "param_2[3]" identifier [ number_literal ])) ))) , identifier ))) ;) (expression_statement "uVar2 = param_4 + param_2[4];" (assignment_expression "uVar2 = param_4 + param_2[4]" identifier = (binary_expression "param_4 + param_2[4]" identifier + (subscript_expression "param_2[4]" identifier [ number_literal ]))) ;) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2[4] = uVar2;" (assignment_expression "param_2[4] = uVar2" (subscript_expression "param_2[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }" { (if_statement "if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }" if (parenthesized_expression "(((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4]))" ( (binary_expression "((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])" (parenthesized_expression "((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7]))" ( (binary_expression "(param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])" (parenthesized_expression "(param_1[10] == 0)" ( (binary_expression "param_1[10] == 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) == number_literal) )) || (parenthesized_expression "(param_1[10] != uVar5 - param_1[7])" ( (binary_expression "param_1[10] != uVar5 - param_1[7]" (subscript_expression "param_1[10]" identifier [ number_literal ]) != (binary_expression "uVar5 - param_1[7]" identifier - (subscript_expression "param_1[7]" identifier [ number_literal ]))) ))) )) && (parenthesized_expression "(uVar5 != param_1[4])" ( (binary_expression "uVar5 != param_1[4]" identifier != (subscript_expression "param_1[4]" identifier [ number_literal ])) ))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) }) (else_clause "else if (uVar5 != param_1[4]) goto LAB_000223fd;" else (if_statement "if (uVar5 != param_1[4]) goto LAB_000223fd;" if (parenthesized_expression "(uVar5 != param_1[4])" ( (binary_expression "uVar5 != param_1[4]" identifier != (subscript_expression "param_1[4]" identifier [ number_literal ])) )) (goto_statement "goto LAB_000223fd;" goto statement_identifier ;)))) (expression_statement "FUN_00022720(param_1,param_2);" (call_expression "FUN_00022720(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) }))) (if_statement "if (param_7 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_7 == 0)" ( (binary_expression "param_7 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = param_2[4];" (assignment_expression "uVar2 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (labeled_statement "LAB_000223fd:\n  param_2[5] = uVar2;" statement_identifier : (expression_statement "param_2[5] = uVar2;" (assignment_expression "param_2[5] = uVar2" (subscript_expression "param_2[5]" identifier [ number_literal ]) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (string_literal " string_content ")) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT << LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (string_literal " string_content ")) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (string_literal " string_content ")) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (binary_expression (binary_expression IDENT + IDENT) + IDENT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression (pointer_expression * IDENT) == IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) != LIT) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression (binary_expression IDENT != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression IDENT != LIT)) )))) )) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == IDENT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) (goto_statement goto statement_identifier ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (subscript_expression IDENT [ LIT ])) ))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (subscript_expression IDENT [ LIT ])) ))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) ))) )) && (parenthesized_expression ( (binary_expression IDENT != (subscript_expression IDENT [ LIT ])) ))) )) (compound_statement { (return_statement return ;) })) }) (else_clause else (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 ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (return_statement return ;) })))
(function_definition "void FUN_00022280(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 in_ECX;\n  uint uVar5;\n  uint local_20;\n  \n  if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }\n  if (param_7 == 0) {\n    return;\n  }\n  uVar2 = param_2[4];\nLAB_000223fd:\n  param_2[5] = uVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00022280(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)" (identifier "FUN_00022280") (parameter_list "(int *param_1,uint *param_2,char *param_3,int param_4,char *param_5,int param_6,\n                 int param_7)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (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 "char *param_5" (primitive_type "char") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) () ")"))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  undefined4 in_ECX;\n  uint uVar5;\n  uint local_20;\n  \n  if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }\n  if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }\n  if (param_7 == 0) {\n    return;\n  }\n  uVar2 = param_2[4];\nLAB_000223fd:\n  param_2[5] = uVar2;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 in_ECX;" (type_identifier "undefined4") (identifier "in_ECX") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint local_20;" (type_identifier "uint") (identifier "local_20") (; ";")) (if_statement "if (param_3 == (char *)0x0) {\n                    \n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }" (if "if") (parenthesized_expression "(param_3 == (char *)0x0)" (( "(") (binary_expression "param_3 == (char *)0x0" (identifier "param_3") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");\n  }" ({ "{") (expression_statement "__assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");" (call_expression "__assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg")" (identifier "__assert_fail") (argument_list "("arg != NULL","buildcmd.c",0x155,"bc_push_arg")" (( "(") (string_literal ""arg != NULL"" (" """) (string_content "arg != NULL") (" """)) (, ",") (string_literal ""buildcmd.c"" (" """) (string_content "buildcmd.c") (" """)) (, ",") (number_literal "0x155") (, ",") (string_literal ""bc_push_arg"" (" """) (string_content "bc_push_arg") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_3 == "do_not_care") {\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }\n  else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }" (if "if") (parenthesized_expression "(param_3 == "do_not_care")" (( "(") (binary_expression "param_3 == "do_not_care"" (identifier "param_3") (== "==") (string_literal ""do_not_care"" (" """) (string_content "do_not_care") (" """))) () ")")) (compound_statement "{\nLAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }\n    uVar5 = *param_2;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }\nLAB_00022364:\n    uVar2 = uVar5 + 1;\n    piVar1 = (int *)(uVar3 + uVar5 * 4);\n    if (param_3 != "do_not_care") goto LAB_00022374;\nLAB_00022443:\n    *param_2 = uVar2;\n    *piVar1 = 0;\n  }" ({ "{") (labeled_statement "LAB_00022345:\n    if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }" (statement_identifier "LAB_00022345") (: ":") (if_statement "if (param_7 == 0) {\nLAB_0002234d:\n      param_2[7] = 1;\n    }" (if "if") (parenthesized_expression "(param_7 == 0)" (( "(") (binary_expression "param_7 == 0" (identifier "param_7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0002234d:\n      param_2[7] = 1;\n    }" ({ "{") (labeled_statement "LAB_0002234d:\n      param_2[7] = 1;" (statement_identifier "LAB_0002234d") (: ":") (expression_statement "param_2[7] = 1;" (assignment_expression "param_2[7] = 1" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "1")) (; ";"))) (} "}")))) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" (identifier "uVar5") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar2 = param_2[2];" (assignment_expression "uVar2 = param_2[2]" (identifier "uVar2") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar3 = param_2[1];" (assignment_expression "uVar3 = param_2[1]" (identifier "uVar3") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (uVar2 <= uVar5) {\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }" (if "if") (parenthesized_expression "(uVar2 <= uVar5)" (( "(") (binary_expression "uVar2 <= uVar5" (identifier "uVar2") (<= "<=") (identifier "uVar5")) () ")")) (compound_statement "{\nLAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }\n      param_2[2] = uVar2 * 2;\n      uVar5 = FUN_00033270(uVar3,uVar2 << 3);\n      param_2[1] = uVar5;\n      uVar2 = *param_2 + 1;\n      piVar1 = (int *)(uVar5 + *param_2 * 4);\n      if (param_3 == "do_not_care") goto LAB_00022443;\nLAB_00022374:\n      uVar5 = param_2[4];\n      goto LAB_00022377;\n    }" ({ "{") (labeled_statement "LAB_00022410:\n      if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }" (statement_identifier "LAB_00022410") (: ":") (if_statement "if (uVar3 == 0) {\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        param_2[2] = 0x40;\n        uVar3 = FUN_000331f0(0x100);\n        uVar5 = *param_2;\n        param_2[1] = uVar3;\n        goto LAB_00022364;\n      }" ({ "{") (expression_statement "param_2[2] = 0x40;" (assignment_expression "param_2[2] = 0x40" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x40")) (; ";")) (expression_statement "uVar3 = FUN_000331f0(0x100);" (assignment_expression "uVar3 = FUN_000331f0(0x100)" (identifier "uVar3") (= "=") (call_expression "FUN_000331f0(0x100)" (identifier "FUN_000331f0") (argument_list "(0x100)" (( "(") (number_literal "0x100") () ")")))) (; ";")) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" (identifier "uVar5") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_2[1] = uVar3;" (assignment_expression "param_2[1] = uVar3" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (goto_statement "goto LAB_00022364;" (goto "goto") (statement_identifier "LAB_00022364") (; ";")) (} "}")))) (expression_statement "param_2[2] = uVar2 * 2;" (assignment_expression "param_2[2] = uVar2 * 2" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (expression_statement "uVar5 = FUN_00033270(uVar3,uVar2 << 3);" (assignment_expression "uVar5 = FUN_00033270(uVar3,uVar2 << 3)" (identifier "uVar5") (= "=") (call_expression "FUN_00033270(uVar3,uVar2 << 3)" (identifier "FUN_00033270") (argument_list "(uVar3,uVar2 << 3)" (( "(") (identifier "uVar3") (, ",") (binary_expression "uVar2 << 3" (identifier "uVar2") (<< "<<") (number_literal "3")) () ")")))) (; ";")) (expression_statement "param_2[1] = uVar5;" (assignment_expression "param_2[1] = uVar5" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "uVar2 = *param_2 + 1;" (assignment_expression "uVar2 = *param_2 + 1" (identifier "uVar2") (= "=") (binary_expression "*param_2 + 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar1 = (int *)(uVar5 + *param_2 * 4);" (assignment_expression "piVar1 = (int *)(uVar5 + *param_2 * 4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(uVar5 + *param_2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar5 + *param_2 * 4)" (( "(") (binary_expression "uVar5 + *param_2 * 4" (identifier "uVar5") (+ "+") (binary_expression "*param_2 * 4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (param_3 == "do_not_care") goto LAB_00022443;" (if "if") (parenthesized_expression "(param_3 == "do_not_care")" (( "(") (binary_expression "param_3 == "do_not_care"" (identifier "param_3") (== "==") (string_literal ""do_not_care"" (" """) (string_content "do_not_care") (" """))) () ")")) (goto_statement "goto LAB_00022443;" (goto "goto") (statement_identifier "LAB_00022443") (; ";"))) (labeled_statement "LAB_00022374:\n      uVar5 = param_2[4];" (statement_identifier "LAB_00022374") (: ":") (expression_statement "uVar5 = param_2[4];" (assignment_expression "uVar5 = param_2[4]" (identifier "uVar5") (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";"))) (goto_statement "goto LAB_00022377;" (goto "goto") (statement_identifier "LAB_00022377") (; ";")) (} "}"))) (labeled_statement "LAB_00022364:\n    uVar2 = uVar5 + 1;" (statement_identifier "LAB_00022364") (: ":") (expression_statement "uVar2 = uVar5 + 1;" (assignment_expression "uVar2 = uVar5 + 1" (identifier "uVar2") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "piVar1 = (int *)(uVar3 + uVar5 * 4);" (assignment_expression "piVar1 = (int *)(uVar3 + uVar5 * 4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(uVar3 + uVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + uVar5 * 4)" (( "(") (binary_expression "uVar3 + uVar5 * 4" (identifier "uVar3") (+ "+") (binary_expression "uVar5 * 4" (identifier "uVar5") (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (param_3 != "do_not_care") goto LAB_00022374;" (if "if") (parenthesized_expression "(param_3 != "do_not_care")" (( "(") (binary_expression "param_3 != "do_not_care"" (identifier "param_3") (!= "!=") (string_literal ""do_not_care"" (" """) (string_content "do_not_care") (" """))) () ")")) (goto_statement "goto LAB_00022374;" (goto "goto") (statement_identifier "LAB_00022374") (; ";"))) (labeled_statement "LAB_00022443:\n    *param_2 = uVar2;" (statement_identifier "LAB_00022443") (: ":") (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar2")) (; ";"))) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }" (else "else") (compound_statement "{\n    uVar5 = param_2[4];\n    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }\n    local_20 = *param_2;\n    if (param_7 == 0) goto LAB_0002231d;\n    if (local_20 == param_1[4]) goto LAB_00022338;\n    uVar2 = param_2[2];\n    uVar3 = param_2[1];\n    if (uVar2 <= local_20) goto LAB_00022410;\n    uVar2 = local_20 + 1;\n    piVar1 = (int *)(uVar3 + local_20 * 4);\nLAB_00022377:\n    *param_2 = uVar2;\n    *piVar1 = param_2[3] + uVar5;\n    if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }\n    strcpy((char *)(uVar5 + param_2[3]),param_3);\n    uVar2 = param_4 + param_2[4];\n    uVar5 = *param_2;\n    param_2[4] = uVar2;\n    if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;\n    FUN_00022720(param_1,param_2);\n  }" ({ "{") (expression_statement "uVar5 = param_2[4];" (assignment_expression "uVar5 = param_2[4]" (identifier "uVar5") (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if ((uint)param_1[3] < param_4 + param_6 + uVar5) {\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }" (if "if") (parenthesized_expression "((uint)param_1[3] < param_4 + param_6 + uVar5)" (( "(") (binary_expression "(uint)param_1[3] < param_4 + param_6 + uVar5" (cast_expression "(uint)param_1[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (< "<") (binary_expression "param_4 + param_6 + uVar5" (binary_expression "param_4 + param_6" (identifier "param_4") (+ "+") (identifier "param_6")) (+ "+") (identifier "uVar5"))) () ")")) (compound_statement "{\n      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }\n      if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }\n      FUN_00022720(param_1,param_2);\n      local_20 = *param_2;\nLAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }\n      goto LAB_0002234d;\n    }" ({ "{") (if_statement "if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }" (if "if") (parenthesized_expression "((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5))" (( "(") (binary_expression "(param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)" (parenthesized_expression "(param_7 != 0)" (( "(") (binary_expression "param_7 != 0" (identifier "param_7") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar5 = param_1[7], *param_2 == uVar5)" (( "(") (comma_expression "uVar5 = param_1[7], *param_2 == uVar5" (assignment_expression "uVar5 = param_1[7]" (identifier "uVar5") (= "=") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (, ",") (binary_expression "*param_2 == uVar5" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (identifier "uVar5"))) () ")"))) () ")")) (compound_statement "{\n        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);\n                    \n        error(1,0,uVar4);\n      }" ({ "{") (expression_statement "uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);" (assignment_expression "uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX)" (identifier "dcgettext") (argument_list "(0,"cannot fit single argument within argument list size limit",5,in_ECX)" (( "(") (number_literal "0") (, ",") (string_literal ""cannot fit single argument within argument list size limit"" (" """) (string_content "cannot fit single argument within argument list size limit") (" """)) (, ",") (number_literal "5") (, ",") (identifier "in_ECX") () ")")))) (; ";")) (expression_statement "error(1,0,uVar4);" (call_expression "error(1,0,uVar4)" (identifier "error") (argument_list "(1,0,uVar4)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (if_statement "if ((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )) {\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }" (if "if") (parenthesized_expression "((param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         ))" (( "(") (binary_expression "(param_1[6] != 0) ||\n         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )" (parenthesized_expression "(param_1[6] != 0)" (( "(") (binary_expression "param_1[6] != 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))\n         )" (( "(") (parenthesized_expression "(*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))" (( "(") (binary_expression "*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)))" (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)))" (( "(") (parenthesized_expression "(uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))" (( "(") (comma_expression "uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)" (assignment_expression "uVar5 = param_1[9]" (identifier "uVar5") (= "=") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))) (, ",") (binary_expression "uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0)" (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "(uVar5 = param_1[10], uVar5 != 0)" (( "(") (comma_expression "uVar5 = param_1[10], uVar5 != 0" (assignment_expression "uVar5 = param_1[10]" (identifier "uVar5") (= "=") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (, ",") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0"))) () ")")))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        uVar4 = dcgettext(0,"argument list too long",5,uVar5);\n                    \n        error(1,0,uVar4);\n      }" ({ "{") (expression_statement "uVar4 = dcgettext(0,"argument list too long",5,uVar5);" (assignment_expression "uVar4 = dcgettext(0,"argument list too long",5,uVar5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"argument list too long",5,uVar5)" (identifier "dcgettext") (argument_list "(0,"argument list too long",5,uVar5)" (( "(") (number_literal "0") (, ",") (string_literal ""argument list too long"" (" """) (string_content "argument list too long") (" """)) (, ",") (number_literal "5") (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "error(1,0,uVar4);" (call_expression "error(1,0,uVar4)" (identifier "error") (argument_list "(1,0,uVar4)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00022720(param_1,param_2);" (call_expression "FUN_00022720(param_1,param_2)" (identifier "FUN_00022720") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "local_20 = *param_2;" (assignment_expression "local_20 = *param_2" (identifier "local_20") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (labeled_statement "LAB_0002231d:\n      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }" (statement_identifier "LAB_0002231d") (: ":") (if_statement "if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         ) {\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }" (if "if") (parenthesized_expression "(((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)\n         )" (( "(") (binary_expression "((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)" (parenthesized_expression "((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7]))" (( "(") (binary_expression "(param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])" (parenthesized_expression "(param_1[10] != 0)" (( "(") (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_1[10] == local_20 - param_1[7])" (( "(") (binary_expression "param_1[10] == local_20 - param_1[7]" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (== "==") (binary_expression "local_20 - param_1[7]" (identifier "local_20") (- "-") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(param_1[4] == local_20)" (( "(") (binary_expression "param_1[4] == local_20" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (== "==") (identifier "local_20")) () ")"))) () ")")) (compound_statement "{\nLAB_00022338:\n        FUN_00022720(param_1,param_2);\n        goto LAB_00022345;\n      }" ({ "{") (labeled_statement "LAB_00022338:\n        FUN_00022720(param_1,param_2);" (statement_identifier "LAB_00022338") (: ":") (expression_statement "FUN_00022720(param_1,param_2);" (call_expression "FUN_00022720(param_1,param_2)" (identifier "FUN_00022720") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";"))) (goto_statement "goto LAB_00022345;" (goto "goto") (statement_identifier "LAB_00022345") (; ";")) (} "}")))) (goto_statement "goto LAB_0002234d;" (goto "goto") (statement_identifier "LAB_0002234d") (; ";")) (} "}"))) (expression_statement "local_20 = *param_2;" (assignment_expression "local_20 = *param_2" (identifier "local_20") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (param_7 == 0) goto LAB_0002231d;" (if "if") (parenthesized_expression "(param_7 == 0)" (( "(") (binary_expression "param_7 == 0" (identifier "param_7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002231d;" (goto "goto") (statement_identifier "LAB_0002231d") (; ";"))) (if_statement "if (local_20 == param_1[4]) goto LAB_00022338;" (if "if") (parenthesized_expression "(local_20 == param_1[4])" (( "(") (binary_expression "local_20 == param_1[4]" (identifier "local_20") (== "==") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) () ")")) (goto_statement "goto LAB_00022338;" (goto "goto") (statement_identifier "LAB_00022338") (; ";"))) (expression_statement "uVar2 = param_2[2];" (assignment_expression "uVar2 = param_2[2]" (identifier "uVar2") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar3 = param_2[1];" (assignment_expression "uVar3 = param_2[1]" (identifier "uVar3") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (uVar2 <= local_20) goto LAB_00022410;" (if "if") (parenthesized_expression "(uVar2 <= local_20)" (( "(") (binary_expression "uVar2 <= local_20" (identifier "uVar2") (<= "<=") (identifier "local_20")) () ")")) (goto_statement "goto LAB_00022410;" (goto "goto") (statement_identifier "LAB_00022410") (; ";"))) (expression_statement "uVar2 = local_20 + 1;" (assignment_expression "uVar2 = local_20 + 1" (identifier "uVar2") (= "=") (binary_expression "local_20 + 1" (identifier "local_20") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar1 = (int *)(uVar3 + local_20 * 4);" (assignment_expression "piVar1 = (int *)(uVar3 + local_20 * 4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(uVar3 + local_20 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + local_20 * 4)" (( "(") (binary_expression "uVar3 + local_20 * 4" (identifier "uVar3") (+ "+") (binary_expression "local_20 * 4" (identifier "local_20") (* "*") (number_literal "4"))) () ")")))) (; ";")) (labeled_statement "LAB_00022377:\n    *param_2 = uVar2;" (statement_identifier "LAB_00022377") (: ":") (expression_statement "*param_2 = uVar2;" (assignment_expression "*param_2 = uVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "uVar2")) (; ";"))) (expression_statement "*piVar1 = param_2[3] + uVar5;" (assignment_expression "*piVar1 = param_2[3] + uVar5" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "param_2[3] + uVar5" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (+ "+") (identifier "uVar5"))) (; ";")) (if_statement "if (param_5 != (char *)0x0) {\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }" (if "if") (parenthesized_expression "(param_5 != (char *)0x0)" (( "(") (binary_expression "param_5 != (char *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      strcpy((char *)(uVar5 + param_2[3]),param_5);\n      uVar5 = param_6 + param_2[4];\n      param_2[4] = uVar5;\n    }" ({ "{") (expression_statement "strcpy((char *)(uVar5 + param_2[3]),param_5);" (call_expression "strcpy((char *)(uVar5 + param_2[3]),param_5)" (identifier "strcpy") (argument_list "((char *)(uVar5 + param_2[3]),param_5)" (( "(") (cast_expression "(char *)(uVar5 + param_2[3])" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar5 + param_2[3])" (( "(") (binary_expression "uVar5 + param_2[3]" (identifier "uVar5") (+ "+") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) () ")"))) (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "uVar5 = param_6 + param_2[4];" (assignment_expression "uVar5 = param_6 + param_2[4]" (identifier "uVar5") (= "=") (binary_expression "param_6 + param_2[4]" (identifier "param_6") (+ "+") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")))) (; ";")) (expression_statement "param_2[4] = uVar5;" (assignment_expression "param_2[4] = uVar5" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (} "}"))) (expression_statement "strcpy((char *)(uVar5 + param_2[3]),param_3);" (call_expression "strcpy((char *)(uVar5 + param_2[3]),param_3)" (identifier "strcpy") (argument_list "((char *)(uVar5 + param_2[3]),param_3)" (( "(") (cast_expression "(char *)(uVar5 + param_2[3])" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar5 + param_2[3])" (( "(") (binary_expression "uVar5 + param_2[3]" (identifier "uVar5") (+ "+") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) () ")"))) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar2 = param_4 + param_2[4];" (assignment_expression "uVar2 = param_4 + param_2[4]" (identifier "uVar2") (= "=") (binary_expression "param_4 + param_2[4]" (identifier "param_4") (+ "+") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")))) (; ";")) (expression_statement "uVar5 = *param_2;" (assignment_expression "uVar5 = *param_2" (identifier "uVar5") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_2[4] = uVar2;" (assignment_expression "param_2[4] = uVar2" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (param_7 == 0) {\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }\n    else if (uVar5 != param_1[4]) goto LAB_000223fd;" (if "if") (parenthesized_expression "(param_7 == 0)" (( "(") (binary_expression "param_7 == 0" (identifier "param_7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }\n    }" ({ "{") (if_statement "if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {\n        return;\n      }" (if "if") (parenthesized_expression "(((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4]))" (( "(") (binary_expression "((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])" (parenthesized_expression "((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7]))" (( "(") (binary_expression "(param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])" (parenthesized_expression "(param_1[10] == 0)" (( "(") (binary_expression "param_1[10] == 0" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_1[10] != uVar5 - param_1[7])" (( "(") (binary_expression "param_1[10] != uVar5 - param_1[7]" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (!= "!=") (binary_expression "uVar5 - param_1[7]" (identifier "uVar5") (- "-") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar5 != param_1[4])" (( "(") (binary_expression "uVar5 != param_1[4]" (identifier "uVar5") (!= "!=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) () ")"))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else if (uVar5 != param_1[4]) goto LAB_000223fd;" (else "else") (if_statement "if (uVar5 != param_1[4]) goto LAB_000223fd;" (if "if") (parenthesized_expression "(uVar5 != param_1[4])" (( "(") (binary_expression "uVar5 != param_1[4]" (identifier "uVar5") (!= "!=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) () ")")) (goto_statement "goto LAB_000223fd;" (goto "goto") (statement_identifier "LAB_000223fd") (; ";"))))) (expression_statement "FUN_00022720(param_1,param_2);" (call_expression "FUN_00022720(param_1,param_2)" (identifier "FUN_00022720") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))) (if_statement "if (param_7 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_7 == 0)" (( "(") (binary_expression "param_7 == 0" (identifier "param_7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = param_2[4];" (assignment_expression "uVar2 = param_2[4]" (identifier "uVar2") (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (labeled_statement "LAB_000223fd:\n  param_2[5] = uVar2;" (statement_identifier "LAB_000223fd") (: ":") (expression_statement "param_2[5] = uVar2;" (assignment_expression "param_2[5] = uVar2" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "uVar2")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *ctl,type_2 *state,char *var_1,size_t var_9,char *var_16,
                size_t var_10,int var_3)

{
  size_t sVar1;
  char **var_6;
  type_3 uVar3;
  type_4 var_4;
  type_4 var_5;
  size_t var_11;
  type_4 var_15;
  
  if (var_1 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("arg != NULL","buildcmd.c",0x155,"bc_push_arg");
  }
  if (var_1 == "do_not_care") {
LAB_00022345:
    if (var_3 == 0) {
LAB_0002234d:
      state->todo = 1;
    }
    var_5 = state->cmd_argc;
    var_4 = state->cmd_argv_alloc;
    var_6 = state->cmd_argv;
    if (var_4 <= var_5) {
LAB_00022410:
      if (var_6 == (char **)0x0) {
        state->cmd_argv_alloc = 0x40;
        var_6 = (char **)var_7(0x100);
        var_5 = state->cmd_argc;
        state->cmd_argv = var_6;
        goto LAB_00022364;
      }
      state->cmd_argv_alloc = var_4 * 2;
      var_6 = (char **)var_8(var_6,var_4 << 3);
      state->cmd_argv = var_6;
      sVar1 = state->cmd_argc + 1;
      var_6 = var_6 + state->cmd_argc;
      if (var_1 == "do_not_care") goto LAB_00022443;
LAB_00022374:
      var_11 = state->cmd_argv_chars;
      goto LAB_00022377;
    }
LAB_00022364:
    sVar1 = var_5 + 1;
    var_6 = var_6 + var_5;
    if (var_1 != "do_not_care") goto LAB_00022374;
LAB_00022443:
    state->cmd_argc = sVar1;
    *var_6 = (char *)0x0;
  }
  else {
    var_11 = state->cmd_argv_chars;
    if (ctl->arg_max < var_9 + var_10 + var_11) {
      if ((var_3 != 0) || (var_11 = ctl->initial_argc, state->cmd_argc == var_11)) {
        uVar3 = var_12(0,"cannot fit single argument within argument list size limit",5);
                    /* WARNING: Subroutine does not return */
        var_13(1,0,uVar3);
      }
      if ((ctl->replace_pat != (char *)0x0) ||
         ((ctl->exit_if_size_exceeded != 0 &&
          ((var_11 = ctl->lines_per_exec, var_11 != 0 || (var_11 = ctl->args_per_exec, var_11 != 0))))))
      {
        uVar3 = var_12(0,"argument list too long",5,var_11);
                    /* WARNING: Subroutine does not return */
        var_13(1,0,uVar3);
      }
      var_14(ctl,state);
      var_15 = state->cmd_argc;
LAB_0002231d:
      if (((ctl->args_per_exec != 0) && (ctl->args_per_exec == var_15 - ctl->initial_argc)) ||
         (ctl->max_arg_count == var_15)) {
LAB_00022338:
        var_14(ctl,state);
        goto LAB_00022345;
      }
      goto LAB_0002234d;
    }
    var_15 = state->cmd_argc;
    if (var_3 == 0) goto LAB_0002231d;
    if (var_15 == ctl->max_arg_count) goto LAB_00022338;
    var_4 = state->cmd_argv_alloc;
    var_6 = state->cmd_argv;
    if (var_4 <= var_15) goto LAB_00022410;
    sVar1 = var_15 + 1;
    var_6 = var_6 + var_15;
LAB_00022377:
    state->cmd_argc = sVar1;
    *var_6 = state->argbuf + var_11;
    if (var_16 != (char *)0x0) {
      var_17(state->argbuf + var_11,var_16);
      var_11 = var_10 + state->cmd_argv_chars;
      state->cmd_argv_chars = var_11;
    }
    var_17(state->argbuf + var_11,var_1);
    sVar1 = var_9 + state->cmd_argv_chars;
    var_11 = state->cmd_argc;
    state->cmd_argv_chars = sVar1;
    if (var_3 == 0) {
      if (((ctl->args_per_exec == 0) || (ctl->args_per_exec != var_11 - ctl->initial_argc)) &&
         (var_11 != ctl->max_arg_count)) {
        return;
      }
    }
    else if (var_11 != ctl->max_arg_count) goto LAB_000223fd;
    var_14(ctl,state);
  }
  if (var_3 == 0) {
    return;
  }
  sVar1 = state->cmd_argv_chars;
LAB_000223fd:
  state->cmd_initial_argv_chars = sVar1;
  return;
}


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

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

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

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  undefined4 uVar4;
  undefined4 in_ECX;
  uint uVar5;
  uint local_20;
  
  if (param_3 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("arg != NULL","buildcmd.c",0x155,"bc_push_arg");
  }
  if (param_3 == "do_not_care") {
LAB_00022345:
    if (param_7 == 0) {
LAB_0002234d:
      param_2[7] = 1;
    }
    uVar5 = *param_2;
    uVar2 = param_2[2];
    uVar3 = param_2[1];
    if (uVar2 <= uVar5) {
LAB_00022410:
      if (uVar3 == 0) {
        param_2[2] = 0x40;
        uVar3 = FUN_000331f0(0x100);
        uVar5 = *param_2;
        param_2[1] = uVar3;
        goto LAB_00022364;
      }
      param_2[2] = uVar2 * 2;
      uVar5 = FUN_00033270(uVar3,uVar2 << 3);
      param_2[1] = uVar5;
      uVar2 = *param_2 + 1;
      piVar1 = (int *)(uVar5 + *param_2 * 4);
      if (param_3 == "do_not_care") goto LAB_00022443;
LAB_00022374:
      uVar5 = param_2[4];
      goto LAB_00022377;
    }
LAB_00022364:
    uVar2 = uVar5 + 1;
    piVar1 = (int *)(uVar3 + uVar5 * 4);
    if (param_3 != "do_not_care") goto LAB_00022374;
LAB_00022443:
    *param_2 = uVar2;
    *piVar1 = 0;
  }
  else {
    uVar5 = param_2[4];
    if ((uint)param_1[3] < param_4 + param_6 + uVar5) {
      if ((param_7 != 0) || (uVar5 = param_1[7], *param_2 == uVar5)) {
        uVar4 = dcgettext(0,"cannot fit single argument within argument list size limit",5,in_ECX);
                    /* WARNING: Subroutine does not return */
        error(1,0,uVar4);
      }
      if ((param_1[6] != 0) ||
         ((*param_1 != 0 && ((uVar5 = param_1[9], uVar5 != 0 || (uVar5 = param_1[10], uVar5 != 0))))
         )) {
        uVar4 = dcgettext(0,"argument list too long",5,uVar5);
                    /* WARNING: Subroutine does not return */
        error(1,0,uVar4);
      }
      FUN_00022720(param_1,param_2);
      local_20 = *param_2;
LAB_0002231d:
      if (((param_1[10] != 0) && (param_1[10] == local_20 - param_1[7])) || (param_1[4] == local_20)
         ) {
LAB_00022338:
        FUN_00022720(param_1,param_2);
        goto LAB_00022345;
      }
      goto LAB_0002234d;
    }
    local_20 = *param_2;
    if (param_7 == 0) goto LAB_0002231d;
    if (local_20 == param_1[4]) goto LAB_00022338;
    uVar2 = param_2[2];
    uVar3 = param_2[1];
    if (uVar2 <= local_20) goto LAB_00022410;
    uVar2 = local_20 + 1;
    piVar1 = (int *)(uVar3 + local_20 * 4);
LAB_00022377:
    *param_2 = uVar2;
    *piVar1 = param_2[3] + uVar5;
    if (param_5 != (char *)0x0) {
      strcpy((char *)(uVar5 + param_2[3]),param_5);
      uVar5 = param_6 + param_2[4];
      param_2[4] = uVar5;
    }
    strcpy((char *)(uVar5 + param_2[3]),param_3);
    uVar2 = param_4 + param_2[4];
    uVar5 = *param_2;
    param_2[4] = uVar2;
    if (param_7 == 0) {
      if (((param_1[10] == 0) || (param_1[10] != uVar5 - param_1[7])) && (uVar5 != param_1[4])) {
        return;
      }
    }
    else if (uVar5 != param_1[4]) goto LAB_000223fd;
    FUN_00022720(param_1,param_2);
  }
  if (param_7 == 0) {
    return;
  }
  uVar2 = param_2[4];
LAB_000223fd:
  param_2[5] = uVar2;
  return;
}

