
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* wchar_t* std::__add_grouping<wchar_t>(wchar_t*, wchar_t, char const*, unsigned int, wchar_t
   const*, wchar_t const*) */

wchar_t * std::__add_grouping<wchar_t>
                    (wchar_t *param_1,wchar_t param_2,char *param_3,uint param_4,wchar_t *param_5,
                    wchar_t *param_6)

{
  wchar_t *pwVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  char cVar5;
  wchar_t *pwVar6;
  wchar_t *pwVar7;
  wchar_t *pwVar8;
  int local_14;
  
  local_14 = 0;
  cVar5 = *param_3;
  uVar3 = 0;
  iVar4 = (int)cVar5;
  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {
    while( true ) {
      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;
      param_6 = param_6 + -iVar4;
      if (param_4 - 1 <= uVar3) break;
      uVar3 = uVar3 + 1;
      cVar5 = param_3[uVar3];
      iVar4 = (int)cVar5;
      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;
    }
    local_14 = local_14 + 1;
  }
LAB_0025655f:
  pwVar6 = param_5;
  pwVar7 = param_1;
  if (param_6 != param_5) {
    do {
      pwVar8 = pwVar6 + 1;
      *pwVar7 = *pwVar6;
      pwVar6 = pwVar8;
      pwVar7 = pwVar7 + 1;
    } while (param_6 != pwVar8);
    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;
    param_5 = (wchar_t *)((int)param_5 + iVar4);
    param_1 = (wchar_t *)(iVar4 + (int)param_1);
  }
  while (local_14 = local_14 + -1, local_14 != -1) {
    while( true ) {
      pwVar6 = param_1 + 1;
      *param_1 = param_2;
      bVar2 = param_3[uVar3];
      param_1 = pwVar6;
      if ((char)bVar2 < '\x01') break;
      pwVar7 = param_5;
      pwVar8 = pwVar6;
      do {
        pwVar1 = pwVar7 + 1;
        *pwVar8 = *pwVar7;
        pwVar7 = pwVar1;
        pwVar8 = pwVar8 + 1;
      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);
      local_14 = local_14 + -1;
      param_5 = param_5 + (char)(bVar2 - 1) + 1;
      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;
      if (local_14 == -1) goto joined_r0x002565e8;
    }
  }
joined_r0x002565e8:
  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {
    pwVar6 = param_1 + 1;
    *param_1 = param_2;
    bVar2 = param_3[uVar3];
    param_1 = pwVar6;
    if ('\0' < (char)bVar2) {
      pwVar7 = param_5;
      pwVar8 = pwVar6;
      do {
        pwVar1 = pwVar7 + 1;
        *pwVar8 = *pwVar7;
        pwVar7 = pwVar1;
        pwVar8 = pwVar8 + 1;
      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);
      param_5 = param_5 + (char)(bVar2 - 1) + 1;
      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;
    }
  }
  return param_1;
}



void FUN_002564f0(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,
                 undefined4 *param_5,undefined4 *param_6)

