
/* std::__detail::_List_node_base::swap(std::__detail::_List_node_base&,
   std::__detail::_List_node_base&) */

void std::__detail::_List_node_base::swap(_List_node_base *param_1,_List_node_base *param_2)

{
  _List_node_base *p_Var1;
  _List_node_base *p_Var2;
  _List_node_base *p_Var3;
  
  p_Var1 = param_1->_M_next;
  p_Var2 = param_2->_M_next;
  if (p_Var1 == param_1) {
    if (param_2 != p_Var2) {
      p_Var3 = param_2->_M_prev;
      p_Var1->_M_next = p_Var2;
      p_Var1->_M_prev = p_Var3;
      p_Var3->_M_next = p_Var1;
      p_Var1->_M_next->_M_prev = p_Var1;
      param_2->_M_prev = param_2;
      param_2->_M_next = param_2;
      return;
    }
  }
  else {
    if (param_2 == p_Var2) {
      param_2->_M_next = p_Var1;
      p_Var1 = param_1->_M_prev;
      param_2->_M_prev = p_Var1;
      p_Var1->_M_next = param_2;
      param_2->_M_next->_M_prev = param_2;
      param_1->_M_prev = param_1;
      param_1->_M_next = param_1;
      return;
    }
    param_1->_M_next = p_Var2;
    param_2->_M_next = p_Var1;
    p_Var1 = param_1->_M_prev;
    param_1->_M_prev = param_2->_M_prev;
    param_2->_M_prev = p_Var1;
    param_1->_M_prev->_M_next = param_1;
    param_1->_M_next->_M_prev = param_1;
    param_2->_M_prev->_M_next = param_2;
    param_2->_M_next->_M_prev = param_2;
  }
  return;
}



void FUN_00183880(int *param_1,int *param_2)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  undefined4 *puVar4;
  
  piVar1 = (int *)*param_1;
  piVar2 = (int *)*param_2;
  if (piVar1 == param_1) {
    if (param_2 != piVar2) {
      puVar4 = (undefined4 *)param_2[1];
      *piVar1 = (int)piVar2;
      piVar1[1] = (int)puVar4;
      *puVar4 = piVar1;
      *(int **)(*piVar1 + 4) = piVar1;
      param_2[1] = (int)param_2;
      *param_2 = (int)param_2;
      return;
    }
  }
  else {
    if (param_2 == piVar2) {
      *param_2 = (int)piVar1;
      puVar4 = (undefined4 *)param_1[1];
      param_2[1] = (int)puVar4;
      *puVar4 = param_2;
      *(int **)(*param_2 + 4) = param_2;
      param_1[1] = (int)param_1;
      *param_1 = (int)param_1;
      return;
    }
    *param_1 = (int)piVar2;
    *param_2 = (int)piVar1;
    iVar3 = param_1[1];
    param_1[1] = param_2[1];
    param_2[1] = iVar3;
    *(int **)param_1[1] = param_1;
    *(int **)(*param_1 + 4) = param_1;
    *(int **)param_2[1] = param_2;
    *(int **)(*param_2 + 4) = param_2;
  }
  return;
}


