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

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

{
  char *pcVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  char *pcVar7;
  char *pcVar8;
  char *pcVar9;
  int local_18;
  
  uVar5 = 0;
  local_18 = 0;
  uVar3 = (uint)*param_3;
  uVar6 = uVar3;
  while ((int)uVar3 < (int)param_6 - (int)param_5) {
    while( true ) {
      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;
      param_6 = param_6 + -uVar3;
      if (param_4 - 1 <= uVar5) break;
      uVar5 = uVar5 + 1;
      uVar6 = (uint)(byte)param_3[uVar5];
      uVar3 = (uint)param_3[uVar5];
      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;
    }
    local_18 = local_18 + 1;
  }
LAB_001c36b8:
  pcVar7 = param_5;
  pcVar8 = param_1;
  if (param_6 != param_5) {
    do {
      pcVar9 = pcVar7 + 1;
      *pcVar8 = *pcVar7;
      pcVar7 = pcVar9;
      pcVar8 = pcVar8 + 1;
    } while (param_6 != pcVar9);
    param_1 = param_1 + ((int)param_6 - (int)param_5);
  }
  while (local_18 = local_18 + -1, local_18 != -1) {
    while( true ) {
      pcVar7 = param_1 + 1;
      *param_1 = param_2;
      bVar2 = param_3[uVar5];
      param_1 = pcVar7;
      if ((char)bVar2 < '\x01') break;
      pcVar8 = param_6;
      pcVar9 = pcVar7;
      do {
        pcVar1 = pcVar8 + 1;
        *pcVar9 = *pcVar8;
        pcVar8 = pcVar1;
        pcVar9 = pcVar9 + 1;
      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);
      local_18 = local_18 + -1;
      iVar4 = (char)(bVar2 - 1) + 1;
      param_6 = param_6 + iVar4;
      param_1 = pcVar7 + iVar4;
      if (local_18 == -1) goto joined_r0x001c373c;
    }
  }
joined_r0x001c373c:
  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {
    pcVar7 = param_1 + 1;
    *param_1 = param_2;
    bVar2 = param_3[uVar5];
    param_1 = pcVar7;
    if ('\0' < (char)bVar2) {
      pcVar8 = param_6;
      pcVar9 = pcVar7;
      do {
        pcVar1 = pcVar8 + 1;
        *pcVar9 = *pcVar8;
        pcVar8 = pcVar1;
        pcVar9 = pcVar9 + 1;
      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);
      iVar4 = (char)(bVar2 - 1) + 1;
      param_6 = param_6 + iVar4;
      param_1 = pcVar7 + iVar4;
    }
  }
  return param_1;
}



void FUN_001c3650(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,
                 undefined1 *param_5,undefined1 *param_6)

