
/* DWARF original prototype: void add_local_generic(Output_data_reloc<4,_true,_32,_true> * this,
   Relobj * relobj, uint local_sym_index, uint type, Output_data * od, uint64_t address, uint64_t
   addend) */

void __thiscall
gold::Output_data_reloc<4,_true,_32,_true>::add_local_generic
          (Output_data_reloc<4,_true,_32,_true> *this,Relobj *relobj,uint param_2,uint type,
          Output_data *od,uint64_t address,uint64_t addend)

{
  Sized_relobj<32,_true> *sized_relobj;
  Output_reloc_type OStack_58;
  
  if ((addend == (addend & 0xffffffff)) && (address == (address & 0xffffffff))) {
    Output_reloc<9,_true,_32,_true>::Output_reloc
              (&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,
               false,false,false,false);
    OStack_58.addend_ = (Addend)addend;
    Output_data_reloc_base<4,_true,_32,_true>::add
              (&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58);
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");
}



void FUN_00224740(undefined8 param_1)

{
  undefined8 in_R8;
  ulong in_R9;
  ulong in_stack_00000008;
  undefined1 auStack_58 [32];
  undefined4 local_38;
  
  if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {
    FUN_00204990(auStack_58);
    local_38 = (int)in_stack_00000008;
    FUN_002242b0(param_1,in_R8,auStack_58);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x38
MOV RBX,qword ptr [RSP + 0x60]
MOV EAX,EBX
CMP RBX,RAX
JNZ 0x00224798
MOV EAX,R9D
CMP R9,RAX
JNZ 0x00224798
MOV R12,RSP
PUSH 0x0
MOV RBP,R8
MOV R13,RDI
PUSH 0x0
MOV RDI,R12
PUSH 0x0
PUSH 0x0
CALL 0x00204990
MOV dword ptr [RSP + 0x40],EBX
MOV RDX,R12
ADD RSP,0x20
MOV RSI,RBP
MOV RDI,R13
CALL 0x002242b0
ADD RSP,0x38
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RDX,[0x37f588]
MOV ESI,0xc0
LEA RDI,[0x3734af]
CALL 0x0017c650
(translation_unit "void FUN_00224740(undefined8 param_1)\n\n{\n  undefined8 in_R8;\n  ulong in_R9;\n  ulong in_stack_00000008;\n  undefined1 auStack_58 [32];\n  undefined4 local_38;\n  \n  if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n}\n\n" (function_definition "void FUN_00224740(undefined8 param_1)\n\n{\n  undefined8 in_R8;\n  ulong in_R9;\n  ulong in_stack_00000008;\n  undefined1 auStack_58 [32];\n  undefined4 local_38;\n  \n  if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n}" primitive_type (function_declarator "FUN_00224740(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined8 in_R8;\n  ulong in_R9;\n  ulong in_stack_00000008;\n  undefined1 auStack_58 [32];\n  undefined4 local_38;\n  \n  if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n}" { (declaration "undefined8 in_R8;" type_identifier identifier ;) (declaration "ulong in_R9;" type_identifier identifier ;) (declaration "ulong in_stack_00000008;" type_identifier identifier ;) (declaration "undefined1 auStack_58 [32];" type_identifier (array_declarator "auStack_58 [32]" identifier [ number_literal ]) ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (if_statement "if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }" if (parenthesized_expression "((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff)))" ( (binary_expression "(in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))" (parenthesized_expression "(in_stack_00000008 == (in_stack_00000008 & 0xffffffff))" ( (binary_expression "in_stack_00000008 == (in_stack_00000008 & 0xffffffff)" identifier == (parenthesized_expression "(in_stack_00000008 & 0xffffffff)" ( (binary_expression "in_stack_00000008 & 0xffffffff" identifier & number_literal) ))) )) && (parenthesized_expression "(in_R9 == (in_R9 & 0xffffffff))" ( (binary_expression "in_R9 == (in_R9 & 0xffffffff)" identifier == (parenthesized_expression "(in_R9 & 0xffffffff)" ( (binary_expression "in_R9 & 0xffffffff" identifier & number_literal) ))) ))) )) (compound_statement "{\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }" { (expression_statement "FUN_00204990(auStack_58);" (call_expression "FUN_00204990(auStack_58)" identifier (argument_list "(auStack_58)" ( identifier ))) ;) (expression_statement "local_38 = (int)in_stack_00000008;" (assignment_expression "local_38 = (int)in_stack_00000008" identifier = (cast_expression "(int)in_stack_00000008" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "FUN_002242b0(param_1,in_R8,auStack_58);" (call_expression "FUN_002242b0(param_1,in_R8,auStack_58)" identifier (argument_list "(param_1,in_R8,auStack_58)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");" (call_expression "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types")" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types")" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: void add_local_generic(Output_data_reloc<4,_true,_32,_true> * this,\n   Relobj * relobj, uint local_sym_index, uint type, Output_data * od, uint64_t address, uint64_t\n   addend) */\n\nvoid __thiscall\ngold::Output_data_reloc<4,_true,_32,_true>::add_local_generic\n          (Output_data_reloc<4,_true,_32,_true> *this,Relobj *relobj,uint param_2,uint type,\n          Output_data *od,uint64_t address,uint64_t addend)\n\n{\n  Sized_relobj<32,_true> *sized_relobj;\n  Output_reloc_type OStack_58;\n  \n  if ((addend == (addend & 0xffffffff)) && (address == (address & 0xffffffff))) {\n    Output_reloc<9,_true,_32,_true>::Output_reloc\n              (&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false);\n    OStack_58.addend_ = (Addend)addend;\n    Output_data_reloc_base<4,_true,_32,_true>::add\n              (&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n}\n\n" comment (declaration "void __thiscall\ngold::Output_data_reloc<4,_true,_32,_true>::add_local_generic\n          (Output_data_reloc<4,_true,_32,_true> *this,Relobj *relobj,uint param_2,uint type,\n          Output_data *od,uint64_t address,uint64_t addend)\n\n{\n  Sized_relobj<32,_true> *sized_relobj;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<4" < number_literal) , identifier , identifier , (ERROR "_true>::add_local_generic\n          (Output_data_reloc<4,_true,_32,_true> *this,Relobj *relobj,uint param_2,uint type,\n          Output_data *od,uint64_t address,uint64_t addend)\n\n{" identifier > : : (function_declarator "add_local_generic\n          (Output_data_reloc<4,_true,_32,_true> *this,Relobj *relobj,uint param_2,uint type,\n          Output_data *od,uint64_t address,uint64_t addend)" identifier (parameter_list "(Output_data_reloc<4,_true,_32,_true> *this,Relobj *relobj,uint param_2,uint type,\n          Output_data *od,uint64_t address,uint64_t addend)" ( (parameter_declaration "Output_data_reloc" type_identifier) (ERROR "<4" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_32" type_identifier) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Relobj *relobj" type_identifier (pointer_declarator "*relobj" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint type" type_identifier identifier) , (parameter_declaration "Output_data *od" type_identifier (pointer_declarator "*od" * identifier)) , (parameter_declaration "uint64_t address" primitive_type identifier) , (parameter_declaration "uint64_t addend" primitive_type identifier) ))) {) identifier (ERROR "<32" < number_literal) , (ERROR "_true>" identifier >) (pointer_declarator "*sized_relobj" * identifier) ;) (declaration "Output_reloc_type OStack_58;" type_identifier identifier ;) (if_statement "if ((addend == (addend & 0xffffffff)) && (address == (address & 0xffffffff))) {\n    Output_reloc<9,_true,_32,_true>::Output_reloc\n              (&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false);\n    OStack_58.addend_ = (Addend)addend;\n    Output_data_reloc_base<4,_true,_32,_true>::add\n              (&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58);\n    return;\n  }" if (parenthesized_expression "((addend == (addend & 0xffffffff)) && (address == (address & 0xffffffff)))" ( (binary_expression "(addend == (addend & 0xffffffff)) && (address == (address & 0xffffffff))" (parenthesized_expression "(addend == (addend & 0xffffffff))" ( (binary_expression "addend == (addend & 0xffffffff)" identifier == (parenthesized_expression "(addend & 0xffffffff)" ( (binary_expression "addend & 0xffffffff" identifier & number_literal) ))) )) && (parenthesized_expression "(address == (address & 0xffffffff))" ( (binary_expression "address == (address & 0xffffffff)" identifier == (parenthesized_expression "(address & 0xffffffff)" ( (binary_expression "address & 0xffffffff" identifier & number_literal) ))) ))) )) (compound_statement "{\n    Output_reloc<9,_true,_32,_true>::Output_reloc\n              (&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false);\n    OStack_58.addend_ = (Addend)addend;\n    Output_data_reloc_base<4,_true,_32,_true>::add\n              (&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58);\n    return;\n  }" { (expression_statement "Output_reloc<9,_true,_32,_true>::Output_reloc\n              (&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false);" (comma_expression "Output_reloc<9,_true,_32,_true>::Output_reloc\n              (&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false)" (binary_expression "Output_reloc<9" identifier < number_literal) , (comma_expression "_true,_32,_true>::Output_reloc\n              (&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false)" identifier , (comma_expression "_32,_true>::Output_reloc\n              (&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false)" identifier , (binary_expression "_true>::Output_reloc\n              (&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false)" identifier > (ERROR "::" : :) (call_expression "Output_reloc\n              (&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false)" identifier (argument_list "(&OStack_58.rel_,(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false)" ( (pointer_expression "&OStack_58.rel_" & (field_expression "OStack_58.rel_" identifier . field_identifier)) , (parenthesized_expression "(Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false)" ( (comma_expression "Sized_relobj<32,_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false" (binary_expression "Sized_relobj<32" identifier < number_literal) , (comma_expression "_true> *)relobj,param_2,type,od,(Address)address,\n               false,false,false,false" (binary_expression "_true> *)relobj" identifier > (pointer_expression "*)relobj" * (ERROR ")" )) identifier)) , (comma_expression "param_2,type,od,(Address)address,\n               false,false,false,false" identifier , (comma_expression "type,od,(Address)address,\n               false,false,false,false" identifier , (comma_expression "od,(Address)address,\n               false,false,false,false" identifier , (comma_expression "(Address)address,\n               false,false,false,false" (cast_expression "(Address)address" ( (type_descriptor "Address" type_identifier) ) identifier) , (comma_expression "false,false,false,false" false , (comma_expression "false,false,false" false , (comma_expression "false,false" false , false))))))))) )) ))))))) ;) (expression_statement "OStack_58.addend_ = (Addend)addend;" (assignment_expression "OStack_58.addend_ = (Addend)addend" (field_expression "OStack_58.addend_" identifier . field_identifier) = (cast_expression "(Addend)addend" ( (type_descriptor "Addend" type_identifier) ) identifier)) ;) (expression_statement "Output_data_reloc_base<4,_true,_32,_true>::add\n              (&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58);" (comma_expression "Output_data_reloc_base<4,_true,_32,_true>::add\n              (&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58)" (binary_expression "Output_data_reloc_base<4" identifier < number_literal) , (comma_expression "_true,_32,_true>::add\n              (&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58)" identifier , (comma_expression "_32,_true>::add\n              (&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58)" identifier , (binary_expression "_true>::add\n              (&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58)" identifier > (ERROR "::" : :) (call_expression "add\n              (&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58)" identifier (argument_list "(&this->super_Output_data_reloc_base<4,_true,_32,_true>,od,&OStack_58)" ( (binary_expression "&this->super_Output_data_reloc_base<4" (pointer_expression "&this->super_Output_data_reloc_base" & (field_expression "this->super_Output_data_reloc_base" identifier -> field_identifier)) < number_literal) , identifier , identifier , identifier (ERROR ">" >) , identifier , (pointer_expression "&OStack_58" & identifier) ))))))) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");" (call_expression "do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types")" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types")" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_00224740(undefined8 param_1)\n\n{\n  undefined8 in_R8;\n  ulong in_R9;\n  ulong in_stack_00000008;\n  undefined1 auStack_58 [32];\n  undefined4 local_38;\n  \n  if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n}\n\n" (function_definition "void FUN_00224740(undefined8 param_1)\n\n{\n  undefined8 in_R8;\n  ulong in_R9;\n  ulong in_stack_00000008;\n  undefined1 auStack_58 [32];\n  undefined4 local_38;\n  \n  if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n}" primitive_type (function_declarator "FUN_00224740(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined8 in_R8;\n  ulong in_R9;\n  ulong in_stack_00000008;\n  undefined1 auStack_58 [32];\n  undefined4 local_38;\n  \n  if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n}" { (declaration "undefined8 in_R8;" type_identifier identifier ;) (declaration "ulong in_R9;" type_identifier identifier ;) (declaration "ulong in_stack_00000008;" type_identifier identifier ;) (declaration "undefined1 auStack_58 [32];" type_identifier (array_declarator "auStack_58 [32]" identifier [ number_literal ]) ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (if_statement "if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }" if (parenthesized_expression "((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff)))" ( (binary_expression "(in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))" (parenthesized_expression "(in_stack_00000008 == (in_stack_00000008 & 0xffffffff))" ( (binary_expression "in_stack_00000008 == (in_stack_00000008 & 0xffffffff)" identifier == (parenthesized_expression "(in_stack_00000008 & 0xffffffff)" ( (binary_expression "in_stack_00000008 & 0xffffffff" identifier & number_literal) ))) )) && (parenthesized_expression "(in_R9 == (in_R9 & 0xffffffff))" ( (binary_expression "in_R9 == (in_R9 & 0xffffffff)" identifier == (parenthesized_expression "(in_R9 & 0xffffffff)" ( (binary_expression "in_R9 & 0xffffffff" identifier & number_literal) ))) ))) )) (compound_statement "{\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }" { (expression_statement "FUN_00204990(auStack_58);" (call_expression "FUN_00204990(auStack_58)" identifier (argument_list "(auStack_58)" ( identifier ))) ;) (expression_statement "local_38 = (int)in_stack_00000008;" (assignment_expression "local_38 = (int)in_stack_00000008" identifier = (cast_expression "(int)in_stack_00000008" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "FUN_002242b0(param_1,in_R8,auStack_58);" (call_expression "FUN_002242b0(param_1,in_R8,auStack_58)" identifier (argument_list "(param_1,in_R8,auStack_58)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");" (call_expression "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types")" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types")" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT == (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00224740(undefined8 param_1)\n\n{\n  undefined8 in_R8;\n  ulong in_R9;\n  ulong in_stack_00000008;\n  undefined1 auStack_58 [32];\n  undefined4 local_38;\n  \n  if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n}" (primitive_type "void") (function_declarator "FUN_00224740(undefined8 param_1)" (identifier "FUN_00224740") (parameter_list "(undefined8 param_1)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined8 in_R8;\n  ulong in_R9;\n  ulong in_stack_00000008;\n  undefined1 auStack_58 [32];\n  undefined4 local_38;\n  \n  if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");\n}" ({ "{") (declaration "undefined8 in_R8;" (type_identifier "undefined8") (identifier "in_R8") (; ";")) (declaration "ulong in_R9;" (type_identifier "ulong") (identifier "in_R9") (; ";")) (declaration "ulong in_stack_00000008;" (type_identifier "ulong") (identifier "in_stack_00000008") (; ";")) (declaration "undefined1 auStack_58 [32];" (type_identifier "undefined1") (array_declarator "auStack_58 [32]" (identifier "auStack_58") ([ "[") (number_literal "32") (] "]")) (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (if_statement "if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }" (if "if") (parenthesized_expression "((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff)))" (( "(") (binary_expression "(in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))" (parenthesized_expression "(in_stack_00000008 == (in_stack_00000008 & 0xffffffff))" (( "(") (binary_expression "in_stack_00000008 == (in_stack_00000008 & 0xffffffff)" (identifier "in_stack_00000008") (== "==") (parenthesized_expression "(in_stack_00000008 & 0xffffffff)" (( "(") (binary_expression "in_stack_00000008 & 0xffffffff" (identifier "in_stack_00000008") (& "&") (number_literal "0xffffffff")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(in_R9 == (in_R9 & 0xffffffff))" (( "(") (binary_expression "in_R9 == (in_R9 & 0xffffffff)" (identifier "in_R9") (== "==") (parenthesized_expression "(in_R9 & 0xffffffff)" (( "(") (binary_expression "in_R9 & 0xffffffff" (identifier "in_R9") (& "&") (number_literal "0xffffffff")) () ")"))) () ")"))) () ")")) (compound_statement "{\n    FUN_00204990(auStack_58);\n    local_38 = (int)in_stack_00000008;\n    FUN_002242b0(param_1,in_R8,auStack_58);\n    return;\n  }" ({ "{") (expression_statement "FUN_00204990(auStack_58);" (call_expression "FUN_00204990(auStack_58)" (identifier "FUN_00204990") (argument_list "(auStack_58)" (( "(") (identifier "auStack_58") () ")"))) (; ";")) (expression_statement "local_38 = (int)in_stack_00000008;" (assignment_expression "local_38 = (int)in_stack_00000008" (identifier "local_38") (= "=") (cast_expression "(int)in_stack_00000008" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "in_stack_00000008"))) (; ";")) (expression_statement "FUN_002242b0(param_1,in_R8,auStack_58);" (call_expression "FUN_002242b0(param_1,in_R8,auStack_58)" (identifier "FUN_002242b0") (argument_list "(param_1,in_R8,auStack_58)" (( "(") (identifier "param_1") (, ",") (identifier "in_R8") (, ",") (identifier "auStack_58") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");" (call_expression "FUN_0017c650("../../gold/gold.h",0xc0,"convert_types")" (identifier "FUN_0017c650") (argument_list "("../../gold/gold.h",0xc0,"convert_types")" (( "(") (string_literal ""../../gold/gold.h"" (" """) (string_content "../../gold/gold.h") (" """)) (, ",") (number_literal "0xc0") (, ",") (string_literal ""convert_types"" (" """) (string_content "convert_types") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: void add_local_generic(Output_data_reloc<4,_true,_32,_true> * this,
   Relobj * relobj, uint local_sym_index, uint type, Output_data * od, uint64_t address, uint64_t
   addend) */

void __thiscall
gold::Output_data_reloc<4,var_4,_32,var_4>::add_local_generic
          (Output_data_reloc<4,var_4,_32,var_4> *this,Relobj *relobj,uint param_2,uint type,
          Output_data *od,uint64_t var_2,uint64_t var_1)

{
  var_5<32,var_4> *sized_relobj;
  type_1 OStack_58;
  
  if ((var_1 == (var_1 & 0xffffffff)) && (var_2 == (var_2 & 0xffffffff))) {
    var_3<9,var_4,_32,var_4>::var_3
              (&OStack_58.rel_,(var_5<32,var_4> *)relobj,param_2,type,od,(type_2)var_2,
               false,false,false,false);
    OStack_58.addend_ = (type_3)var_1;
    var_6<4,var_4,_32,var_4>::var_7
              (&this->super_Output_data_reloc_base<4,var_4,_32,var_4>,od,&OStack_58);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_8("../../gold/gold.h",0xc0,"convert_types");
}


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

void MASKED(undefined8 param_1)

{
  undefined8 in_R8;
  ulong in_R9;
  ulong in_stack_00000008;
  undefined1 auStack_58 [32];
  undefined4 local_38;
  
  if ((in_stack_00000008 == (in_stack_00000008 & 0xffffffff)) && (in_R9 == (in_R9 & 0xffffffff))) {
    FUN_00204990(auStack_58);
    local_38 = (int)in_stack_00000008;
    FUN_002242b0(param_1,in_R8,auStack_58);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/gold.h",0xc0,"convert_types");
}

