
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

bfd_hash_entry * definedness_newfunc(bfd_hash_entry *entry,bfd_hash_table *table,char *name)

{
  code *pcVar1;
  char *fmt;
  bfd_hash_entry *pbVar2;
  definedness_hash_entry *ret;
  
  if (entry != (bfd_hash_entry *)0x0) {
    *(ushort *)&entry[1].string = *(ushort *)&entry[1].string & 0xfe00;
    return entry;
  }
  pbVar2 = (bfd_hash_entry *)bfd_hash_allocate(table,0x28);
  if (pbVar2 != (bfd_hash_entry *)0x0) {
    *(ushort *)&pbVar2[1].string = *(ushort *)&pbVar2[1].string & 0xfe00;
    return pbVar2;
  }
  fmt = (char *)dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);
  einfo(fmt,name);
  _DAT_00000020 = _DAT_00000020 & 0xfeff;
                    /* WARNING: Does not return */
  pcVar1 = (code *)invalidInstructionException();
  (*pcVar1)();
}



/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

long FUN_00121310(long param_1,undefined8 param_2,undefined8 param_3)

{
  code *pcVar1;
  undefined8 uVar2;
  long lVar3;
  
  if (param_1 != 0) {
    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;
    return param_1;
  }
  lVar3 = bfd_hash_allocate(param_2,0x28);
  if (lVar3 != 0) {
    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;
    return lVar3;
  }
  uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);
  FUN_001251f0(uVar2,param_3);
  _DAT_00000020 = _DAT_00000020 & 0xfeff;
                    /* WARNING: Does not return */
  pcVar1 = (code *)invalidInstructionException();
  (*pcVar1)();
}


