
symbolS * symbol_find_exact_noref(char *name,int noref)

{
  symbolS *s;
  
  s = (symbolS *)hash_find(local_hash,name);
  if (s == (symbolS *)0x0) {
    s = (symbolS *)hash_find(sy_hash,name);
    if ((s != (symbolS *)0x0) && (noref == 0)) {
      S_CLEAR_WEAKREFD(s);
    }
  }
  return s;
}



long FUN_0012e870(undefined8 param_1,int param_2)

{
  long lVar1;
  
  lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);
  if (lVar1 == 0) {
    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);
    if ((lVar1 != 0) && (param_2 == 0)) {
      FUN_0012e830(lVar1);
    }
  }
  return lVar1;
}


PUSH RBP
MOV EBP,ESI
MOV RSI,RDI
PUSH RBX
MOV RBX,RDI
SUB RSP,0x18
MOV RDI,qword ptr [0x001b1668]
CALL 0x0011b4f0
TEST RAX,RAX
JZ 0x0012e8a0
ADD RSP,0x18
POP RBX
POP RBP
RET
MOV RDI,qword ptr [0x001b1670]
MOV RSI,RBX
CALL 0x0011b4f0
TEST RAX,RAX
JZ 0x0012e88f
TEST EBP,EBP
JNZ 0x0012e88f
MOV RDI,RAX
MOV qword ptr [RSP + 0x8],RAX
CALL 0x0012e830
MOV RAX,qword ptr [RSP + 0x8]
JMP 0x0012e88f
(translation_unit "long FUN_0012e870(undefined8 param_1,int param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);\n  if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }\n  return lVar1;\n}\n\n" (function_definition "long FUN_0012e870(undefined8 param_1,int param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);\n  if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }\n  return lVar1;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0012e870(undefined8 param_1,int param_2)" identifier (parameter_list "(undefined8 param_1,int param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);\n  if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }\n  return lVar1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);" (assignment_expression "lVar1 = FUN_0011b4f0(DAT_001b1668,param_1)" identifier = (call_expression "FUN_0011b4f0(DAT_001b1668,param_1)" identifier (argument_list "(DAT_001b1668,param_1)" ( identifier , identifier )))) ;) (if_statement "if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }" { (expression_statement "lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);" (assignment_expression "lVar1 = FUN_0011b4f0(DAT_001b1670,param_1)" identifier = (call_expression "FUN_0011b4f0(DAT_001b1670,param_1)" identifier (argument_list "(DAT_001b1670,param_1)" ( identifier , identifier )))) ;) (if_statement "if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }" if (parenthesized_expression "((lVar1 != 0) && (param_2 == 0))" ( (binary_expression "(lVar1 != 0) && (param_2 == 0)" (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) ))) )) (compound_statement "{\n      FUN_0012e830(lVar1);\n    }" { (expression_statement "FUN_0012e830(lVar1);" (call_expression "FUN_0012e830(lVar1)" identifier (argument_list "(lVar1)" ( identifier ))) ;) })) })) (return_statement "return lVar1;" return identifier ;) })))
(translation_unit "symbolS * symbol_find_exact_noref(char *name,int noref)\n\n{\n  symbolS *s;\n  \n  s = (symbolS *)hash_find(local_hash,name);\n  if (s == (symbolS *)0x0) {\n    s = (symbolS *)hash_find(sy_hash,name);\n    if ((s != (symbolS *)0x0) && (noref == 0)) {\n      S_CLEAR_WEAKREFD(s);\n    }\n  }\n  return s;\n}\n\n" (function_definition "symbolS * symbol_find_exact_noref(char *name,int noref)\n\n{\n  symbolS *s;\n  \n  s = (symbolS *)hash_find(local_hash,name);\n  if (s == (symbolS *)0x0) {\n    s = (symbolS *)hash_find(sy_hash,name);\n    if ((s != (symbolS *)0x0) && (noref == 0)) {\n      S_CLEAR_WEAKREFD(s);\n    }\n  }\n  return s;\n}" type_identifier (pointer_declarator "* symbol_find_exact_noref(char *name,int noref)" * (function_declarator "symbol_find_exact_noref(char *name,int noref)" identifier (parameter_list "(char *name,int noref)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "int noref" primitive_type identifier) )))) (compound_statement "{\n  symbolS *s;\n  \n  s = (symbolS *)hash_find(local_hash,name);\n  if (s == (symbolS *)0x0) {\n    s = (symbolS *)hash_find(sy_hash,name);\n    if ((s != (symbolS *)0x0) && (noref == 0)) {\n      S_CLEAR_WEAKREFD(s);\n    }\n  }\n  return s;\n}" { (declaration "symbolS *s;" type_identifier (pointer_declarator "*s" * identifier) ;) (expression_statement "s = (symbolS *)hash_find(local_hash,name);" (assignment_expression "s = (symbolS *)hash_find(local_hash,name)" identifier = (cast_expression "(symbolS *)hash_find(local_hash,name)" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "hash_find(local_hash,name)" identifier (argument_list "(local_hash,name)" ( identifier , identifier ))))) ;) (if_statement "if (s == (symbolS *)0x0) {\n    s = (symbolS *)hash_find(sy_hash,name);\n    if ((s != (symbolS *)0x0) && (noref == 0)) {\n      S_CLEAR_WEAKREFD(s);\n    }\n  }" if (parenthesized_expression "(s == (symbolS *)0x0)" ( (binary_expression "s == (symbolS *)0x0" identifier == (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    s = (symbolS *)hash_find(sy_hash,name);\n    if ((s != (symbolS *)0x0) && (noref == 0)) {\n      S_CLEAR_WEAKREFD(s);\n    }\n  }" { (expression_statement "s = (symbolS *)hash_find(sy_hash,name);" (assignment_expression "s = (symbolS *)hash_find(sy_hash,name)" identifier = (cast_expression "(symbolS *)hash_find(sy_hash,name)" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "hash_find(sy_hash,name)" identifier (argument_list "(sy_hash,name)" ( identifier , identifier ))))) ;) (if_statement "if ((s != (symbolS *)0x0) && (noref == 0)) {\n      S_CLEAR_WEAKREFD(s);\n    }" if (parenthesized_expression "((s != (symbolS *)0x0) && (noref == 0))" ( (binary_expression "(s != (symbolS *)0x0) && (noref == 0)" (parenthesized_expression "(s != (symbolS *)0x0)" ( (binary_expression "s != (symbolS *)0x0" identifier != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(noref == 0)" ( (binary_expression "noref == 0" identifier == number_literal) ))) )) (compound_statement "{\n      S_CLEAR_WEAKREFD(s);\n    }" { (expression_statement "S_CLEAR_WEAKREFD(s);" (call_expression "S_CLEAR_WEAKREFD(s)" identifier (argument_list "(s)" ( identifier ))) ;) })) })) (return_statement "return s;" return identifier ;) })))
(translation_unit "long FUN_0012e870(undefined8 param_1,int param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);\n  if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }\n  return lVar1;\n}\n\n" (function_definition "long FUN_0012e870(undefined8 param_1,int param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);\n  if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }\n  return lVar1;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0012e870(undefined8 param_1,int param_2)" identifier (parameter_list "(undefined8 param_1,int param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);\n  if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }\n  return lVar1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);" (assignment_expression "lVar1 = FUN_0011b4f0(DAT_001b1668,param_1)" identifier = (call_expression "FUN_0011b4f0(DAT_001b1668,param_1)" identifier (argument_list "(DAT_001b1668,param_1)" ( identifier , identifier )))) ;) (if_statement "if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }" { (expression_statement "lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);" (assignment_expression "lVar1 = FUN_0011b4f0(DAT_001b1670,param_1)" identifier = (call_expression "FUN_0011b4f0(DAT_001b1670,param_1)" identifier (argument_list "(DAT_001b1670,param_1)" ( identifier , identifier )))) ;) (if_statement "if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }" if (parenthesized_expression "((lVar1 != 0) && (param_2 == 0))" ( (binary_expression "(lVar1 != 0) && (param_2 == 0)" (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) ))) )) (compound_statement "{\n      FUN_0012e830(lVar1);\n    }" { (expression_statement "FUN_0012e830(lVar1);" (call_expression "FUN_0012e830(lVar1)" identifier (argument_list "(lVar1)" ( identifier ))) ;) })) })) (return_statement "return lVar1;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "long FUN_0012e870(undefined8 param_1,int param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);\n  if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }\n  return lVar1;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_0012e870(undefined8 param_1,int param_2)" (identifier "FUN_0012e870") (parameter_list "(undefined8 param_1,int param_2)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);\n  if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }\n  return lVar1;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);" (assignment_expression "lVar1 = FUN_0011b4f0(DAT_001b1668,param_1)" (identifier "lVar1") (= "=") (call_expression "FUN_0011b4f0(DAT_001b1668,param_1)" (identifier "FUN_0011b4f0") (argument_list "(DAT_001b1668,param_1)" (( "(") (identifier "DAT_001b1668") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (lVar1 == 0) {\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }" (if "if") (parenthesized_expression "(lVar1 == 0)" (( "(") (binary_expression "lVar1 == 0" (identifier "lVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);\n    if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }\n  }" ({ "{") (expression_statement "lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);" (assignment_expression "lVar1 = FUN_0011b4f0(DAT_001b1670,param_1)" (identifier "lVar1") (= "=") (call_expression "FUN_0011b4f0(DAT_001b1670,param_1)" (identifier "FUN_0011b4f0") (argument_list "(DAT_001b1670,param_1)" (( "(") (identifier "DAT_001b1670") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((lVar1 != 0) && (param_2 == 0)) {\n      FUN_0012e830(lVar1);\n    }" (if "if") (parenthesized_expression "((lVar1 != 0) && (param_2 == 0))" (( "(") (binary_expression "(lVar1 != 0) && (param_2 == 0)" (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      FUN_0012e830(lVar1);\n    }" ({ "{") (expression_statement "FUN_0012e830(lVar1);" (call_expression "FUN_0012e830(lVar1)" (identifier "FUN_0012e830") (argument_list "(lVar1)" (( "(") (identifier "lVar1") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return lVar1;" (return "return") (identifier "lVar1") (; ";")) (} "}")))

type_1 * function_1(char *name,int var_3)

{
  type_1 *var_2;
  
  var_2 = (type_1 *)var_1(local_hash,name);
  if (var_2 == (type_1 *)0x0) {
    var_2 = (type_1 *)var_1(sy_hash,name);
    if ((var_2 != (type_1 *)0x0) && (var_3 == 0)) {
      var_4(var_2);
    }
  }
  return var_2;
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (return_statement (identifier)))))

long MASKED(undefined8 param_1,int param_2)

{
  long lVar1;
  
  lVar1 = FUN_0011b4f0(DAT_001b1668,param_1);
  if (lVar1 == 0) {
    lVar1 = FUN_0011b4f0(DAT_001b1670,param_1);
    if ((lVar1 != 0) && (param_2 == 0)) {
      FUN_0012e830(lVar1);
    }
  }
  return lVar1;
}

