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

{
  bfd_symbol *pbVar1;
  uint uVar2;
  char *pcVar3;
  char *err;
  
  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 *)0x16c9d0)))) {
    pcVar3 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);
    as_bad_where(file,line,pcVar3);
  }
  uVar2 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);
  if (uVar2 == 3) {
    pcVar3 = "relocation overflow";
  }
  else {
    if (uVar2 != 4) {
      if (uVar2 == 2) {
        return;
      }
      pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);
                    /* WARNING: Subroutine does not return */
      as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2);
    }
    pcVar3 = "relocation out of range";
  }
  pcVar3 = (char *)dcgettext(0,pcVar3,5);
  as_bad_where(file,line,pcVar3);
  return;
}



void FUN_00135f90(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,
                 undefined4 param_5)

{
  long lVar1;
  int iVar2;
  undefined8 uVar3;
  char *pcVar4;
  undefined1 local_30 [8];
  
  if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&
      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&
     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {
    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);
    FUN_00126650(param_4,param_5,uVar3);
  }
  iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)
  ;
  if (iVar2 == 3) {
    pcVar4 = "relocation overflow";
  }
  else {
    if (iVar2 != 4) {
      if (iVar2 == 2) {
        return;
      }
      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);
                    /* WARNING: Subroutine does not return */
      FUN_00126720(uVar3,param_4,param_5,iVar2);
    }
    pcVar4 = "relocation out of range";
  }
  uVar3 = dcgettext(0,pcVar4,5);
  FUN_00126650(param_4,param_5,uVar3);
  return;
}