{
  undefined1 *puVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  undefined1 *puVar9;
  int local_18;
  
  uVar5 = 0;
  local_18 = 0;
  uVar3 = (uint)*param_3;
  uVar6 = uVar3;
  while ((int)uVar3 < (int)param_6 - (int)param_5) {
    while( true ) {
      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;
      param_6 = param_6 + -uVar3;
      if (param_4 - 1U <= uVar5) break;
      uVar5 = uVar5 + 1;
      uVar6 = (uint)(byte)param_3[uVar5];
      uVar3 = (uint)param_3[uVar5];
      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;
    }
    local_18 = local_18 + 1;
  }
LAB_001c36b8:
  puVar7 = param_5;
  puVar8 = param_1;
  if (param_6 != param_5) {
    do {
      puVar9 = puVar7 + 1;
      *puVar8 = *puVar7;
      puVar7 = puVar9;
      puVar8 = puVar8 + 1;
    } while (param_6 != puVar9);
    param_1 = param_1 + ((int)param_6 - (int)param_5);
  }
  while (local_18 = local_18 + -1, local_18 != -1) {
    while( true ) {
      puVar7 = param_1 + 1;
      *param_1 = param_2;
      bVar2 = param_3[uVar5];
      param_1 = puVar7;
      if ((char)bVar2 < '\x01') break;
      puVar8 = param_6;
      puVar9 = puVar7;
      do {
        puVar1 = puVar8 + 1;
        *puVar9 = *puVar8;
        puVar8 = puVar1;
        puVar9 = puVar9 + 1;
      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);
      local_18 = local_18 + -1;
      iVar4 = (char)(bVar2 - 1) + 1;
      param_6 = param_6 + iVar4;
      param_1 = puVar7 + iVar4;
      if (local_18 == -1) goto joined_r0x001c373c;
    }
  }
joined_r0x001c373c:
  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {
    puVar7 = param_1 + 1;
    *param_1 = param_2;
    bVar2 = param_3[uVar5];
    param_1 = puVar7;
    if ('\0' < (char)bVar2) {
      puVar8 = param_6;
      puVar9 = puVar7;
      do {
        puVar1 = puVar8 + 1;
        *puVar9 = *puVar8;
        puVar8 = puVar1;
        puVar9 = puVar9 + 1;
      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);
      iVar4 = (char)(bVar2 - 1) + 1;
      param_6 = param_6 + iVar4;
      param_1 = puVar7 + iVar4;
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
XOR EBX,EBX
SUB ESP,0x8
MOVZX EAX,byte ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x28]
MOV dword ptr [ESP],0x0
MOV EDX,dword ptr [ESP + 0x30]
MOV byte ptr [ESP + 0x7],AL
MOV EAX,dword ptr [ESP + 0x24]
LEA ESI,[EDI + -0x1]
MOVSX EAX,byte ptr [EAX]
MOV EBP,EAX
LEA ESI,[ESI]
MOV EDI,EDX
SUB EDI,dword ptr [ESP + 0x2c]
CMP EDI,EAX
JLE 0x001c36b8
LEA EDI,[EBP + -0x1]
MOV ECX,EDI
CMP CL,0x7d
JA 0x001c36b8
SUB EDX,EAX
CMP ESI,EBX
JBE 0x001c3790
MOV EAX,dword ptr [ESP + 0x24]
ADD EBX,0x1
MOV EDI,EDX
SUB EDI,dword ptr [ESP + 0x2c]
MOVZX EBP,byte ptr [EAX + EBX*0x1]
MOV EAX,EBP
MOVSX EAX,AL
CMP EDI,EAX
JG 0x001c368a
CMP EDX,dword ptr [ESP + 0x2c]
JZ 0x001c37af
MOV ESI,dword ptr [ESP + 0x2c]
MOV EDI,dword ptr [ESP + 0x1c]
LEA ESI,[ESI]
MOVSB ES:EDI,ESI
CMP EDX,ESI
JNZ 0x001c36d0
MOV EAX,EDX
SUB EAX,dword ptr [ESP + 0x2c]
ADD EAX,dword ptr [ESP + 0x1c]
SUB dword ptr [ESP],0x1
MOV EDI,dword ptr [ESP]
CMP EDI,-0x1
JZ 0x001c3736
MOVZX ECX,byte ptr [ESP + 0x7]
LEA EBP,[EAX + 0x1]
MOV byte ptr [EAX],CL
MOV EAX,dword ptr [ESP + 0x24]
MOVZX EAX,byte ptr [EAX + EBX*0x1]
TEST AL,AL
JLE 0x001c37a8
LEA ECX,[EAX + -0x1]
MOV ESI,EDX
MOV EDI,EBP
MOVZX ECX,CL
LEA ECX,[EDX + ECX*0x1 + 0x1]
LEA ESI,[ESI]
NOP
MOVSB ES:EDI,ESI
CMP ESI,ECX
JNZ 0x001c3718
SUB EAX,0x1
SUB dword ptr [ESP],0x1
MOV EDI,dword ptr [ESP]
MOVSX EAX,AL
ADD EAX,0x1
ADD EDX,EAX
ADD EAX,EBP
CMP EDI,-0x1
JNZ 0x001c36eb
SUB EBX,0x1
CMP EBX,-0x1
JZ 0x001c3782
MOVZX ECX,byte ptr [ESP + 0x7]
LEA EBP,[EAX + 0x1]
MOV byte ptr [EAX],CL
MOV EAX,dword ptr [ESP + 0x24]
MOVZX EAX,byte ptr [EAX + EBX*0x1]
TEST AL,AL
JLE 0x001c37a0
LEA ECX,[EAX + -0x1]
MOV ESI,EDX
MOV EDI,EBP
MOVZX ECX,CL
LEA ECX,[EDX + ECX*0x1 + 0x1]
LEA ESI,[ESI]
MOVSB ES:EDI,ESI
CMP ESI,ECX
JNZ 0x001c3768
SUB EAX,0x1
SUB EBX,0x1
MOVSX EAX,AL
ADD EAX,0x1
ADD EDX,EAX
ADD EAX,EBP
CMP EBX,-0x1
JNZ 0x001c373e
ADD ESP,0x8
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD dword ptr [ESP],0x1
JMP 0x001c3680
MOV EAX,EBP
JMP 0x001c3736
MOV EAX,EBP
JMP 0x001c36df
MOV EAX,dword ptr [ESP + 0x1c]
JMP 0x001c36df
(translation_unit "void FUN_001c3650(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  puVar7 = param_5;\n  puVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_001c3650(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  puVar7 = param_5;\n  puVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001c3650(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)" identifier (parameter_list "(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 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 "undefined1 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined1 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  puVar7 = param_5;\n  puVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }\n  return;\n}" { (declaration "undefined1 *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 "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int local_18;" primitive_type identifier ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" identifier = (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar6 = uVar3;" (assignment_expression "uVar6 = uVar3" identifier = identifier) ;) (while_statement "while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }" while (parenthesized_expression "((int)uVar3 < (int)param_6 - (int)param_5)" ( (binary_expression "(int)uVar3 < (int)param_6 - (int)param_5" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < (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))) )) (compound_statement "{\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }" { (while_statement "while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }" { (if_statement "if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;" if (parenthesized_expression "(0x7d < (byte)((char)uVar6 - 1U))" ( (binary_expression "0x7d < (byte)((char)uVar6 - 1U)" number_literal < (call_expression "(byte)((char)uVar6 - 1U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((char)uVar6 - 1U)" ( (binary_expression "(char)uVar6 - 1U" (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier) - number_literal) )))) )) (goto_statement "goto LAB_001c36b8;" goto statement_identifier ;)) (expression_statement "param_6 = param_6 + -uVar3;" (assignment_expression "param_6 = param_6 + -uVar3" identifier = (binary_expression "param_6 + -uVar3" identifier + (unary_expression "-uVar3" - identifier))) ;) (if_statement "if (param_4 - 1U <= uVar5) break;" if (parenthesized_expression "(param_4 - 1U <= uVar5)" ( (binary_expression "param_4 - 1U <= uVar5" (binary_expression "param_4 - 1U" identifier - number_literal) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (uint)(byte)param_3[uVar5];" (assignment_expression "uVar6 = (uint)(byte)param_3[uVar5]" identifier = (cast_expression "(uint)(byte)param_3[uVar5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_3[uVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_3[uVar5]" identifier [ identifier ])))) ;) (expression_statement "uVar3 = (uint)param_3[uVar5];" (assignment_expression "uVar3 = (uint)param_3[uVar5]" identifier = (cast_expression "(uint)param_3[uVar5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[uVar5]" identifier [ identifier ]))) ;) (if_statement "if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;" if (parenthesized_expression "((int)param_6 - (int)param_5 <= (int)uVar3)" ( (binary_expression "(int)param_6 - (int)param_5 <= (int)uVar3" (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)) <= (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_001c36b8;" goto statement_identifier ;)) })) (expression_statement "local_18 = local_18 + 1;" (assignment_expression "local_18 = local_18 + 1" identifier = (binary_expression "local_18 + 1" identifier + number_literal)) ;) })) (labeled_statement "LAB_001c36b8:\n  puVar7 = param_5;" statement_identifier : (expression_statement "puVar7 = param_5;" (assignment_expression "puVar7 = param_5" identifier = identifier) ;)) (expression_statement "puVar8 = param_1;" (assignment_expression "puVar8 = param_1" identifier = identifier) ;) (if_statement "if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }" if (parenthesized_expression "(param_6 != param_5)" ( (binary_expression "param_6 != param_5" identifier != identifier) )) (compound_statement "{\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }" { (do_statement "do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);" do (compound_statement "{\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    }" { (expression_statement "puVar9 = puVar7 + 1;" (assignment_expression "puVar9 = 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 = puVar9;" (assignment_expression "puVar7 = puVar9" identifier = identifier) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_6 != puVar9)" ( (binary_expression "param_6 != puVar9" identifier != identifier) )) ;) (expression_statement "param_1 = param_1 + ((int)param_6 - (int)param_5);" (assignment_expression "param_1 = param_1 + ((int)param_6 - (int)param_5)" identifier = (binary_expression "param_1 + ((int)param_6 - (int)param_5)" identifier + (parenthesized_expression "((int)param_6 - (int)param_5)" ( (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)) )))) ;) })) (while_statement "while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }" while (parenthesized_expression "(local_18 = local_18 + -1, local_18 != -1)" ( (comma_expression "local_18 = local_18 + -1, local_18 != -1" (assignment_expression "local_18 = local_18 + -1" identifier = (binary_expression "local_18 + -1" identifier + number_literal)) , (binary_expression "local_18 != -1" identifier != number_literal)) )) (compound_statement "{\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }" { (while_statement "while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }" { (expression_statement "puVar7 = param_1 + 1;" (assignment_expression "puVar7 = 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[uVar5];" (assignment_expression "bVar2 = param_3[uVar5]" identifier = (subscript_expression "param_3[uVar5]" identifier [ identifier ])) ;) (expression_statement "param_1 = puVar7;" (assignment_expression "param_1 = puVar7" 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 "puVar8 = param_6;" (assignment_expression "puVar8 = param_6" identifier = identifier) ;) (expression_statement "puVar9 = puVar7;" (assignment_expression "puVar9 = puVar7" identifier = identifier) ;) (do_statement "do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      }" { (expression_statement "puVar1 = puVar8 + 1;" (assignment_expression "puVar1 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = *puVar8;" (assignment_expression "*puVar9 = *puVar8" (pointer_expression "*puVar9" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar1;" (assignment_expression "puVar8 = puVar1" identifier = identifier) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_6 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_6 + (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_18 = local_18 + -1;" (assignment_expression "local_18 = local_18 + -1" identifier = (binary_expression "local_18 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = (char)(bVar2 - 1) + 1;" (assignment_expression "iVar4 = (char)(bVar2 - 1) + 1" identifier = (binary_expression "(char)(bVar2 - 1) + 1" (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_6 = param_6 + iVar4;" (assignment_expression "param_6 = param_6 + iVar4" identifier = (binary_expression "param_6 + iVar4" identifier + identifier)) ;) (expression_statement "param_1 = puVar7 + iVar4;" (assignment_expression "param_1 = puVar7 + iVar4" identifier = (binary_expression "puVar7 + iVar4" identifier + identifier)) ;) (if_statement "if (local_18 == -1) goto joined_r0x001c373c;" if (parenthesized_expression "(local_18 == -1)" ( (binary_expression "local_18 == -1" identifier == number_literal) )) (goto_statement "goto joined_r0x001c373c;" goto statement_identifier ;)) })) })) (labeled_statement "joined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }" statement_identifier : (while_statement "while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }" while (parenthesized_expression "(uVar5 = uVar5 - 1, uVar5 != 0xffffffff)" ( (comma_expression "uVar5 = uVar5 - 1, uVar5 != 0xffffffff" (assignment_expression "uVar5 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) , (binary_expression "uVar5 != 0xffffffff" identifier != number_literal)) )) (compound_statement "{\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }" { (expression_statement "puVar7 = param_1 + 1;" (assignment_expression "puVar7 = 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[uVar5];" (assignment_expression "bVar2 = param_3[uVar5]" identifier = (subscript_expression "param_3[uVar5]" identifier [ identifier ])) ;) (expression_statement "param_1 = puVar7;" (assignment_expression "param_1 = puVar7" identifier = identifier) ;) (if_statement "if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\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      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }" { (expression_statement "puVar8 = param_6;" (assignment_expression "puVar8 = param_6" identifier = identifier) ;) (expression_statement "puVar9 = puVar7;" (assignment_expression "puVar9 = puVar7" identifier = identifier) ;) (do_statement "do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      }" { (expression_statement "puVar1 = puVar8 + 1;" (assignment_expression "puVar1 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = *puVar8;" (assignment_expression "*puVar9 = *puVar8" (pointer_expression "*puVar9" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar1;" (assignment_expression "puVar8 = puVar1" identifier = identifier) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_6 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_6 + (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 "iVar4 = (char)(bVar2 - 1) + 1;" (assignment_expression "iVar4 = (char)(bVar2 - 1) + 1" identifier = (binary_expression "(char)(bVar2 - 1) + 1" (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_6 = param_6 + iVar4;" (assignment_expression "param_6 = param_6 + iVar4" identifier = (binary_expression "param_6 + iVar4" identifier + identifier)) ;) (expression_statement "param_1 = puVar7 + iVar4;" (assignment_expression "param_1 = puVar7 + iVar4" identifier = (binary_expression "puVar7 + iVar4" identifier + identifier)) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* char* std::__add_grouping<char>(char*, char, char const*, unsigned int, char const*, char const*)\n    */\n\nchar * std::__add_grouping<char>\n                 (char *param_1,char param_2,char *param_3,uint param_4,char *param_5,char *param_6)\n\n{\n  char *pcVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  char *pcVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1 <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  pcVar7 = param_5;\n  pcVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      pcVar9 = pcVar7 + 1;\n      *pcVar8 = *pcVar7;\n      pcVar7 = pcVar9;\n      pcVar8 = pcVar8 + 1;\n    } while (param_6 != pcVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      pcVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = pcVar7;\n      if ((char)bVar2 < '\x01') break;\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    pcVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = pcVar7;\n    if ('\0' < (char)bVar2) {\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n    }\n  }\n  return param_1;\n}\n\n" comment comment (function_definition "char * std::__add_grouping<char>\n                 (char *param_1,char param_2,char *param_3,uint param_4,char *param_5,char *param_6)\n\n{\n  char *pcVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  char *pcVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1 <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  pcVar7 = param_5;\n  pcVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      pcVar9 = pcVar7 + 1;\n      *pcVar8 = *pcVar7;\n      pcVar7 = pcVar9;\n      pcVar8 = pcVar8 + 1;\n    } while (param_6 != pcVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      pcVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = pcVar7;\n      if ((char)bVar2 < '\x01') break;\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    pcVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = pcVar7;\n    if ('\0' < (char)bVar2) {\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n    }\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* std::__add_grouping<char>\n                 (char *param_1,char param_2,char *param_3,uint param_4,char *param_5,char *param_6)" * (ERROR "std::" identifier : :) (function_declarator "__add_grouping<char>\n                 (char *param_1,char param_2,char *param_3,uint param_4,char *param_5,char *param_6)" identifier (ERROR "<char>" < primitive_type >) (parameter_list "(char *param_1,char param_2,char *param_3,uint param_4,char *param_5,char *param_6)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "char *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  char *pcVar7;\n  char *pcVar8;\n  char *pcVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1 <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  pcVar7 = param_5;\n  pcVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      pcVar9 = pcVar7 + 1;\n      *pcVar8 = *pcVar7;\n      pcVar7 = pcVar9;\n      pcVar8 = pcVar8 + 1;\n    } while (param_6 != pcVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      pcVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = pcVar7;\n      if ((char)bVar2 < '\x01') break;\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    pcVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = pcVar7;\n    if ('\0' < (char)bVar2) {\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n    }\n  }\n  return param_1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int local_18;" primitive_type identifier ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" identifier = (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar6 = uVar3;" (assignment_expression "uVar6 = uVar3" identifier = identifier) ;) (while_statement "while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1 <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }" while (parenthesized_expression "((int)uVar3 < (int)param_6 - (int)param_5)" ( (binary_expression "(int)uVar3 < (int)param_6 - (int)param_5" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < (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))) )) (compound_statement "{\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1 <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }" { (while_statement "while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1 <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1 <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }" { (if_statement "if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;" if (parenthesized_expression "(0x7d < (byte)((char)uVar6 - 1U))" ( (binary_expression "0x7d < (byte)((char)uVar6 - 1U)" number_literal < (call_expression "(byte)((char)uVar6 - 1U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((char)uVar6 - 1U)" ( (binary_expression "(char)uVar6 - 1U" (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier) - number_literal) )))) )) (goto_statement "goto LAB_001c36b8;" goto statement_identifier ;)) (expression_statement "param_6 = param_6 + -uVar3;" (assignment_expression "param_6 = param_6 + -uVar3" identifier = (binary_expression "param_6 + -uVar3" identifier + (unary_expression "-uVar3" - identifier))) ;) (if_statement "if (param_4 - 1 <= uVar5) break;" if (parenthesized_expression "(param_4 - 1 <= uVar5)" ( (binary_expression "param_4 - 1 <= uVar5" (binary_expression "param_4 - 1" identifier - number_literal) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (uint)(byte)param_3[uVar5];" (assignment_expression "uVar6 = (uint)(byte)param_3[uVar5]" identifier = (cast_expression "(uint)(byte)param_3[uVar5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_3[uVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_3[uVar5]" identifier [ identifier ])))) ;) (expression_statement "uVar3 = (uint)param_3[uVar5];" (assignment_expression "uVar3 = (uint)param_3[uVar5]" identifier = (cast_expression "(uint)param_3[uVar5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[uVar5]" identifier [ identifier ]))) ;) (if_statement "if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;" if (parenthesized_expression "((int)param_6 - (int)param_5 <= (int)uVar3)" ( (binary_expression "(int)param_6 - (int)param_5 <= (int)uVar3" (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)) <= (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_001c36b8;" goto statement_identifier ;)) })) (expression_statement "local_18 = local_18 + 1;" (assignment_expression "local_18 = local_18 + 1" identifier = (binary_expression "local_18 + 1" identifier + number_literal)) ;) })) (labeled_statement "LAB_001c36b8:\n  pcVar7 = param_5;" statement_identifier : (expression_statement "pcVar7 = param_5;" (assignment_expression "pcVar7 = param_5" identifier = identifier) ;)) (expression_statement "pcVar8 = param_1;" (assignment_expression "pcVar8 = param_1" identifier = identifier) ;) (if_statement "if (param_6 != param_5) {\n    do {\n      pcVar9 = pcVar7 + 1;\n      *pcVar8 = *pcVar7;\n      pcVar7 = pcVar9;\n      pcVar8 = pcVar8 + 1;\n    } while (param_6 != pcVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }" if (parenthesized_expression "(param_6 != param_5)" ( (binary_expression "param_6 != param_5" identifier != identifier) )) (compound_statement "{\n    do {\n      pcVar9 = pcVar7 + 1;\n      *pcVar8 = *pcVar7;\n      pcVar7 = pcVar9;\n      pcVar8 = pcVar8 + 1;\n    } while (param_6 != pcVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }" { (do_statement "do {\n      pcVar9 = pcVar7 + 1;\n      *pcVar8 = *pcVar7;\n      pcVar7 = pcVar9;\n      pcVar8 = pcVar8 + 1;\n    } while (param_6 != pcVar9);" do (compound_statement "{\n      pcVar9 = pcVar7 + 1;\n      *pcVar8 = *pcVar7;\n      pcVar7 = pcVar9;\n      pcVar8 = pcVar8 + 1;\n    }" { (expression_statement "pcVar9 = pcVar7 + 1;" (assignment_expression "pcVar9 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar8 = *pcVar7;" (assignment_expression "*pcVar8 = *pcVar7" (pointer_expression "*pcVar8" * identifier) = (pointer_expression "*pcVar7" * identifier)) ;) (expression_statement "pcVar7 = pcVar9;" (assignment_expression "pcVar7 = pcVar9" identifier = identifier) ;) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_6 != pcVar9)" ( (binary_expression "param_6 != pcVar9" identifier != identifier) )) ;) (expression_statement "param_1 = param_1 + ((int)param_6 - (int)param_5);" (assignment_expression "param_1 = param_1 + ((int)param_6 - (int)param_5)" identifier = (binary_expression "param_1 + ((int)param_6 - (int)param_5)" identifier + (parenthesized_expression "((int)param_6 - (int)param_5)" ( (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)) )))) ;) })) (while_statement "while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      pcVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = pcVar7;\n      if ((char)bVar2 < '\x01') break;\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }" while (parenthesized_expression "(local_18 = local_18 + -1, local_18 != -1)" ( (comma_expression "local_18 = local_18 + -1, local_18 != -1" (assignment_expression "local_18 = local_18 + -1" identifier = (binary_expression "local_18 + -1" identifier + number_literal)) , (binary_expression "local_18 != -1" identifier != number_literal)) )) (compound_statement "{\n    while( true ) {\n      pcVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = pcVar7;\n      if ((char)bVar2 < '\x01') break;\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }" { (while_statement "while( true ) {\n      pcVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = pcVar7;\n      if ((char)bVar2 < '\x01') break;\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pcVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = pcVar7;\n      if ((char)bVar2 < '\x01') break;\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }" { (expression_statement "pcVar7 = param_1 + 1;" (assignment_expression "pcVar7 = 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[uVar5];" (assignment_expression "bVar2 = param_3[uVar5]" identifier = (subscript_expression "param_3[uVar5]" identifier [ identifier ])) ;) (expression_statement "param_1 = pcVar7;" (assignment_expression "param_1 = pcVar7" 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 "pcVar8 = param_6;" (assignment_expression "pcVar8 = param_6" identifier = identifier) ;) (expression_statement "pcVar9 = pcVar7;" (assignment_expression "pcVar9 = pcVar7" identifier = identifier) ;) (do_statement "do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      }" { (expression_statement "pcVar1 = pcVar8 + 1;" (assignment_expression "pcVar1 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar9 = *pcVar8;" (assignment_expression "*pcVar9 = *pcVar8" (pointer_expression "*pcVar9" * identifier) = (pointer_expression "*pcVar8" * identifier)) ;) (expression_statement "pcVar8 = pcVar1;" (assignment_expression "pcVar8 = pcVar1" identifier = identifier) ;) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_6 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_6 + (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_18 = local_18 + -1;" (assignment_expression "local_18 = local_18 + -1" identifier = (binary_expression "local_18 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = (char)(bVar2 - 1) + 1;" (assignment_expression "iVar4 = (char)(bVar2 - 1) + 1" identifier = (binary_expression "(char)(bVar2 - 1) + 1" (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_6 = param_6 + iVar4;" (assignment_expression "param_6 = param_6 + iVar4" identifier = (binary_expression "param_6 + iVar4" identifier + identifier)) ;) (expression_statement "param_1 = pcVar7 + iVar4;" (assignment_expression "param_1 = pcVar7 + iVar4" identifier = (binary_expression "pcVar7 + iVar4" identifier + identifier)) ;) (if_statement "if (local_18 == -1) goto joined_r0x001c373c;" if (parenthesized_expression "(local_18 == -1)" ( (binary_expression "local_18 == -1" identifier == number_literal) )) (goto_statement "goto joined_r0x001c373c;" goto statement_identifier ;)) })) })) (labeled_statement "joined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    pcVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = pcVar7;\n    if ('\0' < (char)bVar2) {\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n    }\n  }" statement_identifier : (while_statement "while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    pcVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = pcVar7;\n    if ('\0' < (char)bVar2) {\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n    }\n  }" while (parenthesized_expression "(uVar5 = uVar5 - 1, uVar5 != 0xffffffff)" ( (comma_expression "uVar5 = uVar5 - 1, uVar5 != 0xffffffff" (assignment_expression "uVar5 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) , (binary_expression "uVar5 != 0xffffffff" identifier != number_literal)) )) (compound_statement "{\n    pcVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = pcVar7;\n    if ('\0' < (char)bVar2) {\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n    }\n  }" { (expression_statement "pcVar7 = param_1 + 1;" (assignment_expression "pcVar7 = 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[uVar5];" (assignment_expression "bVar2 = param_3[uVar5]" identifier = (subscript_expression "param_3[uVar5]" identifier [ identifier ])) ;) (expression_statement "param_1 = pcVar7;" (assignment_expression "param_1 = pcVar7" identifier = identifier) ;) (if_statement "if ('\0' < (char)bVar2) {\n      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\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      pcVar8 = param_6;\n      pcVar9 = pcVar7;\n      do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = pcVar7 + iVar4;\n    }" { (expression_statement "pcVar8 = param_6;" (assignment_expression "pcVar8 = param_6" identifier = identifier) ;) (expression_statement "pcVar9 = pcVar7;" (assignment_expression "pcVar9 = pcVar7" identifier = identifier) ;) (do_statement "do {\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      } while (pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        pcVar1 = pcVar8 + 1;\n        *pcVar9 = *pcVar8;\n        pcVar8 = pcVar1;\n        pcVar9 = pcVar9 + 1;\n      }" { (expression_statement "pcVar1 = pcVar8 + 1;" (assignment_expression "pcVar1 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar9 = *pcVar8;" (assignment_expression "*pcVar9 = *pcVar8" (pointer_expression "*pcVar9" * identifier) = (pointer_expression "*pcVar8" * identifier)) ;) (expression_statement "pcVar8 = pcVar1;" (assignment_expression "pcVar8 = pcVar1" identifier = identifier) ;) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "pcVar1 != param_6 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_6 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_6 + (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 "iVar4 = (char)(bVar2 - 1) + 1;" (assignment_expression "iVar4 = (char)(bVar2 - 1) + 1" identifier = (binary_expression "(char)(bVar2 - 1) + 1" (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_6 = param_6 + iVar4;" (assignment_expression "param_6 = param_6 + iVar4" identifier = (binary_expression "param_6 + iVar4" identifier + identifier)) ;) (expression_statement "param_1 = pcVar7 + iVar4;" (assignment_expression "param_1 = pcVar7 + iVar4" identifier = (binary_expression "pcVar7 + iVar4" identifier + identifier)) ;) })) }))) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "void FUN_001c3650(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  puVar7 = param_5;\n  puVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_001c3650(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  puVar7 = param_5;\n  puVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001c3650(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)" identifier (parameter_list "(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 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 "undefined1 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined1 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  puVar7 = param_5;\n  puVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }\n  return;\n}" { (declaration "undefined1 *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 "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int local_18;" primitive_type identifier ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" identifier = (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar6 = uVar3;" (assignment_expression "uVar6 = uVar3" identifier = identifier) ;) (while_statement "while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }" while (parenthesized_expression "((int)uVar3 < (int)param_6 - (int)param_5)" ( (binary_expression "(int)uVar3 < (int)param_6 - (int)param_5" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < (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))) )) (compound_statement "{\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }" { (while_statement "while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }" { (if_statement "if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;" if (parenthesized_expression "(0x7d < (byte)((char)uVar6 - 1U))" ( (binary_expression "0x7d < (byte)((char)uVar6 - 1U)" number_literal < (call_expression "(byte)((char)uVar6 - 1U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((char)uVar6 - 1U)" ( (binary_expression "(char)uVar6 - 1U" (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier) - number_literal) )))) )) (goto_statement "goto LAB_001c36b8;" goto statement_identifier ;)) (expression_statement "param_6 = param_6 + -uVar3;" (assignment_expression "param_6 = param_6 + -uVar3" identifier = (binary_expression "param_6 + -uVar3" identifier + (unary_expression "-uVar3" - identifier))) ;) (if_statement "if (param_4 - 1U <= uVar5) break;" if (parenthesized_expression "(param_4 - 1U <= uVar5)" ( (binary_expression "param_4 - 1U <= uVar5" (binary_expression "param_4 - 1U" identifier - number_literal) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = (uint)(byte)param_3[uVar5];" (assignment_expression "uVar6 = (uint)(byte)param_3[uVar5]" identifier = (cast_expression "(uint)(byte)param_3[uVar5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_3[uVar5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_3[uVar5]" identifier [ identifier ])))) ;) (expression_statement "uVar3 = (uint)param_3[uVar5];" (assignment_expression "uVar3 = (uint)param_3[uVar5]" identifier = (cast_expression "(uint)param_3[uVar5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[uVar5]" identifier [ identifier ]))) ;) (if_statement "if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;" if (parenthesized_expression "((int)param_6 - (int)param_5 <= (int)uVar3)" ( (binary_expression "(int)param_6 - (int)param_5 <= (int)uVar3" (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)) <= (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_001c36b8;" goto statement_identifier ;)) })) (expression_statement "local_18 = local_18 + 1;" (assignment_expression "local_18 = local_18 + 1" identifier = (binary_expression "local_18 + 1" identifier + number_literal)) ;) })) (labeled_statement "LAB_001c36b8:\n  puVar7 = param_5;" statement_identifier : (expression_statement "puVar7 = param_5;" (assignment_expression "puVar7 = param_5" identifier = identifier) ;)) (expression_statement "puVar8 = param_1;" (assignment_expression "puVar8 = param_1" identifier = identifier) ;) (if_statement "if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }" if (parenthesized_expression "(param_6 != param_5)" ( (binary_expression "param_6 != param_5" identifier != identifier) )) (compound_statement "{\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }" { (do_statement "do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);" do (compound_statement "{\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    }" { (expression_statement "puVar9 = puVar7 + 1;" (assignment_expression "puVar9 = 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 = puVar9;" (assignment_expression "puVar7 = puVar9" identifier = identifier) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_6 != puVar9)" ( (binary_expression "param_6 != puVar9" identifier != identifier) )) ;) (expression_statement "param_1 = param_1 + ((int)param_6 - (int)param_5);" (assignment_expression "param_1 = param_1 + ((int)param_6 - (int)param_5)" identifier = (binary_expression "param_1 + ((int)param_6 - (int)param_5)" identifier + (parenthesized_expression "((int)param_6 - (int)param_5)" ( (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)) )))) ;) })) (while_statement "while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }" while (parenthesized_expression "(local_18 = local_18 + -1, local_18 != -1)" ( (comma_expression "local_18 = local_18 + -1, local_18 != -1" (assignment_expression "local_18 = local_18 + -1" identifier = (binary_expression "local_18 + -1" identifier + number_literal)) , (binary_expression "local_18 != -1" identifier != number_literal)) )) (compound_statement "{\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }" { (while_statement "while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }" { (expression_statement "puVar7 = param_1 + 1;" (assignment_expression "puVar7 = 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[uVar5];" (assignment_expression "bVar2 = param_3[uVar5]" identifier = (subscript_expression "param_3[uVar5]" identifier [ identifier ])) ;) (expression_statement "param_1 = puVar7;" (assignment_expression "param_1 = puVar7" 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 "puVar8 = param_6;" (assignment_expression "puVar8 = param_6" identifier = identifier) ;) (expression_statement "puVar9 = puVar7;" (assignment_expression "puVar9 = puVar7" identifier = identifier) ;) (do_statement "do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      }" { (expression_statement "puVar1 = puVar8 + 1;" (assignment_expression "puVar1 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = *puVar8;" (assignment_expression "*puVar9 = *puVar8" (pointer_expression "*puVar9" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar1;" (assignment_expression "puVar8 = puVar1" identifier = identifier) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_6 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_6 + (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_18 = local_18 + -1;" (assignment_expression "local_18 = local_18 + -1" identifier = (binary_expression "local_18 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = (char)(bVar2 - 1) + 1;" (assignment_expression "iVar4 = (char)(bVar2 - 1) + 1" identifier = (binary_expression "(char)(bVar2 - 1) + 1" (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_6 = param_6 + iVar4;" (assignment_expression "param_6 = param_6 + iVar4" identifier = (binary_expression "param_6 + iVar4" identifier + identifier)) ;) (expression_statement "param_1 = puVar7 + iVar4;" (assignment_expression "param_1 = puVar7 + iVar4" identifier = (binary_expression "puVar7 + iVar4" identifier + identifier)) ;) (if_statement "if (local_18 == -1) goto joined_r0x001c373c;" if (parenthesized_expression "(local_18 == -1)" ( (binary_expression "local_18 == -1" identifier == number_literal) )) (goto_statement "goto joined_r0x001c373c;" goto statement_identifier ;)) })) })) (labeled_statement "joined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }" statement_identifier : (while_statement "while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }" while (parenthesized_expression "(uVar5 = uVar5 - 1, uVar5 != 0xffffffff)" ( (comma_expression "uVar5 = uVar5 - 1, uVar5 != 0xffffffff" (assignment_expression "uVar5 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) , (binary_expression "uVar5 != 0xffffffff" identifier != number_literal)) )) (compound_statement "{\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }" { (expression_statement "puVar7 = param_1 + 1;" (assignment_expression "puVar7 = 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[uVar5];" (assignment_expression "bVar2 = param_3[uVar5]" identifier = (subscript_expression "param_3[uVar5]" identifier [ identifier ])) ;) (expression_statement "param_1 = puVar7;" (assignment_expression "param_1 = puVar7" identifier = identifier) ;) (if_statement "if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\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      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }" { (expression_statement "puVar8 = param_6;" (assignment_expression "puVar8 = param_6" identifier = identifier) ;) (expression_statement "puVar9 = puVar7;" (assignment_expression "puVar9 = puVar7" identifier = identifier) ;) (do_statement "do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);" do (compound_statement "{\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      }" { (expression_statement "puVar1 = puVar8 + 1;" (assignment_expression "puVar1 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = *puVar8;" (assignment_expression "*puVar9 = *puVar8" (pointer_expression "*puVar9" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar1;" (assignment_expression "puVar8 = puVar1" identifier = identifier) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1)" ( (binary_expression "puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1" identifier != (binary_expression "param_6 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_6 + (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 "iVar4 = (char)(bVar2 - 1) + 1;" (assignment_expression "iVar4 = (char)(bVar2 - 1) + 1" identifier = (binary_expression "(char)(bVar2 - 1) + 1" (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_6 = param_6 + iVar4;" (assignment_expression "param_6 = param_6 + iVar4" identifier = (binary_expression "param_6 + iVar4" identifier + identifier)) ;) (expression_statement "param_1 = puVar7 + iVar4;" (assignment_expression "param_1 = puVar7 + iVar4" identifier = (binary_expression "puVar7 + iVar4" identifier + identifier)) ;) })) }))) (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 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 = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) (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 (cast_expression ( (type_descriptor TYPE) ) 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 = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ])))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) <= (cast_expression ( (type_descriptor TYPE) ) 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 IDENT + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (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 (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) }))) (return_statement return ;) })))
(function_definition "void FUN_001c3650(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)\n\n{\n  undefined1 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  puVar7 = param_5;\n  puVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001c3650(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)" (identifier "FUN_001c3650") (parameter_list "(undefined1 *param_1,undefined1 param_2,char *param_3,int param_4,\n                 undefined1 *param_5,undefined1 *param_6)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined1 param_2" (type_identifier "undefined1") (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 "undefined1 *param_5" (type_identifier "undefined1") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "undefined1 *param_6" (type_identifier "undefined1") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int local_18;\n  \n  uVar5 = 0;\n  local_18 = 0;\n  uVar3 = (uint)*param_3;\n  uVar6 = uVar3;\n  while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }\nLAB_001c36b8:\n  puVar7 = param_5;\n  puVar8 = param_1;\n  if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }\n  while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }\njoined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (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 "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined1 *puVar9;" (type_identifier "undefined1") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" (identifier "local_18") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = (uint)*param_3;" (assignment_expression "uVar3 = (uint)*param_3" (identifier "uVar3") (= "=") (binary_expression "(uint)*param_3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_3"))) (; ";")) (expression_statement "uVar6 = uVar3;" (assignment_expression "uVar6 = uVar3" (identifier "uVar6") (= "=") (identifier "uVar3")) (; ";")) (while_statement "while ((int)uVar3 < (int)param_6 - (int)param_5) {\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }" (while "while") (parenthesized_expression "((int)uVar3 < (int)param_6 - (int)param_5)" (( "(") (binary_expression "(int)uVar3 < (int)param_6 - (int)param_5" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (< "<") (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")))) () ")")) (compound_statement "{\n    while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }\n    local_18 = local_18 + 1;\n  }" ({ "{") (while_statement "while( true ) {\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;\n      param_6 = param_6 + -uVar3;\n      if (param_4 - 1U <= uVar5) break;\n      uVar5 = uVar5 + 1;\n      uVar6 = (uint)(byte)param_3[uVar5];\n      uVar3 = (uint)param_3[uVar5];\n      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;\n    }" ({ "{") (if_statement "if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;" (if "if") (parenthesized_expression "(0x7d < (byte)((char)uVar6 - 1U))" (( "(") (binary_expression "0x7d < (byte)((char)uVar6 - 1U)" (number_literal "0x7d") (< "<") (call_expression "(byte)((char)uVar6 - 1U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((char)uVar6 - 1U)" (( "(") (binary_expression "(char)uVar6 - 1U" (cast_expression "(char)uVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar6")) (- "-") (number_literal "1U")) () ")")))) () ")")) (goto_statement "goto LAB_001c36b8;" (goto "goto") (statement_identifier "LAB_001c36b8") (; ";"))) (expression_statement "param_6 = param_6 + -uVar3;" (assignment_expression "param_6 = param_6 + -uVar3" (identifier "param_6") (= "=") (binary_expression "param_6 + -uVar3" (identifier "param_6") (+ "+") (unary_expression "-uVar3" (- "-") (identifier "uVar3")))) (; ";")) (if_statement "if (param_4 - 1U <= uVar5) break;" (if "if") (parenthesized_expression "(param_4 - 1U <= uVar5)" (( "(") (binary_expression "param_4 - 1U <= uVar5" (binary_expression "param_4 - 1U" (identifier "param_4") (- "-") (number_literal "1U")) (<= "<=") (identifier "uVar5")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = (uint)(byte)param_3[uVar5];" (assignment_expression "uVar6 = (uint)(byte)param_3[uVar5]" (identifier "uVar6") (= "=") (cast_expression "(uint)(byte)param_3[uVar5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_3[uVar5]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_3[uVar5]" (identifier "param_3") ([ "[") (identifier "uVar5") (] "]"))))) (; ";")) (expression_statement "uVar3 = (uint)param_3[uVar5];" (assignment_expression "uVar3 = (uint)param_3[uVar5]" (identifier "uVar3") (= "=") (cast_expression "(uint)param_3[uVar5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_3[uVar5]" (identifier "param_3") ([ "[") (identifier "uVar5") (] "]")))) (; ";")) (if_statement "if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;" (if "if") (parenthesized_expression "((int)param_6 - (int)param_5 <= (int)uVar3)" (( "(") (binary_expression "(int)param_6 - (int)param_5 <= (int)uVar3" (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"))) (<= "<=") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3"))) () ")")) (goto_statement "goto LAB_001c36b8;" (goto "goto") (statement_identifier "LAB_001c36b8") (; ";"))) (} "}"))) (expression_statement "local_18 = local_18 + 1;" (assignment_expression "local_18 = local_18 + 1" (identifier "local_18") (= "=") (binary_expression "local_18 + 1" (identifier "local_18") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (labeled_statement "LAB_001c36b8:\n  puVar7 = param_5;" (statement_identifier "LAB_001c36b8") (: ":") (expression_statement "puVar7 = param_5;" (assignment_expression "puVar7 = param_5" (identifier "puVar7") (= "=") (identifier "param_5")) (; ";"))) (expression_statement "puVar8 = param_1;" (assignment_expression "puVar8 = param_1" (identifier "puVar8") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (param_6 != param_5) {\n    do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\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      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);\n    param_1 = param_1 + ((int)param_6 - (int)param_5);\n  }" ({ "{") (do_statement "do {\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    } while (param_6 != puVar9);" (do "do") (compound_statement "{\n      puVar9 = puVar7 + 1;\n      *puVar8 = *puVar7;\n      puVar7 = puVar9;\n      puVar8 = puVar8 + 1;\n    }" ({ "{") (expression_statement "puVar9 = puVar7 + 1;" (assignment_expression "puVar9 = puVar7 + 1" (identifier "puVar9") (= "=") (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 = puVar9;" (assignment_expression "puVar7 = puVar9" (identifier "puVar7") (= "=") (identifier "puVar9")) (; ";")) (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 "(param_6 != puVar9)" (( "(") (binary_expression "param_6 != puVar9" (identifier "param_6") (!= "!=") (identifier "puVar9")) () ")")) (; ";")) (expression_statement "param_1 = param_1 + ((int)param_6 - (int)param_5);" (assignment_expression "param_1 = param_1 + ((int)param_6 - (int)param_5)" (identifier "param_1") (= "=") (binary_expression "param_1 + ((int)param_6 - (int)param_5)" (identifier "param_1") (+ "+") (parenthesized_expression "((int)param_6 - (int)param_5)" (( "(") (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"))) () ")")))) (; ";")) (} "}"))) (while_statement "while (local_18 = local_18 + -1, local_18 != -1) {\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }" (while "while") (parenthesized_expression "(local_18 = local_18 + -1, local_18 != -1)" (( "(") (comma_expression "local_18 = local_18 + -1, local_18 != -1" (assignment_expression "local_18 = local_18 + -1" (identifier "local_18") (= "=") (binary_expression "local_18 + -1" (identifier "local_18") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "local_18 != -1" (identifier "local_18") (!= "!=") (number_literal "-1"))) () ")")) (compound_statement "{\n    while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      puVar7 = param_1 + 1;\n      *param_1 = param_2;\n      bVar2 = param_3[uVar5];\n      param_1 = puVar7;\n      if ((char)bVar2 < '\x01') break;\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      local_18 = local_18 + -1;\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n      if (local_18 == -1) goto joined_r0x001c373c;\n    }" ({ "{") (expression_statement "puVar7 = param_1 + 1;" (assignment_expression "puVar7 = param_1 + 1" (identifier "puVar7") (= "=") (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[uVar5];" (assignment_expression "bVar2 = param_3[uVar5]" (identifier "bVar2") (= "=") (subscript_expression "param_3[uVar5]" (identifier "param_3") ([ "[") (identifier "uVar5") (] "]"))) (; ";")) (expression_statement "param_1 = puVar7;" (assignment_expression "param_1 = puVar7" (identifier "param_1") (= "=") (identifier "puVar7")) (; ";")) (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 "puVar8 = param_6;" (assignment_expression "puVar8 = param_6" (identifier "puVar8") (= "=") (identifier "param_6")) (; ";")) (expression_statement "puVar9 = puVar7;" (assignment_expression "puVar9 = puVar7" (identifier "puVar9") (= "=") (identifier "puVar7")) (; ";")) (do_statement "do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);" (do "do") (compound_statement "{\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      }" ({ "{") (expression_statement "puVar1 = puVar8 + 1;" (assignment_expression "puVar1 = puVar8 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar9 = *puVar8;" (assignment_expression "*puVar9 = *puVar8" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "puVar8 = puVar1;" (assignment_expression "puVar8 = puVar1" (identifier "puVar8") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + 1" (identifier "puVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1)" (( "(") (binary_expression "puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1" (identifier "puVar1") (!= "!=") (binary_expression "param_6 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_6 + (bVar2 - 1 & 0xff)" (identifier "param_6") (+ "+") (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_18 = local_18 + -1;" (assignment_expression "local_18 = local_18 + -1" (identifier "local_18") (= "=") (binary_expression "local_18 + -1" (identifier "local_18") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar4 = (char)(bVar2 - 1) + 1;" (assignment_expression "iVar4 = (char)(bVar2 - 1) + 1" (identifier "iVar4") (= "=") (binary_expression "(char)(bVar2 - 1) + 1" (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_6 = param_6 + iVar4;" (assignment_expression "param_6 = param_6 + iVar4" (identifier "param_6") (= "=") (binary_expression "param_6 + iVar4" (identifier "param_6") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "param_1 = puVar7 + iVar4;" (assignment_expression "param_1 = puVar7 + iVar4" (identifier "param_1") (= "=") (binary_expression "puVar7 + iVar4" (identifier "puVar7") (+ "+") (identifier "iVar4"))) (; ";")) (if_statement "if (local_18 == -1) goto joined_r0x001c373c;" (if "if") (parenthesized_expression "(local_18 == -1)" (( "(") (binary_expression "local_18 == -1" (identifier "local_18") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto joined_r0x001c373c;" (goto "goto") (statement_identifier "joined_r0x001c373c") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "joined_r0x001c373c:\n  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }" (statement_identifier "joined_r0x001c373c") (: ":") (while_statement "while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }" (while "while") (parenthesized_expression "(uVar5 = uVar5 - 1, uVar5 != 0xffffffff)" (( "(") (comma_expression "uVar5 = uVar5 - 1, uVar5 != 0xffffffff" (assignment_expression "uVar5 = uVar5 - 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 - 1" (identifier "uVar5") (- "-") (number_literal "1"))) (, ",") (binary_expression "uVar5 != 0xffffffff" (identifier "uVar5") (!= "!=") (number_literal "0xffffffff"))) () ")")) (compound_statement "{\n    puVar7 = param_1 + 1;\n    *param_1 = param_2;\n    bVar2 = param_3[uVar5];\n    param_1 = puVar7;\n    if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }\n  }" ({ "{") (expression_statement "puVar7 = param_1 + 1;" (assignment_expression "puVar7 = param_1 + 1" (identifier "puVar7") (= "=") (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[uVar5];" (assignment_expression "bVar2 = param_3[uVar5]" (identifier "bVar2") (= "=") (subscript_expression "param_3[uVar5]" (identifier "param_3") ([ "[") (identifier "uVar5") (] "]"))) (; ";")) (expression_statement "param_1 = puVar7;" (assignment_expression "param_1 = puVar7" (identifier "param_1") (= "=") (identifier "puVar7")) (; ";")) (if_statement "if ('\0' < (char)bVar2) {\n      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\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      puVar8 = param_6;\n      puVar9 = puVar7;\n      do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);\n      iVar4 = (char)(bVar2 - 1) + 1;\n      param_6 = param_6 + iVar4;\n      param_1 = puVar7 + iVar4;\n    }" ({ "{") (expression_statement "puVar8 = param_6;" (assignment_expression "puVar8 = param_6" (identifier "puVar8") (= "=") (identifier "param_6")) (; ";")) (expression_statement "puVar9 = puVar7;" (assignment_expression "puVar9 = puVar7" (identifier "puVar9") (= "=") (identifier "puVar7")) (; ";")) (do_statement "do {\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);" (do "do") (compound_statement "{\n        puVar1 = puVar8 + 1;\n        *puVar9 = *puVar8;\n        puVar8 = puVar1;\n        puVar9 = puVar9 + 1;\n      }" ({ "{") (expression_statement "puVar1 = puVar8 + 1;" (assignment_expression "puVar1 = puVar8 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar9 = *puVar8;" (assignment_expression "*puVar9 = *puVar8" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "puVar8 = puVar1;" (assignment_expression "puVar8 = puVar1" (identifier "puVar8") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + 1" (identifier "puVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1)" (( "(") (binary_expression "puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1" (identifier "puVar1") (!= "!=") (binary_expression "param_6 + (bVar2 - 1 & 0xff) + 1" (binary_expression "param_6 + (bVar2 - 1 & 0xff)" (identifier "param_6") (+ "+") (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 "iVar4 = (char)(bVar2 - 1) + 1;" (assignment_expression "iVar4 = (char)(bVar2 - 1) + 1" (identifier "iVar4") (= "=") (binary_expression "(char)(bVar2 - 1) + 1" (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_6 = param_6 + iVar4;" (assignment_expression "param_6 = param_6 + iVar4" (identifier "param_6") (= "=") (binary_expression "param_6 + iVar4" (identifier "param_6") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "param_1 = puVar7 + iVar4;" (assignment_expression "param_1 = puVar7 + iVar4" (identifier "param_1") (= "=") (binary_expression "puVar7 + iVar4" (identifier "puVar7") (+ "+") (identifier "iVar4"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

char * std::function_1<char>
                 (char *var_10,char param_2,char *var_1,type_1 var_3,char *var_6,char *var_2)

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


(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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (identifier))))) (if_statement condition: (parenthesized_expression (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (identifier) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))) (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: (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: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (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: (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: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))))))) (return_statement))))

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

{
  undefined1 *puVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  undefined1 *puVar7;
  undefined1 *puVar8;
  undefined1 *puVar9;
  int local_18;
  
  uVar5 = 0;
  local_18 = 0;
  uVar3 = (uint)*param_3;
  uVar6 = uVar3;
  while ((int)uVar3 < (int)param_6 - (int)param_5) {
    while( true ) {
      if (0x7d < (byte)((char)uVar6 - 1U)) goto LAB_001c36b8;
      param_6 = param_6 + -uVar3;
      if (param_4 - 1U <= uVar5) break;
      uVar5 = uVar5 + 1;
      uVar6 = (uint)(byte)param_3[uVar5];
      uVar3 = (uint)param_3[uVar5];
      if ((int)param_6 - (int)param_5 <= (int)uVar3) goto LAB_001c36b8;
    }
    local_18 = local_18 + 1;
  }
LAB_001c36b8:
  puVar7 = param_5;
  puVar8 = param_1;
  if (param_6 != param_5) {
    do {
      puVar9 = puVar7 + 1;
      *puVar8 = *puVar7;
      puVar7 = puVar9;
      puVar8 = puVar8 + 1;
    } while (param_6 != puVar9);
    param_1 = param_1 + ((int)param_6 - (int)param_5);
  }
  while (local_18 = local_18 + -1, local_18 != -1) {
    while( true ) {
      puVar7 = param_1 + 1;
      *param_1 = param_2;
      bVar2 = param_3[uVar5];
      param_1 = puVar7;
      if ((char)bVar2 < '\x01') break;
      puVar8 = param_6;
      puVar9 = puVar7;
      do {
        puVar1 = puVar8 + 1;
        *puVar9 = *puVar8;
        puVar8 = puVar1;
        puVar9 = puVar9 + 1;
      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);
      local_18 = local_18 + -1;
      iVar4 = (char)(bVar2 - 1) + 1;
      param_6 = param_6 + iVar4;
      param_1 = puVar7 + iVar4;
      if (local_18 == -1) goto joined_r0x001c373c;
    }
  }
joined_r0x001c373c:
  while (uVar5 = uVar5 - 1, uVar5 != 0xffffffff) {
    puVar7 = param_1 + 1;
    *param_1 = param_2;
    bVar2 = param_3[uVar5];
    param_1 = puVar7;
    if ('\0' < (char)bVar2) {
      puVar8 = param_6;
      puVar9 = puVar7;
      do {
        puVar1 = puVar8 + 1;
        *puVar9 = *puVar8;
        puVar8 = puVar1;
        puVar9 = puVar9 + 1;
      } while (puVar1 != param_6 + (bVar2 - 1 & 0xff) + 1);
      iVar4 = (char)(bVar2 - 1) + 1;
      param_6 = param_6 + iVar4;
      param_1 = puVar7 + iVar4;
    }
  }
  return;
}

