
void symbol_remove(symbolS *symbolP,symbolS **rootPP,symbolS **lastPP)

{
  symbol *psVar1;
  symbol *psVar2;
  
  if (((uint)symbolP->sy_flags & 1) != 0) {
    if ((segT)symbolP->bsym != reg_section) {
                    /* WARNING: Subroutine does not return */
      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");
    }
    symbolP = (symbolP->sy_value).X_op_symbol;
  }
  if (*rootPP == symbolP) {
    *rootPP = symbolP->sy_next;
  }
  psVar2 = symbolP->sy_previous;
  if (*lastPP == symbolP) {
    *lastPP = psVar2;
    psVar2 = symbolP->sy_previous;
  }
  psVar1 = symbolP->sy_next;
  if (psVar1 != (symbol *)0x0) {
    psVar1->sy_previous = psVar2;
    psVar2 = symbolP->sy_previous;
  }
  if (psVar2 != (symbol *)0x0) {
    psVar2->sy_next = psVar1;
  }
  return;
}



void FUN_001284a0(byte *param_1,undefined8 *param_2,long *param_3)

{
  long lVar1;
  long lVar2;
  
  if ((*param_1 & 1) != 0) {
    if (*(long *)(param_1 + 8) != DAT_001e4578) {
                    /* WARNING: Subroutine does not return */
      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");
    }
    param_1 = *(byte **)(param_1 + 0x18);
  }
  if ((byte *)*param_2 == param_1) {
    *param_2 = *(undefined8 *)(param_1 + 0x30);
  }
  lVar2 = *(long *)(param_1 + 0x38);
  if ((byte *)*param_3 == param_1) {
    *param_3 = lVar2;
    lVar2 = *(long *)(param_1 + 0x38);
  }
  lVar1 = *(long *)(param_1 + 0x30);
  if (lVar1 != 0) {
    *(long *)(lVar1 + 0x38) = lVar2;
    lVar2 = *(long *)(param_1 + 0x38);
  }
  if (lVar2 != 0) {
    *(long *)(lVar2 + 0x30) = lVar1;
  }
  return;
}


