
void __regparm3 copy_stemmer(char *zIn,int nIn,char *zOut,int *pnOut)

{
  char cVar1;
  bool bVar2;
  char *pcVar3;
  char *pcVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  
  if (nIn < 1) {
    iVar5 = 0;
  }
  else {
    bVar2 = false;
    iVar5 = 0;
    do {
      while (iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a) {
        zOut[iVar6] = cVar1 + ' ';
        iVar5 = iVar6 + 1;
        if (nIn == iVar6 + 1) goto LAB_0001ea11;
      }
      zOut[iVar6] = cVar1;
      if ((byte)(cVar1 - 0x30U) < 10) {
        bVar2 = true;
      }
      iVar5 = iVar6 + 1;
    } while (nIn != iVar6 + 1);
LAB_0001ea11:
    iVar6 = iVar6 + 1;
    iVar5 = (-(uint)!bVar2 & 7) + 3;
    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {
      iVar7 = iVar6 - iVar5;
      pcVar3 = zOut + iVar7;
      if (iVar6 <= iVar7) {
        zOut = zOut + iVar5;
        goto LAB_0001ea5a;
      }
      do {
        pcVar4 = pcVar3 + 1;
        pcVar3[iVar5 - iVar7] = *pcVar3;
        pcVar3 = pcVar4;
      } while (pcVar4 != zOut + iVar6);
      iVar6 = (iVar6 + iVar5) - iVar7;
    }
    zOut = zOut + iVar6;
    iVar5 = iVar6;
  }
LAB_0001ea5a:
  *zOut = '\0';
  *pnOut = iVar5;
  return;
}



void __regparm3 FUN_0001e9c0(int param_1,int param_2,undefined1 *param_3,int *param_4)