PUSH R14
MOV R14,RDI
PUSH R13
MOV R13D,R8D
PUSH R12
MOV R12,RCX
PUSH RBP
MOV RBP,RDX
PUSH RBX
MOV RBX,RSI
SUB RSP,0x10
MOV RAX,qword ptr [RSI]
TEST RAX,RAX
JZ 0x00136000
MOV RAX,qword ptr [RAX]
TEST RAX,RAX
JZ 0x00136000
MOV EDX,dword ptr [RAX + 0x18]
TEST DL,0x20
JNZ 0x00136000
AND DH,0x1
JZ 0x00135fd5
LEA RDX,[0x16c9d0]
CMP qword ptr [RAX + 0x20],RDX
JZ 0x00136000
MOV EDX,0x5
LEA RSI,[0x1527b0]
XOR EDI,EDI
CALL 0x001111c0
MOV ESI,R13D
MOV RDI,R12
MOV RDX,RAX
XOR EAX,EAX
CALL 0x00126650
NOP dword ptr [RAX + RAX*0x1]
MOV RCX,qword ptr [RBP]
MOV RSI,RBX
LEA RDX,[RBP + 0x64]
LEA R9,[RSP + 0x8]
MOV RDI,qword ptr [0x00175a10]
MOV R8,R14
CALL 0x001115e0
MOV EBX,EAX
CMP EAX,0x3
JZ 0x00136090
CMP EAX,0x4
JZ 0x00136058
CMP EAX,0x2
JZ 0x0013607b
MOV EDX,0x5
LEA RSI,[0x1527e0]
XOR EDI,EDI
CALL 0x001111c0
MOV ECX,EBX
MOV EDX,R13D
MOV RSI,R12
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00126720
MOV EDX,0x5
LEA RSI,[0x152c9f]
XOR EDI,EDI
CALL 0x001111c0
MOV ESI,R13D
MOV RDI,R12
MOV RDX,RAX
XOR EAX,EAX
CALL 0x00126650
ADD RSP,0x10
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
MOV EDX,0x5
LEA RSI,[0x152c8b]
JMP 0x00136064
(translation_unit "void FUN_00135f90(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  char *pcVar4;\n  undefined1 local_30 [8];\n  \n  if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }\n  iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;\n  if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00126650(param_4,param_5,uVar3);\n  return;\n}\n\n" (function_definition "void FUN_00135f90(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  char *pcVar4;\n  undefined1 local_30 [8];\n  \n  if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }\n  iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;\n  if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00126650(param_4,param_5,uVar3);\n  return;\n}" primitive_type (function_declarator "FUN_00135f90(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)" identifier (parameter_list "(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  char *pcVar4;\n  undefined1 local_30 [8];\n  \n  if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }\n  iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;\n  if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00126650(param_4,param_5,uVar3);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined1 local_30 [8];" type_identifier (array_declarator "local_30 [8]" identifier [ number_literal ]) ;) (if_statement "if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }" if (parenthesized_expression "(((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0))))" ( (binary_expression "((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))" (parenthesized_expression "((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0))" ( (binary_expression "(((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)" (parenthesized_expression "(((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0))" ( (binary_expression "((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)" (parenthesized_expression "((long *)*param_2 != (long *)0x0)" ( (binary_expression "(long *)*param_2 != (long *)0x0" (cast_expression "(long *)*param_2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(lVar1 = *(long *)*param_2, lVar1 != 0)" ( (comma_expression "lVar1 = *(long *)*param_2, lVar1 != 0" (assignment_expression "lVar1 = *(long *)*param_2" identifier = (pointer_expression "*(long *)*param_2" * (cast_expression "(long *)*param_2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) , (binary_expression "lVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "((*(uint *)(lVar1 + 0x18) & 0x20) == 0)" ( (binary_expression "(*(uint *)(lVar1 + 0x18) & 0x20) == 0" (parenthesized_expression "(*(uint *)(lVar1 + 0x18) & 0x20)" ( (binary_expression "*(uint *)(lVar1 + 0x18) & 0x20" (pointer_expression "*(uint *)(lVar1 + 0x18)" * (cast_expression "(uint *)(lVar1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x18)" ( (binary_expression "lVar1 + 0x18" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))" ( (parenthesized_expression "((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0))" ( (binary_expression "(*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)" (binary_expression "(*(uint *)(lVar1 + 0x18) & 0x100) == 0" (parenthesized_expression "(*(uint *)(lVar1 + 0x18) & 0x100)" ( (binary_expression "*(uint *)(lVar1 + 0x18) & 0x100" (pointer_expression "*(uint *)(lVar1 + 0x18)" * (cast_expression "(uint *)(lVar1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x18)" ( (binary_expression "lVar1 + 0x18" identifier + number_literal) )))) & number_literal) )) == number_literal) || (parenthesized_expression "(*(long *)(lVar1 + 0x20) != 0x16c9d0)" ( (binary_expression "*(long *)(lVar1 + 0x20) != 0x16c9d0" (pointer_expression "*(long *)(lVar1 + 0x20)" * (cast_expression "(long *)(lVar1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) ))) )) (compound_statement "{\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }" { (expression_statement "uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);" (assignment_expression "uVar3 = 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_00126650(param_4,param_5,uVar3);" (call_expression "FUN_00126650(param_4,param_5,uVar3)" identifier (argument_list "(param_4,param_5,uVar3)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;" (assignment_expression "iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)" identifier = (call_expression "bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)" identifier (argument_list "(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)" ( identifier , identifier , (binary_expression "(long)param_3 + 100" (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) , (pointer_expression "*param_3" * identifier) , identifier , identifier )))) ;) (if_statement "if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }" if (parenthesized_expression "(iVar2 == 3)" ( (binary_expression "iVar2 == 3" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = "relocation overflow";\n  }" { (expression_statement "pcVar4 = "relocation overflow";" (assignment_expression "pcVar4 = "relocation overflow"" identifier = (string_literal ""relocation overflow"" " string_content ")) ;) }) (else_clause "else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }" else (compound_statement "{\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }" { (if_statement "if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      FUN_00126720(uVar3,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      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      FUN_00126720(uVar3,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 "uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);" (assignment_expression "uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" identifier = (call_expression "dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" identifier (argument_list "(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" ( number_literal , (string_literal ""%s:%u: bad return from bfd_install_relocation: %x"" " string_content ") , number_literal )))) ;) comment (expression_statement "FUN_00126720(uVar3,param_4,param_5,iVar2);" (call_expression "FUN_00126720(uVar3,param_4,param_5,iVar2)" identifier (argument_list "(uVar3,param_4,param_5,iVar2)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "pcVar4 = "relocation out of range";" (assignment_expression "pcVar4 = "relocation out of range"" identifier = (string_literal ""relocation out of range"" " string_content ")) ;) }))) (expression_statement "uVar3 = dcgettext(0,pcVar4,5);" (assignment_expression "uVar3 = dcgettext(0,pcVar4,5)" identifier = (call_expression "dcgettext(0,pcVar4,5)" identifier (argument_list "(0,pcVar4,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "FUN_00126650(param_4,param_5,uVar3);" (call_expression "FUN_00126650(param_4,param_5,uVar3)" identifier (argument_list "(param_4,param_5,uVar3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void install_reloc(asection *sec,arelent *reloc,fragS *fragp,char *file,uint line)\n\n{\n  bfd_symbol *pbVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *err;\n  \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 || (pbVar1->section != (bfd_section *)0x16c9d0)))) {\n    pcVar3 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    as_bad_where(file,line,pcVar3);\n  }\n  uVar2 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);\n  if (uVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (uVar2 != 4) {\n      if (uVar2 == 2) {\n        return;\n      }\n      pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  pcVar3 = (char *)dcgettext(0,pcVar3,5);\n  as_bad_where(file,line,pcVar3);\n  return;\n}\n\n" (function_definition "void install_reloc(asection *sec,arelent *reloc,fragS *fragp,char *file,uint line)\n\n{\n  bfd_symbol *pbVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *err;\n  \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 || (pbVar1->section != (bfd_section *)0x16c9d0)))) {\n    pcVar3 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    as_bad_where(file,line,pcVar3);\n  }\n  uVar2 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);\n  if (uVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (uVar2 != 4) {\n      if (uVar2 == 2) {\n        return;\n      }\n      pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  pcVar3 = (char *)dcgettext(0,pcVar3,5);\n  as_bad_where(file,line,pcVar3);\n  return;\n}" primitive_type (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  uint uVar2;\n  char *pcVar3;\n  char *err;\n  \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 || (pbVar1->section != (bfd_section *)0x16c9d0)))) {\n    pcVar3 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    as_bad_where(file,line,pcVar3);\n  }\n  uVar2 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);\n  if (uVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (uVar2 != 4) {\n      if (uVar2 == 2) {\n        return;\n      }\n      pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }\n  pcVar3 = (char *)dcgettext(0,pcVar3,5);\n  as_bad_where(file,line,pcVar3);\n  return;\n}" { (declaration "bfd_symbol *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *err;" primitive_type (pointer_declarator "*err" * identifier) ;) (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 || (pbVar1->section != (bfd_section *)0x16c9d0)))) {\n    pcVar3 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    as_bad_where(file,line,pcVar3);\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 || (pbVar1->section != (bfd_section *)0x16c9d0))))" ( (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 || (pbVar1->section != (bfd_section *)0x16c9d0)))" (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 || (pbVar1->section != (bfd_section *)0x16c9d0)))" ( (parenthesized_expression "((pbVar1->flags & 0x100) == 0 || (pbVar1->section != (bfd_section *)0x16c9d0))" ( (binary_expression "(pbVar1->flags & 0x100) == 0 || (pbVar1->section != (bfd_section *)0x16c9d0)" (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 *)0x16c9d0)" ( (binary_expression "pbVar1->section != (bfd_section *)0x16c9d0" (field_expression "pbVar1->section" identifier -> field_identifier) != (cast_expression "(bfd_section *)0x16c9d0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) ))) )) (compound_statement "{\n    pcVar3 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    as_bad_where(file,line,pcVar3);\n  }" { (expression_statement "pcVar3 = (char *)dcgettext(0,"redefined symbol cannot be used on reloc",5);" (assignment_expression "pcVar3 = (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,pcVar3);" (call_expression "as_bad_where(file,line,pcVar3)" identifier (argument_list "(file,line,pcVar3)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "uVar2 = bfd_install_relocation(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);" (assignment_expression "uVar2 = 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 (uVar2 == 3) {\n    pcVar3 = "relocation overflow";\n  }\n  else {\n    if (uVar2 != 4) {\n      if (uVar2 == 2) {\n        return;\n      }\n      pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" if (parenthesized_expression "(uVar2 == 3)" ( (binary_expression "uVar2 == 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 (uVar2 != 4) {\n      if (uVar2 == 2) {\n        return;\n      }\n      pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" else (compound_statement "{\n    if (uVar2 != 4) {\n      if (uVar2 == 2) {\n        return;\n      }\n      pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2);\n    }\n    pcVar3 = "relocation out of range";\n  }" { (if_statement "if (uVar2 != 4) {\n      if (uVar2 == 2) {\n        return;\n      }\n      pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2);\n    }" if (parenthesized_expression "(uVar2 != 4)" ( (binary_expression "uVar2 != 4" identifier != number_literal) )) (compound_statement "{\n      if (uVar2 == 2) {\n        return;\n      }\n      pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    /* WARNING: Subroutine does not return */\n      as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2);\n    }" { (if_statement "if (uVar2 == 2) {\n        return;\n      }" if (parenthesized_expression "(uVar2 == 2)" ( (binary_expression "uVar2 == 2" identifier == number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" identifier = (cast_expression "(char *)dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" identifier (argument_list "(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" ( number_literal , (string_literal ""%s:%u: bad return from bfd_install_relocation: %x"" " string_content ") , number_literal ))))) ;) comment (expression_statement "as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2);" (call_expression "as_fatal(pcVar3,file,(ulong)line,(ulong)uVar2)" identifier (argument_list "(pcVar3,file,(ulong)line,(ulong)uVar2)" ( identifier , identifier , (cast_expression "(ulong)line" ( (type_descriptor "ulong" type_identifier) ) identifier) , (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_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 "pcVar3 = (char *)dcgettext(0,pcVar3,5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,pcVar3,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar3,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar3,5)" identifier (argument_list "(0,pcVar3,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "as_bad_where(file,line,pcVar3);" (call_expression "as_bad_where(file,line,pcVar3)" identifier (argument_list "(file,line,pcVar3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00135f90(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  char *pcVar4;\n  undefined1 local_30 [8];\n  \n  if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }\n  iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;\n  if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00126650(param_4,param_5,uVar3);\n  return;\n}\n\n" (function_definition "void FUN_00135f90(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  char *pcVar4;\n  undefined1 local_30 [8];\n  \n  if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }\n  iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;\n  if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00126650(param_4,param_5,uVar3);\n  return;\n}" primitive_type (function_declarator "FUN_00135f90(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)" identifier (parameter_list "(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  char *pcVar4;\n  undefined1 local_30 [8];\n  \n  if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }\n  iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;\n  if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00126650(param_4,param_5,uVar3);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined1 local_30 [8];" type_identifier (array_declarator "local_30 [8]" identifier [ number_literal ]) ;) (if_statement "if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }" if (parenthesized_expression "(((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0))))" ( (binary_expression "((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))" (parenthesized_expression "((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0))" ( (binary_expression "(((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)" (parenthesized_expression "(((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0))" ( (binary_expression "((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)" (parenthesized_expression "((long *)*param_2 != (long *)0x0)" ( (binary_expression "(long *)*param_2 != (long *)0x0" (cast_expression "(long *)*param_2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(lVar1 = *(long *)*param_2, lVar1 != 0)" ( (comma_expression "lVar1 = *(long *)*param_2, lVar1 != 0" (assignment_expression "lVar1 = *(long *)*param_2" identifier = (pointer_expression "*(long *)*param_2" * (cast_expression "(long *)*param_2" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) , (binary_expression "lVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "((*(uint *)(lVar1 + 0x18) & 0x20) == 0)" ( (binary_expression "(*(uint *)(lVar1 + 0x18) & 0x20) == 0" (parenthesized_expression "(*(uint *)(lVar1 + 0x18) & 0x20)" ( (binary_expression "*(uint *)(lVar1 + 0x18) & 0x20" (pointer_expression "*(uint *)(lVar1 + 0x18)" * (cast_expression "(uint *)(lVar1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x18)" ( (binary_expression "lVar1 + 0x18" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))" ( (parenthesized_expression "((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0))" ( (binary_expression "(*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)" (binary_expression "(*(uint *)(lVar1 + 0x18) & 0x100) == 0" (parenthesized_expression "(*(uint *)(lVar1 + 0x18) & 0x100)" ( (binary_expression "*(uint *)(lVar1 + 0x18) & 0x100" (pointer_expression "*(uint *)(lVar1 + 0x18)" * (cast_expression "(uint *)(lVar1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x18)" ( (binary_expression "lVar1 + 0x18" identifier + number_literal) )))) & number_literal) )) == number_literal) || (parenthesized_expression "(*(long *)(lVar1 + 0x20) != 0x16c9d0)" ( (binary_expression "*(long *)(lVar1 + 0x20) != 0x16c9d0" (pointer_expression "*(long *)(lVar1 + 0x20)" * (cast_expression "(long *)(lVar1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) ))) )) (compound_statement "{\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }" { (expression_statement "uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);" (assignment_expression "uVar3 = 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_00126650(param_4,param_5,uVar3);" (call_expression "FUN_00126650(param_4,param_5,uVar3)" identifier (argument_list "(param_4,param_5,uVar3)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;" (assignment_expression "iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)" identifier = (call_expression "bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)" identifier (argument_list "(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)" ( identifier , identifier , (binary_expression "(long)param_3 + 100" (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) , (pointer_expression "*param_3" * identifier) , identifier , identifier )))) ;) (if_statement "if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }" if (parenthesized_expression "(iVar2 == 3)" ( (binary_expression "iVar2 == 3" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = "relocation overflow";\n  }" { (expression_statement "pcVar4 = "relocation overflow";" (assignment_expression "pcVar4 = "relocation overflow"" identifier = (string_literal ""relocation overflow"" " string_content ")) ;) }) (else_clause "else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }" else (compound_statement "{\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }" { (if_statement "if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,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      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,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 "uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);" (assignment_expression "uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" identifier = (call_expression "dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" identifier (argument_list "(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" ( number_literal , (string_literal ""%s:%u: bad return from bfd_install_relocation: %x"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00126720(uVar3,param_4,param_5,iVar2);" (call_expression "FUN_00126720(uVar3,param_4,param_5,iVar2)" identifier (argument_list "(uVar3,param_4,param_5,iVar2)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "pcVar4 = "relocation out of range";" (assignment_expression "pcVar4 = "relocation out of range"" identifier = (string_literal ""relocation out of range"" " string_content ")) ;) }))) (expression_statement "uVar3 = dcgettext(0,pcVar4,5);" (assignment_expression "uVar3 = dcgettext(0,pcVar4,5)" identifier = (call_expression "dcgettext(0,pcVar4,5)" identifier (argument_list "(0,pcVar4,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "FUN_00126650(param_4,param_5,uVar3);" (call_expression "FUN_00126650(param_4,param_5,uVar3)" identifier (argument_list "(param_4,param_5,uVar3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator 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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != 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 (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) , (pointer_expression * IDENT) , IDENT , 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 )))) ;) (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 FUN_00135f90(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)\n\n{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  char *pcVar4;\n  undefined1 local_30 [8];\n  \n  if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }\n  iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;\n  if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00126650(param_4,param_5,uVar3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00135f90(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)" (identifier "FUN_00135f90") (parameter_list "(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,\n                 undefined4 param_5)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined8 *param_3" (type_identifier "undefined8") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  undefined8 uVar3;\n  char *pcVar4;\n  undefined1 local_30 [8];\n  \n  if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }\n  iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;\n  if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }\n  uVar3 = dcgettext(0,pcVar4,5);\n  FUN_00126650(param_4,param_5,uVar3);\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined1 local_30 [8];" (type_identifier "undefined1") (array_declarator "local_30 [8]" (identifier "local_30") ([ "[") (number_literal "8") (] "]")) (; ";")) (if_statement "if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }" (if "if") (parenthesized_expression "(((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0))))" (( "(") (binary_expression "((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&\n     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))" (parenthesized_expression "((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0))" (( "(") (binary_expression "(((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&\n      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)" (parenthesized_expression "(((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0))" (( "(") (binary_expression "((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)" (parenthesized_expression "((long *)*param_2 != (long *)0x0)" (( "(") (binary_expression "(long *)*param_2 != (long *)0x0" (cast_expression "(long *)*param_2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(lVar1 = *(long *)*param_2, lVar1 != 0)" (( "(") (comma_expression "lVar1 = *(long *)*param_2, lVar1 != 0" (assignment_expression "lVar1 = *(long *)*param_2" (identifier "lVar1") (= "=") (pointer_expression "*(long *)*param_2" (* "*") (cast_expression "(long *)*param_2" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))))) (, ",") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(lVar1 + 0x18) & 0x20) == 0)" (( "(") (binary_expression "(*(uint *)(lVar1 + 0x18) & 0x20) == 0" (parenthesized_expression "(*(uint *)(lVar1 + 0x18) & 0x20)" (( "(") (binary_expression "*(uint *)(lVar1 + 0x18) & 0x20" (pointer_expression "*(uint *)(lVar1 + 0x18)" (* "*") (cast_expression "(uint *)(lVar1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x18)" (( "(") (binary_expression "lVar1 + 0x18" (identifier "lVar1") (+ "+") (number_literal "0x18")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))" (( "(") (parenthesized_expression "((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0))" (( "(") (binary_expression "(*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)" (binary_expression "(*(uint *)(lVar1 + 0x18) & 0x100) == 0" (parenthesized_expression "(*(uint *)(lVar1 + 0x18) & 0x100)" (( "(") (binary_expression "*(uint *)(lVar1 + 0x18) & 0x100" (pointer_expression "*(uint *)(lVar1 + 0x18)" (* "*") (cast_expression "(uint *)(lVar1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x18)" (( "(") (binary_expression "lVar1 + 0x18" (identifier "lVar1") (+ "+") (number_literal "0x18")) () ")")))) (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(*(long *)(lVar1 + 0x20) != 0x16c9d0)" (( "(") (binary_expression "*(long *)(lVar1 + 0x20) != 0x16c9d0" (pointer_expression "*(long *)(lVar1 + 0x20)" (* "*") (cast_expression "(long *)(lVar1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (number_literal "0x16c9d0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);\n    FUN_00126650(param_4,param_5,uVar3);\n  }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);" (assignment_expression "uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5)" (identifier "uVar3") (= "=") (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_00126650(param_4,param_5,uVar3);" (call_expression "FUN_00126650(param_4,param_5,uVar3)" (identifier "FUN_00126650") (argument_list "(param_4,param_5,uVar3)" (( "(") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)\n  ;" (assignment_expression "iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)" (identifier "iVar2") (= "=") (call_expression "bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)" (identifier "bfd_install_relocation") (argument_list "(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)" (( "(") (identifier "DAT_00175a10") (, ",") (identifier "param_2") (, ",") (binary_expression "(long)param_3 + 100" (cast_expression "(long)param_3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_3")) (+ "+") (number_literal "100")) (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) (, ",") (identifier "param_1") (, ",") (identifier "local_30") () ")")))) (; ";")) (if_statement "if (iVar2 == 3) {\n    pcVar4 = "relocation overflow";\n  }\n  else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }" (if "if") (parenthesized_expression "(iVar2 == 3)" (( "(") (binary_expression "iVar2 == 3" (identifier "iVar2") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n    pcVar4 = "relocation overflow";\n  }" ({ "{") (expression_statement "pcVar4 = "relocation overflow";" (assignment_expression "pcVar4 = "relocation overflow"" (identifier "pcVar4") (= "=") (string_literal ""relocation overflow"" (" """) (string_content "relocation overflow") (" """))) (; ";")) (} "}")) (else_clause "else {\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }" (else "else") (compound_statement "{\n    if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,param_4,param_5,iVar2);\n    }\n    pcVar4 = "relocation out of range";\n  }" ({ "{") (if_statement "if (iVar2 != 4) {\n      if (iVar2 == 2) {\n        return;\n      }\n      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,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      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);\n                    \n      FUN_00126720(uVar3,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 "uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);" (assignment_expression "uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" (identifier "dcgettext") (argument_list "(0,"%s:%u: bad return from bfd_install_relocation: %x",5)" (( "(") (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") () ")")))) (; ";")) (expression_statement "FUN_00126720(uVar3,param_4,param_5,iVar2);" (call_expression "FUN_00126720(uVar3,param_4,param_5,iVar2)" (identifier "FUN_00126720") (argument_list "(uVar3,param_4,param_5,iVar2)" (( "(") (identifier "uVar3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar4 = "relocation out of range";" (assignment_expression "pcVar4 = "relocation out of range"" (identifier "pcVar4") (= "=") (string_literal ""relocation out of range"" (" """) (string_content "relocation out of range") (" """))) (; ";")) (} "}")))) (expression_statement "uVar3 = dcgettext(0,pcVar4,5);" (assignment_expression "uVar3 = dcgettext(0,pcVar4,5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,pcVar4,5)" (identifier "dcgettext") (argument_list "(0,pcVar4,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar4") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00126650(param_4,param_5,uVar3);" (call_expression "FUN_00126650(param_4,param_5,uVar3)" (identifier "FUN_00126650") (argument_list "(param_4,param_5,uVar3)" (( "(") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

{
  type_5 *var_1;
  type_4 var_5;
  char *pcVar3;
  char *err;
  
  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 *)0x16c9d0)))) {
    pcVar3 = (char *)var_2(0,"redefined symbol cannot be used on reloc",5);
    var_3(file,line,pcVar3);
  }
  var_5 = var_4(stdoutput,reloc,fragp->fr_literal,fragp->fr_address,sec,&err);
  if (var_5 == 3) {
    pcVar3 = "relocation overflow";
  }
  else {
    if (var_5 != 4) {
      if (var_5 == 2) {
        return;
      }
      pcVar3 = (char *)var_2(0,"%s:%u: bad return from bfd_install_relocation: %x",5);
                    /* WARNING: Subroutine does not return */
      var_6(pcVar3,file,(type_7)line,(type_7)var_5);
    }
    pcVar3 = "relocation out of range";
  }
  pcVar3 = (char *)var_2(0,pcVar3,5);
  var_3(file,line,pcVar3);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) 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: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (sized_type_specifier) 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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal)) (pointer_expression argument: (identifier)) (identifier) (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))))) (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))))

void MASKED(undefined8 param_1,long *param_2,undefined8 *param_3,undefined8 param_4,
                 undefined4 param_5)

{
  long lVar1;
  int iVar2;
  undefined8 uVar3;
  char *pcVar4;
  undefined1 local_30 [8];
  
  if (((((long *)*param_2 != (long *)0x0) && (lVar1 = *(long *)*param_2, lVar1 != 0)) &&
      ((*(uint *)(lVar1 + 0x18) & 0x20) == 0)) &&
     (((*(uint *)(lVar1 + 0x18) & 0x100) == 0 || (*(long *)(lVar1 + 0x20) != 0x16c9d0)))) {
    uVar3 = dcgettext(0,"redefined symbol cannot be used on reloc",5);
    FUN_00126650(param_4,param_5,uVar3);
  }
  iVar2 = bfd_install_relocation(DAT_00175a10,param_2,(long)param_3 + 100,*param_3,param_1,local_30)
  ;
  if (iVar2 == 3) {
    pcVar4 = "relocation overflow";
  }
  else {
    if (iVar2 != 4) {
      if (iVar2 == 2) {
        return;
      }
      uVar3 = dcgettext(0,"%s:%u: bad return from bfd_install_relocation: %x",5);
                    /* WARNING: Subroutine does not return */
      FUN_00126720(uVar3,param_4,param_5,iVar2);
    }
    pcVar4 = "relocation out of range";
  }
  uVar3 = dcgettext(0,pcVar4,5);
  FUN_00126650(param_4,param_5,uVar3);
  return;
}