TEST byte ptr [RDI],0x1
JZ 0x001284d4
MOV RAX,qword ptr [0x001e4578]
CMP qword ptr [RDI + 0x8],RAX
JZ 0x001284d0
SUB RSP,0x8
LEA RDX,[0x14f948]
MOV ESI,0x34d
LEA RDI,[0x14f190]
CALL 0x0011dd00
MOV RDI,qword ptr [RDI + 0x18]
CMP qword ptr [RSI],RDI
JZ 0x00128510
MOV RAX,qword ptr [RDI + 0x38]
CMP qword ptr [RDX],RDI
JZ 0x00128500
MOV RDX,qword ptr [RDI + 0x30]
TEST RDX,RDX
JZ 0x001284f3
MOV qword ptr [RDX + 0x38],RAX
MOV RAX,qword ptr [RDI + 0x38]
TEST RAX,RAX
JZ 0x001284fc
MOV qword ptr [RAX + 0x30],RDX
RET
MOV qword ptr [RDX],RAX
MOV RAX,qword ptr [RDI + 0x38]
JMP 0x001284e2
MOV RAX,qword ptr [RDI + 0x30]
MOV qword ptr [RSI],RAX
JMP 0x001284d9
(translation_unit "void FUN_001284a0(byte *param_1,undefined8 *param_2,long *param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }\n  lVar2 = *(long *)(param_1 + 0x38);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  lVar1 = *(long *)(param_1 + 0x30);\n  if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001284a0(byte *param_1,undefined8 *param_2,long *param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }\n  lVar2 = *(long *)(param_1 + 0x38);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  lVar1 = *(long *)(param_1 + 0x30);\n  if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001284a0(byte *param_1,undefined8 *param_2,long *param_3)" identifier (parameter_list "(byte *param_1,undefined8 *param_2,long *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }\n  lVar2 = *(long *)(param_1 + 0x38);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  lVar1 = *(long *)(param_1 + 0x30);\n  if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }" { (if_statement "if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" if (parenthesized_expression "(*(long *)(param_1 + 8) != DAT_001e4578)" ( (binary_expression "*(long *)(param_1 + 8) != DAT_001e4578" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" { comment (expression_statement "FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");" (call_expression "FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove")" identifier (argument_list "("../../gas/symbols.c",0x34d,"symbol_remove")" ( (string_literal ""../../gas/symbols.c"" " string_content ") , number_literal , (string_literal ""symbol_remove"" " string_content ") ))) ;) })) (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" identifier = (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) (if_statement "if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }" if (parenthesized_expression "((byte *)*param_2 == param_1)" ( (binary_expression "(byte *)*param_2 == param_1" (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) == identifier) )) (compound_statement "{\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }" { (expression_statement "*param_2 = *(undefined8 *)(param_1 + 0x30);" (assignment_expression "*param_2 = *(undefined8 *)(param_1 + 0x30)" (pointer_expression "*param_2" * identifier) = (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) })) (expression_statement "lVar2 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" if (parenthesized_expression "((byte *)*param_3 == param_1)" ( (binary_expression "(byte *)*param_3 == param_1" (cast_expression "(byte *)*param_3" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier)) == identifier) )) (compound_statement "{\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" { (expression_statement "*param_3 = lVar2;" (assignment_expression "*param_3 = lVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) })) (expression_statement "lVar1 = *(long *)(param_1 + 0x30);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x30)" identifier = (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" { (expression_statement "*(long *)(lVar1 + 0x38) = lVar2;" (assignment_expression "*(long *)(lVar1 + 0x38) = lVar2" (pointer_expression "*(long *)(lVar1 + 0x38)" * (cast_expression "(long *)(lVar1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) })) (if_statement "if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }" { (expression_statement "*(long *)(lVar2 + 0x30) = lVar1;" (assignment_expression "*(long *)(lVar2 + 0x30) = lVar1" (pointer_expression "*(long *)(lVar2 + 0x30)" * (cast_expression "(long *)(lVar2 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x30)" ( (binary_expression "lVar2 + 0x30" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void symbol_remove(symbolS *symbolP,symbolS **rootPP,symbolS **lastPP)\n\n{\n  symbol *psVar1;\n  symbol *psVar2;\n  \n  if (((uint)symbolP->sy_flags & 1) != 0) {\n    if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    symbolP = (symbolP->sy_value).X_op_symbol;\n  }\n  if (*rootPP == symbolP) {\n    *rootPP = symbolP->sy_next;\n  }\n  psVar2 = symbolP->sy_previous;\n  if (*lastPP == symbolP) {\n    *lastPP = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  psVar1 = symbolP->sy_next;\n  if (psVar1 != (symbol *)0x0) {\n    psVar1->sy_previous = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  if (psVar2 != (symbol *)0x0) {\n    psVar2->sy_next = psVar1;\n  }\n  return;\n}\n\n" (function_definition "void symbol_remove(symbolS *symbolP,symbolS **rootPP,symbolS **lastPP)\n\n{\n  symbol *psVar1;\n  symbol *psVar2;\n  \n  if (((uint)symbolP->sy_flags & 1) != 0) {\n    if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    symbolP = (symbolP->sy_value).X_op_symbol;\n  }\n  if (*rootPP == symbolP) {\n    *rootPP = symbolP->sy_next;\n  }\n  psVar2 = symbolP->sy_previous;\n  if (*lastPP == symbolP) {\n    *lastPP = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  psVar1 = symbolP->sy_next;\n  if (psVar1 != (symbol *)0x0) {\n    psVar1->sy_previous = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  if (psVar2 != (symbol *)0x0) {\n    psVar2->sy_next = psVar1;\n  }\n  return;\n}" primitive_type (function_declarator "symbol_remove(symbolS *symbolP,symbolS **rootPP,symbolS **lastPP)" identifier (parameter_list "(symbolS *symbolP,symbolS **rootPP,symbolS **lastPP)" ( (parameter_declaration "symbolS *symbolP" type_identifier (pointer_declarator "*symbolP" * identifier)) , (parameter_declaration "symbolS **rootPP" type_identifier (pointer_declarator "**rootPP" * (pointer_declarator "*rootPP" * identifier))) , (parameter_declaration "symbolS **lastPP" type_identifier (pointer_declarator "**lastPP" * (pointer_declarator "*lastPP" * identifier))) ))) (compound_statement "{\n  symbol *psVar1;\n  symbol *psVar2;\n  \n  if (((uint)symbolP->sy_flags & 1) != 0) {\n    if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    symbolP = (symbolP->sy_value).X_op_symbol;\n  }\n  if (*rootPP == symbolP) {\n    *rootPP = symbolP->sy_next;\n  }\n  psVar2 = symbolP->sy_previous;\n  if (*lastPP == symbolP) {\n    *lastPP = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  psVar1 = symbolP->sy_next;\n  if (psVar1 != (symbol *)0x0) {\n    psVar1->sy_previous = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }\n  if (psVar2 != (symbol *)0x0) {\n    psVar2->sy_next = psVar1;\n  }\n  return;\n}" { (declaration "symbol *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "symbol *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (if_statement "if (((uint)symbolP->sy_flags & 1) != 0) {\n    if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    symbolP = (symbolP->sy_value).X_op_symbol;\n  }" if (parenthesized_expression "(((uint)symbolP->sy_flags & 1) != 0)" ( (binary_expression "((uint)symbolP->sy_flags & 1) != 0" (parenthesized_expression "((uint)symbolP->sy_flags & 1)" ( (binary_expression "(uint)symbolP->sy_flags & 1" (cast_expression "(uint)symbolP->sy_flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "symbolP->sy_flags" identifier -> field_identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n    if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    symbolP = (symbolP->sy_value).X_op_symbol;\n  }" { (if_statement "if ((segT)symbolP->bsym != reg_section) {\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" if (parenthesized_expression "((segT)symbolP->bsym != reg_section)" ( (binary_expression "(segT)symbolP->bsym != reg_section" (cast_expression "(segT)symbolP->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "symbolP->bsym" identifier -> field_identifier)) != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      as_abort("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" { comment (expression_statement "as_abort("../../gas/symbols.c",0x34d,"symbol_remove");" (call_expression "as_abort("../../gas/symbols.c",0x34d,"symbol_remove")" identifier (argument_list "("../../gas/symbols.c",0x34d,"symbol_remove")" ( (string_literal ""../../gas/symbols.c"" " string_content ") , number_literal , (string_literal ""symbol_remove"" " string_content ") ))) ;) })) (expression_statement "symbolP = (symbolP->sy_value).X_op_symbol;" (assignment_expression "symbolP = (symbolP->sy_value).X_op_symbol" identifier = (field_expression "(symbolP->sy_value).X_op_symbol" (parenthesized_expression "(symbolP->sy_value)" ( (field_expression "symbolP->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) })) (if_statement "if (*rootPP == symbolP) {\n    *rootPP = symbolP->sy_next;\n  }" if (parenthesized_expression "(*rootPP == symbolP)" ( (binary_expression "*rootPP == symbolP" (pointer_expression "*rootPP" * identifier) == identifier) )) (compound_statement "{\n    *rootPP = symbolP->sy_next;\n  }" { (expression_statement "*rootPP = symbolP->sy_next;" (assignment_expression "*rootPP = symbolP->sy_next" (pointer_expression "*rootPP" * identifier) = (field_expression "symbolP->sy_next" identifier -> field_identifier)) ;) })) (expression_statement "psVar2 = symbolP->sy_previous;" (assignment_expression "psVar2 = symbolP->sy_previous" identifier = (field_expression "symbolP->sy_previous" identifier -> field_identifier)) ;) (if_statement "if (*lastPP == symbolP) {\n    *lastPP = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }" if (parenthesized_expression "(*lastPP == symbolP)" ( (binary_expression "*lastPP == symbolP" (pointer_expression "*lastPP" * identifier) == identifier) )) (compound_statement "{\n    *lastPP = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }" { (expression_statement "*lastPP = psVar2;" (assignment_expression "*lastPP = psVar2" (pointer_expression "*lastPP" * identifier) = identifier) ;) (expression_statement "psVar2 = symbolP->sy_previous;" (assignment_expression "psVar2 = symbolP->sy_previous" identifier = (field_expression "symbolP->sy_previous" identifier -> field_identifier)) ;) })) (expression_statement "psVar1 = symbolP->sy_next;" (assignment_expression "psVar1 = symbolP->sy_next" identifier = (field_expression "symbolP->sy_next" identifier -> field_identifier)) ;) (if_statement "if (psVar1 != (symbol *)0x0) {\n    psVar1->sy_previous = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }" if (parenthesized_expression "(psVar1 != (symbol *)0x0)" ( (binary_expression "psVar1 != (symbol *)0x0" identifier != (cast_expression "(symbol *)0x0" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    psVar1->sy_previous = psVar2;\n    psVar2 = symbolP->sy_previous;\n  }" { (expression_statement "psVar1->sy_previous = psVar2;" (assignment_expression "psVar1->sy_previous = psVar2" (field_expression "psVar1->sy_previous" identifier -> field_identifier) = identifier) ;) (expression_statement "psVar2 = symbolP->sy_previous;" (assignment_expression "psVar2 = symbolP->sy_previous" identifier = (field_expression "symbolP->sy_previous" identifier -> field_identifier)) ;) })) (if_statement "if (psVar2 != (symbol *)0x0) {\n    psVar2->sy_next = psVar1;\n  }" if (parenthesized_expression "(psVar2 != (symbol *)0x0)" ( (binary_expression "psVar2 != (symbol *)0x0" identifier != (cast_expression "(symbol *)0x0" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    psVar2->sy_next = psVar1;\n  }" { (expression_statement "psVar2->sy_next = psVar1;" (assignment_expression "psVar2->sy_next = psVar1" (field_expression "psVar2->sy_next" identifier -> field_identifier) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001284a0(byte *param_1,undefined8 *param_2,long *param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }\n  lVar2 = *(long *)(param_1 + 0x38);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  lVar1 = *(long *)(param_1 + 0x30);\n  if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001284a0(byte *param_1,undefined8 *param_2,long *param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }\n  lVar2 = *(long *)(param_1 + 0x38);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  lVar1 = *(long *)(param_1 + 0x30);\n  if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001284a0(byte *param_1,undefined8 *param_2,long *param_3)" identifier (parameter_list "(byte *param_1,undefined8 *param_2,long *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }\n  lVar2 = *(long *)(param_1 + 0x38);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  lVar1 = *(long *)(param_1 + 0x30);\n  if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }" { (if_statement "if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" if (parenthesized_expression "(*(long *)(param_1 + 8) != DAT_001e4578)" ( (binary_expression "*(long *)(param_1 + 8) != DAT_001e4578" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" { (expression_statement "FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");" (call_expression "FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove")" identifier (argument_list "("../../gas/symbols.c",0x34d,"symbol_remove")" ( (string_literal ""../../gas/symbols.c"" " string_content ") , number_literal , (string_literal ""symbol_remove"" " string_content ") ))) ;) })) (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" identifier = (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) (if_statement "if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }" if (parenthesized_expression "((byte *)*param_2 == param_1)" ( (binary_expression "(byte *)*param_2 == param_1" (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) == identifier) )) (compound_statement "{\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }" { (expression_statement "*param_2 = *(undefined8 *)(param_1 + 0x30);" (assignment_expression "*param_2 = *(undefined8 *)(param_1 + 0x30)" (pointer_expression "*param_2" * identifier) = (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) })) (expression_statement "lVar2 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" if (parenthesized_expression "((byte *)*param_3 == param_1)" ( (binary_expression "(byte *)*param_3 == param_1" (cast_expression "(byte *)*param_3" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier)) == identifier) )) (compound_statement "{\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" { (expression_statement "*param_3 = lVar2;" (assignment_expression "*param_3 = lVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) })) (expression_statement "lVar1 = *(long *)(param_1 + 0x30);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x30)" identifier = (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" { (expression_statement "*(long *)(lVar1 + 0x38) = lVar2;" (assignment_expression "*(long *)(lVar1 + 0x38) = lVar2" (pointer_expression "*(long *)(lVar1 + 0x38)" * (cast_expression "(long *)(lVar1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) })) (if_statement "if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }" { (expression_statement "*(long *)(lVar2 + 0x30) = lVar1;" (assignment_expression "*(long *)(lVar2 + 0x30) = lVar1" (pointer_expression "*(long *)(lVar2 + 0x30)" * (cast_expression "(long *)(lVar2 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x30)" ( (binary_expression "lVar2 + 0x30" 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)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001284a0(byte *param_1,undefined8 *param_2,long *param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }\n  lVar2 = *(long *)(param_1 + 0x38);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  lVar1 = *(long *)(param_1 + 0x30);\n  if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001284a0(byte *param_1,undefined8 *param_2,long *param_3)" (identifier "FUN_001284a0") (parameter_list "(byte *param_1,undefined8 *param_2,long *param_3)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "long *param_3" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }\n  if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }\n  lVar2 = *(long *)(param_1 + 0x38);\n  if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  lVar1 = *(long *)(param_1 + 0x30);\n  if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }\n  if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }" (if "if") (parenthesized_expression "((*param_1 & 1) != 0)" (( "(") (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }\n    param_1 = *(byte **)(param_1 + 0x18);\n  }" ({ "{") (if_statement "if (*(long *)(param_1 + 8) != DAT_001e4578) {\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 8) != DAT_001e4578)" (( "(") (binary_expression "*(long *)(param_1 + 8) != DAT_001e4578" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (identifier "DAT_001e4578")) () ")")) (compound_statement "{\n                    \n      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");\n    }" ({ "{") (expression_statement "FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");" (call_expression "FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove")" (identifier "FUN_0011dd00") (argument_list "("../../gas/symbols.c",0x34d,"symbol_remove")" (( "(") (string_literal ""../../gas/symbols.c"" (" """) (string_content "../../gas/symbols.c") (" """)) (, ",") (number_literal "0x34d") (, ",") (string_literal ""symbol_remove"" (" """) (string_content "symbol_remove") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = *(byte **)(param_1 + 0x18);" (assignment_expression "param_1 = *(byte **)(param_1 + 0x18)" (identifier "param_1") (= "=") (pointer_expression "*(byte **)(param_1 + 0x18)" (* "*") (cast_expression "(byte **)(param_1 + 0x18)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((byte *)*param_2 == param_1) {\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }" (if "if") (parenthesized_expression "((byte *)*param_2 == param_1)" (( "(") (binary_expression "(byte *)*param_2 == param_1" (cast_expression "(byte *)*param_2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n    *param_2 = *(undefined8 *)(param_1 + 0x30);\n  }" ({ "{") (expression_statement "*param_2 = *(undefined8 *)(param_1 + 0x30);" (assignment_expression "*param_2 = *(undefined8 *)(param_1 + 0x30)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (} "}"))) (expression_statement "lVar2 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x38)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (if_statement "if ((byte *)*param_3 == param_1) {\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" (if "if") (parenthesized_expression "((byte *)*param_3 == param_1)" (( "(") (binary_expression "(byte *)*param_3 == param_1" (cast_expression "(byte *)*param_3" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n    *param_3 = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" ({ "{") (expression_statement "*param_3 = lVar2;" (assignment_expression "*param_3 = lVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "lVar2")) (; ";")) (expression_statement "lVar2 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x38)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (} "}"))) (expression_statement "lVar1 = *(long *)(param_1 + 0x30);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x30)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 0x30)" (* "*") (cast_expression "(long *)(param_1 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (lVar1 != 0) {\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(long *)(lVar1 + 0x38) = lVar2;\n    lVar2 = *(long *)(param_1 + 0x38);\n  }" ({ "{") (expression_statement "*(long *)(lVar1 + 0x38) = lVar2;" (assignment_expression "*(long *)(lVar1 + 0x38) = lVar2" (pointer_expression "*(long *)(lVar1 + 0x38)" (* "*") (cast_expression "(long *)(lVar1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x38)" (( "(") (binary_expression "lVar1 + 0x38" (identifier "lVar1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "lVar2")) (; ";")) (expression_statement "lVar2 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x38)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (lVar2 != 0) {\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }" (if "if") (parenthesized_expression "(lVar2 != 0)" (( "(") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(long *)(lVar2 + 0x30) = lVar1;\n  }" ({ "{") (expression_statement "*(long *)(lVar2 + 0x30) = lVar1;" (assignment_expression "*(long *)(lVar2 + 0x30) = lVar1" (pointer_expression "*(long *)(lVar2 + 0x30)" (* "*") (cast_expression "(long *)(lVar2 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x30)" (( "(") (binary_expression "lVar2 + 0x30" (identifier "lVar2") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "lVar1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_3,type_1 **rootPP,type_1 **lastPP)

{
  type_2 *var_4;
  type_2 *var_5;
  
  if (((type_3)var_3->sy_flags & 1) != 0) {
    if ((type_4)var_3->bsym != var_1) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gas/symbols.c",0x34d,"symbol_remove");
    }
    var_3 = (var_3->sy_value).X_op_symbol;
  }
  if (*rootPP == var_3) {
    *rootPP = var_3->sy_next;
  }
  var_5 = var_3->sy_previous;
  if (*lastPP == var_3) {
    *lastPP = var_5;
    var_5 = var_3->sy_previous;
  }
  var_4 = var_3->sy_next;
  if (var_4 != (type_2 *)0x0) {
    var_4->sy_previous = var_5;
    var_5 = var_3->sy_previous;
  }
  if (var_5 != (type_2 *)0x0) {
    var_5->sy_next = var_4;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) (return_statement))))

void MASKED(byte *param_1,undefined8 *param_2,long *param_3)

{
  long lVar1;
  long lVar2;
  
  if ((*param_1 & 1) != 0) {
    if (*(long *)(param_1 + 8) != DAT_001e4578) {
                    /* WARNING: Subroutine does not return */
      FUN_0011dd00("../../gas/symbols.c",0x34d,"symbol_remove");
    }
    param_1 = *(byte **)(param_1 + 0x18);
  }
  if ((byte *)*param_2 == param_1) {
    *param_2 = *(undefined8 *)(param_1 + 0x30);
  }
  lVar2 = *(long *)(param_1 + 0x38);
  if ((byte *)*param_3 == param_1) {
    *param_3 = lVar2;
    lVar2 = *(long *)(param_1 + 0x38);
  }
  lVar1 = *(long *)(param_1 + 0x30);
  if (lVar1 != 0) {
    *(long *)(lVar1 + 0x38) = lVar2;
    lVar2 = *(long *)(param_1 + 0x38);
  }
  if (lVar2 != 0) {
    *(long *)(lVar2 + 0x30) = lVar1;
  }
  return;
}