{
  undefined4 *puVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  char cVar5;
  undefined4 *puVar6;
  undefined4 *puVar7;
  undefined4 *puVar8;
  int local_14;
  
  local_14 = 0;
  cVar5 = *param_3;
  uVar3 = 0;
  iVar4 = (int)cVar5;
  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {
    while( true ) {
      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;
      param_6 = param_6 + -iVar4;
      if (param_4 - 1U <= uVar3) break;
      uVar3 = uVar3 + 1;
      cVar5 = param_3[uVar3];
      iVar4 = (int)cVar5;
      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;
    }
    local_14 = local_14 + 1;
  }
LAB_0025655f:
  puVar6 = param_5;
  puVar7 = param_1;
  if (param_6 != param_5) {
    do {
      puVar8 = puVar6 + 1;
      *puVar7 = *puVar6;
      puVar6 = puVar8;
      puVar7 = puVar7 + 1;
    } while (param_6 != puVar8);
    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;
    param_5 = (undefined4 *)((int)param_5 + iVar4);
    param_1 = (undefined4 *)(iVar4 + (int)param_1);
  }
  while (local_14 = local_14 + -1, local_14 != -1) {
    while( true ) {
      puVar6 = param_1 + 1;
      *param_1 = param_2;
      bVar2 = param_3[uVar3];
      param_1 = puVar6;
      if ((char)bVar2 < '\x01') break;
      puVar7 = param_5;
      puVar8 = puVar6;
      do {
        puVar1 = puVar7 + 1;
        *puVar8 = *puVar7;
        puVar7 = puVar1;
        puVar8 = puVar8 + 1;
      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);
      local_14 = local_14 + -1;
      param_5 = param_5 + (char)(bVar2 - 1) + 1;
      param_1 = puVar6 + (char)(bVar2 - 1) + 1;
      if (local_14 == -1) goto joined_r0x002565e8;
    }
  }
joined_r0x002565e8:
  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {
    puVar6 = param_1 + 1;
    *param_1 = param_2;
    bVar2 = param_3[uVar3];
    param_1 = puVar6;
    if ('\0' < (char)bVar2) {
      puVar7 = param_5;
      puVar8 = puVar6;
      do {
        puVar1 = puVar7 + 1;
        *puVar8 = *puVar7;
        puVar7 = puVar1;
        puVar8 = puVar8 + 1;
      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);
      param_5 = param_5 + (char)(bVar2 - 1) + 1;
      param_1 = puVar6 + (char)(bVar2 - 1) + 1;
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x4
MOV ECX,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x24]
MOV dword ptr [ESP],0x0
MOV EDX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [ESP + 0x2c]
MOVZX ESI,byte ptr [ECX]
SUB EDI,0x1
XOR ECX,ECX
MOV EBX,ESI
MOVSX EBP,BL
LEA ESI,[ESI]
NOP
MOV EBX,EAX
SUB EBX,EDX
SAR EBX,0x2
CMP EBX,EBP
JLE 0x0025655f
LEA EBX,[ESI + -0x1]
CMP BL,0x7d
JA 0x0025655f
LEA EBX,[EBP*0x4 + 0x0]
SUB EAX,EBX
CMP EDI,ECX
JBE 0x00256640
MOV EBX,dword ptr [ESP + 0x20]
ADD ECX,0x1
MOVZX ESI,byte ptr [EBX + ECX*0x1]
MOV EBX,ESI
MOVSX EBP,BL
MOV EBX,EAX
SUB EBX,EDX
SAR EBX,0x2
CMP EBX,EBP
JG 0x0025652b
CMP EAX,EDX
JZ 0x00256649
MOV EDI,dword ptr [ESP + 0x18]
MOV ESI,EDX
LEA ESI,[ESI]
MOVSD ES:EDI,ESI
CMP EAX,ESI
JNZ 0x00256570
SUB EAX,EDX
SUB EAX,0x4
SHR EAX,0x2
LEA EAX,[EAX*0x4 + 0x4]
ADD EDX,EAX
ADD EAX,dword ptr [ESP + 0x18]
SUB dword ptr [ESP],0x1
MOV EDI,dword ptr [ESP]
CMP EDI,-0x1
JZ 0x002565e2
MOV EDI,dword ptr [ESP + 0x1c]
LEA EBP,[EAX + 0x4]
MOV dword ptr [EAX],EDI
MOV EAX,dword ptr [ESP + 0x20]
MOVZX EBX,byte ptr [EAX + ECX*0x1]
MOV EAX,EBP
TEST BL,BL
JLE 0x0025658a
LEA EAX,[EBX + -0x1]
MOV ESI,EDX
MOV EDI,EBP
MOVZX EAX,AL
LEA EAX,[EDX + EAX*0x4 + 0x4]
LEA ESI,[ESI]
NOP
MOVSD ES:EDI,ESI
CMP ESI,EAX
JNZ 0x002565c0
SUB EBX,0x1
SUB dword ptr [ESP],0x1
MOV EDI,dword ptr [ESP]
MOVSX EBX,BL
LEA EAX,[EBX*0x4 + 0x4]
ADD EDX,EAX
ADD EAX,EBP
CMP EDI,-0x1
JNZ 0x00256596
SUB ECX,0x1
CMP ECX,-0x1
JZ 0x0025662e
MOV EDI,dword ptr [ESP + 0x1c]
LEA EBP,[EAX + 0x4]
MOV dword ptr [EAX],EDI
MOV EAX,dword ptr [ESP + 0x20]
MOVZX EBX,byte ptr [EAX + ECX*0x1]
MOV EAX,EBP
TEST BL,BL
JLE 0x002565e2
LEA EAX,[EBX + -0x1]
MOV ESI,EDX
MOV EDI,EBP
MOVZX EAX,AL
LEA EAX,[EDX + EAX*0x4 + 0x4]
NOP
MOVSD ES:EDI,ESI
CMP ESI,EAX
JNZ 0x00256610
SUB EBX,0x1
SUB ECX,0x1
MOVSX EBX,BL
LEA EAX,[EBX*0x4 + 0x4]
ADD EDX,EAX
ADD EAX,EBP
CMP ECX,-0x1
JNZ 0x002565ea
ADD ESP,0x4
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD dword ptr [ESP],0x1
JMP 0x00256520
MOV EAX,dword ptr [ESP + 0x18]
JMP 0x0025658a
(translation_unit "void FUN_002564f0(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)\n\n{\n  undefined4 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  int local_14;\n  \n  local_14 = 0;\n  cVar5 = *param_3;\n  uVar3 = 0;\n  iVar4 = (int)cVar5;\n  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }\nLAB_0025655f:\n  puVar6 = param_5;\n  puVar7 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }\n  while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }\njoined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_002564f0(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)\n\n{\n  undefined4 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  int local_14;\n  \n  local_14 = 0;\n  cVar5 = *param_3;\n  uVar3 = 0;\n  iVar4 = (int)cVar5;\n  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }\nLAB_0025655f:\n  puVar6 = param_5;\n  puVar7 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }\n  while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }\njoined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002564f0(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  int local_14;\n  \n  local_14 = 0;\n  cVar5 = *param_3;\n  uVar3 = 0;\n  iVar4 = (int)cVar5;\n  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }\nLAB_0025655f:\n  puVar6 = param_5;\n  puVar7 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }\n  while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }\njoined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (expression_statement "cVar5 = *param_3;" (assignment_expression "cVar5 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = (int)cVar5;" (assignment_expression "iVar4 = (int)cVar5" identifier = (cast_expression "(int)cVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (while_statement "while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }" while (parenthesized_expression "(iVar4 < (int)param_6 - (int)param_5 >> 2)" ( (binary_expression "iVar4 < (int)param_6 - (int)param_5 >> 2" identifier < (binary_expression "(int)param_6 - (int)param_5 >> 2" (binary_expression "(int)param_6 - (int)param_5" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) )) (compound_statement "{\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }" { (while_statement "while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }" { (if_statement "if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;" if (parenthesized_expression "(0x7d < (byte)(cVar5 - 1U))" ( (binary_expression "0x7d < (byte)(cVar5 - 1U)" number_literal < (call_expression "(byte)(cVar5 - 1U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar5 - 1U)" ( (binary_expression "cVar5 - 1U" identifier - number_literal) )))) )) (goto_statement "goto LAB_0025655f;" goto statement_identifier ;)) (expression_statement "param_6 = param_6 + -iVar4;" (assignment_expression "param_6 = param_6 + -iVar4" identifier = (binary_expression "param_6 + -iVar4" identifier + (unary_expression "-iVar4" - identifier))) ;) (if_statement "if (param_4 - 1U <= uVar3) break;" if (parenthesized_expression "(param_4 - 1U <= uVar3)" ( (binary_expression "param_4 - 1U <= uVar3" (binary_expression "param_4 - 1U" identifier - number_literal) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (expression_statement "cVar5 = param_3[uVar3];" (assignment_expression "cVar5 = param_3[uVar3]" identifier = (subscript_expression "param_3[uVar3]" identifier [ identifier ])) ;) (expression_statement "iVar4 = (int)cVar5;" (assignment_expression "iVar4 = (int)cVar5" identifier = (cast_expression "(int)cVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;" if (parenthesized_expression "((int)param_6 - (int)param_5 >> 2 <= iVar4)" ( (binary_expression "(int)param_6 - (int)param_5 >> 2 <= iVar4" (binary_expression "(int)param_6 - (int)param_5 >> 2" (binary_expression "(int)param_6 - (int)param_5" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) <= identifier) )) (goto_statement "goto LAB_0025655f;" goto statement_identifier ;)) })) (expression_statement "local_14 = local_14 + 1;" (assignment_expression "local_14 = local_14 + 1" identifier = (binary_expression "local_14 + 1" identifier + number_literal)) ;) })) (labeled_statement "LAB_0025655f:\n  puVar6 = param_5;" statement_identifier : (expression_statement "puVar6 = param_5;" (assignment_expression "puVar6 = param_5" identifier = identifier) ;)) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (if_statement "if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }" if (parenthesized_expression "(param_6 != param_5)" ( (binary_expression "param_6 != param_5" identifier != identifier) )) (compound_statement "{\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }" { (do_statement "do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);" do (compound_statement "{\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    }" { (expression_statement "puVar8 = puVar6 + 1;" (assignment_expression "puVar8 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = *puVar6;" (assignment_expression "*puVar7 = *puVar6" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar6 = puVar8;" (assignment_expression "puVar6 = puVar8" identifier = identifier) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_6 != puVar8)" ( (binary_expression "param_6 != puVar8" identifier != identifier) )) ;) (expression_statement "iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;" (assignment_expression "iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4" identifier = (binary_expression "((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4" (parenthesized_expression "((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU)" ( (binary_expression "(int)param_6 + (-4 - (int)param_5) & 0xfffffffcU" (binary_expression "(int)param_6 + (-4 - (int)param_5)" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-4 - (int)param_5)" ( (binary_expression "-4 - (int)param_5" number_literal - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) )) + number_literal)) ;) (expression_statement "param_5 = (undefined4 *)((int)param_5 + iVar4);" (assignment_expression "param_5 = (undefined4 *)((int)param_5 + iVar4)" identifier = (cast_expression "(undefined4 *)((int)param_5 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_5 + iVar4)" ( (binary_expression "(int)param_5 + iVar4" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "param_1 = (undefined4 *)(iVar4 + (int)param_1);" (assignment_expression "param_1 = (undefined4 *)(iVar4 + (int)param_1)" identifier = (cast_expression "(undefined4 *)(iVar4 + (int)param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (int)param_1)" ( (binary_expression "iVar4 + (int)param_1" identifier + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) })) (while_statement "while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }" while (parenthesized_expression "(local_14 = local_14 + -1, local_14 != -1)" ( (comma_expression "local_14 = local_14 + -1, local_14 != -1" (assignment_expression "local_14 = local_14 + -1" identifier = (binary_expression "local_14 + -1" identifier + number_literal)) , (binary_expression "local_14 != -1" identifier != number_literal)) )) (compound_statement "{\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }" { (while_statement "while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }" { (expression_statement "puVar6 = param_1 + 1;" (assignment_expression "puVar6 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "bVar2 = param_3[uVar3];" (assignment_expression "bVar2 = param_3[uVar3]" identifier = (subscript_expression "param_3[uVar3]" identifier [ identifier ])) ;) (expression_statement "param_1 = puVar6;" (assignment_expression "param_1 = puVar6" identifier = identifier) ;) (if_statement "if ((char)bVar2 < '\x01') break;" if (parenthesized_expression "((char)bVar2 < '\x01')" ( (binary_expression "(char)bVar2 < '\x01'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\x01'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "puVar7 = param_5;" (assignment_expression "puVar7 = param_5" identifier = identifier) ;) (expression_statement "puVar8 = puVar6;" (assignment_expression "puVar8 = puVar6" identifier = identifier) ;) (do_statement "do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      }" { (expression_statement "puVar1 = puVar7 + 1;" (assignment_expression "puVar1 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar1;" (assignment_expression "puVar7 = puVar1" identifier = identifier) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_5 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_5 + (bVar2 - 1 & 0xff)" identifier + (parenthesized_expression "(bVar2 - 1 & 0xff)" ( (binary_expression "bVar2 - 1 & 0xff" (binary_expression "bVar2 - 1" identifier - number_literal) & number_literal) ))) + number_literal)) )) ;) (expression_statement "local_14 = local_14 + -1;" (assignment_expression "local_14 = local_14 + -1" identifier = (binary_expression "local_14 + -1" identifier + number_literal)) ;) (expression_statement "param_5 = param_5 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_5 = param_5 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "param_5 + (char)(bVar2 - 1) + 1" (binary_expression "param_5 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) (expression_statement "param_1 = puVar6 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_1 = puVar6 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "puVar6 + (char)(bVar2 - 1) + 1" (binary_expression "puVar6 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) (if_statement "if (local_14 == -1) goto joined_r0x002565e8;" if (parenthesized_expression "(local_14 == -1)" ( (binary_expression "local_14 == -1" identifier == number_literal) )) (goto_statement "goto joined_r0x002565e8;" goto statement_identifier ;)) })) })) (labeled_statement "joined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" statement_identifier : (while_statement "while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" while (parenthesized_expression "(uVar3 = uVar3 - 1, uVar3 != 0xffffffff)" ( (comma_expression "uVar3 = uVar3 - 1, uVar3 != 0xffffffff" (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) , (binary_expression "uVar3 != 0xffffffff" identifier != number_literal)) )) (compound_statement "{\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" { (expression_statement "puVar6 = param_1 + 1;" (assignment_expression "puVar6 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "bVar2 = param_3[uVar3];" (assignment_expression "bVar2 = param_3[uVar3]" identifier = (subscript_expression "param_3[uVar3]" identifier [ identifier ])) ;) (expression_statement "param_1 = puVar6;" (assignment_expression "param_1 = puVar6" identifier = identifier) ;) (if_statement "if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }" if (parenthesized_expression "('\0' < (char)bVar2)" ( (binary_expression "'\0' < (char)bVar2" (char_literal "'\0'" ' escape_sequence ') < (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier)) )) (compound_statement "{\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }" { (expression_statement "puVar7 = param_5;" (assignment_expression "puVar7 = param_5" identifier = identifier) ;) (expression_statement "puVar8 = puVar6;" (assignment_expression "puVar8 = puVar6" identifier = identifier) ;) (do_statement "do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      }" { (expression_statement "puVar1 = puVar7 + 1;" (assignment_expression "puVar1 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar1;" (assignment_expression "puVar7 = puVar1" identifier = identifier) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_5 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_5 + (bVar2 - 1 & 0xff)" identifier + (parenthesized_expression "(bVar2 - 1 & 0xff)" ( (binary_expression "bVar2 - 1 & 0xff" (binary_expression "bVar2 - 1" identifier - number_literal) & number_literal) ))) + number_literal)) )) ;) (expression_statement "param_5 = param_5 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_5 = param_5 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "param_5 + (char)(bVar2 - 1) + 1" (binary_expression "param_5 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) (expression_statement "param_1 = puVar6 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_1 = puVar6 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "puVar6 + (char)(bVar2 - 1) + 1" (binary_expression "puVar6 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* wchar_t* std::__add_grouping<wchar_t>(wchar_t*, wchar_t, char const*, unsigned int, wchar_t\n   const*, wchar_t const*) */\n\nwchar_t * std::__add_grouping<wchar_t>\n                    (wchar_t *param_1,wchar_t param_2,char *param_3,uint param_4,wchar_t *param_5,\n                    wchar_t *param_6)\n\n{\n  wchar_t *pwVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char cVar5;\n  wchar_t *pwVar6;\n  wchar_t *pwVar7;\n  wchar_t *pwVar8;\n  int local_14;\n  \n  local_14 = 0;\n  cVar5 = *param_3;\n  uVar3 = 0;\n  iVar4 = (int)cVar5;\n  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1 <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }\nLAB_0025655f:\n  pwVar6 = param_5;\n  pwVar7 = param_1;\n  if (param_6 != param_5) {\n    do {\n      pwVar8 = pwVar6 + 1;\n      *pwVar7 = *pwVar6;\n      pwVar6 = pwVar8;\n      pwVar7 = pwVar7 + 1;\n    } while (param_6 != pwVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (wchar_t *)((int)param_5 + iVar4);\n    param_1 = (wchar_t *)(iVar4 + (int)param_1);\n  }\n  while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      pwVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = pwVar6;\n      if ((char)bVar2 < '\x01') break;\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }\njoined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    pwVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = pwVar6;\n    if ('\0' < (char)bVar2) {\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }\n  return param_1;\n}\n\n" comment comment (ERROR "wchar_t * std::__add_grouping<wchar_t>\n                    (wchar_t *param_1,wchar_t param_2,char *param_3,uint param_4,wchar_t *param_5,\n                    wchar_t *param_6)" (binary_expression "wchar_t * std" identifier * identifier) : : (binary_expression "__add_grouping<wchar_t>\n                    (wchar_t *param_1,wchar_t param_2,char *param_3,uint param_4,wchar_t *param_5,\n                    wchar_t *param_6)" (binary_expression "__add_grouping<wchar_t" identifier < identifier) > (parenthesized_expression "(wchar_t *param_1,wchar_t param_2,char *param_3,uint param_4,wchar_t *param_5,\n                    wchar_t *param_6)" ( (comma_expression "wchar_t *param_1,wchar_t param_2,char *param_3,uint param_4,wchar_t *param_5,\n                    wchar_t *param_6" (binary_expression "wchar_t *param_1" identifier * identifier) , (ERROR "wchar_t" identifier) (comma_expression "param_2,char *param_3,uint param_4,wchar_t *param_5,\n                    wchar_t *param_6" identifier , (comma_expression "char *param_3,uint param_4,wchar_t *param_5,\n                    wchar_t *param_6" (binary_expression "char *param_3" identifier * identifier) , (ERROR "uint" identifier) (comma_expression "param_4,wchar_t *param_5,\n                    wchar_t *param_6" identifier , (comma_expression "wchar_t *param_5,\n                    wchar_t *param_6" (binary_expression "wchar_t *param_5" identifier * identifier) , (binary_expression "wchar_t *param_6" identifier * identifier)))))) )))) (compound_statement "{\n  wchar_t *pwVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char cVar5;\n  wchar_t *pwVar6;\n  wchar_t *pwVar7;\n  wchar_t *pwVar8;\n  int local_14;\n  \n  local_14 = 0;\n  cVar5 = *param_3;\n  uVar3 = 0;\n  iVar4 = (int)cVar5;\n  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1 <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }\nLAB_0025655f:\n  pwVar6 = param_5;\n  pwVar7 = param_1;\n  if (param_6 != param_5) {\n    do {\n      pwVar8 = pwVar6 + 1;\n      *pwVar7 = *pwVar6;\n      pwVar6 = pwVar8;\n      pwVar7 = pwVar7 + 1;\n    } while (param_6 != pwVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (wchar_t *)((int)param_5 + iVar4);\n    param_1 = (wchar_t *)(iVar4 + (int)param_1);\n  }\n  while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      pwVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = pwVar6;\n      if ((char)bVar2 < '\x01') break;\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }\njoined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    pwVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = pwVar6;\n    if ('\0' < (char)bVar2) {\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }\n  return param_1;\n}" { (declaration "wchar_t *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "wchar_t *pwVar6;" type_identifier (pointer_declarator "*pwVar6" * identifier) ;) (declaration "wchar_t *pwVar7;" type_identifier (pointer_declarator "*pwVar7" * identifier) ;) (declaration "wchar_t *pwVar8;" type_identifier (pointer_declarator "*pwVar8" * identifier) ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (expression_statement "cVar5 = *param_3;" (assignment_expression "cVar5 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = (int)cVar5;" (assignment_expression "iVar4 = (int)cVar5" identifier = (cast_expression "(int)cVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (while_statement "while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1 <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }" while (parenthesized_expression "(iVar4 < (int)param_6 - (int)param_5 >> 2)" ( (binary_expression "iVar4 < (int)param_6 - (int)param_5 >> 2" identifier < (binary_expression "(int)param_6 - (int)param_5 >> 2" (binary_expression "(int)param_6 - (int)param_5" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) )) (compound_statement "{\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1 <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }" { (while_statement "while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1 <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1 <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }" { (if_statement "if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;" if (parenthesized_expression "(0x7d < (byte)(cVar5 - 1U))" ( (binary_expression "0x7d < (byte)(cVar5 - 1U)" number_literal < (call_expression "(byte)(cVar5 - 1U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar5 - 1U)" ( (binary_expression "cVar5 - 1U" identifier - number_literal) )))) )) (goto_statement "goto LAB_0025655f;" goto statement_identifier ;)) (expression_statement "param_6 = param_6 + -iVar4;" (assignment_expression "param_6 = param_6 + -iVar4" identifier = (binary_expression "param_6 + -iVar4" identifier + (unary_expression "-iVar4" - identifier))) ;) (if_statement "if (param_4 - 1 <= uVar3) break;" if (parenthesized_expression "(param_4 - 1 <= uVar3)" ( (binary_expression "param_4 - 1 <= uVar3" (binary_expression "param_4 - 1" identifier - number_literal) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (expression_statement "cVar5 = param_3[uVar3];" (assignment_expression "cVar5 = param_3[uVar3]" identifier = (subscript_expression "param_3[uVar3]" identifier [ identifier ])) ;) (expression_statement "iVar4 = (int)cVar5;" (assignment_expression "iVar4 = (int)cVar5" identifier = (cast_expression "(int)cVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;" if (parenthesized_expression "((int)param_6 - (int)param_5 >> 2 <= iVar4)" ( (binary_expression "(int)param_6 - (int)param_5 >> 2 <= iVar4" (binary_expression "(int)param_6 - (int)param_5 >> 2" (binary_expression "(int)param_6 - (int)param_5" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) <= identifier) )) (goto_statement "goto LAB_0025655f;" goto statement_identifier ;)) })) (expression_statement "local_14 = local_14 + 1;" (assignment_expression "local_14 = local_14 + 1" identifier = (binary_expression "local_14 + 1" identifier + number_literal)) ;) })) (labeled_statement "LAB_0025655f:\n  pwVar6 = param_5;" statement_identifier : (expression_statement "pwVar6 = param_5;" (assignment_expression "pwVar6 = param_5" identifier = identifier) ;)) (expression_statement "pwVar7 = param_1;" (assignment_expression "pwVar7 = param_1" identifier = identifier) ;) (if_statement "if (param_6 != param_5) {\n    do {\n      pwVar8 = pwVar6 + 1;\n      *pwVar7 = *pwVar6;\n      pwVar6 = pwVar8;\n      pwVar7 = pwVar7 + 1;\n    } while (param_6 != pwVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (wchar_t *)((int)param_5 + iVar4);\n    param_1 = (wchar_t *)(iVar4 + (int)param_1);\n  }" if (parenthesized_expression "(param_6 != param_5)" ( (binary_expression "param_6 != param_5" identifier != identifier) )) (compound_statement "{\n    do {\n      pwVar8 = pwVar6 + 1;\n      *pwVar7 = *pwVar6;\n      pwVar6 = pwVar8;\n      pwVar7 = pwVar7 + 1;\n    } while (param_6 != pwVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (wchar_t *)((int)param_5 + iVar4);\n    param_1 = (wchar_t *)(iVar4 + (int)param_1);\n  }" { (do_statement "do {\n      pwVar8 = pwVar6 + 1;\n      *pwVar7 = *pwVar6;\n      pwVar6 = pwVar8;\n      pwVar7 = pwVar7 + 1;\n    } while (param_6 != pwVar8);" do (compound_statement "{\n      pwVar8 = pwVar6 + 1;\n      *pwVar7 = *pwVar6;\n      pwVar6 = pwVar8;\n      pwVar7 = pwVar7 + 1;\n    }" { (expression_statement "pwVar8 = pwVar6 + 1;" (assignment_expression "pwVar8 = pwVar6 + 1" identifier = (binary_expression "pwVar6 + 1" identifier + number_literal)) ;) (expression_statement "*pwVar7 = *pwVar6;" (assignment_expression "*pwVar7 = *pwVar6" (pointer_expression "*pwVar7" * identifier) = (pointer_expression "*pwVar6" * identifier)) ;) (expression_statement "pwVar6 = pwVar8;" (assignment_expression "pwVar6 = pwVar8" identifier = identifier) ;) (expression_statement "pwVar7 = pwVar7 + 1;" (assignment_expression "pwVar7 = pwVar7 + 1" identifier = (binary_expression "pwVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_6 != pwVar8)" ( (binary_expression "param_6 != pwVar8" identifier != identifier) )) ;) (expression_statement "iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;" (assignment_expression "iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4" identifier = (binary_expression "((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4" (parenthesized_expression "((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU)" ( (binary_expression "(int)param_6 + (-4 - (int)param_5) & 0xfffffffcU" (binary_expression "(int)param_6 + (-4 - (int)param_5)" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-4 - (int)param_5)" ( (binary_expression "-4 - (int)param_5" number_literal - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) )) + number_literal)) ;) (expression_statement "param_5 = (wchar_t *)((int)param_5 + iVar4);" (assignment_expression "param_5 = (wchar_t *)((int)param_5 + iVar4)" identifier = (cast_expression "(wchar_t *)((int)param_5 + iVar4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_5 + iVar4)" ( (binary_expression "(int)param_5 + iVar4" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "param_1 = (wchar_t *)(iVar4 + (int)param_1);" (assignment_expression "param_1 = (wchar_t *)(iVar4 + (int)param_1)" identifier = (cast_expression "(wchar_t *)(iVar4 + (int)param_1)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (int)param_1)" ( (binary_expression "iVar4 + (int)param_1" identifier + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) })) (while_statement "while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      pwVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = pwVar6;\n      if ((char)bVar2 < '\x01') break;\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }" while (parenthesized_expression "(local_14 = local_14 + -1, local_14 != -1)" ( (comma_expression "local_14 = local_14 + -1, local_14 != -1" (assignment_expression "local_14 = local_14 + -1" identifier = (binary_expression "local_14 + -1" identifier + number_literal)) , (binary_expression "local_14 != -1" identifier != number_literal)) )) (compound_statement "{\n    while( true ) {\n      pwVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = pwVar6;\n      if ((char)bVar2 < '\x01') break;\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }" { (while_statement "while( true ) {\n      pwVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = pwVar6;\n      if ((char)bVar2 < '\x01') break;\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pwVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = pwVar6;\n      if ((char)bVar2 < '\x01') break;\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }" { (expression_statement "pwVar6 = param_1 + 1;" (assignment_expression "pwVar6 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "bVar2 = param_3[uVar3];" (assignment_expression "bVar2 = param_3[uVar3]" identifier = (subscript_expression "param_3[uVar3]" identifier [ identifier ])) ;) (expression_statement "param_1 = pwVar6;" (assignment_expression "param_1 = pwVar6" identifier = identifier) ;) (if_statement "if ((char)bVar2 < '\x01') break;" if (parenthesized_expression "((char)bVar2 < '\x01')" ( (binary_expression "(char)bVar2 < '\x01'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\x01'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "pwVar7 = param_5;" (assignment_expression "pwVar7 = param_5" identifier = identifier) ;) (expression_statement "pwVar8 = pwVar6;" (assignment_expression "pwVar8 = pwVar6" identifier = identifier) ;) (do_statement "do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      }" { (expression_statement "pwVar1 = pwVar7 + 1;" (assignment_expression "pwVar1 = pwVar7 + 1" identifier = (binary_expression "pwVar7 + 1" identifier + number_literal)) ;) (expression_statement "*pwVar8 = *pwVar7;" (assignment_expression "*pwVar8 = *pwVar7" (pointer_expression "*pwVar8" * identifier) = (pointer_expression "*pwVar7" * identifier)) ;) (expression_statement "pwVar7 = pwVar1;" (assignment_expression "pwVar7 = pwVar1" identifier = identifier) ;) (expression_statement "pwVar8 = pwVar8 + 1;" (assignment_expression "pwVar8 = pwVar8 + 1" identifier = (binary_expression "pwVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_5 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_5 + (bVar2 - 1 & 0xff)" identifier + (parenthesized_expression "(bVar2 - 1 & 0xff)" ( (binary_expression "bVar2 - 1 & 0xff" (binary_expression "bVar2 - 1" identifier - number_literal) & number_literal) ))) + number_literal)) )) ;) (expression_statement "local_14 = local_14 + -1;" (assignment_expression "local_14 = local_14 + -1" identifier = (binary_expression "local_14 + -1" identifier + number_literal)) ;) (expression_statement "param_5 = param_5 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_5 = param_5 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "param_5 + (char)(bVar2 - 1) + 1" (binary_expression "param_5 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) (expression_statement "param_1 = pwVar6 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_1 = pwVar6 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "pwVar6 + (char)(bVar2 - 1) + 1" (binary_expression "pwVar6 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) (if_statement "if (local_14 == -1) goto joined_r0x002565e8;" if (parenthesized_expression "(local_14 == -1)" ( (binary_expression "local_14 == -1" identifier == number_literal) )) (goto_statement "goto joined_r0x002565e8;" goto statement_identifier ;)) })) })) (labeled_statement "joined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    pwVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = pwVar6;\n    if ('\0' < (char)bVar2) {\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" statement_identifier : (while_statement "while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    pwVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = pwVar6;\n    if ('\0' < (char)bVar2) {\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" while (parenthesized_expression "(uVar3 = uVar3 - 1, uVar3 != 0xffffffff)" ( (comma_expression "uVar3 = uVar3 - 1, uVar3 != 0xffffffff" (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) , (binary_expression "uVar3 != 0xffffffff" identifier != number_literal)) )) (compound_statement "{\n    pwVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = pwVar6;\n    if ('\0' < (char)bVar2) {\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" { (expression_statement "pwVar6 = param_1 + 1;" (assignment_expression "pwVar6 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "bVar2 = param_3[uVar3];" (assignment_expression "bVar2 = param_3[uVar3]" identifier = (subscript_expression "param_3[uVar3]" identifier [ identifier ])) ;) (expression_statement "param_1 = pwVar6;" (assignment_expression "param_1 = pwVar6" identifier = identifier) ;) (if_statement "if ('\0' < (char)bVar2) {\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n    }" if (parenthesized_expression "('\0' < (char)bVar2)" ( (binary_expression "'\0' < (char)bVar2" (char_literal "'\0'" ' escape_sequence ') < (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier)) )) (compound_statement "{\n      pwVar7 = param_5;\n      pwVar8 = pwVar6;\n      do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = pwVar6 + (char)(bVar2 - 1) + 1;\n    }" { (expression_statement "pwVar7 = param_5;" (assignment_expression "pwVar7 = param_5" identifier = identifier) ;) (expression_statement "pwVar8 = pwVar6;" (assignment_expression "pwVar8 = pwVar6" identifier = identifier) ;) (do_statement "do {\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      } while (pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        pwVar1 = pwVar7 + 1;\n        *pwVar8 = *pwVar7;\n        pwVar7 = pwVar1;\n        pwVar8 = pwVar8 + 1;\n      }" { (expression_statement "pwVar1 = pwVar7 + 1;" (assignment_expression "pwVar1 = pwVar7 + 1" identifier = (binary_expression "pwVar7 + 1" identifier + number_literal)) ;) (expression_statement "*pwVar8 = *pwVar7;" (assignment_expression "*pwVar8 = *pwVar7" (pointer_expression "*pwVar8" * identifier) = (pointer_expression "*pwVar7" * identifier)) ;) (expression_statement "pwVar7 = pwVar1;" (assignment_expression "pwVar7 = pwVar1" identifier = identifier) ;) (expression_statement "pwVar8 = pwVar8 + 1;" (assignment_expression "pwVar8 = pwVar8 + 1" identifier = (binary_expression "pwVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "pwVar1 != param_5 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_5 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_5 + (bVar2 - 1 & 0xff)" identifier + (parenthesized_expression "(bVar2 - 1 & 0xff)" ( (binary_expression "bVar2 - 1 & 0xff" (binary_expression "bVar2 - 1" identifier - number_literal) & number_literal) ))) + number_literal)) )) ;) (expression_statement "param_5 = param_5 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_5 = param_5 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "param_5 + (char)(bVar2 - 1) + 1" (binary_expression "param_5 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) (expression_statement "param_1 = pwVar6 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_1 = pwVar6 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "pwVar6 + (char)(bVar2 - 1) + 1" (binary_expression "pwVar6 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) })) }))) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "void FUN_002564f0(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)\n\n{\n  undefined4 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  int local_14;\n  \n  local_14 = 0;\n  cVar5 = *param_3;\n  uVar3 = 0;\n  iVar4 = (int)cVar5;\n  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }\nLAB_0025655f:\n  puVar6 = param_5;\n  puVar7 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }\n  while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }\njoined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_002564f0(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)\n\n{\n  undefined4 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  int local_14;\n  \n  local_14 = 0;\n  cVar5 = *param_3;\n  uVar3 = 0;\n  iVar4 = (int)cVar5;\n  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }\nLAB_0025655f:\n  puVar6 = param_5;\n  puVar7 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }\n  while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }\njoined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002564f0(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  int local_14;\n  \n  local_14 = 0;\n  cVar5 = *param_3;\n  uVar3 = 0;\n  iVar4 = (int)cVar5;\n  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }\nLAB_0025655f:\n  puVar6 = param_5;\n  puVar7 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }\n  while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }\njoined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (expression_statement "cVar5 = *param_3;" (assignment_expression "cVar5 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = (int)cVar5;" (assignment_expression "iVar4 = (int)cVar5" identifier = (cast_expression "(int)cVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (while_statement "while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }" while (parenthesized_expression "(iVar4 < (int)param_6 - (int)param_5 >> 2)" ( (binary_expression "iVar4 < (int)param_6 - (int)param_5 >> 2" identifier < (binary_expression "(int)param_6 - (int)param_5 >> 2" (binary_expression "(int)param_6 - (int)param_5" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) )) (compound_statement "{\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }" { (while_statement "while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }" { (if_statement "if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;" if (parenthesized_expression "(0x7d < (byte)(cVar5 - 1U))" ( (binary_expression "0x7d < (byte)(cVar5 - 1U)" number_literal < (call_expression "(byte)(cVar5 - 1U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar5 - 1U)" ( (binary_expression "cVar5 - 1U" identifier - number_literal) )))) )) (goto_statement "goto LAB_0025655f;" goto statement_identifier ;)) (expression_statement "param_6 = param_6 + -iVar4;" (assignment_expression "param_6 = param_6 + -iVar4" identifier = (binary_expression "param_6 + -iVar4" identifier + (unary_expression "-iVar4" - identifier))) ;) (if_statement "if (param_4 - 1U <= uVar3) break;" if (parenthesized_expression "(param_4 - 1U <= uVar3)" ( (binary_expression "param_4 - 1U <= uVar3" (binary_expression "param_4 - 1U" identifier - number_literal) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (expression_statement "cVar5 = param_3[uVar3];" (assignment_expression "cVar5 = param_3[uVar3]" identifier = (subscript_expression "param_3[uVar3]" identifier [ identifier ])) ;) (expression_statement "iVar4 = (int)cVar5;" (assignment_expression "iVar4 = (int)cVar5" identifier = (cast_expression "(int)cVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;" if (parenthesized_expression "((int)param_6 - (int)param_5 >> 2 <= iVar4)" ( (binary_expression "(int)param_6 - (int)param_5 >> 2 <= iVar4" (binary_expression "(int)param_6 - (int)param_5 >> 2" (binary_expression "(int)param_6 - (int)param_5" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) <= identifier) )) (goto_statement "goto LAB_0025655f;" goto statement_identifier ;)) })) (expression_statement "local_14 = local_14 + 1;" (assignment_expression "local_14 = local_14 + 1" identifier = (binary_expression "local_14 + 1" identifier + number_literal)) ;) })) (labeled_statement "LAB_0025655f:\n  puVar6 = param_5;" statement_identifier : (expression_statement "puVar6 = param_5;" (assignment_expression "puVar6 = param_5" identifier = identifier) ;)) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (if_statement "if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }" if (parenthesized_expression "(param_6 != param_5)" ( (binary_expression "param_6 != param_5" identifier != identifier) )) (compound_statement "{\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }" { (do_statement "do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);" do (compound_statement "{\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    }" { (expression_statement "puVar8 = puVar6 + 1;" (assignment_expression "puVar8 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = *puVar6;" (assignment_expression "*puVar7 = *puVar6" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar6 = puVar8;" (assignment_expression "puVar6 = puVar8" identifier = identifier) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_6 != puVar8)" ( (binary_expression "param_6 != puVar8" identifier != identifier) )) ;) (expression_statement "iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;" (assignment_expression "iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4" identifier = (binary_expression "((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4" (parenthesized_expression "((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU)" ( (binary_expression "(int)param_6 + (-4 - (int)param_5) & 0xfffffffcU" (binary_expression "(int)param_6 + (-4 - (int)param_5)" (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-4 - (int)param_5)" ( (binary_expression "-4 - (int)param_5" number_literal - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) ))) & number_literal) )) + number_literal)) ;) (expression_statement "param_5 = (undefined4 *)((int)param_5 + iVar4);" (assignment_expression "param_5 = (undefined4 *)((int)param_5 + iVar4)" identifier = (cast_expression "(undefined4 *)((int)param_5 + iVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_5 + iVar4)" ( (binary_expression "(int)param_5 + iVar4" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "param_1 = (undefined4 *)(iVar4 + (int)param_1);" (assignment_expression "param_1 = (undefined4 *)(iVar4 + (int)param_1)" identifier = (cast_expression "(undefined4 *)(iVar4 + (int)param_1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (int)param_1)" ( (binary_expression "iVar4 + (int)param_1" identifier + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) })) (while_statement "while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }" while (parenthesized_expression "(local_14 = local_14 + -1, local_14 != -1)" ( (comma_expression "local_14 = local_14 + -1, local_14 != -1" (assignment_expression "local_14 = local_14 + -1" identifier = (binary_expression "local_14 + -1" identifier + number_literal)) , (binary_expression "local_14 != -1" identifier != number_literal)) )) (compound_statement "{\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }" { (while_statement "while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }" { (expression_statement "puVar6 = param_1 + 1;" (assignment_expression "puVar6 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "bVar2 = param_3[uVar3];" (assignment_expression "bVar2 = param_3[uVar3]" identifier = (subscript_expression "param_3[uVar3]" identifier [ identifier ])) ;) (expression_statement "param_1 = puVar6;" (assignment_expression "param_1 = puVar6" identifier = identifier) ;) (if_statement "if ((char)bVar2 < '\x01') break;" if (parenthesized_expression "((char)bVar2 < '\x01')" ( (binary_expression "(char)bVar2 < '\x01'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\x01'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "puVar7 = param_5;" (assignment_expression "puVar7 = param_5" identifier = identifier) ;) (expression_statement "puVar8 = puVar6;" (assignment_expression "puVar8 = puVar6" identifier = identifier) ;) (do_statement "do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      }" { (expression_statement "puVar1 = puVar7 + 1;" (assignment_expression "puVar1 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar1;" (assignment_expression "puVar7 = puVar1" identifier = identifier) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_5 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_5 + (bVar2 - 1 & 0xff)" identifier + (parenthesized_expression "(bVar2 - 1 & 0xff)" ( (binary_expression "bVar2 - 1 & 0xff" (binary_expression "bVar2 - 1" identifier - number_literal) & number_literal) ))) + number_literal)) )) ;) (expression_statement "local_14 = local_14 + -1;" (assignment_expression "local_14 = local_14 + -1" identifier = (binary_expression "local_14 + -1" identifier + number_literal)) ;) (expression_statement "param_5 = param_5 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_5 = param_5 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "param_5 + (char)(bVar2 - 1) + 1" (binary_expression "param_5 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) (expression_statement "param_1 = puVar6 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_1 = puVar6 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "puVar6 + (char)(bVar2 - 1) + 1" (binary_expression "puVar6 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) (if_statement "if (local_14 == -1) goto joined_r0x002565e8;" if (parenthesized_expression "(local_14 == -1)" ( (binary_expression "local_14 == -1" identifier == number_literal) )) (goto_statement "goto joined_r0x002565e8;" goto statement_identifier ;)) })) })) (labeled_statement "joined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" statement_identifier : (while_statement "while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" while (parenthesized_expression "(uVar3 = uVar3 - 1, uVar3 != 0xffffffff)" ( (comma_expression "uVar3 = uVar3 - 1, uVar3 != 0xffffffff" (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) , (binary_expression "uVar3 != 0xffffffff" identifier != number_literal)) )) (compound_statement "{\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" { (expression_statement "puVar6 = param_1 + 1;" (assignment_expression "puVar6 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "bVar2 = param_3[uVar3];" (assignment_expression "bVar2 = param_3[uVar3]" identifier = (subscript_expression "param_3[uVar3]" identifier [ identifier ])) ;) (expression_statement "param_1 = puVar6;" (assignment_expression "param_1 = puVar6" identifier = identifier) ;) (if_statement "if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }" if (parenthesized_expression "('\0' < (char)bVar2)" ( (binary_expression "'\0' < (char)bVar2" (char_literal "'\0'" ' escape_sequence ') < (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier)) )) (compound_statement "{\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }" { (expression_statement "puVar7 = param_5;" (assignment_expression "puVar7 = param_5" identifier = identifier) ;) (expression_statement "puVar8 = puVar6;" (assignment_expression "puVar8 = puVar6" identifier = identifier) ;) (do_statement "do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      }" { (expression_statement "puVar1 = puVar7 + 1;" (assignment_expression "puVar1 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar1;" (assignment_expression "puVar7 = puVar1" identifier = identifier) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_5 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_5 + (bVar2 - 1 & 0xff)" identifier + (parenthesized_expression "(bVar2 - 1 & 0xff)" ( (binary_expression "bVar2 - 1 & 0xff" (binary_expression "bVar2 - 1" identifier - number_literal) & number_literal) ))) + number_literal)) )) ;) (expression_statement "param_5 = param_5 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_5 = param_5 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "param_5 + (char)(bVar2 - 1) + 1" (binary_expression "param_5 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) (expression_statement "param_1 = puVar6 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_1 = puVar6 + (char)(bVar2 - 1) + 1" identifier = (binary_expression "puVar6 + (char)(bVar2 - 1) + 1" (binary_expression "puVar6 + (char)(bVar2 - 1)" identifier + (cast_expression "(char)(bVar2 - 1)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(bVar2 - 1)" ( (binary_expression "bVar2 - 1" identifier - number_literal) )))) + number_literal)) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT < (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) )))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (unary_expression - IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) <= IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) & LIT) )) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) })) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) + LIT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT - LIT)) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (char_literal ' escape_sequence ') < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) + LIT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) + LIT)) ;) })) }))) (return_statement return ;) })))
(function_definition "void FUN_002564f0(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)\n\n{\n  undefined4 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  int local_14;\n  \n  local_14 = 0;\n  cVar5 = *param_3;\n  uVar3 = 0;\n  iVar4 = (int)cVar5;\n  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }\nLAB_0025655f:\n  puVar6 = param_5;\n  puVar7 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }\n  while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }\njoined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002564f0(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)" (identifier "FUN_002564f0") (parameter_list "(undefined4 *param_1,undefined4 param_2,char *param_3,int param_4,\n                 undefined4 *param_5,undefined4 *param_6)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 *param_5" (type_identifier "undefined4") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "undefined4 *param_6" (type_identifier "undefined4") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char cVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 *puVar8;\n  int local_14;\n  \n  local_14 = 0;\n  cVar5 = *param_3;\n  uVar3 = 0;\n  iVar4 = (int)cVar5;\n  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }\nLAB_0025655f:\n  puVar6 = param_5;\n  puVar7 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }\n  while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }\njoined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char cVar5;" (primitive_type "char") (identifier "cVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" (identifier "local_14") (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar5 = *param_3;" (assignment_expression "cVar5 = *param_3" (identifier "cVar5") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = (int)cVar5;" (assignment_expression "iVar4 = (int)cVar5" (identifier "iVar4") (= "=") (cast_expression "(int)cVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar5"))) (; ";")) (while_statement "while (iVar4 < (int)param_6 - (int)param_5 >> 2) {\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }" (while "while") (parenthesized_expression "(iVar4 < (int)param_6 - (int)param_5 >> 2)" (( "(") (binary_expression "iVar4 < (int)param_6 - (int)param_5 >> 2" (identifier "iVar4") (< "<") (binary_expression "(int)param_6 - (int)param_5 >> 2" (binary_expression "(int)param_6 - (int)param_5" (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6")) (- "-") (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5"))) (>> ">>") (number_literal "2"))) () ")")) (compound_statement "{\n    while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }\n    local_14 = local_14 + 1;\n  }" ({ "{") (while_statement "while( true ) {\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;\n      param_6 = param_6 + -iVar4;\n      if (param_4 - 1U <= uVar3) break;\n      uVar3 = uVar3 + 1;\n      cVar5 = param_3[uVar3];\n      iVar4 = (int)cVar5;\n      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;\n    }" ({ "{") (if_statement "if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;" (if "if") (parenthesized_expression "(0x7d < (byte)(cVar5 - 1U))" (( "(") (binary_expression "0x7d < (byte)(cVar5 - 1U)" (number_literal "0x7d") (< "<") (call_expression "(byte)(cVar5 - 1U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar5 - 1U)" (( "(") (binary_expression "cVar5 - 1U" (identifier "cVar5") (- "-") (number_literal "1U")) () ")")))) () ")")) (goto_statement "goto LAB_0025655f;" (goto "goto") (statement_identifier "LAB_0025655f") (; ";"))) (expression_statement "param_6 = param_6 + -iVar4;" (assignment_expression "param_6 = param_6 + -iVar4" (identifier "param_6") (= "=") (binary_expression "param_6 + -iVar4" (identifier "param_6") (+ "+") (unary_expression "-iVar4" (- "-") (identifier "iVar4")))) (; ";")) (if_statement "if (param_4 - 1U <= uVar3) break;" (if "if") (parenthesized_expression "(param_4 - 1U <= uVar3)" (( "(") (binary_expression "param_4 - 1U <= uVar3" (binary_expression "param_4 - 1U" (identifier "param_4") (- "-") (number_literal "1U")) (<= "<=") (identifier "uVar3")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar3 = uVar3 + 1;" (assignment_expression "uVar3 = uVar3 + 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar5 = param_3[uVar3];" (assignment_expression "cVar5 = param_3[uVar3]" (identifier "cVar5") (= "=") (subscript_expression "param_3[uVar3]" (identifier "param_3") ([ "[") (identifier "uVar3") (] "]"))) (; ";")) (expression_statement "iVar4 = (int)cVar5;" (assignment_expression "iVar4 = (int)cVar5" (identifier "iVar4") (= "=") (cast_expression "(int)cVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar5"))) (; ";")) (if_statement "if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;" (if "if") (parenthesized_expression "((int)param_6 - (int)param_5 >> 2 <= iVar4)" (( "(") (binary_expression "(int)param_6 - (int)param_5 >> 2 <= iVar4" (binary_expression "(int)param_6 - (int)param_5 >> 2" (binary_expression "(int)param_6 - (int)param_5" (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6")) (- "-") (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5"))) (>> ">>") (number_literal "2")) (<= "<=") (identifier "iVar4")) () ")")) (goto_statement "goto LAB_0025655f;" (goto "goto") (statement_identifier "LAB_0025655f") (; ";"))) (} "}"))) (expression_statement "local_14 = local_14 + 1;" (assignment_expression "local_14 = local_14 + 1" (identifier "local_14") (= "=") (binary_expression "local_14 + 1" (identifier "local_14") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (labeled_statement "LAB_0025655f:\n  puVar6 = param_5;" (statement_identifier "LAB_0025655f") (: ":") (expression_statement "puVar6 = param_5;" (assignment_expression "puVar6 = param_5" (identifier "puVar6") (= "=") (identifier "param_5")) (; ";"))) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" (identifier "puVar7") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (param_6 != param_5) {\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }" (if "if") (parenthesized_expression "(param_6 != param_5)" (( "(") (binary_expression "param_6 != param_5" (identifier "param_6") (!= "!=") (identifier "param_5")) () ")")) (compound_statement "{\n    do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);\n    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;\n    param_5 = (undefined4 *)((int)param_5 + iVar4);\n    param_1 = (undefined4 *)(iVar4 + (int)param_1);\n  }" ({ "{") (do_statement "do {\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    } while (param_6 != puVar8);" (do "do") (compound_statement "{\n      puVar8 = puVar6 + 1;\n      *puVar7 = *puVar6;\n      puVar6 = puVar8;\n      puVar7 = puVar7 + 1;\n    }" ({ "{") (expression_statement "puVar8 = puVar6 + 1;" (assignment_expression "puVar8 = puVar6 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = *puVar6;" (assignment_expression "*puVar7 = *puVar6" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "puVar6 = puVar8;" (assignment_expression "puVar6 = puVar8" (identifier "puVar6") (= "=") (identifier "puVar8")) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_6 != puVar8)" (( "(") (binary_expression "param_6 != puVar8" (identifier "param_6") (!= "!=") (identifier "puVar8")) () ")")) (; ";")) (expression_statement "iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;" (assignment_expression "iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4" (identifier "iVar4") (= "=") (binary_expression "((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4" (parenthesized_expression "((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU)" (( "(") (binary_expression "(int)param_6 + (-4 - (int)param_5) & 0xfffffffcU" (binary_expression "(int)param_6 + (-4 - (int)param_5)" (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6")) (+ "+") (parenthesized_expression "(-4 - (int)param_5)" (( "(") (binary_expression "-4 - (int)param_5" (number_literal "-4") (- "-") (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5"))) () ")"))) (& "&") (number_literal "0xfffffffcU")) () ")")) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "param_5 = (undefined4 *)((int)param_5 + iVar4);" (assignment_expression "param_5 = (undefined4 *)((int)param_5 + iVar4)" (identifier "param_5") (= "=") (cast_expression "(undefined4 *)((int)param_5 + iVar4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_5 + iVar4)" (( "(") (binary_expression "(int)param_5 + iVar4" (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5")) (+ "+") (identifier "iVar4")) () ")")))) (; ";")) (expression_statement "param_1 = (undefined4 *)(iVar4 + (int)param_1);" (assignment_expression "param_1 = (undefined4 *)(iVar4 + (int)param_1)" (identifier "param_1") (= "=") (cast_expression "(undefined4 *)(iVar4 + (int)param_1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + (int)param_1)" (( "(") (binary_expression "iVar4 + (int)param_1" (identifier "iVar4") (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")")))) (; ";")) (} "}"))) (while_statement "while (local_14 = local_14 + -1, local_14 != -1) {\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }" (while "while") (parenthesized_expression "(local_14 = local_14 + -1, local_14 != -1)" (( "(") (comma_expression "local_14 = local_14 + -1, local_14 != -1" (assignment_expression "local_14 = local_14 + -1" (identifier "local_14") (= "=") (binary_expression "local_14 + -1" (identifier "local_14") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "local_14 != -1" (identifier "local_14") (!= "!=") (number_literal "-1"))) () ")")) (compound_statement "{\n    while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      puVar6 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar3];\n      param_1 = puVar6;\n      if ((char)bVar2 < '\x01') break;\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      local_14 = local_14 + -1;\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n      if (local_14 == -1) goto joined_r0x002565e8;\n    }" ({ "{") (expression_statement "puVar6 = param_1 + 1;" (assignment_expression "puVar6 = param_1 + 1" (identifier "puVar6") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "bVar2 = param_3[uVar3];" (assignment_expression "bVar2 = param_3[uVar3]" (identifier "bVar2") (= "=") (subscript_expression "param_3[uVar3]" (identifier "param_3") ([ "[") (identifier "uVar3") (] "]"))) (; ";")) (expression_statement "param_1 = puVar6;" (assignment_expression "param_1 = puVar6" (identifier "param_1") (= "=") (identifier "puVar6")) (; ";")) (if_statement "if ((char)bVar2 < '\x01') break;" (if "if") (parenthesized_expression "((char)bVar2 < '\x01')" (( "(") (binary_expression "(char)bVar2 < '\x01'" (cast_expression "(char)bVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar2")) (< "<") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar7 = param_5;" (assignment_expression "puVar7 = param_5" (identifier "puVar7") (= "=") (identifier "param_5")) (; ";")) (expression_statement "puVar8 = puVar6;" (assignment_expression "puVar8 = puVar6" (identifier "puVar8") (= "=") (identifier "puVar6")) (; ";")) (do_statement "do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);" (do "do") (compound_statement "{\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      }" ({ "{") (expression_statement "puVar1 = puVar7 + 1;" (assignment_expression "puVar1 = puVar7 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar7 = puVar1;" (assignment_expression "puVar7 = puVar1" (identifier "puVar7") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1)" (( "(") (binary_expression "puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1" (identifier "puVar1") (!= "!=") (binary_expression "param_5 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_5 + (bVar2 - 1 & 0xff)" (identifier "param_5") (+ "+") (parenthesized_expression "(bVar2 - 1 & 0xff)" (( "(") (binary_expression "bVar2 - 1 & 0xff" (binary_expression "bVar2 - 1" (identifier "bVar2") (- "-") (number_literal "1")) (& "&") (number_literal "0xff")) () ")"))) (+ "+") (number_literal "1"))) () ")")) (; ";")) (expression_statement "local_14 = local_14 + -1;" (assignment_expression "local_14 = local_14 + -1" (identifier "local_14") (= "=") (binary_expression "local_14 + -1" (identifier "local_14") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "param_5 = param_5 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_5 = param_5 + (char)(bVar2 - 1) + 1" (identifier "param_5") (= "=") (binary_expression "param_5 + (char)(bVar2 - 1) + 1" (binary_expression "param_5 + (char)(bVar2 - 1)" (identifier "param_5") (+ "+") (cast_expression "(char)(bVar2 - 1)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(bVar2 - 1)" (( "(") (binary_expression "bVar2 - 1" (identifier "bVar2") (- "-") (number_literal "1")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = puVar6 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_1 = puVar6 + (char)(bVar2 - 1) + 1" (identifier "param_1") (= "=") (binary_expression "puVar6 + (char)(bVar2 - 1) + 1" (binary_expression "puVar6 + (char)(bVar2 - 1)" (identifier "puVar6") (+ "+") (cast_expression "(char)(bVar2 - 1)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(bVar2 - 1)" (( "(") (binary_expression "bVar2 - 1" (identifier "bVar2") (- "-") (number_literal "1")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (local_14 == -1) goto joined_r0x002565e8;" (if "if") (parenthesized_expression "(local_14 == -1)" (( "(") (binary_expression "local_14 == -1" (identifier "local_14") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto joined_r0x002565e8;" (goto "goto") (statement_identifier "joined_r0x002565e8") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "joined_r0x002565e8:\n  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" (statement_identifier "joined_r0x002565e8") (: ":") (while_statement "while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" (while "while") (parenthesized_expression "(uVar3 = uVar3 - 1, uVar3 != 0xffffffff)" (( "(") (comma_expression "uVar3 = uVar3 - 1, uVar3 != 0xffffffff" (assignment_expression "uVar3 = uVar3 - 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1"))) (, ",") (binary_expression "uVar3 != 0xffffffff" (identifier "uVar3") (!= "!=") (number_literal "0xffffffff"))) () ")")) (compound_statement "{\n    puVar6 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar3];\n    param_1 = puVar6;\n    if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }\n  }" ({ "{") (expression_statement "puVar6 = param_1 + 1;" (assignment_expression "puVar6 = param_1 + 1" (identifier "puVar6") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "bVar2 = param_3[uVar3];" (assignment_expression "bVar2 = param_3[uVar3]" (identifier "bVar2") (= "=") (subscript_expression "param_3[uVar3]" (identifier "param_3") ([ "[") (identifier "uVar3") (] "]"))) (; ";")) (expression_statement "param_1 = puVar6;" (assignment_expression "param_1 = puVar6" (identifier "param_1") (= "=") (identifier "puVar6")) (; ";")) (if_statement "if ('\0' < (char)bVar2) {\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }" (if "if") (parenthesized_expression "('\0' < (char)bVar2)" (( "(") (binary_expression "'\0' < (char)bVar2" (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")) (< "<") (cast_expression "(char)bVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar2"))) () ")")) (compound_statement "{\n      puVar7 = param_5;\n      puVar8 = puVar6;\n      do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);\n      param_5 = param_5 + (char)(bVar2 - 1) + 1;\n      param_1 = puVar6 + (char)(bVar2 - 1) + 1;\n    }" ({ "{") (expression_statement "puVar7 = param_5;" (assignment_expression "puVar7 = param_5" (identifier "puVar7") (= "=") (identifier "param_5")) (; ";")) (expression_statement "puVar8 = puVar6;" (assignment_expression "puVar8 = puVar6" (identifier "puVar8") (= "=") (identifier "puVar6")) (; ";")) (do_statement "do {\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);" (do "do") (compound_statement "{\n        puVar1 = puVar7 + 1;\n        *puVar8 = *puVar7;\n        puVar7 = puVar1;\n        puVar8 = puVar8 + 1;\n      }" ({ "{") (expression_statement "puVar1 = puVar7 + 1;" (assignment_expression "puVar1 = puVar7 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar8 = *puVar7;" (assignment_expression "*puVar8 = *puVar7" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar7 = puVar1;" (assignment_expression "puVar7 = puVar1" (identifier "puVar7") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1)" (( "(") (binary_expression "puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1" (identifier "puVar1") (!= "!=") (binary_expression "param_5 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_5 + (bVar2 - 1 & 0xff)" (identifier "param_5") (+ "+") (parenthesized_expression "(bVar2 - 1 & 0xff)" (( "(") (binary_expression "bVar2 - 1 & 0xff" (binary_expression "bVar2 - 1" (identifier "bVar2") (- "-") (number_literal "1")) (& "&") (number_literal "0xff")) () ")"))) (+ "+") (number_literal "1"))) () ")")) (; ";")) (expression_statement "param_5 = param_5 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_5 = param_5 + (char)(bVar2 - 1) + 1" (identifier "param_5") (= "=") (binary_expression "param_5 + (char)(bVar2 - 1) + 1" (binary_expression "param_5 + (char)(bVar2 - 1)" (identifier "param_5") (+ "+") (cast_expression "(char)(bVar2 - 1)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(bVar2 - 1)" (( "(") (binary_expression "bVar2 - 1" (identifier "bVar2") (- "-") (number_literal "1")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = puVar6 + (char)(bVar2 - 1) + 1;" (assignment_expression "param_1 = puVar6 + (char)(bVar2 - 1) + 1" (identifier "param_1") (= "=") (binary_expression "puVar6 + (char)(bVar2 - 1) + 1" (binary_expression "puVar6 + (char)(bVar2 - 1)" (identifier "puVar6") (+ "+") (cast_expression "(char)(bVar2 - 1)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(bVar2 - 1)" (( "(") (binary_expression "bVar2 - 1" (identifier "bVar2") (- "-") (number_literal "1")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* wchar_t* std::__add_grouping<wchar_t>(wchar_t*, wchar_t, char const*, unsigned int, wchar_t
   const*, wchar_t const*) */

type_1 * std::__add_grouping<type_1>
                    (type_1 *var_11,type_1 param_2,char *param_3,type_3 var_4,type_1 *var_7,
                    type_1 *var_3)

{
  type_1 *var_12;
  type_2 var_13;
  type_3 var_5;
  int var_1;
  char var_2;
  type_1 *var_8;
  type_1 *var_9;
  type_1 *var_10;
  int var_6;
  
  var_6 = 0;
  var_2 = *param_3;
  var_5 = 0;
  var_1 = (int)var_2;
  while (var_1 < (int)var_3 - (int)var_7 >> 2) {
    while( true ) {
      if (0x7d < (type_2)(var_2 - 1U)) goto LAB_0025655f;
      var_3 = var_3 + -var_1;
      if (var_4 - 1 <= var_5) break;
      var_5 = var_5 + 1;
      var_2 = param_3[var_5];
      var_1 = (int)var_2;
      if ((int)var_3 - (int)var_7 >> 2 <= var_1) goto LAB_0025655f;
    }
    var_6 = var_6 + 1;
  }
LAB_0025655f:
  var_8 = var_7;
  var_9 = var_11;
  if (var_3 != var_7) {
    do {
      var_10 = var_8 + 1;
      *var_9 = *var_8;
      var_8 = var_10;
      var_9 = var_9 + 1;
    } while (var_3 != var_10);
    var_1 = ((int)var_3 + (-4 - (int)var_7) & 0xfffffffcU) + 4;
    var_7 = (type_1 *)((int)var_7 + var_1);
    var_11 = (type_1 *)(var_1 + (int)var_11);
  }
  while (var_6 = var_6 + -1, var_6 != -1) {
    while( true ) {
      var_8 = var_11 + 1;
      *var_11 = param_2;
      var_13 = param_3[var_5];
      var_11 = var_8;
      if ((char)var_13 < '\x01') break;
      var_9 = var_7;
      var_10 = var_8;
      do {
        var_12 = var_9 + 1;
        *var_10 = *var_9;
        var_9 = var_12;
        var_10 = var_10 + 1;
      } while (var_12 != var_7 + (var_13 - 1 & 0xff) + 1);
      var_6 = var_6 + -1;
      var_7 = var_7 + (char)(var_13 - 1) + 1;
      var_11 = var_8 + (char)(var_13 - 1) + 1;
      if (var_6 == -1) goto joined_r0x002565e8;
    }
  }
joined_r0x002565e8:
  while (var_5 = var_5 - 1, var_5 != 0xffffffff) {
    var_8 = var_11 + 1;
    *var_11 = param_2;
    var_13 = param_3[var_5];
    var_11 = var_8;
    if ('\0' < (char)var_13) {
      var_9 = var_7;
      var_10 = var_8;
      do {
        var_12 = var_9 + 1;
        *var_10 = *var_9;
        var_9 = var_12;
        var_10 = var_10 + 1;
      } while (var_12 != var_7 + (var_13 - 1 & 0xff) + 1);
      var_7 = var_7 + (char)(var_13 - 1) + 1;
      var_11 = var_8 + (char)(var_13 - 1) + 1;
    }
  }
  return var_11;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (unary_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))))) (labeled_statement label: (statement_identifier) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (char_literal (escape_sequence)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))))) (return_statement))))

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

{
  undefined4 *puVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  char cVar5;
  undefined4 *puVar6;
  undefined4 *puVar7;
  undefined4 *puVar8;
  int local_14;
  
  local_14 = 0;
  cVar5 = *param_3;
  uVar3 = 0;
  iVar4 = (int)cVar5;
  while (iVar4 < (int)param_6 - (int)param_5 >> 2) {
    while( true ) {
      if (0x7d < (byte)(cVar5 - 1U)) goto LAB_0025655f;
      param_6 = param_6 + -iVar4;
      if (param_4 - 1U <= uVar3) break;
      uVar3 = uVar3 + 1;
      cVar5 = param_3[uVar3];
      iVar4 = (int)cVar5;
      if ((int)param_6 - (int)param_5 >> 2 <= iVar4) goto LAB_0025655f;
    }
    local_14 = local_14 + 1;
  }
LAB_0025655f:
  puVar6 = param_5;
  puVar7 = param_1;
  if (param_6 != param_5) {
    do {
      puVar8 = puVar6 + 1;
      *puVar7 = *puVar6;
      puVar6 = puVar8;
      puVar7 = puVar7 + 1;
    } while (param_6 != puVar8);
    iVar4 = ((int)param_6 + (-4 - (int)param_5) & 0xfffffffcU) + 4;
    param_5 = (undefined4 *)((int)param_5 + iVar4);
    param_1 = (undefined4 *)(iVar4 + (int)param_1);
  }
  while (local_14 = local_14 + -1, local_14 != -1) {
    while( true ) {
      puVar6 = param_1 + 1;
      *param_1 = param_2;
      bVar2 = param_3[uVar3];
      param_1 = puVar6;
      if ((char)bVar2 < '\x01') break;
      puVar7 = param_5;
      puVar8 = puVar6;
      do {
        puVar1 = puVar7 + 1;
        *puVar8 = *puVar7;
        puVar7 = puVar1;
        puVar8 = puVar8 + 1;
      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);
      local_14 = local_14 + -1;
      param_5 = param_5 + (char)(bVar2 - 1) + 1;
      param_1 = puVar6 + (char)(bVar2 - 1) + 1;
      if (local_14 == -1) goto joined_r0x002565e8;
    }
  }
joined_r0x002565e8:
  while (uVar3 = uVar3 - 1, uVar3 != 0xffffffff) {
    puVar6 = param_1 + 1;
    *param_1 = param_2;
    bVar2 = param_3[uVar3];
    param_1 = puVar6;
    if ('\0' < (char)bVar2) {
      puVar7 = param_5;
      puVar8 = puVar6;
      do {
        puVar1 = puVar7 + 1;
        *puVar8 = *puVar7;
        puVar7 = puVar1;
        puVar8 = puVar8 + 1;
      } while (puVar1 != param_5 + (bVar2 - 1 & 0xff) + 1);
      param_5 = param_5 + (char)(bVar2 - 1) + 1;
      param_1 = puVar6 + (char)(bVar2 - 1) + 1;
    }
  }
  return;
}