PUSH EBX
MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [EDX]
MOV EBX,dword ptr [EAX]
CMP ECX,EDX
JZ 0x001838e0
CMP EAX,EBX
JZ 0x001838c0
MOV dword ptr [EDX],EBX
MOV EBX,dword ptr [EAX + 0x4]
MOV dword ptr [EAX],ECX
MOV ECX,dword ptr [EDX + 0x4]
MOV dword ptr [EDX + 0x4],EBX
MOV dword ptr [EAX + 0x4],ECX
MOV ECX,dword ptr [EDX + 0x4]
MOV dword ptr [ECX],EDX
MOV ECX,dword ptr [EDX]
MOV dword ptr [ECX + 0x4],EDX
MOV EDX,dword ptr [EAX + 0x4]
MOV dword ptr [EDX],EAX
MOV EDX,dword ptr [EAX]
MOV dword ptr [EDX + 0x4],EAX
POP EBX
RET
MOV dword ptr [EAX],ECX
MOV ECX,dword ptr [EDX + 0x4]
MOV dword ptr [EAX + 0x4],ECX
MOV dword ptr [ECX],EAX
MOV ECX,dword ptr [EAX]
MOV dword ptr [ECX + 0x4],EAX
MOV dword ptr [EDX + 0x4],EDX
MOV dword ptr [EDX],EDX
POP EBX
RET
CMP EAX,EBX
JZ 0x001838b9
MOV EDX,dword ptr [EAX + 0x4]
MOV dword ptr [ECX],EBX
MOV dword ptr [ECX + 0x4],EDX
MOV dword ptr [EDX],ECX
MOV EDX,dword ptr [ECX]
MOV dword ptr [EDX + 0x4],ECX
MOV dword ptr [EAX + 0x4],EAX
MOV dword ptr [EAX],EAX
POP EBX
RET
(translation_unit "void FUN_00183880(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)*param_2;\n  if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00183880(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)*param_2;\n  if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00183880(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)*param_2;\n  if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }" if (parenthesized_expression "(piVar1 == param_1)" ( (binary_expression "piVar1 == param_1" identifier == identifier) )) (compound_statement "{\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }" { (if_statement "if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }" if (parenthesized_expression "(param_2 != piVar2)" ( (binary_expression "param_2 != piVar2" identifier != identifier) )) (compound_statement "{\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }" { (expression_statement "puVar4 = (undefined4 *)param_2[1];" (assignment_expression "puVar4 = (undefined4 *)param_2[1]" identifier = (cast_expression "(undefined4 *)param_2[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (expression_statement "*piVar1 = (int)piVar2;" (assignment_expression "*piVar1 = (int)piVar2" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar1[1] = (int)puVar4;" (assignment_expression "piVar1[1] = (int)puVar4" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*puVar4 = piVar1;" (assignment_expression "*puVar4 = piVar1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*(int **)(*piVar1 + 4) = piVar1;" (assignment_expression "*(int **)(*piVar1 + 4) = piVar1" (pointer_expression "*(int **)(*piVar1 + 4)" * (cast_expression "(int **)(*piVar1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 4)" ( (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_2[1] = (int)param_2;" (assignment_expression "param_2[1] = (int)param_2" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_2 = (int)param_2;" (assignment_expression "*param_2 = (int)param_2" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }" else (compound_statement "{\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }" { (if_statement "if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }" if (parenthesized_expression "(param_2 == piVar2)" ( (binary_expression "param_2 == piVar2" identifier == identifier) )) (compound_statement "{\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }" { (expression_statement "*param_2 = (int)piVar1;" (assignment_expression "*param_2 = (int)piVar1" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar4 = (undefined4 *)param_1[1];" (assignment_expression "puVar4 = (undefined4 *)param_1[1]" identifier = (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "param_2[1] = (int)puVar4;" (assignment_expression "param_2[1] = (int)puVar4" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*puVar4 = param_2;" (assignment_expression "*puVar4 = param_2" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*(int **)(*param_2 + 4) = param_2;" (assignment_expression "*(int **)(*param_2 + 4) = param_2" (pointer_expression "*(int **)(*param_2 + 4)" * (cast_expression "(int **)(*param_2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 4)" ( (binary_expression "*param_2 + 4" (pointer_expression "*param_2" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_1[1] = (int)param_1;" (assignment_expression "param_1[1] = (int)param_1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_1 = (int)param_1;" (assignment_expression "*param_1 = (int)param_1" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "*param_1 = (int)piVar2;" (assignment_expression "*param_1 = (int)piVar2" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_2 = (int)piVar1;" (assignment_expression "*param_2 = (int)piVar1" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = param_2[1];" (assignment_expression "param_1[1] = param_2[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_2[1] = iVar3;" (assignment_expression "param_2[1] = iVar3" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(int **)param_1[1] = param_1;" (assignment_expression "*(int **)param_1[1] = param_1" (pointer_expression "*(int **)param_1[1]" * (cast_expression "(int **)param_1[1]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "*(int **)(*param_1 + 4) = param_1;" (assignment_expression "*(int **)(*param_1 + 4) = param_1" (pointer_expression "*(int **)(*param_1 + 4)" * (cast_expression "(int **)(*param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)param_2[1] = param_2;" (assignment_expression "*(int **)param_2[1] = param_2" (pointer_expression "*(int **)param_2[1]" * (cast_expression "(int **)param_2[1]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "*(int **)(*param_2 + 4) = param_2;" (assignment_expression "*(int **)(*param_2 + 4) = param_2" (pointer_expression "*(int **)(*param_2 + 4)" * (cast_expression "(int **)(*param_2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 4)" ( (binary_expression "*param_2 + 4" (pointer_expression "*param_2" * identifier) + number_literal) )))) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* std::__detail::_List_node_base::swap(std::__detail::_List_node_base&,\n   std::__detail::_List_node_base&) */\n\nvoid std::__detail::_List_node_base::swap(_List_node_base *param_1,_List_node_base *param_2)\n\n{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  _List_node_base *p_Var3;\n  \n  p_Var1 = param_1->_M_next;\n  p_Var2 = param_2->_M_next;\n  if (p_Var1 == param_1) {\n    if (param_2 != p_Var2) {\n      p_Var3 = param_2->_M_prev;\n      p_Var1->_M_next = p_Var2;\n      p_Var1->_M_prev = p_Var3;\n      p_Var3->_M_next = p_Var1;\n      p_Var1->_M_next->_M_prev = p_Var1;\n      param_2->_M_prev = param_2;\n      param_2->_M_next = param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == p_Var2) {\n      param_2->_M_next = p_Var1;\n      p_Var1 = param_1->_M_prev;\n      param_2->_M_prev = p_Var1;\n      p_Var1->_M_next = param_2;\n      param_2->_M_next->_M_prev = param_2;\n      param_1->_M_prev = param_1;\n      param_1->_M_next = param_1;\n      return;\n    }\n    param_1->_M_next = p_Var2;\n    param_2->_M_next = p_Var1;\n    p_Var1 = param_1->_M_prev;\n    param_1->_M_prev = param_2->_M_prev;\n    param_2->_M_prev = p_Var1;\n    param_1->_M_prev->_M_next = param_1;\n    param_1->_M_next->_M_prev = param_1;\n    param_2->_M_prev->_M_next = param_2;\n    param_2->_M_next->_M_prev = param_2;\n  }\n  return;\n}\n\n" comment (function_definition "void std::__detail::_List_node_base::swap(_List_node_base *param_1,_List_node_base *param_2)\n\n{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  _List_node_base *p_Var3;\n  \n  p_Var1 = param_1->_M_next;\n  p_Var2 = param_2->_M_next;\n  if (p_Var1 == param_1) {\n    if (param_2 != p_Var2) {\n      p_Var3 = param_2->_M_prev;\n      p_Var1->_M_next = p_Var2;\n      p_Var1->_M_prev = p_Var3;\n      p_Var3->_M_next = p_Var1;\n      p_Var1->_M_next->_M_prev = p_Var1;\n      param_2->_M_prev = param_2;\n      param_2->_M_next = param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == p_Var2) {\n      param_2->_M_next = p_Var1;\n      p_Var1 = param_1->_M_prev;\n      param_2->_M_prev = p_Var1;\n      p_Var1->_M_next = param_2;\n      param_2->_M_next->_M_prev = param_2;\n      param_1->_M_prev = param_1;\n      param_1->_M_next = param_1;\n      return;\n    }\n    param_1->_M_next = p_Var2;\n    param_2->_M_next = p_Var1;\n    p_Var1 = param_1->_M_prev;\n    param_1->_M_prev = param_2->_M_prev;\n    param_2->_M_prev = p_Var1;\n    param_1->_M_prev->_M_next = param_1;\n    param_1->_M_next->_M_prev = param_1;\n    param_2->_M_prev->_M_next = param_2;\n    param_2->_M_next->_M_prev = param_2;\n  }\n  return;\n}" primitive_type (ERROR "std::__detail::_List_node_base::" identifier : : identifier : : identifier : :) (function_declarator "swap(_List_node_base *param_1,_List_node_base *param_2)" identifier (parameter_list "(_List_node_base *param_1,_List_node_base *param_2)" ( (parameter_declaration "_List_node_base *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "_List_node_base *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  _List_node_base *p_Var1;\n  _List_node_base *p_Var2;\n  _List_node_base *p_Var3;\n  \n  p_Var1 = param_1->_M_next;\n  p_Var2 = param_2->_M_next;\n  if (p_Var1 == param_1) {\n    if (param_2 != p_Var2) {\n      p_Var3 = param_2->_M_prev;\n      p_Var1->_M_next = p_Var2;\n      p_Var1->_M_prev = p_Var3;\n      p_Var3->_M_next = p_Var1;\n      p_Var1->_M_next->_M_prev = p_Var1;\n      param_2->_M_prev = param_2;\n      param_2->_M_next = param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == p_Var2) {\n      param_2->_M_next = p_Var1;\n      p_Var1 = param_1->_M_prev;\n      param_2->_M_prev = p_Var1;\n      p_Var1->_M_next = param_2;\n      param_2->_M_next->_M_prev = param_2;\n      param_1->_M_prev = param_1;\n      param_1->_M_next = param_1;\n      return;\n    }\n    param_1->_M_next = p_Var2;\n    param_2->_M_next = p_Var1;\n    p_Var1 = param_1->_M_prev;\n    param_1->_M_prev = param_2->_M_prev;\n    param_2->_M_prev = p_Var1;\n    param_1->_M_prev->_M_next = param_1;\n    param_1->_M_next->_M_prev = param_1;\n    param_2->_M_prev->_M_next = param_2;\n    param_2->_M_next->_M_prev = param_2;\n  }\n  return;\n}" { (declaration "_List_node_base *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "_List_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "_List_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (expression_statement "p_Var1 = param_1->_M_next;" (assignment_expression "p_Var1 = param_1->_M_next" identifier = (field_expression "param_1->_M_next" identifier -> field_identifier)) ;) (expression_statement "p_Var2 = param_2->_M_next;" (assignment_expression "p_Var2 = param_2->_M_next" identifier = (field_expression "param_2->_M_next" identifier -> field_identifier)) ;) (if_statement "if (p_Var1 == param_1) {\n    if (param_2 != p_Var2) {\n      p_Var3 = param_2->_M_prev;\n      p_Var1->_M_next = p_Var2;\n      p_Var1->_M_prev = p_Var3;\n      p_Var3->_M_next = p_Var1;\n      p_Var1->_M_next->_M_prev = p_Var1;\n      param_2->_M_prev = param_2;\n      param_2->_M_next = param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == p_Var2) {\n      param_2->_M_next = p_Var1;\n      p_Var1 = param_1->_M_prev;\n      param_2->_M_prev = p_Var1;\n      p_Var1->_M_next = param_2;\n      param_2->_M_next->_M_prev = param_2;\n      param_1->_M_prev = param_1;\n      param_1->_M_next = param_1;\n      return;\n    }\n    param_1->_M_next = p_Var2;\n    param_2->_M_next = p_Var1;\n    p_Var1 = param_1->_M_prev;\n    param_1->_M_prev = param_2->_M_prev;\n    param_2->_M_prev = p_Var1;\n    param_1->_M_prev->_M_next = param_1;\n    param_1->_M_next->_M_prev = param_1;\n    param_2->_M_prev->_M_next = param_2;\n    param_2->_M_next->_M_prev = param_2;\n  }" if (parenthesized_expression "(p_Var1 == param_1)" ( (binary_expression "p_Var1 == param_1" identifier == identifier) )) (compound_statement "{\n    if (param_2 != p_Var2) {\n      p_Var3 = param_2->_M_prev;\n      p_Var1->_M_next = p_Var2;\n      p_Var1->_M_prev = p_Var3;\n      p_Var3->_M_next = p_Var1;\n      p_Var1->_M_next->_M_prev = p_Var1;\n      param_2->_M_prev = param_2;\n      param_2->_M_next = param_2;\n      return;\n    }\n  }" { (if_statement "if (param_2 != p_Var2) {\n      p_Var3 = param_2->_M_prev;\n      p_Var1->_M_next = p_Var2;\n      p_Var1->_M_prev = p_Var3;\n      p_Var3->_M_next = p_Var1;\n      p_Var1->_M_next->_M_prev = p_Var1;\n      param_2->_M_prev = param_2;\n      param_2->_M_next = param_2;\n      return;\n    }" if (parenthesized_expression "(param_2 != p_Var2)" ( (binary_expression "param_2 != p_Var2" identifier != identifier) )) (compound_statement "{\n      p_Var3 = param_2->_M_prev;\n      p_Var1->_M_next = p_Var2;\n      p_Var1->_M_prev = p_Var3;\n      p_Var3->_M_next = p_Var1;\n      p_Var1->_M_next->_M_prev = p_Var1;\n      param_2->_M_prev = param_2;\n      param_2->_M_next = param_2;\n      return;\n    }" { (expression_statement "p_Var3 = param_2->_M_prev;" (assignment_expression "p_Var3 = param_2->_M_prev" identifier = (field_expression "param_2->_M_prev" identifier -> field_identifier)) ;) (expression_statement "p_Var1->_M_next = p_Var2;" (assignment_expression "p_Var1->_M_next = p_Var2" (field_expression "p_Var1->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var1->_M_prev = p_Var3;" (assignment_expression "p_Var1->_M_prev = p_Var3" (field_expression "p_Var1->_M_prev" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var3->_M_next = p_Var1;" (assignment_expression "p_Var3->_M_next = p_Var1" (field_expression "p_Var3->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var1->_M_next->_M_prev = p_Var1;" (assignment_expression "p_Var1->_M_next->_M_prev = p_Var1" (field_expression "p_Var1->_M_next->_M_prev" (field_expression "p_Var1->_M_next" identifier -> field_identifier) -> field_identifier) = identifier) ;) (expression_statement "param_2->_M_prev = param_2;" (assignment_expression "param_2->_M_prev = param_2" (field_expression "param_2->_M_prev" identifier -> field_identifier) = identifier) ;) (expression_statement "param_2->_M_next = param_2;" (assignment_expression "param_2->_M_next = param_2" (field_expression "param_2->_M_next" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (param_2 == p_Var2) {\n      param_2->_M_next = p_Var1;\n      p_Var1 = param_1->_M_prev;\n      param_2->_M_prev = p_Var1;\n      p_Var1->_M_next = param_2;\n      param_2->_M_next->_M_prev = param_2;\n      param_1->_M_prev = param_1;\n      param_1->_M_next = param_1;\n      return;\n    }\n    param_1->_M_next = p_Var2;\n    param_2->_M_next = p_Var1;\n    p_Var1 = param_1->_M_prev;\n    param_1->_M_prev = param_2->_M_prev;\n    param_2->_M_prev = p_Var1;\n    param_1->_M_prev->_M_next = param_1;\n    param_1->_M_next->_M_prev = param_1;\n    param_2->_M_prev->_M_next = param_2;\n    param_2->_M_next->_M_prev = param_2;\n  }" else (compound_statement "{\n    if (param_2 == p_Var2) {\n      param_2->_M_next = p_Var1;\n      p_Var1 = param_1->_M_prev;\n      param_2->_M_prev = p_Var1;\n      p_Var1->_M_next = param_2;\n      param_2->_M_next->_M_prev = param_2;\n      param_1->_M_prev = param_1;\n      param_1->_M_next = param_1;\n      return;\n    }\n    param_1->_M_next = p_Var2;\n    param_2->_M_next = p_Var1;\n    p_Var1 = param_1->_M_prev;\n    param_1->_M_prev = param_2->_M_prev;\n    param_2->_M_prev = p_Var1;\n    param_1->_M_prev->_M_next = param_1;\n    param_1->_M_next->_M_prev = param_1;\n    param_2->_M_prev->_M_next = param_2;\n    param_2->_M_next->_M_prev = param_2;\n  }" { (if_statement "if (param_2 == p_Var2) {\n      param_2->_M_next = p_Var1;\n      p_Var1 = param_1->_M_prev;\n      param_2->_M_prev = p_Var1;\n      p_Var1->_M_next = param_2;\n      param_2->_M_next->_M_prev = param_2;\n      param_1->_M_prev = param_1;\n      param_1->_M_next = param_1;\n      return;\n    }" if (parenthesized_expression "(param_2 == p_Var2)" ( (binary_expression "param_2 == p_Var2" identifier == identifier) )) (compound_statement "{\n      param_2->_M_next = p_Var1;\n      p_Var1 = param_1->_M_prev;\n      param_2->_M_prev = p_Var1;\n      p_Var1->_M_next = param_2;\n      param_2->_M_next->_M_prev = param_2;\n      param_1->_M_prev = param_1;\n      param_1->_M_next = param_1;\n      return;\n    }" { (expression_statement "param_2->_M_next = p_Var1;" (assignment_expression "param_2->_M_next = p_Var1" (field_expression "param_2->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var1 = param_1->_M_prev;" (assignment_expression "p_Var1 = param_1->_M_prev" identifier = (field_expression "param_1->_M_prev" identifier -> field_identifier)) ;) (expression_statement "param_2->_M_prev = p_Var1;" (assignment_expression "param_2->_M_prev = p_Var1" (field_expression "param_2->_M_prev" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var1->_M_next = param_2;" (assignment_expression "p_Var1->_M_next = param_2" (field_expression "p_Var1->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "param_2->_M_next->_M_prev = param_2;" (assignment_expression "param_2->_M_next->_M_prev = param_2" (field_expression "param_2->_M_next->_M_prev" (field_expression "param_2->_M_next" identifier -> field_identifier) -> field_identifier) = identifier) ;) (expression_statement "param_1->_M_prev = param_1;" (assignment_expression "param_1->_M_prev = param_1" (field_expression "param_1->_M_prev" identifier -> field_identifier) = identifier) ;) (expression_statement "param_1->_M_next = param_1;" (assignment_expression "param_1->_M_next = param_1" (field_expression "param_1->_M_next" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "param_1->_M_next = p_Var2;" (assignment_expression "param_1->_M_next = p_Var2" (field_expression "param_1->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "param_2->_M_next = p_Var1;" (assignment_expression "param_2->_M_next = p_Var1" (field_expression "param_2->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var1 = param_1->_M_prev;" (assignment_expression "p_Var1 = param_1->_M_prev" identifier = (field_expression "param_1->_M_prev" identifier -> field_identifier)) ;) (expression_statement "param_1->_M_prev = param_2->_M_prev;" (assignment_expression "param_1->_M_prev = param_2->_M_prev" (field_expression "param_1->_M_prev" identifier -> field_identifier) = (field_expression "param_2->_M_prev" identifier -> field_identifier)) ;) (expression_statement "param_2->_M_prev = p_Var1;" (assignment_expression "param_2->_M_prev = p_Var1" (field_expression "param_2->_M_prev" identifier -> field_identifier) = identifier) ;) (expression_statement "param_1->_M_prev->_M_next = param_1;" (assignment_expression "param_1->_M_prev->_M_next = param_1" (field_expression "param_1->_M_prev->_M_next" (field_expression "param_1->_M_prev" identifier -> field_identifier) -> field_identifier) = identifier) ;) (expression_statement "param_1->_M_next->_M_prev = param_1;" (assignment_expression "param_1->_M_next->_M_prev = param_1" (field_expression "param_1->_M_next->_M_prev" (field_expression "param_1->_M_next" identifier -> field_identifier) -> field_identifier) = identifier) ;) (expression_statement "param_2->_M_prev->_M_next = param_2;" (assignment_expression "param_2->_M_prev->_M_next = param_2" (field_expression "param_2->_M_prev->_M_next" (field_expression "param_2->_M_prev" identifier -> field_identifier) -> field_identifier) = identifier) ;) (expression_statement "param_2->_M_next->_M_prev = param_2;" (assignment_expression "param_2->_M_next->_M_prev = param_2" (field_expression "param_2->_M_next->_M_prev" (field_expression "param_2->_M_next" identifier -> field_identifier) -> field_identifier) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00183880(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)*param_2;\n  if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00183880(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)*param_2;\n  if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00183880(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)*param_2;\n  if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }" if (parenthesized_expression "(piVar1 == param_1)" ( (binary_expression "piVar1 == param_1" identifier == identifier) )) (compound_statement "{\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }" { (if_statement "if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }" if (parenthesized_expression "(param_2 != piVar2)" ( (binary_expression "param_2 != piVar2" identifier != identifier) )) (compound_statement "{\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }" { (expression_statement "puVar4 = (undefined4 *)param_2[1];" (assignment_expression "puVar4 = (undefined4 *)param_2[1]" identifier = (cast_expression "(undefined4 *)param_2[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (expression_statement "*piVar1 = (int)piVar2;" (assignment_expression "*piVar1 = (int)piVar2" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar1[1] = (int)puVar4;" (assignment_expression "piVar1[1] = (int)puVar4" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*puVar4 = piVar1;" (assignment_expression "*puVar4 = piVar1" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*(int **)(*piVar1 + 4) = piVar1;" (assignment_expression "*(int **)(*piVar1 + 4) = piVar1" (pointer_expression "*(int **)(*piVar1 + 4)" * (cast_expression "(int **)(*piVar1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 4)" ( (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_2[1] = (int)param_2;" (assignment_expression "param_2[1] = (int)param_2" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_2 = (int)param_2;" (assignment_expression "*param_2 = (int)param_2" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }" else (compound_statement "{\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }" { (if_statement "if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }" if (parenthesized_expression "(param_2 == piVar2)" ( (binary_expression "param_2 == piVar2" identifier == identifier) )) (compound_statement "{\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }" { (expression_statement "*param_2 = (int)piVar1;" (assignment_expression "*param_2 = (int)piVar1" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar4 = (undefined4 *)param_1[1];" (assignment_expression "puVar4 = (undefined4 *)param_1[1]" identifier = (cast_expression "(undefined4 *)param_1[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "param_2[1] = (int)puVar4;" (assignment_expression "param_2[1] = (int)puVar4" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*puVar4 = param_2;" (assignment_expression "*puVar4 = param_2" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*(int **)(*param_2 + 4) = param_2;" (assignment_expression "*(int **)(*param_2 + 4) = param_2" (pointer_expression "*(int **)(*param_2 + 4)" * (cast_expression "(int **)(*param_2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 4)" ( (binary_expression "*param_2 + 4" (pointer_expression "*param_2" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_1[1] = (int)param_1;" (assignment_expression "param_1[1] = (int)param_1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_1 = (int)param_1;" (assignment_expression "*param_1 = (int)param_1" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "*param_1 = (int)piVar2;" (assignment_expression "*param_1 = (int)piVar2" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_2 = (int)piVar1;" (assignment_expression "*param_2 = (int)piVar1" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = param_2[1];" (assignment_expression "param_1[1] = param_2[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_2[1] = iVar3;" (assignment_expression "param_2[1] = iVar3" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(int **)param_1[1] = param_1;" (assignment_expression "*(int **)param_1[1] = param_1" (pointer_expression "*(int **)param_1[1]" * (cast_expression "(int **)param_1[1]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "*(int **)(*param_1 + 4) = param_1;" (assignment_expression "*(int **)(*param_1 + 4) = param_1" (pointer_expression "*(int **)(*param_1 + 4)" * (cast_expression "(int **)(*param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)param_2[1] = param_2;" (assignment_expression "*(int **)param_2[1] = param_2" (pointer_expression "*(int **)param_2[1]" * (cast_expression "(int **)param_2[1]" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "*(int **)(*param_2 + 4) = param_2;" (assignment_expression "*(int **)(*param_2 + 4) = param_2" (pointer_expression "*(int **)(*param_2 + 4)" * (cast_expression "(int **)(*param_2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 4)" ( (binary_expression "*param_2 + 4" (pointer_expression "*param_2" * identifier) + number_literal) )))) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_00183880(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)*param_2;\n  if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00183880(int *param_1,int *param_2)" (identifier "FUN_00183880") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  \n  piVar1 = (int *)*param_1;\n  piVar2 = (int *)*param_2;\n  if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (piVar1 == param_1) {\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }\n  else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }" (if "if") (parenthesized_expression "(piVar1 == param_1)" (( "(") (binary_expression "piVar1 == param_1" (identifier "piVar1") (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n    if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }\n  }" ({ "{") (if_statement "if (param_2 != piVar2) {\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }" (if "if") (parenthesized_expression "(param_2 != piVar2)" (( "(") (binary_expression "param_2 != piVar2" (identifier "param_2") (!= "!=") (identifier "piVar2")) () ")")) (compound_statement "{\n      puVar4 = (undefined4 *)param_2[1];\n      *piVar1 = (int)piVar2;\n      piVar1[1] = (int)puVar4;\n      *puVar4 = piVar1;\n      *(int **)(*piVar1 + 4) = piVar1;\n      param_2[1] = (int)param_2;\n      *param_2 = (int)param_2;\n      return;\n    }" ({ "{") (expression_statement "puVar4 = (undefined4 *)param_2[1];" (assignment_expression "puVar4 = (undefined4 *)param_2[1]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)param_2[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "*piVar1 = (int)piVar2;" (assignment_expression "*piVar1 = (int)piVar2" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2"))) (; ";")) (expression_statement "piVar1[1] = (int)puVar4;" (assignment_expression "piVar1[1] = (int)puVar4" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";")) (expression_statement "*puVar4 = piVar1;" (assignment_expression "*puVar4 = piVar1" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "piVar1")) (; ";")) (expression_statement "*(int **)(*piVar1 + 4) = piVar1;" (assignment_expression "*(int **)(*piVar1 + 4) = piVar1" (pointer_expression "*(int **)(*piVar1 + 4)" (* "*") (cast_expression "(int **)(*piVar1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 4)" (( "(") (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "piVar1")) (; ";")) (expression_statement "param_2[1] = (int)param_2;" (assignment_expression "param_2[1] = (int)param_2" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) (; ";")) (expression_statement "*param_2 = (int)param_2;" (assignment_expression "*param_2 = (int)param_2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }" (else "else") (compound_statement "{\n    if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }\n    *param_1 = (int)piVar2;\n    *param_2 = (int)piVar1;\n    iVar3 = param_1[1];\n    param_1[1] = param_2[1];\n    param_2[1] = iVar3;\n    *(int **)param_1[1] = param_1;\n    *(int **)(*param_1 + 4) = param_1;\n    *(int **)param_2[1] = param_2;\n    *(int **)(*param_2 + 4) = param_2;\n  }" ({ "{") (if_statement "if (param_2 == piVar2) {\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }" (if "if") (parenthesized_expression "(param_2 == piVar2)" (( "(") (binary_expression "param_2 == piVar2" (identifier "param_2") (== "==") (identifier "piVar2")) () ")")) (compound_statement "{\n      *param_2 = (int)piVar1;\n      puVar4 = (undefined4 *)param_1[1];\n      param_2[1] = (int)puVar4;\n      *puVar4 = param_2;\n      *(int **)(*param_2 + 4) = param_2;\n      param_1[1] = (int)param_1;\n      *param_1 = (int)param_1;\n      return;\n    }" ({ "{") (expression_statement "*param_2 = (int)piVar1;" (assignment_expression "*param_2 = (int)piVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) (; ";")) (expression_statement "puVar4 = (undefined4 *)param_1[1];" (assignment_expression "puVar4 = (undefined4 *)param_1[1]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)param_1[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "param_2[1] = (int)puVar4;" (assignment_expression "param_2[1] = (int)puVar4" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";")) (expression_statement "*puVar4 = param_2;" (assignment_expression "*puVar4 = param_2" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(int **)(*param_2 + 4) = param_2;" (assignment_expression "*(int **)(*param_2 + 4) = param_2" (pointer_expression "*(int **)(*param_2 + 4)" (* "*") (cast_expression "(int **)(*param_2 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 4)" (( "(") (binary_expression "*param_2 + 4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[1] = (int)param_1;" (assignment_expression "param_1[1] = (int)param_1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (; ";")) (expression_statement "*param_1 = (int)param_1;" (assignment_expression "*param_1 = (int)param_1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*param_1 = (int)piVar2;" (assignment_expression "*param_1 = (int)piVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2"))) (; ";")) (expression_statement "*param_2 = (int)piVar1;" (assignment_expression "*param_2 = (int)piVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) (; ";")) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" (identifier "iVar3") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[1] = param_2[1];" (assignment_expression "param_1[1] = param_2[1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_2[1] = iVar3;" (assignment_expression "param_2[1] = iVar3" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int **)param_1[1] = param_1;" (assignment_expression "*(int **)param_1[1] = param_1" (pointer_expression "*(int **)param_1[1]" (* "*") (cast_expression "(int **)param_1[1]" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(int **)(*param_1 + 4) = param_1;" (assignment_expression "*(int **)(*param_1 + 4) = param_1" (pointer_expression "*(int **)(*param_1 + 4)" (* "*") (cast_expression "(int **)(*param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 4)" (( "(") (binary_expression "*param_1 + 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(int **)param_2[1] = param_2;" (assignment_expression "*(int **)param_2[1] = param_2" (pointer_expression "*(int **)param_2[1]" (* "*") (cast_expression "(int **)param_2[1]" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(int **)(*param_2 + 4) = param_2;" (assignment_expression "*(int **)(*param_2 + 4) = param_2" (pointer_expression "*(int **)(*param_2 + 4)" (* "*") (cast_expression "(int **)(*param_2 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 4)" (( "(") (binary_expression "*param_2 + 4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::__detail::_List_node_base::swap(std::__detail::_List_node_base&,
   std::__detail::_List_node_base&) */

void std::__detail::type_1::function_1(type_1 *var_2,type_1 *var_3)

{
  type_1 *var_1;
  type_1 *var_4;
  type_1 *p_Var3;
  
  var_1 = var_2->_M_next;
  var_4 = var_3->_M_next;
  if (var_1 == var_2) {
    if (var_3 != var_4) {
      p_Var3 = var_3->_M_prev;
      var_1->_M_next = var_4;
      var_1->_M_prev = p_Var3;
      p_Var3->_M_next = var_1;
      var_1->_M_next->_M_prev = var_1;
      var_3->_M_prev = var_3;
      var_3->_M_next = var_3;
      return;
    }
  }
  else {
    if (var_3 == var_4) {
      var_3->_M_next = var_1;
      var_1 = var_2->_M_prev;
      var_3->_M_prev = var_1;
      var_1->_M_next = var_3;
      var_3->_M_next->_M_prev = var_3;
      var_2->_M_prev = var_2;
      var_2->_M_next = var_2;
      return;
    }
    var_2->_M_next = var_4;
    var_3->_M_next = var_1;
    var_1 = var_2->_M_prev;
    var_2->_M_prev = var_3->_M_prev;
    var_3->_M_prev = var_1;
    var_2->_M_prev->_M_next = var_2;
    var_2->_M_next->_M_prev = var_2;
    var_3->_M_prev->_M_next = var_3;
    var_3->_M_next->_M_prev = var_3;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (return_statement)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier)))))) (return_statement))))

void MASKED(int *param_1,int *param_2)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  undefined4 *puVar4;
  
  piVar1 = (int *)*param_1;
  piVar2 = (int *)*param_2;
  if (piVar1 == param_1) {
    if (param_2 != piVar2) {
      puVar4 = (undefined4 *)param_2[1];
      *piVar1 = (int)piVar2;
      piVar1[1] = (int)puVar4;
      *puVar4 = piVar1;
      *(int **)(*piVar1 + 4) = piVar1;
      param_2[1] = (int)param_2;
      *param_2 = (int)param_2;
      return;
    }
  }
  else {
    if (param_2 == piVar2) {
      *param_2 = (int)piVar1;
      puVar4 = (undefined4 *)param_1[1];
      param_2[1] = (int)puVar4;
      *puVar4 = param_2;
      *(int **)(*param_2 + 4) = param_2;
      param_1[1] = (int)param_1;
      *param_1 = (int)param_1;
      return;
    }
    *param_1 = (int)piVar2;
    *param_2 = (int)piVar1;
    iVar3 = param_1[1];
    param_1[1] = param_2[1];
    param_2[1] = iVar3;
    *(int **)param_1[1] = param_1;
    *(int **)(*param_1 + 4) = param_1;
    *(int **)param_2[1] = param_2;
    *(int **)(*param_2 + 4) = param_2;
  }
  return;
}

