
void __regparm3 exprNodeCopy(Expr *pDest,Expr *pSrc)

{
  char cVar1;
  undefined2 uVar2;
  int iVar3;
  uint uVar4;
  Expr *pEVar5;
  
  pEVar5 = pDest;
  for (iVar3 = 0xe; iVar3 != 0; iVar3 = iVar3 + -1) {
    pEVar5->op = '\0';
    pEVar5->affinity = '\0';
    *(undefined2 *)&pEVar5->field_0x2 = 0;
    pEVar5 = (Expr *)&pEVar5->flags;
  }
  iVar3 = 0xc;
  if ((pSrc->flags & 0x4000) == 0) {
    iVar3 = (-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c) + 0x1c;
  }
  *(undefined4 *)((int)pDest + iVar3 + -4) = *(undefined4 *)((int)pSrc + iVar3 + -4);
  for (uVar4 = iVar3 - 1U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {
    cVar1 = pSrc->affinity;
    uVar2 = *(undefined2 *)&pSrc->field_0x2;
    pDest->op = pSrc->op;
    pDest->affinity = cVar1;
    *(undefined2 *)&pDest->field_0x2 = uVar2;
    pSrc = (Expr *)&pSrc->flags;
    pDest = (Expr *)&pDest->flags;
  }
  return;
}



void __regparm3 FUN_00021810(undefined4 *param_1,undefined4 *param_2)

{
  int iVar1;
  uint uVar2;
  undefined4 *puVar3;
  
  puVar3 = param_1;
  for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {
    *puVar3 = 0;
    puVar3 = puVar3 + 1;
  }
  iVar1 = 0xc;
  if ((param_2[1] & 0x4000) == 0) {
    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;
  }
  *(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);
  for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {
    *param_1 = *param_2;
    param_2 = param_2 + 1;
    param_1 = param_1 + 1;
  }
  return;
}


PUSH EDI
MOV ECX,0xe
PUSH ESI
MOV ESI,EDX
PUSH EBX
MOV EBX,EAX
XOR EAX,EAX
MOV EDI,EBX
STOSD.REP ES:EDI
MOV ECX,0xc
MOV EAX,dword ptr [EDX + 0x4]
TEST AH,0x40
JNZ 0x0002183f
AND EAX,0x2000
CMP EAX,0x1
SBB ECX,ECX
AND ECX,0x1c
ADD ECX,0x1c
MOV EAX,dword ptr [ESI + ECX*0x1 + -0x4]
MOV EDI,EBX
MOV dword ptr [EBX + ECX*0x1 + -0x4],EAX
SUB ECX,0x1
SHR ECX,0x2
MOVSD.REP ES:EDI,ESI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "void __regparm3 FUN_00021810(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = param_1;\n  for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }\n  iVar1 = 0xc;\n  if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);\n  for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00021810(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = param_1;\n  for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }\n  iVar1 = 0xc;\n  if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);\n  for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00021810(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = param_1;\n  for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }\n  iVar1 = 0xc;\n  if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);\n  for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (for_statement "for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }" for ( (assignment_expression "iVar1 = 0xe" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) (if_statement "if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }" if (parenthesized_expression "((param_2[1] & 0x4000) == 0)" ( (binary_expression "(param_2[1] & 0x4000) == 0" (parenthesized_expression "(param_2[1] & 0x4000)" ( (binary_expression "param_2[1] & 0x4000" (subscript_expression "param_2[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }" { (expression_statement "iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;" (assignment_expression "iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c" identifier = (binary_expression "(-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c" (parenthesized_expression "(-(uint)((param_2[1] & 0x2000) == 0) & 0x1c)" ( (binary_expression "-(uint)((param_2[1] & 0x2000) == 0) & 0x1c" (unary_expression "-(uint)((param_2[1] & 0x2000) == 0)" - (call_expression "(uint)((param_2[1] & 0x2000) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((param_2[1] & 0x2000) == 0)" ( (binary_expression "(param_2[1] & 0x2000) == 0" (parenthesized_expression "(param_2[1] & 0x2000)" ( (binary_expression "param_2[1] & 0x2000" (subscript_expression "param_2[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )))) & number_literal) )) + number_literal)) ;) })) (expression_statement "*(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);" (assignment_expression "*(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4)" (pointer_expression "*(undefined4 *)((int)param_1 + iVar1 + -4)" * (cast_expression "(undefined4 *)((int)param_1 + iVar1 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar1 + -4)" ( (binary_expression "(int)param_1 + iVar1 + -4" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)param_2 + iVar1 + -4)" * (cast_expression "(undefined4 *)((int)param_2 + iVar1 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + iVar1 + -4)" ( (binary_expression "(int)param_2 + iVar1 + -4" (binary_expression "(int)param_2 + iVar1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (for_statement "for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }" for ( (assignment_expression "uVar2 = iVar1 - 1U >> 2" identifier = (binary_expression "iVar1 - 1U >> 2" (binary_expression "iVar1 - 1U" identifier - number_literal) >> number_literal)) ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 exprNodeCopy(Expr *pDest,Expr *pSrc)\n\n{\n  char cVar1;\n  undefined2 uVar2;\n  int iVar3;\n  uint uVar4;\n  Expr *pEVar5;\n  \n  pEVar5 = pDest;\n  for (iVar3 = 0xe; iVar3 != 0; iVar3 = iVar3 + -1) {\n    pEVar5->op = '\0';\n    pEVar5->affinity = '\0';\n    *(undefined2 *)&pEVar5->field_0x2 = 0;\n    pEVar5 = (Expr *)&pEVar5->flags;\n  }\n  iVar3 = 0xc;\n  if ((pSrc->flags & 0x4000) == 0) {\n    iVar3 = (-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)pDest + iVar3 + -4) = *(undefined4 *)((int)pSrc + iVar3 + -4);\n  for (uVar4 = iVar3 - 1U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n    cVar1 = pSrc->affinity;\n    uVar2 = *(undefined2 *)&pSrc->field_0x2;\n    pDest->op = pSrc->op;\n    pDest->affinity = cVar1;\n    *(undefined2 *)&pDest->field_0x2 = uVar2;\n    pSrc = (Expr *)&pSrc->flags;\n    pDest = (Expr *)&pDest->flags;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 exprNodeCopy(Expr *pDest,Expr *pSrc)\n\n{\n  char cVar1;\n  undefined2 uVar2;\n  int iVar3;\n  uint uVar4;\n  Expr *pEVar5;\n  \n  pEVar5 = pDest;\n  for (iVar3 = 0xe; iVar3 != 0; iVar3 = iVar3 + -1) {\n    pEVar5->op = '\0';\n    pEVar5->affinity = '\0';\n    *(undefined2 *)&pEVar5->field_0x2 = 0;\n    pEVar5 = (Expr *)&pEVar5->flags;\n  }\n  iVar3 = 0xc;\n  if ((pSrc->flags & 0x4000) == 0) {\n    iVar3 = (-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)pDest + iVar3 + -4) = *(undefined4 *)((int)pSrc + iVar3 + -4);\n  for (uVar4 = iVar3 - 1U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n    cVar1 = pSrc->affinity;\n    uVar2 = *(undefined2 *)&pSrc->field_0x2;\n    pDest->op = pSrc->op;\n    pDest->affinity = cVar1;\n    *(undefined2 *)&pDest->field_0x2 = uVar2;\n    pSrc = (Expr *)&pSrc->flags;\n    pDest = (Expr *)&pDest->flags;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "exprNodeCopy(Expr *pDest,Expr *pSrc)" identifier (parameter_list "(Expr *pDest,Expr *pSrc)" ( (parameter_declaration "Expr *pDest" type_identifier (pointer_declarator "*pDest" * identifier)) , (parameter_declaration "Expr *pSrc" type_identifier (pointer_declarator "*pSrc" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined2 uVar2;\n  int iVar3;\n  uint uVar4;\n  Expr *pEVar5;\n  \n  pEVar5 = pDest;\n  for (iVar3 = 0xe; iVar3 != 0; iVar3 = iVar3 + -1) {\n    pEVar5->op = '\0';\n    pEVar5->affinity = '\0';\n    *(undefined2 *)&pEVar5->field_0x2 = 0;\n    pEVar5 = (Expr *)&pEVar5->flags;\n  }\n  iVar3 = 0xc;\n  if ((pSrc->flags & 0x4000) == 0) {\n    iVar3 = (-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)pDest + iVar3 + -4) = *(undefined4 *)((int)pSrc + iVar3 + -4);\n  for (uVar4 = iVar3 - 1U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n    cVar1 = pSrc->affinity;\n    uVar2 = *(undefined2 *)&pSrc->field_0x2;\n    pDest->op = pSrc->op;\n    pDest->affinity = cVar1;\n    *(undefined2 *)&pDest->field_0x2 = uVar2;\n    pSrc = (Expr *)&pSrc->flags;\n    pDest = (Expr *)&pDest->flags;\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined2 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "Expr *pEVar5;" type_identifier (pointer_declarator "*pEVar5" * identifier) ;) (expression_statement "pEVar5 = pDest;" (assignment_expression "pEVar5 = pDest" identifier = identifier) ;) (for_statement "for (iVar3 = 0xe; iVar3 != 0; iVar3 = iVar3 + -1) {\n    pEVar5->op = '\0';\n    pEVar5->affinity = '\0';\n    *(undefined2 *)&pEVar5->field_0x2 = 0;\n    pEVar5 = (Expr *)&pEVar5->flags;\n  }" for ( (assignment_expression "iVar3 = 0xe" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n    pEVar5->op = '\0';\n    pEVar5->affinity = '\0';\n    *(undefined2 *)&pEVar5->field_0x2 = 0;\n    pEVar5 = (Expr *)&pEVar5->flags;\n  }" { (expression_statement "pEVar5->op = '\0';" (assignment_expression "pEVar5->op = '\0'" (field_expression "pEVar5->op" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pEVar5->affinity = '\0';" (assignment_expression "pEVar5->affinity = '\0'" (field_expression "pEVar5->affinity" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(undefined2 *)&pEVar5->field_0x2 = 0;" (assignment_expression "*(undefined2 *)&pEVar5->field_0x2 = 0" (pointer_expression "*(undefined2 *)&pEVar5->field_0x2" * (cast_expression "(undefined2 *)&pEVar5->field_0x2" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pEVar5->field_0x2" & (field_expression "pEVar5->field_0x2" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "pEVar5 = (Expr *)&pEVar5->flags;" (assignment_expression "pEVar5 = (Expr *)&pEVar5->flags" identifier = (cast_expression "(Expr *)&pEVar5->flags" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pEVar5->flags" & (field_expression "pEVar5->flags" identifier -> field_identifier)))) ;) })) (expression_statement "iVar3 = 0xc;" (assignment_expression "iVar3 = 0xc" identifier = number_literal) ;) (if_statement "if ((pSrc->flags & 0x4000) == 0) {\n    iVar3 = (-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c) + 0x1c;\n  }" if (parenthesized_expression "((pSrc->flags & 0x4000) == 0)" ( (binary_expression "(pSrc->flags & 0x4000) == 0" (parenthesized_expression "(pSrc->flags & 0x4000)" ( (binary_expression "pSrc->flags & 0x4000" (field_expression "pSrc->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar3 = (-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c) + 0x1c;\n  }" { (expression_statement "iVar3 = (-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c) + 0x1c;" (assignment_expression "iVar3 = (-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c) + 0x1c" identifier = (binary_expression "(-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c) + 0x1c" (parenthesized_expression "(-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c)" ( (binary_expression "-(uint)((pSrc->flags & 0x2000) == 0) & 0x1c" (unary_expression "-(uint)((pSrc->flags & 0x2000) == 0)" - (call_expression "(uint)((pSrc->flags & 0x2000) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((pSrc->flags & 0x2000) == 0)" ( (binary_expression "(pSrc->flags & 0x2000) == 0" (parenthesized_expression "(pSrc->flags & 0x2000)" ( (binary_expression "pSrc->flags & 0x2000" (field_expression "pSrc->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )))) & number_literal) )) + number_literal)) ;) })) (expression_statement "*(undefined4 *)((int)pDest + iVar3 + -4) = *(undefined4 *)((int)pSrc + iVar3 + -4);" (assignment_expression "*(undefined4 *)((int)pDest + iVar3 + -4) = *(undefined4 *)((int)pSrc + iVar3 + -4)" (pointer_expression "*(undefined4 *)((int)pDest + iVar3 + -4)" * (cast_expression "(undefined4 *)((int)pDest + iVar3 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pDest + iVar3 + -4)" ( (binary_expression "(int)pDest + iVar3 + -4" (binary_expression "(int)pDest + iVar3" (cast_expression "(int)pDest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)pSrc + iVar3 + -4)" * (cast_expression "(undefined4 *)((int)pSrc + iVar3 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pSrc + iVar3 + -4)" ( (binary_expression "(int)pSrc + iVar3 + -4" (binary_expression "(int)pSrc + iVar3" (cast_expression "(int)pSrc" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (for_statement "for (uVar4 = iVar3 - 1U >> 2; uVar4 != 0; uVar4 = uVar4 - 1) {\n    cVar1 = pSrc->affinity;\n    uVar2 = *(undefined2 *)&pSrc->field_0x2;\n    pDest->op = pSrc->op;\n    pDest->affinity = cVar1;\n    *(undefined2 *)&pDest->field_0x2 = uVar2;\n    pSrc = (Expr *)&pSrc->flags;\n    pDest = (Expr *)&pDest->flags;\n  }" for ( (assignment_expression "uVar4 = iVar3 - 1U >> 2" identifier = (binary_expression "iVar3 - 1U >> 2" (binary_expression "iVar3 - 1U" identifier - number_literal) >> number_literal)) ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n    cVar1 = pSrc->affinity;\n    uVar2 = *(undefined2 *)&pSrc->field_0x2;\n    pDest->op = pSrc->op;\n    pDest->affinity = cVar1;\n    *(undefined2 *)&pDest->field_0x2 = uVar2;\n    pSrc = (Expr *)&pSrc->flags;\n    pDest = (Expr *)&pDest->flags;\n  }" { (expression_statement "cVar1 = pSrc->affinity;" (assignment_expression "cVar1 = pSrc->affinity" identifier = (field_expression "pSrc->affinity" identifier -> field_identifier)) ;) (expression_statement "uVar2 = *(undefined2 *)&pSrc->field_0x2;" (assignment_expression "uVar2 = *(undefined2 *)&pSrc->field_0x2" identifier = (pointer_expression "*(undefined2 *)&pSrc->field_0x2" * (cast_expression "(undefined2 *)&pSrc->field_0x2" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pSrc->field_0x2" & (field_expression "pSrc->field_0x2" identifier -> field_identifier))))) ;) (expression_statement "pDest->op = pSrc->op;" (assignment_expression "pDest->op = pSrc->op" (field_expression "pDest->op" identifier -> field_identifier) = (field_expression "pSrc->op" identifier -> field_identifier)) ;) (expression_statement "pDest->affinity = cVar1;" (assignment_expression "pDest->affinity = cVar1" (field_expression "pDest->affinity" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined2 *)&pDest->field_0x2 = uVar2;" (assignment_expression "*(undefined2 *)&pDest->field_0x2 = uVar2" (pointer_expression "*(undefined2 *)&pDest->field_0x2" * (cast_expression "(undefined2 *)&pDest->field_0x2" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pDest->field_0x2" & (field_expression "pDest->field_0x2" identifier -> field_identifier)))) = identifier) ;) (expression_statement "pSrc = (Expr *)&pSrc->flags;" (assignment_expression "pSrc = (Expr *)&pSrc->flags" identifier = (cast_expression "(Expr *)&pSrc->flags" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pSrc->flags" & (field_expression "pSrc->flags" identifier -> field_identifier)))) ;) (expression_statement "pDest = (Expr *)&pDest->flags;" (assignment_expression "pDest = (Expr *)&pDest->flags" identifier = (cast_expression "(Expr *)&pDest->flags" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pDest->flags" & (field_expression "pDest->flags" identifier -> field_identifier)))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00021810(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = param_1;\n  for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }\n  iVar1 = 0xc;\n  if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);\n  for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00021810(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = param_1;\n  for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }\n  iVar1 = 0xc;\n  if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);\n  for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00021810(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = param_1;\n  for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }\n  iVar1 = 0xc;\n  if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);\n  for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (for_statement "for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }" for ( (assignment_expression "iVar1 = 0xe" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) (if_statement "if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }" if (parenthesized_expression "((param_2[1] & 0x4000) == 0)" ( (binary_expression "(param_2[1] & 0x4000) == 0" (parenthesized_expression "(param_2[1] & 0x4000)" ( (binary_expression "param_2[1] & 0x4000" (subscript_expression "param_2[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }" { (expression_statement "iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;" (assignment_expression "iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c" identifier = (binary_expression "(-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c" (parenthesized_expression "(-(uint)((param_2[1] & 0x2000) == 0) & 0x1c)" ( (binary_expression "-(uint)((param_2[1] & 0x2000) == 0) & 0x1c" (unary_expression "-(uint)((param_2[1] & 0x2000) == 0)" - (call_expression "(uint)((param_2[1] & 0x2000) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((param_2[1] & 0x2000) == 0)" ( (binary_expression "(param_2[1] & 0x2000) == 0" (parenthesized_expression "(param_2[1] & 0x2000)" ( (binary_expression "param_2[1] & 0x2000" (subscript_expression "param_2[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )))) & number_literal) )) + number_literal)) ;) })) (expression_statement "*(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);" (assignment_expression "*(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4)" (pointer_expression "*(undefined4 *)((int)param_1 + iVar1 + -4)" * (cast_expression "(undefined4 *)((int)param_1 + iVar1 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar1 + -4)" ( (binary_expression "(int)param_1 + iVar1 + -4" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)param_2 + iVar1 + -4)" * (cast_expression "(undefined4 *)((int)param_2 + iVar1 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + iVar1 + -4)" ( (binary_expression "(int)param_2 + iVar1 + -4" (binary_expression "(int)param_2 + iVar1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (for_statement "for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }" for ( (assignment_expression "uVar2 = iVar1 - 1U >> 2" identifier = (binary_expression "iVar1 - 1U >> 2" (binary_expression "iVar1 - 1U" identifier - number_literal) >> number_literal)) ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }" { (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )))) & LIT) )) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00021810(undefined4 *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = param_1;\n  for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }\n  iVar1 = 0xc;\n  if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);\n  for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00021810(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_00021810") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = param_1;\n  for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }\n  iVar1 = 0xc;\n  if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }\n  *(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);\n  for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" (identifier "puVar3") (= "=") (identifier "param_1")) (; ";")) (for_statement "for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }" (for "for") (( "(") (assignment_expression "iVar1 = 0xe" (identifier "iVar1") (= "=") (number_literal "0xe")) (; ";") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar3 = 0;\n    puVar3 = puVar3 + 1;\n  }" ({ "{") (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" (identifier "iVar1") (= "=") (number_literal "0xc")) (; ";")) (if_statement "if ((param_2[1] & 0x4000) == 0) {\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }" (if "if") (parenthesized_expression "((param_2[1] & 0x4000) == 0)" (( "(") (binary_expression "(param_2[1] & 0x4000) == 0" (parenthesized_expression "(param_2[1] & 0x4000)" (( "(") (binary_expression "param_2[1] & 0x4000" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0x4000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;\n  }" ({ "{") (expression_statement "iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;" (assignment_expression "iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c" (identifier "iVar1") (= "=") (binary_expression "(-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c" (parenthesized_expression "(-(uint)((param_2[1] & 0x2000) == 0) & 0x1c)" (( "(") (binary_expression "-(uint)((param_2[1] & 0x2000) == 0) & 0x1c" (unary_expression "-(uint)((param_2[1] & 0x2000) == 0)" (- "-") (call_expression "(uint)((param_2[1] & 0x2000) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((param_2[1] & 0x2000) == 0)" (( "(") (binary_expression "(param_2[1] & 0x2000) == 0" (parenthesized_expression "(param_2[1] & 0x2000)" (( "(") (binary_expression "param_2[1] & 0x2000" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0x2000")) () ")")) (== "==") (number_literal "0")) () ")")))) (& "&") (number_literal "0x1c")) () ")")) (+ "+") (number_literal "0x1c"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);" (assignment_expression "*(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4)" (pointer_expression "*(undefined4 *)((int)param_1 + iVar1 + -4)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + iVar1 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar1 + -4)" (( "(") (binary_expression "(int)param_1 + iVar1 + -4" (binary_expression "(int)param_1 + iVar1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "-4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)param_2 + iVar1 + -4)" (* "*") (cast_expression "(undefined4 *)((int)param_2 + iVar1 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + iVar1 + -4)" (( "(") (binary_expression "(int)param_2 + iVar1 + -4" (binary_expression "(int)param_2 + iVar1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "-4")) () ")"))))) (; ";")) (for_statement "for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }" (for "for") (( "(") (assignment_expression "uVar2 = iVar1 - 1U >> 2" (identifier "uVar2") (= "=") (binary_expression "iVar1 - 1U >> 2" (binary_expression "iVar1 - 1U" (identifier "iVar1") (- "-") (number_literal "1U")) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar2 = uVar2 - 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *param_1 = *param_2;\n    param_2 = param_2 + 1;\n    param_1 = param_1 + 1;\n  }" ({ "{") (expression_statement "*param_1 = *param_2;" (assignment_expression "*param_1 = *param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *pDest,type_1 *pSrc)

{
  char cVar1;
  type_2 uVar2;
  int var_1;
  type_3 var_2;
  type_1 *pEVar5;
  
  pEVar5 = pDest;
  for (var_1 = 0xe; var_1 != 0; var_1 = var_1 + -1) {
    pEVar5->op = '\0';
    pEVar5->affinity = '\0';
    *(type_2 *)&pEVar5->field_0x2 = 0;
    pEVar5 = (type_1 *)&pEVar5->flags;
  }
  var_1 = 0xc;
  if ((pSrc->flags & 0x4000) == 0) {
    var_1 = (-(type_3)((pSrc->flags & 0x2000) == 0) & 0x1c) + 0x1c;
  }
  *(type_4 *)((int)pDest + var_1 + -4) = *(type_4 *)((int)pSrc + var_1 + -4);
  for (var_2 = var_1 - 1U >> 2; var_2 != 0; var_2 = var_2 - 1) {
    cVar1 = pSrc->affinity;
    uVar2 = *(type_2 *)&pSrc->field_0x2;
    pDest->op = pSrc->op;
    pDest->affinity = cVar1;
    *(type_2 *)&pDest->field_0x2 = uVar2;
    pSrc = (type_1 *)&pSrc->flags;
    pDest = (type_1 *)&pDest->flags;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement initializer: (assignment_expression left: (identifier) right: (number_literal)) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))))) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))))) (for_statement initializer: (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (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: (identifier) right: (number_literal)))))) (return_statement))))

void __regparm3 MASKED(undefined4 *param_1,undefined4 *param_2)

{
  int iVar1;
  uint uVar2;
  undefined4 *puVar3;
  
  puVar3 = param_1;
  for (iVar1 = 0xe; iVar1 != 0; iVar1 = iVar1 + -1) {
    *puVar3 = 0;
    puVar3 = puVar3 + 1;
  }
  iVar1 = 0xc;
  if ((param_2[1] & 0x4000) == 0) {
    iVar1 = (-(uint)((param_2[1] & 0x2000) == 0) & 0x1c) + 0x1c;
  }
  *(undefined4 *)((int)param_1 + iVar1 + -4) = *(undefined4 *)((int)param_2 + iVar1 + -4);
  for (uVar2 = iVar1 - 1U >> 2; uVar2 != 0; uVar2 = uVar2 - 1) {
    *param_1 = *param_2;
    param_2 = param_2 + 1;
    param_1 = param_1 + 1;
  }
  return;
}

