
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 install_reloc(asection *sec,arelent *reloc,fragS *fragp,char *file,uint line)

{
  bfd_symbol *pbVar1;
  char *pcVar2;
  int iVar3;
  char *err;
  
  err = (char *)0x3adea;
  if ((((reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&
       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)) && ((pbVar1->flags & 0x20) == 0)
      ) && (((pbVar1->flags & 0x100) == 0 ||
            (pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150))))) {
    pcVar2 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);
    as_bad_where(file,line,pcVar2);
  }
  iVar3 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);
  if (iVar3 == 3) {
    pcVar2 = "relocation overflow";
  }
  else {
    if (iVar3 != 4) {
      if (iVar3 == 2) {
        return;
      }
      pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3);
                    /* WARNING: Subroutine does not return */
      as_fatal(pcVar2,file,line,iVar3);
    }
    pcVar2 = "relocation out of range";
  }
  pcVar2 = (char *)dcgettext(0,pcVar2,5);
  as_bad_where(file,line,pcVar2);
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3
FUN_0003ade0(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,
            undefined4 param_5)

{
  undefined4 uVar1;
  int iVar2;
  char *pcVar3;
  undefined4 local_10;
  
  local_10 = 0x3adea;
  if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&
      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&
     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||
      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {
    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);
    FUN_0002a800(param_4,param_5,uVar1);
  }
  iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);
  if (iVar2 == 3) {
    pcVar3 = "relocation overflow";
  }
  else {
    if (iVar2 != 4) {
      if (iVar2 == 2) {
        return;
      }
      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);
                    /* WARNING: Subroutine does not return */
      FUN_0002a850(uVar1,param_4,param_5,iVar2);
    }
    pcVar3 = "relocation out of range";
  }
  uVar1 = dcgettext(0,pcVar3,5);
  FUN_0002a800(param_4,param_5,uVar1);
  return;
}


PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00016030
ADD EBX,0x39216
SUB ESP,0x20
MOV EAX,dword ptr [EDX]
TEST EAX,EAX
JZ 0x0003ae60
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x0003ae60
MOV EDI,dword ptr [EAX + 0xc]
TEST EDI,0x20
JNZ 0x0003ae60
AND EDI,0x100
JZ 0x0003ae23
MOV EDI,dword ptr [EBX + 0xffffffb8]
ADD EDI,0x150
CMP dword ptr [EAX + 0x10],EDI
JZ 0x0003ae60
MOV dword ptr [ESP + 0xc],ECX
LEA EAX,[EBX + 0xfffe1494]
SUB ESP,0x4
MOV dword ptr [ESP + 0xc],EDX
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
ADD ESP,0xc
PUSH EAX
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
CALL 0x0002a800
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [ESP + 0x8]
LEA ESI,[ESI]
SUB ESP,0x8
ADD ECX,0x38
LEA EAX,[ESP + 0x24]
PUSH EAX
LEA EAX,[EBX + 0x8f04]
PUSH ESI
PUSH dword ptr [ECX + -0x38]
PUSH ECX
PUSH EDX
PUSH dword ptr [EAX]
CALL 0x000145d0
ADD ESP,0x20
MOV ESI,EAX
CMP EAX,0x3
JZ 0x0003aef0
CMP EAX,0x4
JZ 0x0003aeb8
CMP EAX,0x2
JZ 0x0003aedf
PUSH EAX
LEA EAX,[EBX + 0xfffe14c0]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
PUSH ESI
PUSH dword ptr [ESP + 0x48]
PUSH dword ptr [ESP + 0x48]
PUSH EAX
CALL 0x0002a850
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe1953]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
ADD ESP,0xc
PUSH EAX
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
CALL 0x0002a800
ADD ESP,0x10
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe193f]
PUSH 0x5
JMP 0x0003aec3
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3\nFUN_0003ade0(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x3adea;\n  if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }\n  iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);\n  if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    /* WARNING: Subroutine does not return */\n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  uVar1 = dcgettext(0,pcVar3,5);\n  FUN_0002a800(param_4,param_5,uVar1);\n  return;\n}\n\n" comment (function_definition "void __regparm3\nFUN_0003ade0(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x3adea;\n  if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }\n  iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);\n  if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    /* WARNING: Subroutine does not return */\n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  uVar1 = dcgettext(0,pcVar3,5);\n  FUN_0002a800(param_4,param_5,uVar1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0003ade0(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x3adea;\n  if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }\n  iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);\n  if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    /* WARNING: Subroutine does not return */\n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  uVar1 = dcgettext(0,pcVar3,5);\n  FUN_0002a800(param_4,param_5,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (expression_statement "local_10 = 0x3adea;" (assignment_expression "local_10 = 0x3adea" identifier = number_literal) ;) (if_statement "if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }" if (parenthesized_expression "(((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150))))" ( (binary_expression "((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))" (parenthesized_expression "((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0))" ( (binary_expression "(((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)" (parenthesized_expression "(((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0))" ( (binary_expression "((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)" (parenthesized_expression "((int *)*param_2 != (int *)0x0)" ( (binary_expression "(int *)*param_2 != (int *)0x0" (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar2 = *(int *)*param_2, iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)*param_2, iVar2 != 0" (assignment_expression "iVar2 = *(int *)*param_2" identifier = (pointer_expression "*(int *)*param_2" * (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "((*(uint *)(iVar2 + 0xc) & 0x20) == 0)" ( (binary_expression "(*(uint *)(iVar2 + 0xc) & 0x20) == 0" (parenthesized_expression "(*(uint *)(iVar2 + 0xc) & 0x20)" ( (binary_expression "*(uint *)(iVar2 + 0xc) & 0x20" (pointer_expression "*(uint *)(iVar2 + 0xc)" * (cast_expression "(uint *)(iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))" ( (parenthesized_expression "((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150))" ( (binary_expression "(*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)" (binary_expression "(*(uint *)(iVar2 + 0xc) & 0x100) == 0" (parenthesized_expression "(*(uint *)(iVar2 + 0xc) & 0x100)" ( (binary_expression "*(uint *)(iVar2 + 0xc) & 0x100" (pointer_expression "*(uint *)(iVar2 + 0xc)" * (cast_expression "(uint *)(iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) & number_literal) )) == number_literal) || (parenthesized_expression "(*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)" ( (binary_expression "*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150" (pointer_expression "*(undefined **)(iVar2 + 0x10)" * (cast_expression "(undefined **)(iVar2 + 0x10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_00073fb8 + 0x150" identifier + number_literal)) ))) )) ))) )) (compound_statement "{\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }" { (expression_statement "uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);" (assignment_expression "uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5)" identifier = (call_expression "dcgettext(0,"redefined symbol cannot be used on reloc",5)" identifier (argument_list "(0,"redefined symbol cannot be used on reloc",5)" ( number_literal , (string_literal ""redefined symbol cannot be used on reloc"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002a800(param_4,param_5,uVar1);" (call_expression "FUN_0002a800(param_4,param_5,uVar1)" identifier (argument_list "(param_4,param_5,uVar1)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);" (assignment_expression "iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10)" identifier = (call_expression "bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10)" identifier (argument_list "(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10)" ( identifier , identifier , (binary_expression "param_3 + 0xe" identifier + number_literal) , (pointer_expression "*param_3" * identifier) , identifier , (pointer_expression "&local_10" & identifier) )))) ;) (if_statement "if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    /* WARNING: Subroutine does not return */\n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" if (parenthesized_expression "(iVar2 == 3)" ( (binary_expression "iVar2 == 3" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = "relocation overflow";\n  }" { (expression_statement "pcVar3 = "relocation overflow";" (assignment_expression "pcVar3 = "relocation overflow"" identifier = (string_literal ""relocation overflow"" " string_content ")) ;) }) (else_clause "else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    /* WARNING: Subroutine does not return */\n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" else (compound_statement "{\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    /* WARNING: Subroutine does not return */\n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" { (if_statement "if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    /* WARNING: Subroutine does not return */\n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }" if (parenthesized_expression "(iVar2 != 4)" ( (binary_expression "iVar2 != 4" identifier != number_literal) )) (compound_statement "{\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    /* WARNING: Subroutine does not return */\n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }" { (if_statement "if (iVar2 == 2) {\n        return;\n      }" if (parenthesized_expression "(iVar2 == 2)" ( (binary_expression "iVar2 == 2" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);" (assignment_expression "uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2)" identifier = (call_expression "dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2)" identifier (argument_list "(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2)" ( number_literal , (string_literal ""%s:%u: bad return from bfd_install_relocation: %x"" " string_content ") , number_literal , identifier )))) ;) comment (expression_statement "FUN_0002a850(uVar1,param_4,param_5,iVar2);" (call_expression "FUN_0002a850(uVar1,param_4,param_5,iVar2)" identifier (argument_list "(uVar1,param_4,param_5,iVar2)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "pcVar3 = "relocation out of range";" (assignment_expression "pcVar3 = "relocation out of range"" identifier = (string_literal ""relocation out of range"" " string_content ")) ;) }))) (expression_statement "uVar1 = dcgettext(0,pcVar3,5);" (assignment_expression "uVar1 = dcgettext(0,pcVar3,5)" identifier = (call_expression "dcgettext(0,pcVar3,5)" identifier (argument_list "(0,pcVar3,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "FUN_0002a800(param_4,param_5,uVar1);" (call_expression "FUN_0002a800(param_4,param_5,uVar1)" identifier (argument_list "(param_4,param_5,uVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 install_reloc(asection *sec,arelent *reloc,fragS *fragp,char *file,uint line)\n\n{\n  bfd_symbol *pbVar1;\n  char *pcVar2;\n  int iVar3;\n  char *err;\n  \n  err = (char *)0x3adea;\n  if ((((reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&\n       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)) && ((pbVar1->flags & 0x20) == 0)\n      ) && (((pbVar1->flags & 0x100) == 0 ||\n            (pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150))))) {\n    pcVar2 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    as_bad_where(file,line,pcVar2);\n  }\n  iVar3 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);\n  if (iVar3 == 3) {\n    pcVar2 = "relocation overflow";\n  }\n  else {\n    if (iVar3 != 4) {\n      if (iVar3 == 2) {\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar2,file,line,iVar3);\n    }\n    pcVar2 = "relocation out of range";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  as_bad_where(file,line,pcVar2);\n  return;\n}\n\n" comment (function_definition "void __regparm3 install_reloc(asection *sec,arelent *reloc,fragS *fragp,char *file,uint line)\n\n{\n  bfd_symbol *pbVar1;\n  char *pcVar2;\n  int iVar3;\n  char *err;\n  \n  err = (char *)0x3adea;\n  if ((((reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&\n       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)) && ((pbVar1->flags & 0x20) == 0)\n      ) && (((pbVar1->flags & 0x100) == 0 ||\n            (pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150))))) {\n    pcVar2 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    as_bad_where(file,line,pcVar2);\n  }\n  iVar3 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);\n  if (iVar3 == 3) {\n    pcVar2 = "relocation overflow";\n  }\n  else {\n    if (iVar3 != 4) {\n      if (iVar3 == 2) {\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar2,file,line,iVar3);\n    }\n    pcVar2 = "relocation out of range";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  as_bad_where(file,line,pcVar2);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "install_reloc(asection *sec,arelent *reloc,fragS *fragp,char *file,uint line)" identifier (parameter_list "(asection *sec,arelent *reloc,fragS *fragp,char *file,uint line)" ( (parameter_declaration "asection *sec" type_identifier (pointer_declarator "*sec" * identifier)) , (parameter_declaration "arelent *reloc" type_identifier (pointer_declarator "*reloc" * identifier)) , (parameter_declaration "fragS *fragp" type_identifier (pointer_declarator "*fragp" * identifier)) , (parameter_declaration "char *file" primitive_type (pointer_declarator "*file" * identifier)) , (parameter_declaration "uint line" type_identifier identifier) ))) (compound_statement "{\n  bfd_symbol *pbVar1;\n  char *pcVar2;\n  int iVar3;\n  char *err;\n  \n  err = (char *)0x3adea;\n  if ((((reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&\n       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)) && ((pbVar1->flags & 0x20) == 0)\n      ) && (((pbVar1->flags & 0x100) == 0 ||\n            (pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150))))) {\n    pcVar2 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    as_bad_where(file,line,pcVar2);\n  }\n  iVar3 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);\n  if (iVar3 == 3) {\n    pcVar2 = "relocation overflow";\n  }\n  else {\n    if (iVar3 != 4) {\n      if (iVar3 == 2) {\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar2,file,line,iVar3);\n    }\n    pcVar2 = "relocation out of range";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  as_bad_where(file,line,pcVar2);\n  return;\n}" { (declaration "bfd_symbol *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *err;" primitive_type (pointer_declarator "*err" * identifier) ;) (expression_statement "err = (char *)0x3adea;" (assignment_expression "err = (char *)0x3adea" identifier = (cast_expression "(char *)0x3adea" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((((reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&\n       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)) && ((pbVar1->flags & 0x20) == 0)\n      ) && (((pbVar1->flags & 0x100) == 0 ||\n            (pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150))))) {\n    pcVar2 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    as_bad_where(file,line,pcVar2);\n  }" if (parenthesized_expression "((((reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&\n       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)) && ((pbVar1->flags & 0x20) == 0)\n      ) && (((pbVar1->flags & 0x100) == 0 ||\n            (pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150)))))" ( (binary_expression "(((reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&\n       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)) && ((pbVar1->flags & 0x20) == 0)\n      ) && (((pbVar1->flags & 0x100) == 0 ||\n            (pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150))))" (parenthesized_expression "(((reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&\n       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)) && ((pbVar1->flags & 0x20) == 0)\n      )" ( (binary_expression "((reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&\n       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)) && ((pbVar1->flags & 0x20) == 0)" (parenthesized_expression "((reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&\n       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0))" ( (binary_expression "(reloc->sym_ptr_ptr != (bfd_symbol **)0x0) &&\n       (pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)" (parenthesized_expression "(reloc->sym_ptr_ptr != (bfd_symbol **)0x0)" ( (binary_expression "reloc->sym_ptr_ptr != (bfd_symbol **)0x0" (field_expression "reloc->sym_ptr_ptr" identifier -> field_identifier) != (cast_expression "(bfd_symbol **)0x0" ( (type_descriptor "bfd_symbol **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) && (parenthesized_expression "(pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0)" ( (comma_expression "pbVar1 = *reloc->sym_ptr_ptr, pbVar1 != (bfd_symbol *)0x0" (assignment_expression "pbVar1 = *reloc->sym_ptr_ptr" identifier = (pointer_expression "*reloc->sym_ptr_ptr" * (field_expression "reloc->sym_ptr_ptr" identifier -> field_identifier))) , (binary_expression "pbVar1 != (bfd_symbol *)0x0" identifier != (cast_expression "(bfd_symbol *)0x0" ( (type_descriptor "bfd_symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "((pbVar1->flags & 0x20) == 0)" ( (binary_expression "(pbVar1->flags & 0x20) == 0" (parenthesized_expression "(pbVar1->flags & 0x20)" ( (binary_expression "pbVar1->flags & 0x20" (field_expression "pbVar1->flags" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(((pbVar1->flags & 0x100) == 0 ||\n            (pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150))))" ( (parenthesized_expression "((pbVar1->flags & 0x100) == 0 ||\n            (pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150)))" ( (binary_expression "(pbVar1->flags & 0x100) == 0 ||\n            (pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150))" (binary_expression "(pbVar1->flags & 0x100) == 0" (parenthesized_expression "(pbVar1->flags & 0x100)" ( (binary_expression "pbVar1->flags & 0x100" (field_expression "pbVar1->flags" identifier -> field_identifier) & number_literal) )) == number_literal) || (parenthesized_expression "(pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150))" ( (binary_expression "pbVar1->section != (bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150)" (field_expression "pbVar1->section" identifier -> field_identifier) != (cast_expression "(bfd_section *)(PTR__bfd_std_section_00073fb8 + 0x150)" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_00073fb8 + 0x150)" ( (binary_expression "PTR__bfd_std_section_00073fb8 + 0x150" identifier + number_literal) )))) ))) )) ))) )) (compound_statement "{\n    pcVar2 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    as_bad_where(file,line,pcVar2);\n  }" { (expression_statement "pcVar2 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5)" identifier = (cast_expression "(char *)dcgettext(0,"redefined symbol cannot be used on reloc",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"redefined symbol cannot be used on reloc",5)" identifier (argument_list "(0,"redefined symbol cannot be used on reloc",5)" ( number_literal , (string_literal ""redefined symbol cannot be used on reloc"" " string_content ") , number_literal ))))) ;) (expression_statement "as_bad_where(file,line,pcVar2);" (call_expression "as_bad_where(file,line,pcVar2)" identifier (argument_list "(file,line,pcVar2)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "iVar3 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);" (assignment_expression "iVar3 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err)" identifier = (call_expression "bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err)" identifier (argument_list "(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err)" ( identifier , identifier , (field_expression "fragp->fr_literal" identifier -> field_identifier) , (field_expression "fragp->fr_address" identifier -> field_identifier) , identifier , (pointer_expression "&err" & identifier) )))) ;) (if_statement "if (iVar3 == 3) {\n    pcVar2 = "relocation overflow";\n  }\n  else {\n    if (iVar3 != 4) {\n      if (iVar3 == 2) {\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar2,file,line,iVar3);\n    }\n    pcVar2 = "relocation out of range";\n  }" if (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "relocation overflow";\n  }" { (expression_statement "pcVar2 = "relocation overflow";" (assignment_expression "pcVar2 = "relocation overflow"" identifier = (string_literal ""relocation overflow"" " string_content ")) ;) }) (else_clause "else {\n    if (iVar3 != 4) {\n      if (iVar3 == 2) {\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar2,file,line,iVar3);\n    }\n    pcVar2 = "relocation out of range";\n  }" else (compound_statement "{\n    if (iVar3 != 4) {\n      if (iVar3 == 2) {\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar2,file,line,iVar3);\n    }\n    pcVar2 = "relocation out of range";\n  }" { (if_statement "if (iVar3 != 4) {\n      if (iVar3 == 2) {\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar2,file,line,iVar3);\n    }" if (parenthesized_expression "(iVar3 != 4)" ( (binary_expression "iVar3 != 4" identifier != number_literal) )) (compound_statement "{\n      if (iVar3 == 2) {\n        return;\n      }\n      pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar2,file,line,iVar3);\n    }" { (if_statement "if (iVar3 == 2) {\n        return;\n      }" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3)" identifier = (cast_expression "(char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3)" identifier (argument_list "(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar3)" ( number_literal , (string_literal ""%s:%u: bad return from bfd_install_relocation: %x"" " string_content ") , number_literal , identifier ))))) ;) comment (expression_statement "as_fatal(pcVar2,file,line,iVar3);" (call_expression "as_fatal(pcVar2,file,line,iVar3)" identifier (argument_list "(pcVar2,file,line,iVar3)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "pcVar2 = "relocation out of range";" (assignment_expression "pcVar2 = "relocation out of range"" identifier = (string_literal ""relocation out of range"" " string_content ")) ;) }))) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar2,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar2,5)" identifier (argument_list "(0,pcVar2,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "as_bad_where(file,line,pcVar2);" (call_expression "as_bad_where(file,line,pcVar2)" identifier (argument_list "(file,line,pcVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3\nFUN_0003ade0(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x3adea;\n  if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }\n  iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);\n  if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  uVar1 = dcgettext(0,pcVar3,5);\n  FUN_0002a800(param_4,param_5,uVar1);\n  return;\n}\n\n" (function_definition "void __regparm3\nFUN_0003ade0(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x3adea;\n  if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }\n  iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);\n  if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  uVar1 = dcgettext(0,pcVar3,5);\n  FUN_0002a800(param_4,param_5,uVar1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0003ade0(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x3adea;\n  if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }\n  iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);\n  if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  uVar1 = dcgettext(0,pcVar3,5);\n  FUN_0002a800(param_4,param_5,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 local_10;" type_identifier identifier ;) (expression_statement "local_10 = 0x3adea;" (assignment_expression "local_10 = 0x3adea" identifier = number_literal) ;) (if_statement "if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }" if (parenthesized_expression "(((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150))))" ( (binary_expression "((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))" (parenthesized_expression "((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0))" ( (binary_expression "(((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)" (parenthesized_expression "(((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0))" ( (binary_expression "((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)" (parenthesized_expression "((int *)*param_2 != (int *)0x0)" ( (binary_expression "(int *)*param_2 != (int *)0x0" (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar2 = *(int *)*param_2, iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)*param_2, iVar2 != 0" (assignment_expression "iVar2 = *(int *)*param_2" identifier = (pointer_expression "*(int *)*param_2" * (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "((*(uint *)(iVar2 + 0xc) & 0x20) == 0)" ( (binary_expression "(*(uint *)(iVar2 + 0xc) & 0x20) == 0" (parenthesized_expression "(*(uint *)(iVar2 + 0xc) & 0x20)" ( (binary_expression "*(uint *)(iVar2 + 0xc) & 0x20" (pointer_expression "*(uint *)(iVar2 + 0xc)" * (cast_expression "(uint *)(iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))" ( (parenthesized_expression "((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150))" ( (binary_expression "(*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)" (binary_expression "(*(uint *)(iVar2 + 0xc) & 0x100) == 0" (parenthesized_expression "(*(uint *)(iVar2 + 0xc) & 0x100)" ( (binary_expression "*(uint *)(iVar2 + 0xc) & 0x100" (pointer_expression "*(uint *)(iVar2 + 0xc)" * (cast_expression "(uint *)(iVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) & number_literal) )) == number_literal) || (parenthesized_expression "(*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)" ( (binary_expression "*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150" (pointer_expression "*(undefined **)(iVar2 + 0x10)" * (cast_expression "(undefined **)(iVar2 + 0x10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_00073fb8 + 0x150" identifier + number_literal)) ))) )) ))) )) (compound_statement "{\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }" { (expression_statement "uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);" (assignment_expression "uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5)" identifier = (call_expression "dcgettext(0,"redefined symbol cannot be used on reloc",5)" identifier (argument_list "(0,"redefined symbol cannot be used on reloc",5)" ( number_literal , (string_literal ""redefined symbol cannot be used on reloc"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002a800(param_4,param_5,uVar1);" (call_expression "FUN_0002a800(param_4,param_5,uVar1)" identifier (argument_list "(param_4,param_5,uVar1)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);" (assignment_expression "iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10)" identifier = (call_expression "bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10)" identifier (argument_list "(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10)" ( identifier , identifier , (binary_expression "param_3 + 0xe" identifier + number_literal) , (pointer_expression "*param_3" * identifier) , identifier , (pointer_expression "&local_10" & identifier) )))) ;) (if_statement "if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" if (parenthesized_expression "(iVar2 == 3)" ( (binary_expression "iVar2 == 3" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = "relocation overflow";\n  }" { (expression_statement "pcVar3 = "relocation overflow";" (assignment_expression "pcVar3 = "relocation overflow"" identifier = (string_literal ""relocation overflow"" " string_content ")) ;) }) (else_clause "else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" else (compound_statement "{\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" { (if_statement "if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }" if (parenthesized_expression "(iVar2 != 4)" ( (binary_expression "iVar2 != 4" identifier != number_literal) )) (compound_statement "{\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }" { (if_statement "if (iVar2 == 2) {\n        return;\n      }" if (parenthesized_expression "(iVar2 == 2)" ( (binary_expression "iVar2 == 2" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);" (assignment_expression "uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2)" identifier = (call_expression "dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2)" identifier (argument_list "(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2)" ( number_literal , (string_literal ""%s:%u: bad return from bfd_install_relocation: %x"" " string_content ") , number_literal , identifier )))) ;) (expression_statement "FUN_0002a850(uVar1,param_4,param_5,iVar2);" (call_expression "FUN_0002a850(uVar1,param_4,param_5,iVar2)" identifier (argument_list "(uVar1,param_4,param_5,iVar2)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "pcVar3 = "relocation out of range";" (assignment_expression "pcVar3 = "relocation out of range"" identifier = (string_literal ""relocation out of range"" " string_content ")) ;) }))) (expression_statement "uVar1 = dcgettext(0,pcVar3,5);" (assignment_expression "uVar1 = dcgettext(0,pcVar3,5)" identifier = (call_expression "dcgettext(0,pcVar3,5)" identifier (argument_list "(0,pcVar3,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "FUN_0002a800(param_4,param_5,uVar1);" (call_expression "FUN_0002a800(param_4,param_5,uVar1)" identifier (argument_list "(param_4,param_5,uVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (binary_expression IDENT + LIT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) , (pointer_expression * IDENT) , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3\nFUN_0003ade0(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x3adea;\n  if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }\n  iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);\n  if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  uVar1 = dcgettext(0,pcVar3,5);\n  FUN_0002a800(param_4,param_5,uVar1);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0003ade0(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)" (identifier "FUN_0003ade0") (parameter_list "(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,\n            undefined4 param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  undefined4 local_10;\n  \n  local_10 = 0x3adea;\n  if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }\n  iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);\n  if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  uVar1 = dcgettext(0,pcVar3,5);\n  FUN_0002a800(param_4,param_5,uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined4 local_10;" (type_identifier "undefined4") (identifier "local_10") (; ";")) (expression_statement "local_10 = 0x3adea;" (assignment_expression "local_10 = 0x3adea" (identifier "local_10") (= "=") (number_literal "0x3adea")) (; ";")) (if_statement "if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }" (if "if") (parenthesized_expression "(((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150))))" (( "(") (binary_expression "((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&\n     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))" (parenthesized_expression "((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0))" (( "(") (binary_expression "(((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&\n      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)" (parenthesized_expression "(((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0))" (( "(") (binary_expression "((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)" (parenthesized_expression "((int *)*param_2 != (int *)0x0)" (( "(") (binary_expression "(int *)*param_2 != (int *)0x0" (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)*param_2, iVar2 != 0)" (( "(") (comma_expression "iVar2 = *(int *)*param_2, iVar2 != 0" (assignment_expression "iVar2 = *(int *)*param_2" (identifier "iVar2") (= "=") (pointer_expression "*(int *)*param_2" (* "*") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(iVar2 + 0xc) & 0x20) == 0)" (( "(") (binary_expression "(*(uint *)(iVar2 + 0xc) & 0x20) == 0" (parenthesized_expression "(*(uint *)(iVar2 + 0xc) & 0x20)" (( "(") (binary_expression "*(uint *)(iVar2 + 0xc) & 0x20" (pointer_expression "*(uint *)(iVar2 + 0xc)" (* "*") (cast_expression "(uint *)(iVar2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))" (( "(") (parenthesized_expression "((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150))" (( "(") (binary_expression "(*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||\n      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)" (binary_expression "(*(uint *)(iVar2 + 0xc) & 0x100) == 0" (parenthesized_expression "(*(uint *)(iVar2 + 0xc) & 0x100)" (( "(") (binary_expression "*(uint *)(iVar2 + 0xc) & 0x100" (pointer_expression "*(uint *)(iVar2 + 0xc)" (* "*") (cast_expression "(uint *)(iVar2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)" (( "(") (binary_expression "*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150" (pointer_expression "*(undefined **)(iVar2 + 0x10)" (* "*") (cast_expression "(undefined **)(iVar2 + 0x10)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (binary_expression "PTR__bfd_std_section_00073fb8 + 0x150" (identifier "PTR__bfd_std_section_00073fb8") (+ "+") (number_literal "0x150"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_0002a800(param_4,param_5,uVar1);\n  }" ({ "{") (expression_statement "uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);" (assignment_expression "uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"redefined symbol cannot be used on reloc",5)" (identifier "dcgettext") (argument_list "(0,"redefined symbol cannot be used on reloc",5)" (( "(") (number_literal "0") (, ",") (string_literal ""redefined symbol cannot be used on reloc"" (" """) (string_content "redefined symbol cannot be used on reloc") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002a800(param_4,param_5,uVar1);" (call_expression "FUN_0002a800(param_4,param_5,uVar1)" (identifier "FUN_0002a800") (argument_list "(param_4,param_5,uVar1)" (( "(") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);" (assignment_expression "iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10)" (identifier "iVar2") (= "=") (call_expression "bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10)" (identifier "bfd_install_relocation") (argument_list "(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10)" (( "(") (identifier "DAT_0007cf04") (, ",") (identifier "param_2") (, ",") (binary_expression "param_3 + 0xe" (identifier "param_3") (+ "+") (number_literal "0xe")) (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) (, ",") (identifier "param_1") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) () ")")))) (; ";")) (if_statement "if (iVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" (if "if") (parenthesized_expression "(iVar2 == 3)" (( "(") (binary_expression "iVar2 == 3" (identifier "iVar2") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n    pcVar3 = "relocation overflow";\n  }" ({ "{") (expression_statement "pcVar3 = "relocation overflow";" (assignment_expression "pcVar3 = "relocation overflow"" (identifier "pcVar3") (= "=") (string_literal ""relocation overflow"" (" """) (string_content "relocation overflow") (" """))) (; ";")) (} "}")) (else_clause "else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" (else "else") (compound_statement "{\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" ({ "{") (if_statement "if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }" (if "if") (parenthesized_expression "(iVar2 != 4)" (( "(") (binary_expression "iVar2 != 4" (identifier "iVar2") (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);\n                    \n      FUN_0002a850(uVar1,param_4,param_5,iVar2);\n    }" ({ "{") (if_statement "if (iVar2 == 2) {\n        return;\n      }" (if "if") (parenthesized_expression "(iVar2 == 2)" (( "(") (binary_expression "iVar2 == 2" (identifier "iVar2") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);" (assignment_expression "uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2)" (identifier "dcgettext") (argument_list "(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2)" (( "(") (number_literal "0") (, ",") (string_literal ""%s:%u: bad return from bfd_install_relocation: %x"" (" """) (string_content "%s:%u: bad return from bfd_install_relocation: %x") (" """)) (, ",") (number_literal "5") (, ",") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "FUN_0002a850(uVar1,param_4,param_5,iVar2);" (call_expression "FUN_0002a850(uVar1,param_4,param_5,iVar2)" (identifier "FUN_0002a850") (argument_list "(uVar1,param_4,param_5,iVar2)" (( "(") (identifier "uVar1") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar3 = "relocation out of range";" (assignment_expression "pcVar3 = "relocation out of range"" (identifier "pcVar3") (= "=") (string_literal ""relocation out of range"" (" """) (string_content "relocation out of range") (" """))) (; ";")) (} "}")))) (expression_statement "uVar1 = dcgettext(0,pcVar3,5);" (assignment_expression "uVar1 = dcgettext(0,pcVar3,5)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,pcVar3,5)" (identifier "dcgettext") (argument_list "(0,pcVar3,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar3") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002a800(param_4,param_5,uVar1);" (call_expression "FUN_0002a800(param_4,param_5,uVar1)" (identifier "FUN_0002a800") (argument_list "(param_4,param_5,uVar1)" (( "(") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 function_1(type_1 *sec,type_2 *reloc,type_3 *fragp,char *file,type_4 line)

{
  type_5 *var_1;
  char *pcVar2;
  int var_6;
  char *err;
  
  err = (char *)0x3adea;
  if ((((reloc->sym_ptr_ptr != (type_5 **)0x0) &&
       (var_1 = *reloc->sym_ptr_ptr, var_1 != (type_5 *)0x0)) && ((var_1->flags & 0x20) == 0)
      ) && (((var_1->flags & 0x100) == 0 ||
            (var_1->section != (type_6 *)(var_2 + 0x150))))) {
    pcVar2 = (char *)var_3(0,"redefined symbol cannot be used on reloc",5);
    var_4(file,line,pcVar2);
  }
  var_6 = var_5(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);
  if (var_6 == 3) {
    pcVar2 = "relocation overflow";
  }
  else {
    if (var_6 != 4) {
      if (var_6 == 2) {
        return;
      }
      pcVar2 = (char *)var_3(0,"%s:%u: bad return from bfd_install_relocation: %x",5,var_6);
                    /* WARNING: Subroutine does not return */
      var_7(pcVar2,file,line,var_6);
    }
    pcVar2 = "relocation out of range";
  }
  pcVar2 = (char *)var_3(0,pcVar2,5);
  var_4(file,line,pcVar2);
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3
MASKED(undefined4 param_1,int *param_2,undefined4 *param_3,undefined4 param_4,
            undefined4 param_5)

{
  undefined4 uVar1;
  int iVar2;
  char *pcVar3;
  undefined4 local_10;
  
  local_10 = 0x3adea;
  if (((((int *)*param_2 != (int *)0x0) && (iVar2 = *(int *)*param_2, iVar2 != 0)) &&
      ((*(uint *)(iVar2 + 0xc) & 0x20) == 0)) &&
     (((*(uint *)(iVar2 + 0xc) & 0x100) == 0 ||
      (*(undefined **)(iVar2 + 0x10) != PTR__bfd_std_section_00073fb8 + 0x150)))) {
    uVar1 = dcgettext(0,"redefined symbol cannot be used on reloc",5);
    FUN_0002a800(param_4,param_5,uVar1);
  }
  iVar2 = bfd_install_relocation(DAT_0007cf04,param_2,param_3 + 0xe,*param_3,param_1,&local_10);
  if (iVar2 == 3) {
    pcVar3 = "relocation overflow";
  }
  else {
    if (iVar2 != 4) {
      if (iVar2 == 2) {
        return;
      }
      uVar1 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5,iVar2);
                    /* WARNING: Subroutine does not return */
      FUN_0002a850(uVar1,param_4,param_5,iVar2);
    }
    pcVar3 = "relocation out of range";
  }
  uVar1 = dcgettext(0,pcVar3,5);
  FUN_0002a800(param_4,param_5,uVar1);
  return;
}