MOV RAX,RDI
TEST RDI,RDI
JZ 0x00121320
AND word ptr [RDI + 0x20],0xfe00
RET
PUSH RBX
MOV RDI,RSI
MOV ESI,0x28
MOV RBX,RDX
CALL 0x00109620
TEST RAX,RAX
JZ 0x00109c7a
AND word ptr [RAX + 0x20],0xfe00
POP RBX
RET
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nlong FUN_00121310(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  code *pcVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }\n  lVar3 = bfd_hash_allocate(param_2,0x28);\n  if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }\n  uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  FUN_001251f0(uVar2,param_3);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    /* WARNING: Does not return */\n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}\n\n" comment (function_definition "long FUN_00121310(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  code *pcVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }\n  lVar3 = bfd_hash_allocate(param_2,0x28);\n  if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }\n  uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  FUN_001251f0(uVar2,param_3);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    /* WARNING: Does not return */\n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00121310(long param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  code *pcVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }\n  lVar3 = bfd_hash_allocate(param_2,0x28);\n  if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }\n  uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  FUN_001251f0(uVar2,param_3);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    /* WARNING: Does not return */\n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }" { (expression_statement "*(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;" (assignment_expression "*(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(param_1 + 0x20)" * (cast_expression "(ushort *)(param_1 + 0x20)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (binary_expression "*(ushort *)(param_1 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(param_1 + 0x20)" * (cast_expression "(ushort *)(param_1 + 0x20)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) & number_literal)) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "lVar3 = bfd_hash_allocate(param_2,0x28);" (assignment_expression "lVar3 = bfd_hash_allocate(param_2,0x28)" identifier = (call_expression "bfd_hash_allocate(param_2,0x28)" identifier (argument_list "(param_2,0x28)" ( identifier , number_literal )))) ;) (if_statement "if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }" { (expression_statement "*(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;" (assignment_expression "*(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(lVar3 + 0x20)" * (cast_expression "(ushort *)(lVar3 + 0x20)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) = (binary_expression "*(ushort *)(lVar3 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(lVar3 + 0x20)" * (cast_expression "(ushort *)(lVar3 + 0x20)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) & number_literal)) ;) (return_statement "return lVar3;" return identifier ;) })) (expression_statement "uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" identifier (argument_list "(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" ( number_literal , (string_literal ""%F%P: bfd_hash_allocate failed creating symbol %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_001251f0(uVar2,param_3);" (call_expression "FUN_001251f0(uVar2,param_3)" identifier (argument_list "(uVar2,param_3)" ( identifier , identifier ))) ;) (expression_statement "_DAT_00000020 = _DAT_00000020 & 0xfeff;" (assignment_expression "_DAT_00000020 = _DAT_00000020 & 0xfeff" identifier = (binary_expression "_DAT_00000020 & 0xfeff" identifier & number_literal)) ;) comment (expression_statement "pcVar1 = (code *)invalidInstructionException();" (assignment_expression "pcVar1 = (code *)invalidInstructionException()" identifier = (cast_expression "(code *)invalidInstructionException()" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "invalidInstructionException()" identifier (argument_list "()" ( ))))) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nbfd_hash_entry * definedness_newfunc(bfd_hash_entry *entry,bfd_hash_table *table,char *name)\n\n{\n  code *pcVar1;\n  char *fmt;\n  bfd_hash_entry *pbVar2;\n  definedness_hash_entry *ret;\n  \n  if (entry != (bfd_hash_entry *)0x0) {\n    *(ushort *)&entry[1].string = *(ushort *)&entry[1].string & 0xfe00;\n    return entry;\n  }\n  pbVar2 = (bfd_hash_entry *)bfd_hash_allocate(table,0x28);\n  if (pbVar2 != (bfd_hash_entry *)0x0) {\n    *(ushort *)&pbVar2[1].string = *(ushort *)&pbVar2[1].string & 0xfe00;\n    return pbVar2;\n  }\n  fmt = (char *)dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  einfo(fmt,name);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    /* WARNING: Does not return */\n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}\n\n" comment (function_definition "bfd_hash_entry * definedness_newfunc(bfd_hash_entry *entry,bfd_hash_table *table,char *name)\n\n{\n  code *pcVar1;\n  char *fmt;\n  bfd_hash_entry *pbVar2;\n  definedness_hash_entry *ret;\n  \n  if (entry != (bfd_hash_entry *)0x0) {\n    *(ushort *)&entry[1].string = *(ushort *)&entry[1].string & 0xfe00;\n    return entry;\n  }\n  pbVar2 = (bfd_hash_entry *)bfd_hash_allocate(table,0x28);\n  if (pbVar2 != (bfd_hash_entry *)0x0) {\n    *(ushort *)&pbVar2[1].string = *(ushort *)&pbVar2[1].string & 0xfe00;\n    return pbVar2;\n  }\n  fmt = (char *)dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  einfo(fmt,name);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    /* WARNING: Does not return */\n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}" type_identifier (pointer_declarator "* definedness_newfunc(bfd_hash_entry *entry,bfd_hash_table *table,char *name)" * (function_declarator "definedness_newfunc(bfd_hash_entry *entry,bfd_hash_table *table,char *name)" identifier (parameter_list "(bfd_hash_entry *entry,bfd_hash_table *table,char *name)" ( (parameter_declaration "bfd_hash_entry *entry" type_identifier (pointer_declarator "*entry" * identifier)) , (parameter_declaration "bfd_hash_table *table" type_identifier (pointer_declarator "*table" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) )))) (compound_statement "{\n  code *pcVar1;\n  char *fmt;\n  bfd_hash_entry *pbVar2;\n  definedness_hash_entry *ret;\n  \n  if (entry != (bfd_hash_entry *)0x0) {\n    *(ushort *)&entry[1].string = *(ushort *)&entry[1].string & 0xfe00;\n    return entry;\n  }\n  pbVar2 = (bfd_hash_entry *)bfd_hash_allocate(table,0x28);\n  if (pbVar2 != (bfd_hash_entry *)0x0) {\n    *(ushort *)&pbVar2[1].string = *(ushort *)&pbVar2[1].string & 0xfe00;\n    return pbVar2;\n  }\n  fmt = (char *)dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  einfo(fmt,name);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    /* WARNING: Does not return */\n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "bfd_hash_entry *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "definedness_hash_entry *ret;" type_identifier (pointer_declarator "*ret" * identifier) ;) (if_statement "if (entry != (bfd_hash_entry *)0x0) {\n    *(ushort *)&entry[1].string = *(ushort *)&entry[1].string & 0xfe00;\n    return entry;\n  }" if (parenthesized_expression "(entry != (bfd_hash_entry *)0x0)" ( (binary_expression "entry != (bfd_hash_entry *)0x0" identifier != (cast_expression "(bfd_hash_entry *)0x0" ( (type_descriptor "bfd_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(ushort *)&entry[1].string = *(ushort *)&entry[1].string & 0xfe00;\n    return entry;\n  }" { (expression_statement "*(ushort *)&entry[1].string = *(ushort *)&entry[1].string & 0xfe00;" (assignment_expression "*(ushort *)&entry[1].string = *(ushort *)&entry[1].string & 0xfe00" (pointer_expression "*(ushort *)&entry[1].string" * (cast_expression "(ushort *)&entry[1].string" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&entry[1].string" & (field_expression "entry[1].string" (subscript_expression "entry[1]" identifier [ number_literal ]) . field_identifier)))) = (binary_expression "*(ushort *)&entry[1].string & 0xfe00" (pointer_expression "*(ushort *)&entry[1].string" * (cast_expression "(ushort *)&entry[1].string" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&entry[1].string" & (field_expression "entry[1].string" (subscript_expression "entry[1]" identifier [ number_literal ]) . field_identifier)))) & number_literal)) ;) (return_statement "return entry;" return identifier ;) })) (expression_statement "pbVar2 = (bfd_hash_entry *)bfd_hash_allocate(table,0x28);" (assignment_expression "pbVar2 = (bfd_hash_entry *)bfd_hash_allocate(table,0x28)" identifier = (cast_expression "(bfd_hash_entry *)bfd_hash_allocate(table,0x28)" ( (type_descriptor "bfd_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_hash_allocate(table,0x28)" identifier (argument_list "(table,0x28)" ( identifier , number_literal ))))) ;) (if_statement "if (pbVar2 != (bfd_hash_entry *)0x0) {\n    *(ushort *)&pbVar2[1].string = *(ushort *)&pbVar2[1].string & 0xfe00;\n    return pbVar2;\n  }" if (parenthesized_expression "(pbVar2 != (bfd_hash_entry *)0x0)" ( (binary_expression "pbVar2 != (bfd_hash_entry *)0x0" identifier != (cast_expression "(bfd_hash_entry *)0x0" ( (type_descriptor "bfd_hash_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(ushort *)&pbVar2[1].string = *(ushort *)&pbVar2[1].string & 0xfe00;\n    return pbVar2;\n  }" { (expression_statement "*(ushort *)&pbVar2[1].string = *(ushort *)&pbVar2[1].string & 0xfe00;" (assignment_expression "*(ushort *)&pbVar2[1].string = *(ushort *)&pbVar2[1].string & 0xfe00" (pointer_expression "*(ushort *)&pbVar2[1].string" * (cast_expression "(ushort *)&pbVar2[1].string" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pbVar2[1].string" & (field_expression "pbVar2[1].string" (subscript_expression "pbVar2[1]" identifier [ number_literal ]) . field_identifier)))) = (binary_expression "*(ushort *)&pbVar2[1].string & 0xfe00" (pointer_expression "*(ushort *)&pbVar2[1].string" * (cast_expression "(ushort *)&pbVar2[1].string" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pbVar2[1].string" & (field_expression "pbVar2[1].string" (subscript_expression "pbVar2[1]" identifier [ number_literal ]) . field_identifier)))) & number_literal)) ;) (return_statement "return pbVar2;" return identifier ;) })) (expression_statement "fmt = (char *)dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" identifier (argument_list "(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" ( number_literal , (string_literal ""%F%P: bfd_hash_allocate failed creating symbol %s\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt,name);" (call_expression "einfo(fmt,name)" identifier (argument_list "(fmt,name)" ( identifier , identifier ))) ;) (expression_statement "_DAT_00000020 = _DAT_00000020 & 0xfeff;" (assignment_expression "_DAT_00000020 = _DAT_00000020 & 0xfeff" identifier = (binary_expression "_DAT_00000020 & 0xfeff" identifier & number_literal)) ;) comment (expression_statement "pcVar1 = (code *)invalidInstructionException();" (assignment_expression "pcVar1 = (code *)invalidInstructionException()" identifier = (cast_expression "(code *)invalidInstructionException()" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "invalidInstructionException()" identifier (argument_list "()" ( ))))) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) })))
(translation_unit "long FUN_00121310(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  code *pcVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }\n  lVar3 = bfd_hash_allocate(param_2,0x28);\n  if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }\n  uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  FUN_001251f0(uVar2,param_3);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    \n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}\n\n" (function_definition "long FUN_00121310(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  code *pcVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }\n  lVar3 = bfd_hash_allocate(param_2,0x28);\n  if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }\n  uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  FUN_001251f0(uVar2,param_3);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    \n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00121310(long param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  code *pcVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }\n  lVar3 = bfd_hash_allocate(param_2,0x28);\n  if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }\n  uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  FUN_001251f0(uVar2,param_3);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    \n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }" { (expression_statement "*(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;" (assignment_expression "*(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(param_1 + 0x20)" * (cast_expression "(ushort *)(param_1 + 0x20)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (binary_expression "*(ushort *)(param_1 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(param_1 + 0x20)" * (cast_expression "(ushort *)(param_1 + 0x20)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) & number_literal)) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "lVar3 = bfd_hash_allocate(param_2,0x28);" (assignment_expression "lVar3 = bfd_hash_allocate(param_2,0x28)" identifier = (call_expression "bfd_hash_allocate(param_2,0x28)" identifier (argument_list "(param_2,0x28)" ( identifier , number_literal )))) ;) (if_statement "if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }" { (expression_statement "*(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;" (assignment_expression "*(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(lVar3 + 0x20)" * (cast_expression "(ushort *)(lVar3 + 0x20)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) = (binary_expression "*(ushort *)(lVar3 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(lVar3 + 0x20)" * (cast_expression "(ushort *)(lVar3 + 0x20)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) & number_literal)) ;) (return_statement "return lVar3;" return identifier ;) })) (expression_statement "uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" identifier (argument_list "(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" ( number_literal , (string_literal ""%F%P: bfd_hash_allocate failed creating symbol %s\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_001251f0(uVar2,param_3);" (call_expression "FUN_001251f0(uVar2,param_3)" identifier (argument_list "(uVar2,param_3)" ( identifier , identifier ))) ;) (expression_statement "_DAT_00000020 = _DAT_00000020 & 0xfeff;" (assignment_expression "_DAT_00000020 = _DAT_00000020 & 0xfeff" identifier = (binary_expression "_DAT_00000020 & 0xfeff" identifier & number_literal)) ;) (expression_statement "pcVar1 = (code *)invalidInstructionException();" (assignment_expression "pcVar1 = (code *)invalidInstructionException()" identifier = (cast_expression "(code *)invalidInstructionException()" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "invalidInstructionException()" identifier (argument_list "()" ( ))))) ;) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) })))
(function_definition "long FUN_00121310(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  code *pcVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }\n  lVar3 = bfd_hash_allocate(param_2,0x28);\n  if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }\n  uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  FUN_001251f0(uVar2,param_3);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    \n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_00121310(long param_1,undefined8 param_2,undefined8 param_3)" (identifier "FUN_00121310") (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  code *pcVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }\n  lVar3 = bfd_hash_allocate(param_2,0x28);\n  if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }\n  uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);\n  FUN_001251f0(uVar2,param_3);\n  _DAT_00000020 = _DAT_00000020 & 0xfeff;\n                    \n  pcVar1 = (code *)invalidInstructionException();\n  (*pcVar1)();\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (if_statement "if (param_1 != 0) {\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;\n    return param_1;\n  }" ({ "{") (expression_statement "*(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;" (assignment_expression "*(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(param_1 + 0x20)" (* "*") (cast_expression "(ushort *)(param_1 + 0x20)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "*(ushort *)(param_1 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(param_1 + 0x20)" (* "*") (cast_expression "(ushort *)(param_1 + 0x20)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (& "&") (number_literal "0xfe00"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "lVar3 = bfd_hash_allocate(param_2,0x28);" (assignment_expression "lVar3 = bfd_hash_allocate(param_2,0x28)" (identifier "lVar3") (= "=") (call_expression "bfd_hash_allocate(param_2,0x28)" (identifier "bfd_hash_allocate") (argument_list "(param_2,0x28)" (( "(") (identifier "param_2") (, ",") (number_literal "0x28") () ")")))) (; ";")) (if_statement "if (lVar3 != 0) {\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;\n    return lVar3;\n  }" ({ "{") (expression_statement "*(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;" (assignment_expression "*(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(lVar3 + 0x20)" (* "*") (cast_expression "(ushort *)(lVar3 + 0x20)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "*(ushort *)(lVar3 + 0x20) & 0xfe00" (pointer_expression "*(ushort *)(lVar3 + 0x20)" (* "*") (cast_expression "(ushort *)(lVar3 + 0x20)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")")))) (& "&") (number_literal "0xfe00"))) (; ";")) (return_statement "return lVar3;" (return "return") (identifier "lVar3") (; ";")) (} "}"))) (expression_statement "uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P: bfd_hash_allocate failed creating symbol %s\n"" (" """) (string_content "%F%P: bfd_hash_allocate failed creating symbol %s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_001251f0(uVar2,param_3);" (call_expression "FUN_001251f0(uVar2,param_3)" (identifier "FUN_001251f0") (argument_list "(uVar2,param_3)" (( "(") (identifier "uVar2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "_DAT_00000020 = _DAT_00000020 & 0xfeff;" (assignment_expression "_DAT_00000020 = _DAT_00000020 & 0xfeff" (identifier "_DAT_00000020") (= "=") (binary_expression "_DAT_00000020 & 0xfeff" (identifier "_DAT_00000020") (& "&") (number_literal "0xfeff"))) (; ";")) (expression_statement "pcVar1 = (code *)invalidInstructionException();" (assignment_expression "pcVar1 = (code *)invalidInstructionException()" (identifier "pcVar1") (= "=") (cast_expression "(code *)invalidInstructionException()" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "invalidInstructionException()" (identifier "invalidInstructionException") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "(*pcVar1)();" (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

type_1 * function_1(type_1 *var_1,type_2 *table,char *name)

{
  type_3 *pcVar1;
  char *fmt;
  type_1 *var_3;
  type_4 *ret;
  
  if (var_1 != (type_1 *)0x0) {
    *(type_5 *)&var_1[1].string = *(type_5 *)&var_1[1].string & 0xfe00;
    return var_1;
  }
  var_3 = (type_1 *)var_2(table,0x28);
  if (var_3 != (type_1 *)0x0) {
    *(type_5 *)&var_3[1].string = *(type_5 *)&var_3[1].string & 0xfe00;
    return var_3;
  }
  fmt = (char *)var_4(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);
  var_5(fmt,name);
  var_6 = var_6 & 0xfeff;
                    /* WARNING: Does not return */
  pcVar1 = (type_3 *)var_7();
  (*pcVar1)();
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (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))))) right: (number_literal)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (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))))) right: (number_literal)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))))))

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

long MASKED(long param_1,undefined8 param_2,undefined8 param_3)

{
  code *pcVar1;
  undefined8 uVar2;
  long lVar3;
  
  if (param_1 != 0) {
    *(ushort *)(param_1 + 0x20) = *(ushort *)(param_1 + 0x20) & 0xfe00;
    return param_1;
  }
  lVar3 = bfd_hash_allocate(param_2,0x28);
  if (lVar3 != 0) {
    *(ushort *)(lVar3 + 0x20) = *(ushort *)(lVar3 + 0x20) & 0xfe00;
    return lVar3;
  }
  uVar2 = dcgettext(0,"%F%P: bfd_hash_allocate failed creating symbol %s\n",5);
  FUN_001251f0(uVar2,param_3);
  _DAT_00000020 = _DAT_00000020 & 0xfeff;
                    /* WARNING: Does not return */
  pcVar1 = (code *)invalidInstructionException();
  (*pcVar1)();
}