{
  char cVar1;
  bool bVar2;
  undefined1 *puVar3;
  undefined1 *puVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  
  if (param_2 < 1) {
    iVar5 = 0;
  }
  else {
    bVar2 = false;
    iVar5 = 0;
    do {
      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {
        param_3[iVar6] = cVar1 + ' ';
        iVar5 = iVar6 + 1;
        if (param_2 == iVar6 + 1) goto LAB_0001ea11;
      }
      param_3[iVar6] = cVar1;
      if ((byte)(cVar1 - 0x30U) < 10) {
        bVar2 = true;
      }
      iVar5 = iVar6 + 1;
    } while (param_2 != iVar6 + 1);
LAB_0001ea11:
    iVar6 = iVar6 + 1;
    iVar5 = (-(uint)!bVar2 & 7) + 3;
    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {
      iVar7 = iVar6 - iVar5;
      puVar3 = param_3 + iVar7;
      if (iVar6 <= iVar7) {
        param_3 = param_3 + iVar5;
        goto LAB_0001ea5a;
      }
      do {
        puVar4 = puVar3 + 1;
        puVar3[iVar5 - iVar7] = *puVar3;
        puVar3 = puVar4;
      } while (puVar4 != param_3 + iVar6);
      iVar6 = (iVar6 + iVar5) - iVar7;
    }
    param_3 = param_3 + iVar6;
    iVar5 = iVar6;
  }
LAB_0001ea5a:
  *param_3 = 0;
  *param_4 = iVar5;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x4
TEST EDX,EDX
JLE 0x0001ea70
MOV ESI,EAX
MOV EDI,EDX
XOR EBP,EBP
XOR EBX,EBX
JMP 0x0001e9ed
ADD EAX,0x20
MOV byte ptr [ECX + EBX*0x1],AL
ADD EBX,0x1
CMP EDI,EBX
JZ 0x0001ea11
MOVZX EAX,byte ptr [ESI + EBX*0x1]
LEA EDX,[EAX + -0x41]
CMP DL,0x19
JBE 0x0001e9e0
LEA EDX,[EAX + -0x30]
MOV byte ptr [ECX + EBX*0x1],AL
CMP DL,0x9
MOV EDX,0x1
CMOVBE EBP,EDX
ADD EBX,0x1
CMP EDI,EBX
JNZ 0x0001e9ed
CMP EBP,0x1
SBB EAX,EAX
AND EAX,0xe
ADD EAX,0x6
CMP EBP,0x1
SBB EDX,EDX
AND EDX,0x7
ADD EDX,0x3
CMP EBX,EAX
JLE 0x0001ea58
MOV EDI,EBX
LEA EBP,[ECX + EBX*0x1]
SUB EDI,EDX
LEA EAX,[ECX + EDI*0x1]
CMP EBX,EDI
JLE 0x0001ea74
MOV dword ptr [ESP],ECX
LEA ESI,[ESI]
MOV ESI,EAX
MOVZX ECX,byte ptr [EAX]
ADD EAX,0x1
SUB ESI,EDI
MOV byte ptr [ESI + EDX*0x1],CL
CMP EAX,EBP
JNZ 0x0001ea40
ADD EBX,EDX
MOV ECX,dword ptr [ESP]
SUB EBX,EDI
ADD ECX,EBX
MOV EAX,dword ptr [ESP + 0x18]
MOV byte ptr [ECX],0x0
MOV dword ptr [EAX],EBX
ADD ESP,0x4
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EBX,EBX
JMP 0x0001ea5a
ADD ECX,EDX
MOV EBX,EDX
JMP 0x0001ea5a
(translation_unit "void __regparm3 FUN_0001e9c0(int param_1,int param_2,undefined1 *param_3,int *param_4)\n\n{\n  char cVar1;\n  bool bVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *param_3 = 0;\n  *param_4 = iVar5;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0001e9c0(int param_1,int param_2,undefined1 *param_3,int *param_4)\n\n{\n  char cVar1;\n  bool bVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *param_3 = 0;\n  *param_4 = iVar5;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001e9c0(int param_1,int param_2,undefined1 *param_3,int *param_4)" identifier (parameter_list "(int param_1,int param_2,undefined1 *param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *param_3 = 0;\n  *param_4 = iVar5;\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (if_statement "if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }" if (parenthesized_expression "(param_2 < 1)" ( (binary_expression "param_2 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar5 = 0;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }" else (compound_statement "{\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }" { (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);" do (compound_statement "{\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    }" { (while_statement "while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }" while (parenthesized_expression "(iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a)" ( (comma_expression "iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a" (assignment_expression "iVar6 = iVar5" identifier = identifier) , (comma_expression "cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a" (assignment_expression "cVar1 = *(char *)(param_1 + iVar6)" identifier = (pointer_expression "*(char *)(param_1 + iVar6)" * (cast_expression "(char *)(param_1 + iVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) ))))) , (binary_expression "(byte)(cVar1 + 0xbfU) < 0x1a" (call_expression "(byte)(cVar1 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar1 + 0xbfU)" ( (binary_expression "cVar1 + 0xbfU" identifier + number_literal) ))) < number_literal))) )) (compound_statement "{\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }" { (expression_statement "param_3[iVar6] = cVar1 + ' ';" (assignment_expression "param_3[iVar6] = cVar1 + ' '" (subscript_expression "param_3[iVar6]" identifier [ identifier ]) = (binary_expression "cVar1 + ' '" identifier + (char_literal "' '" ' character '))) ;) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (param_2 == iVar6 + 1) goto LAB_0001ea11;" if (parenthesized_expression "(param_2 == iVar6 + 1)" ( (binary_expression "param_2 == iVar6 + 1" identifier == (binary_expression "iVar6 + 1" identifier + number_literal)) )) (goto_statement "goto LAB_0001ea11;" goto statement_identifier ;)) })) (expression_statement "param_3[iVar6] = cVar1;" (assignment_expression "param_3[iVar6] = cVar1" (subscript_expression "param_3[iVar6]" identifier [ identifier ]) = identifier) ;) (if_statement "if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }" if (parenthesized_expression "((byte)(cVar1 - 0x30U) < 10)" ( (binary_expression "(byte)(cVar1 - 0x30U) < 10" (call_expression "(byte)(cVar1 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar1 - 0x30U)" ( (binary_expression "cVar1 - 0x30U" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n        bVar2 = true;\n      }" { (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) })) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != iVar6 + 1)" ( (binary_expression "param_2 != iVar6 + 1" identifier != (binary_expression "iVar6 + 1" identifier + number_literal)) )) ;) (labeled_statement "LAB_0001ea11:\n    iVar6 = iVar6 + 1;" statement_identifier : (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;)) (expression_statement "iVar5 = (-(uint)!bVar2 & 7) + 3;" (assignment_expression "iVar5 = (-(uint)!bVar2 & 7) + 3" identifier = (binary_expression "(-(uint)!bVar2 & 7) + 3" (parenthesized_expression "(-(uint)!bVar2 & 7)" ( (binary_expression "-(uint)!bVar2 & 7" (unary_expression "-(uint)!bVar2" - (cast_expression "(uint)!bVar2" ( (type_descriptor "uint" type_identifier) ) (unary_expression "!bVar2" ! identifier))) & number_literal) )) + number_literal)) ;) (if_statement "if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }" if (parenthesized_expression "((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6)" ( (binary_expression "(int)((-(uint)!bVar2 & 0xe) + 6) < iVar6" (cast_expression "(int)((-(uint)!bVar2 & 0xe) + 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((-(uint)!bVar2 & 0xe) + 6)" ( (binary_expression "(-(uint)!bVar2 & 0xe) + 6" (parenthesized_expression "(-(uint)!bVar2 & 0xe)" ( (binary_expression "-(uint)!bVar2 & 0xe" (unary_expression "-(uint)!bVar2" - (cast_expression "(uint)!bVar2" ( (type_descriptor "uint" type_identifier) ) (unary_expression "!bVar2" ! identifier))) & number_literal) )) + number_literal) ))) < identifier) )) (compound_statement "{\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }" { (expression_statement "iVar7 = iVar6 - iVar5;" (assignment_expression "iVar7 = iVar6 - iVar5" identifier = (binary_expression "iVar6 - iVar5" identifier - identifier)) ;) (expression_statement "puVar3 = param_3 + iVar7;" (assignment_expression "puVar3 = param_3 + iVar7" identifier = (binary_expression "param_3 + iVar7" identifier + identifier)) ;) (if_statement "if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }" if (parenthesized_expression "(iVar6 <= iVar7)" ( (binary_expression "iVar6 <= iVar7" identifier <= identifier) )) (compound_statement "{\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }" { (expression_statement "param_3 = param_3 + iVar5;" (assignment_expression "param_3 = param_3 + iVar5" identifier = (binary_expression "param_3 + iVar5" identifier + identifier)) ;) (goto_statement "goto LAB_0001ea5a;" goto statement_identifier ;) })) (do_statement "do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);" do (compound_statement "{\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      }" { (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar3[iVar5 - iVar7] = *puVar3;" (assignment_expression "puVar3[iVar5 - iVar7] = *puVar3" (subscript_expression "puVar3[iVar5 - iVar7]" identifier [ (binary_expression "iVar5 - iVar7" identifier - identifier) ]) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) }) while (parenthesized_expression "(puVar4 != param_3 + iVar6)" ( (binary_expression "puVar4 != param_3 + iVar6" identifier != (binary_expression "param_3 + iVar6" identifier + identifier)) )) ;) (expression_statement "iVar6 = (iVar6 + iVar5) - iVar7;" (assignment_expression "iVar6 = (iVar6 + iVar5) - iVar7" identifier = (binary_expression "(iVar6 + iVar5) - iVar7" (parenthesized_expression "(iVar6 + iVar5)" ( (binary_expression "iVar6 + iVar5" identifier + identifier) )) - identifier)) ;) })) (expression_statement "param_3 = param_3 + iVar6;" (assignment_expression "param_3 = param_3 + iVar6" identifier = (binary_expression "param_3 + iVar6" identifier + identifier)) ;) (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" identifier = identifier) ;) }))) (labeled_statement "LAB_0001ea5a:\n  *param_3 = 0;" statement_identifier : (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;)) (expression_statement "*param_4 = iVar5;" (assignment_expression "*param_4 = iVar5" (pointer_expression "*param_4" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 copy_stemmer(char *zIn,int nIn,char *zOut,int *pnOut)\n\n{\n  char cVar1;\n  bool bVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (nIn < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a) {\n        zOut[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (nIn == iVar6 + 1) goto LAB_0001ea11;\n      }\n      zOut[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (nIn != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      pcVar3 = zOut + iVar7;\n      if (iVar6 <= iVar7) {\n        zOut = zOut + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        pcVar4 = pcVar3 + 1;\n        pcVar3[iVar5 - iVar7] = *pcVar3;\n        pcVar3 = pcVar4;\n      } while (pcVar4 != zOut + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    zOut = zOut + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *zOut = '\0';\n  *pnOut = iVar5;\n  return;\n}\n\n" (function_definition "void __regparm3 copy_stemmer(char *zIn,int nIn,char *zOut,int *pnOut)\n\n{\n  char cVar1;\n  bool bVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (nIn < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a) {\n        zOut[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (nIn == iVar6 + 1) goto LAB_0001ea11;\n      }\n      zOut[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (nIn != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      pcVar3 = zOut + iVar7;\n      if (iVar6 <= iVar7) {\n        zOut = zOut + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        pcVar4 = pcVar3 + 1;\n        pcVar3[iVar5 - iVar7] = *pcVar3;\n        pcVar3 = pcVar4;\n      } while (pcVar4 != zOut + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    zOut = zOut + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *zOut = '\0';\n  *pnOut = iVar5;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "copy_stemmer(char *zIn,int nIn,char *zOut,int *pnOut)" identifier (parameter_list "(char *zIn,int nIn,char *zOut,int *pnOut)" ( (parameter_declaration "char *zIn" primitive_type (pointer_declarator "*zIn" * identifier)) , (parameter_declaration "int nIn" primitive_type identifier) , (parameter_declaration "char *zOut" primitive_type (pointer_declarator "*zOut" * identifier)) , (parameter_declaration "int *pnOut" primitive_type (pointer_declarator "*pnOut" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  char *pcVar3;\n  char *pcVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (nIn < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a) {\n        zOut[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (nIn == iVar6 + 1) goto LAB_0001ea11;\n      }\n      zOut[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (nIn != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      pcVar3 = zOut + iVar7;\n      if (iVar6 <= iVar7) {\n        zOut = zOut + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        pcVar4 = pcVar3 + 1;\n        pcVar3[iVar5 - iVar7] = *pcVar3;\n        pcVar3 = pcVar4;\n      } while (pcVar4 != zOut + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    zOut = zOut + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *zOut = '\0';\n  *pnOut = iVar5;\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (if_statement "if (nIn < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a) {\n        zOut[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (nIn == iVar6 + 1) goto LAB_0001ea11;\n      }\n      zOut[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (nIn != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      pcVar3 = zOut + iVar7;\n      if (iVar6 <= iVar7) {\n        zOut = zOut + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        pcVar4 = pcVar3 + 1;\n        pcVar3[iVar5 - iVar7] = *pcVar3;\n        pcVar3 = pcVar4;\n      } while (pcVar4 != zOut + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    zOut = zOut + iVar6;\n    iVar5 = iVar6;\n  }" if (parenthesized_expression "(nIn < 1)" ( (binary_expression "nIn < 1" identifier < number_literal) )) (compound_statement "{\n    iVar5 = 0;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a) {\n        zOut[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (nIn == iVar6 + 1) goto LAB_0001ea11;\n      }\n      zOut[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (nIn != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      pcVar3 = zOut + iVar7;\n      if (iVar6 <= iVar7) {\n        zOut = zOut + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        pcVar4 = pcVar3 + 1;\n        pcVar3[iVar5 - iVar7] = *pcVar3;\n        pcVar3 = pcVar4;\n      } while (pcVar4 != zOut + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    zOut = zOut + iVar6;\n    iVar5 = iVar6;\n  }" else (compound_statement "{\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a) {\n        zOut[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (nIn == iVar6 + 1) goto LAB_0001ea11;\n      }\n      zOut[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (nIn != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      pcVar3 = zOut + iVar7;\n      if (iVar6 <= iVar7) {\n        zOut = zOut + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        pcVar4 = pcVar3 + 1;\n        pcVar3[iVar5 - iVar7] = *pcVar3;\n        pcVar3 = pcVar4;\n      } while (pcVar4 != zOut + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    zOut = zOut + iVar6;\n    iVar5 = iVar6;\n  }" { (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a) {\n        zOut[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (nIn == iVar6 + 1) goto LAB_0001ea11;\n      }\n      zOut[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (nIn != iVar6 + 1);" do (compound_statement "{\n      while (iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a) {\n        zOut[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (nIn == iVar6 + 1) goto LAB_0001ea11;\n      }\n      zOut[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    }" { (while_statement "while (iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a) {\n        zOut[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (nIn == iVar6 + 1) goto LAB_0001ea11;\n      }" while (parenthesized_expression "(iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a)" ( (comma_expression "iVar6 = iVar5, cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a" (assignment_expression "iVar6 = iVar5" identifier = identifier) , (comma_expression "cVar1 = zIn[iVar6], (byte)(cVar1 + 0xbfU) < 0x1a" (assignment_expression "cVar1 = zIn[iVar6]" identifier = (subscript_expression "zIn[iVar6]" identifier [ identifier ])) , (binary_expression "(byte)(cVar1 + 0xbfU) < 0x1a" (call_expression "(byte)(cVar1 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar1 + 0xbfU)" ( (binary_expression "cVar1 + 0xbfU" identifier + number_literal) ))) < number_literal))) )) (compound_statement "{\n        zOut[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (nIn == iVar6 + 1) goto LAB_0001ea11;\n      }" { (expression_statement "zOut[iVar6] = cVar1 + ' ';" (assignment_expression "zOut[iVar6] = cVar1 + ' '" (subscript_expression "zOut[iVar6]" identifier [ identifier ]) = (binary_expression "cVar1 + ' '" identifier + (char_literal "' '" ' character '))) ;) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (nIn == iVar6 + 1) goto LAB_0001ea11;" if (parenthesized_expression "(nIn == iVar6 + 1)" ( (binary_expression "nIn == iVar6 + 1" identifier == (binary_expression "iVar6 + 1" identifier + number_literal)) )) (goto_statement "goto LAB_0001ea11;" goto statement_identifier ;)) })) (expression_statement "zOut[iVar6] = cVar1;" (assignment_expression "zOut[iVar6] = cVar1" (subscript_expression "zOut[iVar6]" identifier [ identifier ]) = identifier) ;) (if_statement "if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }" if (parenthesized_expression "((byte)(cVar1 - 0x30U) < 10)" ( (binary_expression "(byte)(cVar1 - 0x30U) < 10" (call_expression "(byte)(cVar1 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar1 - 0x30U)" ( (binary_expression "cVar1 - 0x30U" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n        bVar2 = true;\n      }" { (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) })) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(nIn != iVar6 + 1)" ( (binary_expression "nIn != iVar6 + 1" identifier != (binary_expression "iVar6 + 1" identifier + number_literal)) )) ;) (labeled_statement "LAB_0001ea11:\n    iVar6 = iVar6 + 1;" statement_identifier : (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;)) (expression_statement "iVar5 = (-(uint)!bVar2 & 7) + 3;" (assignment_expression "iVar5 = (-(uint)!bVar2 & 7) + 3" identifier = (binary_expression "(-(uint)!bVar2 & 7) + 3" (parenthesized_expression "(-(uint)!bVar2 & 7)" ( (binary_expression "-(uint)!bVar2 & 7" (unary_expression "-(uint)!bVar2" - (cast_expression "(uint)!bVar2" ( (type_descriptor "uint" type_identifier) ) (unary_expression "!bVar2" ! identifier))) & number_literal) )) + number_literal)) ;) (if_statement "if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      pcVar3 = zOut + iVar7;\n      if (iVar6 <= iVar7) {\n        zOut = zOut + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        pcVar4 = pcVar3 + 1;\n        pcVar3[iVar5 - iVar7] = *pcVar3;\n        pcVar3 = pcVar4;\n      } while (pcVar4 != zOut + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }" if (parenthesized_expression "((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6)" ( (binary_expression "(int)((-(uint)!bVar2 & 0xe) + 6) < iVar6" (cast_expression "(int)((-(uint)!bVar2 & 0xe) + 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((-(uint)!bVar2 & 0xe) + 6)" ( (binary_expression "(-(uint)!bVar2 & 0xe) + 6" (parenthesized_expression "(-(uint)!bVar2 & 0xe)" ( (binary_expression "-(uint)!bVar2 & 0xe" (unary_expression "-(uint)!bVar2" - (cast_expression "(uint)!bVar2" ( (type_descriptor "uint" type_identifier) ) (unary_expression "!bVar2" ! identifier))) & number_literal) )) + number_literal) ))) < identifier) )) (compound_statement "{\n      iVar7 = iVar6 - iVar5;\n      pcVar3 = zOut + iVar7;\n      if (iVar6 <= iVar7) {\n        zOut = zOut + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        pcVar4 = pcVar3 + 1;\n        pcVar3[iVar5 - iVar7] = *pcVar3;\n        pcVar3 = pcVar4;\n      } while (pcVar4 != zOut + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }" { (expression_statement "iVar7 = iVar6 - iVar5;" (assignment_expression "iVar7 = iVar6 - iVar5" identifier = (binary_expression "iVar6 - iVar5" identifier - identifier)) ;) (expression_statement "pcVar3 = zOut + iVar7;" (assignment_expression "pcVar3 = zOut + iVar7" identifier = (binary_expression "zOut + iVar7" identifier + identifier)) ;) (if_statement "if (iVar6 <= iVar7) {\n        zOut = zOut + iVar5;\n        goto LAB_0001ea5a;\n      }" if (parenthesized_expression "(iVar6 <= iVar7)" ( (binary_expression "iVar6 <= iVar7" identifier <= identifier) )) (compound_statement "{\n        zOut = zOut + iVar5;\n        goto LAB_0001ea5a;\n      }" { (expression_statement "zOut = zOut + iVar5;" (assignment_expression "zOut = zOut + iVar5" identifier = (binary_expression "zOut + iVar5" identifier + identifier)) ;) (goto_statement "goto LAB_0001ea5a;" goto statement_identifier ;) })) (do_statement "do {\n        pcVar4 = pcVar3 + 1;\n        pcVar3[iVar5 - iVar7] = *pcVar3;\n        pcVar3 = pcVar4;\n      } while (pcVar4 != zOut + iVar6);" do (compound_statement "{\n        pcVar4 = pcVar3 + 1;\n        pcVar3[iVar5 - iVar7] = *pcVar3;\n        pcVar3 = pcVar4;\n      }" { (expression_statement "pcVar4 = pcVar3 + 1;" (assignment_expression "pcVar4 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "pcVar3[iVar5 - iVar7] = *pcVar3;" (assignment_expression "pcVar3[iVar5 - iVar7] = *pcVar3" (subscript_expression "pcVar3[iVar5 - iVar7]" identifier [ (binary_expression "iVar5 - iVar7" identifier - identifier) ]) = (pointer_expression "*pcVar3" * identifier)) ;) (expression_statement "pcVar3 = pcVar4;" (assignment_expression "pcVar3 = pcVar4" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar4 != zOut + iVar6)" ( (binary_expression "pcVar4 != zOut + iVar6" identifier != (binary_expression "zOut + iVar6" identifier + identifier)) )) ;) (expression_statement "iVar6 = (iVar6 + iVar5) - iVar7;" (assignment_expression "iVar6 = (iVar6 + iVar5) - iVar7" identifier = (binary_expression "(iVar6 + iVar5) - iVar7" (parenthesized_expression "(iVar6 + iVar5)" ( (binary_expression "iVar6 + iVar5" identifier + identifier) )) - identifier)) ;) })) (expression_statement "zOut = zOut + iVar6;" (assignment_expression "zOut = zOut + iVar6" identifier = (binary_expression "zOut + iVar6" identifier + identifier)) ;) (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" identifier = identifier) ;) }))) (labeled_statement "LAB_0001ea5a:\n  *zOut = '\0';" statement_identifier : (expression_statement "*zOut = '\0';" (assignment_expression "*zOut = '\0'" (pointer_expression "*zOut" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;)) (expression_statement "*pnOut = iVar5;" (assignment_expression "*pnOut = iVar5" (pointer_expression "*pnOut" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0001e9c0(int param_1,int param_2,undefined1 *param_3,int *param_4)\n\n{\n  char cVar1;\n  bool bVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *param_3 = 0;\n  *param_4 = iVar5;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0001e9c0(int param_1,int param_2,undefined1 *param_3,int *param_4)\n\n{\n  char cVar1;\n  bool bVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *param_3 = 0;\n  *param_4 = iVar5;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001e9c0(int param_1,int param_2,undefined1 *param_3,int *param_4)" identifier (parameter_list "(int param_1,int param_2,undefined1 *param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined1 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *param_3 = 0;\n  *param_4 = iVar5;\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (if_statement "if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }" if (parenthesized_expression "(param_2 < 1)" ( (binary_expression "param_2 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar5 = 0;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }" else (compound_statement "{\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }" { (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);" do (compound_statement "{\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    }" { (while_statement "while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }" while (parenthesized_expression "(iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a)" ( (comma_expression "iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a" (assignment_expression "iVar6 = iVar5" identifier = identifier) , (comma_expression "cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a" (assignment_expression "cVar1 = *(char *)(param_1 + iVar6)" identifier = (pointer_expression "*(char *)(param_1 + iVar6)" * (cast_expression "(char *)(param_1 + iVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar6)" ( (binary_expression "param_1 + iVar6" identifier + identifier) ))))) , (binary_expression "(byte)(cVar1 + 0xbfU) < 0x1a" (call_expression "(byte)(cVar1 + 0xbfU)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar1 + 0xbfU)" ( (binary_expression "cVar1 + 0xbfU" identifier + number_literal) ))) < number_literal))) )) (compound_statement "{\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }" { (expression_statement "param_3[iVar6] = cVar1 + ' ';" (assignment_expression "param_3[iVar6] = cVar1 + ' '" (subscript_expression "param_3[iVar6]" identifier [ identifier ]) = (binary_expression "cVar1 + ' '" identifier + (char_literal "' '" ' character '))) ;) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (param_2 == iVar6 + 1) goto LAB_0001ea11;" if (parenthesized_expression "(param_2 == iVar6 + 1)" ( (binary_expression "param_2 == iVar6 + 1" identifier == (binary_expression "iVar6 + 1" identifier + number_literal)) )) (goto_statement "goto LAB_0001ea11;" goto statement_identifier ;)) })) (expression_statement "param_3[iVar6] = cVar1;" (assignment_expression "param_3[iVar6] = cVar1" (subscript_expression "param_3[iVar6]" identifier [ identifier ]) = identifier) ;) (if_statement "if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }" if (parenthesized_expression "((byte)(cVar1 - 0x30U) < 10)" ( (binary_expression "(byte)(cVar1 - 0x30U) < 10" (call_expression "(byte)(cVar1 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar1 - 0x30U)" ( (binary_expression "cVar1 - 0x30U" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n        bVar2 = true;\n      }" { (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) })) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_2 != iVar6 + 1)" ( (binary_expression "param_2 != iVar6 + 1" identifier != (binary_expression "iVar6 + 1" identifier + number_literal)) )) ;) (labeled_statement "LAB_0001ea11:\n    iVar6 = iVar6 + 1;" statement_identifier : (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;)) (expression_statement "iVar5 = (-(uint)!bVar2 & 7) + 3;" (assignment_expression "iVar5 = (-(uint)!bVar2 & 7) + 3" identifier = (binary_expression "(-(uint)!bVar2 & 7) + 3" (parenthesized_expression "(-(uint)!bVar2 & 7)" ( (binary_expression "-(uint)!bVar2 & 7" (unary_expression "-(uint)!bVar2" - (cast_expression "(uint)!bVar2" ( (type_descriptor "uint" type_identifier) ) (unary_expression "!bVar2" ! identifier))) & number_literal) )) + number_literal)) ;) (if_statement "if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }" if (parenthesized_expression "((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6)" ( (binary_expression "(int)((-(uint)!bVar2 & 0xe) + 6) < iVar6" (cast_expression "(int)((-(uint)!bVar2 & 0xe) + 6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((-(uint)!bVar2 & 0xe) + 6)" ( (binary_expression "(-(uint)!bVar2 & 0xe) + 6" (parenthesized_expression "(-(uint)!bVar2 & 0xe)" ( (binary_expression "-(uint)!bVar2 & 0xe" (unary_expression "-(uint)!bVar2" - (cast_expression "(uint)!bVar2" ( (type_descriptor "uint" type_identifier) ) (unary_expression "!bVar2" ! identifier))) & number_literal) )) + number_literal) ))) < identifier) )) (compound_statement "{\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }" { (expression_statement "iVar7 = iVar6 - iVar5;" (assignment_expression "iVar7 = iVar6 - iVar5" identifier = (binary_expression "iVar6 - iVar5" identifier - identifier)) ;) (expression_statement "puVar3 = param_3 + iVar7;" (assignment_expression "puVar3 = param_3 + iVar7" identifier = (binary_expression "param_3 + iVar7" identifier + identifier)) ;) (if_statement "if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }" if (parenthesized_expression "(iVar6 <= iVar7)" ( (binary_expression "iVar6 <= iVar7" identifier <= identifier) )) (compound_statement "{\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }" { (expression_statement "param_3 = param_3 + iVar5;" (assignment_expression "param_3 = param_3 + iVar5" identifier = (binary_expression "param_3 + iVar5" identifier + identifier)) ;) (goto_statement "goto LAB_0001ea5a;" goto statement_identifier ;) })) (do_statement "do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);" do (compound_statement "{\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      }" { (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar3[iVar5 - iVar7] = *puVar3;" (assignment_expression "puVar3[iVar5 - iVar7] = *puVar3" (subscript_expression "puVar3[iVar5 - iVar7]" identifier [ (binary_expression "iVar5 - iVar7" identifier - identifier) ]) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) }) while (parenthesized_expression "(puVar4 != param_3 + iVar6)" ( (binary_expression "puVar4 != param_3 + iVar6" identifier != (binary_expression "param_3 + iVar6" identifier + identifier)) )) ;) (expression_statement "iVar6 = (iVar6 + iVar5) - iVar7;" (assignment_expression "iVar6 = (iVar6 + iVar5) - iVar7" identifier = (binary_expression "(iVar6 + iVar5) - iVar7" (parenthesized_expression "(iVar6 + iVar5)" ( (binary_expression "iVar6 + iVar5" identifier + identifier) )) - identifier)) ;) })) (expression_statement "param_3 = param_3 + iVar6;" (assignment_expression "param_3 = param_3 + iVar6" identifier = (binary_expression "param_3 + iVar6" identifier + identifier)) ;) (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" identifier = identifier) ;) }))) (labeled_statement "LAB_0001ea5a:\n  *param_3 = 0;" statement_identifier : (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;)) (expression_statement "*param_4 = iVar5;" (assignment_expression "*param_4 = iVar5" (pointer_expression "*param_4" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) , (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) < LIT))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (binary_expression IDENT + (char_literal ' character '))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (cast_expression ( (type_descriptor TYPE) ) (unary_expression ! IDENT))) & LIT) )) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (cast_expression ( (type_descriptor TYPE) ) (unary_expression ! IDENT))) & LIT) )) + LIT) ))) < IDENT) )) (compound_statement { (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 <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (goto_statement goto statement_identifier ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT - IDENT) ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0001e9c0(int param_1,int param_2,undefined1 *param_3,int *param_4)\n\n{\n  char cVar1;\n  bool bVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *param_3 = 0;\n  *param_4 = iVar5;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001e9c0(int param_1,int param_2,undefined1 *param_3,int *param_4)" (identifier "FUN_0001e9c0") (parameter_list "(int param_1,int param_2,undefined1 *param_3,int *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined1 *param_3" (type_identifier "undefined1") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  undefined1 *puVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }\nLAB_0001ea5a:\n  *param_3 = 0;\n  *param_4 = iVar5;\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (if_statement "if (param_2 < 1) {\n    iVar5 = 0;\n  }\n  else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }" (if "if") (parenthesized_expression "(param_2 < 1)" (( "(") (binary_expression "param_2 < 1" (identifier "param_2") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    iVar5 = 0;\n  }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }" (else "else") (compound_statement "{\n    bVar2 = false;\n    iVar5 = 0;\n    do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);\nLAB_0001ea11:\n    iVar6 = iVar6 + 1;\n    iVar5 = (-(uint)!bVar2 & 7) + 3;\n    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }\n    param_3 = param_3 + iVar6;\n    iVar5 = iVar6;\n  }" ({ "{") (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    } while (param_2 != iVar6 + 1);" (do "do") (compound_statement "{\n      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }\n      param_3[iVar6] = cVar1;\n      if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }\n      iVar5 = iVar6 + 1;\n    }" ({ "{") (while_statement "while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }" (while "while") (parenthesized_expression "(iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a)" (( "(") (comma_expression "iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a" (assignment_expression "iVar6 = iVar5" (identifier "iVar6") (= "=") (identifier "iVar5")) (, ",") (comma_expression "cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a" (assignment_expression "cVar1 = *(char *)(param_1 + iVar6)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_1 + iVar6)" (* "*") (cast_expression "(char *)(param_1 + iVar6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar6)" (( "(") (binary_expression "param_1 + iVar6" (identifier "param_1") (+ "+") (identifier "iVar6")) () ")"))))) (, ",") (binary_expression "(byte)(cVar1 + 0xbfU) < 0x1a" (call_expression "(byte)(cVar1 + 0xbfU)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar1 + 0xbfU)" (( "(") (binary_expression "cVar1 + 0xbfU" (identifier "cVar1") (+ "+") (number_literal "0xbfU")) () ")"))) (< "<") (number_literal "0x1a")))) () ")")) (compound_statement "{\n        param_3[iVar6] = cVar1 + ' ';\n        iVar5 = iVar6 + 1;\n        if (param_2 == iVar6 + 1) goto LAB_0001ea11;\n      }" ({ "{") (expression_statement "param_3[iVar6] = cVar1 + ' ';" (assignment_expression "param_3[iVar6] = cVar1 + ' '" (subscript_expression "param_3[iVar6]" (identifier "param_3") ([ "[") (identifier "iVar6") (] "]")) (= "=") (binary_expression "cVar1 + ' '" (identifier "cVar1") (+ "+") (char_literal "' '" (' "'") (character " ") (' "'")))) (; ";")) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_2 == iVar6 + 1) goto LAB_0001ea11;" (if "if") (parenthesized_expression "(param_2 == iVar6 + 1)" (( "(") (binary_expression "param_2 == iVar6 + 1" (identifier "param_2") (== "==") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) () ")")) (goto_statement "goto LAB_0001ea11;" (goto "goto") (statement_identifier "LAB_0001ea11") (; ";"))) (} "}"))) (expression_statement "param_3[iVar6] = cVar1;" (assignment_expression "param_3[iVar6] = cVar1" (subscript_expression "param_3[iVar6]" (identifier "param_3") ([ "[") (identifier "iVar6") (] "]")) (= "=") (identifier "cVar1")) (; ";")) (if_statement "if ((byte)(cVar1 - 0x30U) < 10) {\n        bVar2 = true;\n      }" (if "if") (parenthesized_expression "((byte)(cVar1 - 0x30U) < 10)" (( "(") (binary_expression "(byte)(cVar1 - 0x30U) < 10" (call_expression "(byte)(cVar1 - 0x30U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar1 - 0x30U)" (( "(") (binary_expression "cVar1 - 0x30U" (identifier "cVar1") (- "-") (number_literal "0x30U")) () ")"))) (< "<") (number_literal "10")) () ")")) (compound_statement "{\n        bVar2 = true;\n      }" ({ "{") (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" (identifier "bVar2") (= "=") (true "true")) (; ";")) (} "}"))) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != iVar6 + 1)" (( "(") (binary_expression "param_2 != iVar6 + 1" (identifier "param_2") (!= "!=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) () ")")) (; ";")) (labeled_statement "LAB_0001ea11:\n    iVar6 = iVar6 + 1;" (statement_identifier "LAB_0001ea11") (: ":") (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "iVar5 = (-(uint)!bVar2 & 7) + 3;" (assignment_expression "iVar5 = (-(uint)!bVar2 & 7) + 3" (identifier "iVar5") (= "=") (binary_expression "(-(uint)!bVar2 & 7) + 3" (parenthesized_expression "(-(uint)!bVar2 & 7)" (( "(") (binary_expression "-(uint)!bVar2 & 7" (unary_expression "-(uint)!bVar2" (- "-") (cast_expression "(uint)!bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (unary_expression "!bVar2" (! "!") (identifier "bVar2")))) (& "&") (number_literal "7")) () ")")) (+ "+") (number_literal "3"))) (; ";")) (if_statement "if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }" (if "if") (parenthesized_expression "((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6)" (( "(") (binary_expression "(int)((-(uint)!bVar2 & 0xe) + 6) < iVar6" (cast_expression "(int)((-(uint)!bVar2 & 0xe) + 6)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((-(uint)!bVar2 & 0xe) + 6)" (( "(") (binary_expression "(-(uint)!bVar2 & 0xe) + 6" (parenthesized_expression "(-(uint)!bVar2 & 0xe)" (( "(") (binary_expression "-(uint)!bVar2 & 0xe" (unary_expression "-(uint)!bVar2" (- "-") (cast_expression "(uint)!bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (unary_expression "!bVar2" (! "!") (identifier "bVar2")))) (& "&") (number_literal "0xe")) () ")")) (+ "+") (number_literal "6")) () ")"))) (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n      iVar7 = iVar6 - iVar5;\n      puVar3 = param_3 + iVar7;\n      if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }\n      do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);\n      iVar6 = (iVar6 + iVar5) - iVar7;\n    }" ({ "{") (expression_statement "iVar7 = iVar6 - iVar5;" (assignment_expression "iVar7 = iVar6 - iVar5" (identifier "iVar7") (= "=") (binary_expression "iVar6 - iVar5" (identifier "iVar6") (- "-") (identifier "iVar5"))) (; ";")) (expression_statement "puVar3 = param_3 + iVar7;" (assignment_expression "puVar3 = param_3 + iVar7" (identifier "puVar3") (= "=") (binary_expression "param_3 + iVar7" (identifier "param_3") (+ "+") (identifier "iVar7"))) (; ";")) (if_statement "if (iVar6 <= iVar7) {\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }" (if "if") (parenthesized_expression "(iVar6 <= iVar7)" (( "(") (binary_expression "iVar6 <= iVar7" (identifier "iVar6") (<= "<=") (identifier "iVar7")) () ")")) (compound_statement "{\n        param_3 = param_3 + iVar5;\n        goto LAB_0001ea5a;\n      }" ({ "{") (expression_statement "param_3 = param_3 + iVar5;" (assignment_expression "param_3 = param_3 + iVar5" (identifier "param_3") (= "=") (binary_expression "param_3 + iVar5" (identifier "param_3") (+ "+") (identifier "iVar5"))) (; ";")) (goto_statement "goto LAB_0001ea5a;" (goto "goto") (statement_identifier "LAB_0001ea5a") (; ";")) (} "}"))) (do_statement "do {\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      } while (puVar4 != param_3 + iVar6);" (do "do") (compound_statement "{\n        puVar4 = puVar3 + 1;\n        puVar3[iVar5 - iVar7] = *puVar3;\n        puVar3 = puVar4;\n      }" ({ "{") (expression_statement "puVar4 = puVar3 + 1;" (assignment_expression "puVar4 = puVar3 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3[iVar5 - iVar7] = *puVar3;" (assignment_expression "puVar3[iVar5 - iVar7] = *puVar3" (subscript_expression "puVar3[iVar5 - iVar7]" (identifier "puVar3") ([ "[") (binary_expression "iVar5 - iVar7" (identifier "iVar5") (- "-") (identifier "iVar7")) (] "]")) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" (identifier "puVar3") (= "=") (identifier "puVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != param_3 + iVar6)" (( "(") (binary_expression "puVar4 != param_3 + iVar6" (identifier "puVar4") (!= "!=") (binary_expression "param_3 + iVar6" (identifier "param_3") (+ "+") (identifier "iVar6"))) () ")")) (; ";")) (expression_statement "iVar6 = (iVar6 + iVar5) - iVar7;" (assignment_expression "iVar6 = (iVar6 + iVar5) - iVar7" (identifier "iVar6") (= "=") (binary_expression "(iVar6 + iVar5) - iVar7" (parenthesized_expression "(iVar6 + iVar5)" (( "(") (binary_expression "iVar6 + iVar5" (identifier "iVar6") (+ "+") (identifier "iVar5")) () ")")) (- "-") (identifier "iVar7"))) (; ";")) (} "}"))) (expression_statement "param_3 = param_3 + iVar6;" (assignment_expression "param_3 = param_3 + iVar6" (identifier "param_3") (= "=") (binary_expression "param_3 + iVar6" (identifier "param_3") (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" (identifier "iVar5") (= "=") (identifier "iVar6")) (; ";")) (} "}")))) (labeled_statement "LAB_0001ea5a:\n  *param_3 = 0;" (statement_identifier "LAB_0001ea5a") (: ":") (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "*param_4 = iVar5;" (assignment_expression "*param_4 = iVar5" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "iVar5")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(char *zIn,int var_1,char *var_5,int *pnOut)

{
  char var_2;
  bool bVar2;
  char *var_7;
  char *var_8;
  int var_4;
  int var_3;
  int var_6;
  
  if (var_1 < 1) {
    var_4 = 0;
  }
  else {
    bVar2 = false;
    var_4 = 0;
    do {
      while (var_3 = var_4, var_2 = zIn[var_3], (byte)(var_2 + 0xbfU) < 0x1a) {
        var_5[var_3] = var_2 + ' ';
        var_4 = var_3 + 1;
        if (var_1 == var_3 + 1) goto LAB_0001ea11;
      }
      var_5[var_3] = var_2;
      if ((byte)(var_2 - 0x30U) < 10) {
        bVar2 = true;
      }
      var_4 = var_3 + 1;
    } while (var_1 != var_3 + 1);
LAB_0001ea11:
    var_3 = var_3 + 1;
    var_4 = (-(type_1)!bVar2 & 7) + 3;
    if ((int)((-(type_1)!bVar2 & 0xe) + 6) < var_3) {
      var_6 = var_3 - var_4;
      var_7 = var_5 + var_6;
      if (var_3 <= var_6) {
        var_5 = var_5 + var_4;
        goto LAB_0001ea5a;
      }
      do {
        var_8 = var_7 + 1;
        var_7[var_4 - var_6] = *var_7;
        var_7 = var_8;
      } while (var_8 != var_5 + var_3);
      var_3 = (var_3 + var_4) - var_6;
    }
    var_5 = var_5 + var_3;
    var_4 = var_3;
  }
LAB_0001ea5a:
  *var_5 = '\0';
  *pnOut = var_4;
  return;
}


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

void __regparm3 MASKED(int param_1,int param_2,undefined1 *param_3,int *param_4)

{
  char cVar1;
  bool bVar2;
  undefined1 *puVar3;
  undefined1 *puVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  
  if (param_2 < 1) {
    iVar5 = 0;
  }
  else {
    bVar2 = false;
    iVar5 = 0;
    do {
      while (iVar6 = iVar5, cVar1 = *(char *)(param_1 + iVar6), (byte)(cVar1 + 0xbfU) < 0x1a) {
        param_3[iVar6] = cVar1 + ' ';
        iVar5 = iVar6 + 1;
        if (param_2 == iVar6 + 1) goto LAB_0001ea11;
      }
      param_3[iVar6] = cVar1;
      if ((byte)(cVar1 - 0x30U) < 10) {
        bVar2 = true;
      }
      iVar5 = iVar6 + 1;
    } while (param_2 != iVar6 + 1);
LAB_0001ea11:
    iVar6 = iVar6 + 1;
    iVar5 = (-(uint)!bVar2 & 7) + 3;
    if ((int)((-(uint)!bVar2 & 0xe) + 6) < iVar6) {
      iVar7 = iVar6 - iVar5;
      puVar3 = param_3 + iVar7;
      if (iVar6 <= iVar7) {
        param_3 = param_3 + iVar5;
        goto LAB_0001ea5a;
      }
      do {
        puVar4 = puVar3 + 1;
        puVar3[iVar5 - iVar7] = *puVar3;
        puVar3 = puVar4;
      } while (puVar4 != param_3 + iVar6);
      iVar6 = (iVar6 + iVar5) - iVar7;
    }
    param_3 = param_3 + iVar6;
    iVar5 = iVar6;
  }
LAB_0001ea5a:
  *param_3 = 0;
  *param_4 = iVar5;
  return;
}

