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

bfd_boolean gldelf32lppcsim_load_symbols(lang_input_statement_type *entry)

{
  byte bVar1;
  char *fmt;
  bfd *pbVar2;
  uint uVar3;
  
  bVar1 = *(byte *)&entry->flags;
  uVar3 = -((int)(char)bVar1 >> 0x1f);
  if (((int)(char)bVar1 & 0x40U) == 0) {
    uVar3 = uVar3 | 4;
    pbVar2 = entry->the_bfd;
    if (((bVar1 & 0x10) == 0) || ((pbVar2->field_0x29 & 8) == 0)) {
      bVar1 = pbVar2->field_0x29;
      goto joined_r0x0004f268;
    }
LAB_0004f288:
    fmt = (char *)dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);
    einfo(fmt,pbVar2);
  }
  else if (((bVar1 & 0x10) != 0) && (pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0))
  goto LAB_0004f288;
  if (uVar3 == 0) {
    return 0;
  }
  pbVar2 = entry->the_bfd;
  bVar1 = pbVar2->field_0x29;
joined_r0x0004f268:
  if ((bVar1 & 8) == 0) {
    return 0;
  }
  bfd_elf_set_dyn_lib_class(pbVar2,uVar3);
  return 0;
}



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

undefined4 FUN_0004f200(int param_1)

{
  byte bVar1;
  undefined4 uVar2;
  int iVar3;
  uint uVar4;
  
  bVar1 = *(byte *)(param_1 + 0x24);
  uVar4 = -((int)(char)bVar1 >> 0x1f);
  if (((int)(char)bVar1 & 0x40U) == 0) {
    uVar4 = uVar4 | 4;
    iVar3 = *(int *)(param_1 + 0x10);
    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {
      bVar1 = *(byte *)(iVar3 + 0x29);
      goto joined_r0x0004f268;
    }
LAB_0004f288:
    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);
    FUN_00034d60(uVar2,iVar3);
  }
  else if (((bVar1 & 0x10) != 0) &&
          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;
  if (uVar4 == 0) {
    return 0;
  }
  iVar3 = *(int *)(param_1 + 0x10);
  bVar1 = *(byte *)(iVar3 + 0x29);
joined_r0x0004f268:
  if ((bVar1 & 8) == 0) {
    return 0;
  }
  bfd_elf_set_dyn_lib_class(iVar3,uVar4);
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017bc0
ADD EBX,0x16fdf7
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x20]
MOVSX ESI,byte ptr [EDI + 0x24]
MOV EAX,ESI
SHR ESI,0x1f
MOV EDX,EAX
AND EDX,0x10
TEST AL,0x40
JNZ 0x0004f250
OR ESI,0x4
MOV EBP,dword ptr [EDI + 0x10]
TEST DL,DL
JZ 0x0004f238
TEST byte ptr [EBP + 0x29],0x8
JNZ 0x0004f288
TEST byte ptr [EBP + 0x29],0x8
JNZ 0x0004f26a
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST DL,DL
JZ 0x0004f25d
MOV EBP,dword ptr [EDI + 0x10]
TEST byte ptr [EBP + 0x29],0x8
JNZ 0x0004f288
TEST ESI,ESI
JZ 0x0004f23e
MOV EBP,dword ptr [EDI + 0x10]
TEST byte ptr [EBP + 0x29],0x8
JZ 0x0004f23e
SUB ESP,0x8
PUSH ESI
PUSH EBP
CALL 0x000167a0
ADD ESP,0x10
XOR EAX,EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xffee5bf4]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016360
POP EDX
POP ECX
PUSH EBP
PUSH EAX
CALL 0x00034d60
ADD ESP,0x10
TEST ESI,ESI
JZ 0x0004f23e
JMP 0x0004f261
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0004f200(int param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  bVar1 = *(byte *)(param_1 + 0x24);\n  uVar4 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;\n  if (uVar4 == 0) {\n    return 0;\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  bVar1 = *(byte *)(iVar3 + 0x29);\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(iVar3,uVar4);\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0004f200(int param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  bVar1 = *(byte *)(param_1 + 0x24);\n  uVar4 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;\n  if (uVar4 == 0) {\n    return 0;\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  bVar1 = *(byte *)(iVar3 + 0x29);\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(iVar3,uVar4);\n  return 0;\n}" type_identifier (function_declarator "FUN_0004f200(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  bVar1 = *(byte *)(param_1 + 0x24);\n  uVar4 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;\n  if (uVar4 == 0) {\n    return 0;\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  bVar1 = *(byte *)(iVar3 + 0x29);\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(iVar3,uVar4);\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)(param_1 + 0x24);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x24)" identifier = (pointer_expression "*(byte *)(param_1 + 0x24)" * (cast_expression "(byte *)(param_1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = -((int)(char)bVar1 >> 0x1f);" (assignment_expression "uVar4 = -((int)(char)bVar1 >> 0x1f)" identifier = (unary_expression "-((int)(char)bVar1 >> 0x1f)" - (parenthesized_expression "((int)(char)bVar1 >> 0x1f)" ( (binary_expression "(int)(char)bVar1 >> 0x1f" (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) >> number_literal) )))) ;) (if_statement "if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;" if (parenthesized_expression "(((int)(char)bVar1 & 0x40U) == 0)" ( (binary_expression "((int)(char)bVar1 & 0x40U) == 0" (parenthesized_expression "((int)(char)bVar1 & 0x40U)" ( (binary_expression "(int)(char)bVar1 & 0x40U" (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }" { (expression_statement "uVar4 = uVar4 | 4;" (assignment_expression "uVar4 = uVar4 | 4" identifier = (binary_expression "uVar4 | 4" identifier | number_literal)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }" if (parenthesized_expression "(((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0))" ( (binary_expression "((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)" (parenthesized_expression "((bVar1 & 0x10) == 0)" ( (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)(iVar3 + 0x29) & 8) == 0)" ( (binary_expression "(*(byte *)(iVar3 + 0x29) & 8) == 0" (parenthesized_expression "(*(byte *)(iVar3 + 0x29) & 8)" ( (binary_expression "*(byte *)(iVar3 + 0x29) & 8" (pointer_expression "*(byte *)(iVar3 + 0x29)" * (cast_expression "(byte *)(iVar3 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x29)" ( (binary_expression "iVar3 + 0x29" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }" { (expression_statement "bVar1 = *(byte *)(iVar3 + 0x29);" (assignment_expression "bVar1 = *(byte *)(iVar3 + 0x29)" identifier = (pointer_expression "*(byte *)(iVar3 + 0x29)" * (cast_expression "(byte *)(iVar3 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x29)" ( (binary_expression "iVar3 + 0x29" identifier + number_literal) ))))) ;) (goto_statement "goto joined_r0x0004f268;" goto statement_identifier ;) })) (labeled_statement "LAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);" statement_identifier : (expression_statement "uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" identifier (argument_list "(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" ( number_literal , (string_literal ""%F%P: %pB: --just-symbols may not be used on DSO\n"" " string_content escape_sequence ") , number_literal )))) ;)) (expression_statement "FUN_00034d60(uVar2,iVar3);" (call_expression "FUN_00034d60(uVar2,iVar3)" identifier (argument_list "(uVar2,iVar3)" ( identifier , identifier ))) ;) }) (else_clause "else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;" else (if_statement "if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;" if (parenthesized_expression "(((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0))" ( (binary_expression "((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)" (parenthesized_expression "((bVar1 & 0x10) != 0)" ( (binary_expression "(bVar1 & 0x10) != 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)" ( (comma_expression "iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) , (binary_expression "(*(byte *)(iVar3 + 0x29) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar3 + 0x29) & 8)" ( (binary_expression "*(byte *)(iVar3 + 0x29) & 8" (pointer_expression "*(byte *)(iVar3 + 0x29)" * (cast_expression "(byte *)(iVar3 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x29)" ( (binary_expression "iVar3 + 0x29" identifier + number_literal) )))) & number_literal) )) != number_literal)) ))) )) (goto_statement "goto LAB_0004f288;" goto statement_identifier ;)))) (if_statement "if (uVar4 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = *(byte *)(iVar3 + 0x29);" (assignment_expression "bVar1 = *(byte *)(iVar3 + 0x29)" identifier = (pointer_expression "*(byte *)(iVar3 + 0x29)" * (cast_expression "(byte *)(iVar3 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x29)" ( (binary_expression "iVar3 + 0x29" identifier + number_literal) ))))) ;) (labeled_statement "joined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }" statement_identifier : (if_statement "if ((bVar1 & 8) == 0) {\n    return 0;\n  }" if (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) }))) (expression_statement "bfd_elf_set_dyn_lib_class(iVar3,uVar4);" (call_expression "bfd_elf_set_dyn_lib_class(iVar3,uVar4)" identifier (argument_list "(iVar3,uVar4)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean gldelf32lppcsim_load_symbols(lang_input_statement_type *entry)\n\n{\n  byte bVar1;\n  char *fmt;\n  bfd *pbVar2;\n  uint uVar3;\n  \n  bVar1 = *(byte *)&entry->flags;\n  uVar3 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar3 = uVar3 | 4;\n    pbVar2 = entry->the_bfd;\n    if (((bVar1 & 0x10) == 0) || ((pbVar2->field_0x29 & 8) == 0)) {\n      bVar1 = pbVar2->field_0x29;\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    fmt = (char *)dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    einfo(fmt,pbVar2);\n  }\n  else if (((bVar1 & 0x10) != 0) && (pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0))\n  goto LAB_0004f288;\n  if (uVar3 == 0) {\n    return 0;\n  }\n  pbVar2 = entry->the_bfd;\n  bVar1 = pbVar2->field_0x29;\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(pbVar2,uVar3);\n  return 0;\n}\n\n" comment comment (function_definition "bfd_boolean gldelf32lppcsim_load_symbols(lang_input_statement_type *entry)\n\n{\n  byte bVar1;\n  char *fmt;\n  bfd *pbVar2;\n  uint uVar3;\n  \n  bVar1 = *(byte *)&entry->flags;\n  uVar3 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar3 = uVar3 | 4;\n    pbVar2 = entry->the_bfd;\n    if (((bVar1 & 0x10) == 0) || ((pbVar2->field_0x29 & 8) == 0)) {\n      bVar1 = pbVar2->field_0x29;\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    fmt = (char *)dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    einfo(fmt,pbVar2);\n  }\n  else if (((bVar1 & 0x10) != 0) && (pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0))\n  goto LAB_0004f288;\n  if (uVar3 == 0) {\n    return 0;\n  }\n  pbVar2 = entry->the_bfd;\n  bVar1 = pbVar2->field_0x29;\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(pbVar2,uVar3);\n  return 0;\n}" type_identifier (function_declarator "gldelf32lppcsim_load_symbols(lang_input_statement_type *entry)" identifier (parameter_list "(lang_input_statement_type *entry)" ( (parameter_declaration "lang_input_statement_type *entry" type_identifier (pointer_declarator "*entry" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char *fmt;\n  bfd *pbVar2;\n  uint uVar3;\n  \n  bVar1 = *(byte *)&entry->flags;\n  uVar3 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar3 = uVar3 | 4;\n    pbVar2 = entry->the_bfd;\n    if (((bVar1 & 0x10) == 0) || ((pbVar2->field_0x29 & 8) == 0)) {\n      bVar1 = pbVar2->field_0x29;\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    fmt = (char *)dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    einfo(fmt,pbVar2);\n  }\n  else if (((bVar1 & 0x10) != 0) && (pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0))\n  goto LAB_0004f288;\n  if (uVar3 == 0) {\n    return 0;\n  }\n  pbVar2 = entry->the_bfd;\n  bVar1 = pbVar2->field_0x29;\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(pbVar2,uVar3);\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "bfd *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)&entry->flags;" (assignment_expression "bVar1 = *(byte *)&entry->flags" identifier = (pointer_expression "*(byte *)&entry->flags" * (cast_expression "(byte *)&entry->flags" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&entry->flags" & (field_expression "entry->flags" identifier -> field_identifier))))) ;) (expression_statement "uVar3 = -((int)(char)bVar1 >> 0x1f);" (assignment_expression "uVar3 = -((int)(char)bVar1 >> 0x1f)" identifier = (unary_expression "-((int)(char)bVar1 >> 0x1f)" - (parenthesized_expression "((int)(char)bVar1 >> 0x1f)" ( (binary_expression "(int)(char)bVar1 >> 0x1f" (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) >> number_literal) )))) ;) (if_statement "if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar3 = uVar3 | 4;\n    pbVar2 = entry->the_bfd;\n    if (((bVar1 & 0x10) == 0) || ((pbVar2->field_0x29 & 8) == 0)) {\n      bVar1 = pbVar2->field_0x29;\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    fmt = (char *)dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    einfo(fmt,pbVar2);\n  }\n  else if (((bVar1 & 0x10) != 0) && (pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0))\n  goto LAB_0004f288;" if (parenthesized_expression "(((int)(char)bVar1 & 0x40U) == 0)" ( (binary_expression "((int)(char)bVar1 & 0x40U) == 0" (parenthesized_expression "((int)(char)bVar1 & 0x40U)" ( (binary_expression "(int)(char)bVar1 & 0x40U" (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar3 = uVar3 | 4;\n    pbVar2 = entry->the_bfd;\n    if (((bVar1 & 0x10) == 0) || ((pbVar2->field_0x29 & 8) == 0)) {\n      bVar1 = pbVar2->field_0x29;\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    fmt = (char *)dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    einfo(fmt,pbVar2);\n  }" { (expression_statement "uVar3 = uVar3 | 4;" (assignment_expression "uVar3 = uVar3 | 4" identifier = (binary_expression "uVar3 | 4" identifier | number_literal)) ;) (expression_statement "pbVar2 = entry->the_bfd;" (assignment_expression "pbVar2 = entry->the_bfd" identifier = (field_expression "entry->the_bfd" identifier -> field_identifier)) ;) (if_statement "if (((bVar1 & 0x10) == 0) || ((pbVar2->field_0x29 & 8) == 0)) {\n      bVar1 = pbVar2->field_0x29;\n      goto joined_r0x0004f268;\n    }" if (parenthesized_expression "(((bVar1 & 0x10) == 0) || ((pbVar2->field_0x29 & 8) == 0))" ( (binary_expression "((bVar1 & 0x10) == 0) || ((pbVar2->field_0x29 & 8) == 0)" (parenthesized_expression "((bVar1 & 0x10) == 0)" ( (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((pbVar2->field_0x29 & 8) == 0)" ( (binary_expression "(pbVar2->field_0x29 & 8) == 0" (parenthesized_expression "(pbVar2->field_0x29 & 8)" ( (binary_expression "pbVar2->field_0x29 & 8" (field_expression "pbVar2->field_0x29" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n      bVar1 = pbVar2->field_0x29;\n      goto joined_r0x0004f268;\n    }" { (expression_statement "bVar1 = pbVar2->field_0x29;" (assignment_expression "bVar1 = pbVar2->field_0x29" identifier = (field_expression "pbVar2->field_0x29" identifier -> field_identifier)) ;) (goto_statement "goto joined_r0x0004f268;" goto statement_identifier ;) })) (labeled_statement "LAB_0004f288:\n    fmt = (char *)dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);" statement_identifier : (expression_statement "fmt = (char *)dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" identifier (argument_list "(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" ( number_literal , (string_literal ""%F%P: %pB: --just-symbols may not be used on DSO\n"" " string_content escape_sequence ") , number_literal ))))) ;)) (expression_statement "einfo(fmt,pbVar2);" (call_expression "einfo(fmt,pbVar2)" identifier (argument_list "(fmt,pbVar2)" ( identifier , identifier ))) ;) }) (else_clause "else if (((bVar1 & 0x10) != 0) && (pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0))\n  goto LAB_0004f288;" else (if_statement "if (((bVar1 & 0x10) != 0) && (pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0))\n  goto LAB_0004f288;" if (parenthesized_expression "(((bVar1 & 0x10) != 0) && (pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0))" ( (binary_expression "((bVar1 & 0x10) != 0) && (pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0)" (parenthesized_expression "((bVar1 & 0x10) != 0)" ( (binary_expression "(bVar1 & 0x10) != 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0)" ( (comma_expression "pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0" (assignment_expression "pbVar2 = entry->the_bfd" identifier = (field_expression "entry->the_bfd" identifier -> field_identifier)) , (binary_expression "(pbVar2->field_0x29 & 8) != 0" (parenthesized_expression "(pbVar2->field_0x29 & 8)" ( (binary_expression "pbVar2->field_0x29 & 8" (field_expression "pbVar2->field_0x29" identifier -> field_identifier) & number_literal) )) != number_literal)) ))) )) (goto_statement "goto LAB_0004f288;" goto statement_identifier ;)))) (if_statement "if (uVar3 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pbVar2 = entry->the_bfd;" (assignment_expression "pbVar2 = entry->the_bfd" identifier = (field_expression "entry->the_bfd" identifier -> field_identifier)) ;) (expression_statement "bVar1 = pbVar2->field_0x29;" (assignment_expression "bVar1 = pbVar2->field_0x29" identifier = (field_expression "pbVar2->field_0x29" identifier -> field_identifier)) ;) (labeled_statement "joined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }" statement_identifier : (if_statement "if ((bVar1 & 8) == 0) {\n    return 0;\n  }" if (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) }))) (expression_statement "bfd_elf_set_dyn_lib_class(pbVar2,uVar3);" (call_expression "bfd_elf_set_dyn_lib_class(pbVar2,uVar3)" identifier (argument_list "(pbVar2,uVar3)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0004f200(int param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  bVar1 = *(byte *)(param_1 + 0x24);\n  uVar4 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;\n  if (uVar4 == 0) {\n    return 0;\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  bVar1 = *(byte *)(iVar3 + 0x29);\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(iVar3,uVar4);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0004f200(int param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  bVar1 = *(byte *)(param_1 + 0x24);\n  uVar4 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;\n  if (uVar4 == 0) {\n    return 0;\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  bVar1 = *(byte *)(iVar3 + 0x29);\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(iVar3,uVar4);\n  return 0;\n}" type_identifier (function_declarator "FUN_0004f200(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  bVar1 = *(byte *)(param_1 + 0x24);\n  uVar4 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;\n  if (uVar4 == 0) {\n    return 0;\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  bVar1 = *(byte *)(iVar3 + 0x29);\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(iVar3,uVar4);\n  return 0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)(param_1 + 0x24);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x24)" identifier = (pointer_expression "*(byte *)(param_1 + 0x24)" * (cast_expression "(byte *)(param_1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = -((int)(char)bVar1 >> 0x1f);" (assignment_expression "uVar4 = -((int)(char)bVar1 >> 0x1f)" identifier = (unary_expression "-((int)(char)bVar1 >> 0x1f)" - (parenthesized_expression "((int)(char)bVar1 >> 0x1f)" ( (binary_expression "(int)(char)bVar1 >> 0x1f" (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) >> number_literal) )))) ;) (if_statement "if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;" if (parenthesized_expression "(((int)(char)bVar1 & 0x40U) == 0)" ( (binary_expression "((int)(char)bVar1 & 0x40U) == 0" (parenthesized_expression "((int)(char)bVar1 & 0x40U)" ( (binary_expression "(int)(char)bVar1 & 0x40U" (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }" { (expression_statement "uVar4 = uVar4 | 4;" (assignment_expression "uVar4 = uVar4 | 4" identifier = (binary_expression "uVar4 | 4" identifier | number_literal)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }" if (parenthesized_expression "(((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0))" ( (binary_expression "((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)" (parenthesized_expression "((bVar1 & 0x10) == 0)" ( (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)(iVar3 + 0x29) & 8) == 0)" ( (binary_expression "(*(byte *)(iVar3 + 0x29) & 8) == 0" (parenthesized_expression "(*(byte *)(iVar3 + 0x29) & 8)" ( (binary_expression "*(byte *)(iVar3 + 0x29) & 8" (pointer_expression "*(byte *)(iVar3 + 0x29)" * (cast_expression "(byte *)(iVar3 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x29)" ( (binary_expression "iVar3 + 0x29" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }" { (expression_statement "bVar1 = *(byte *)(iVar3 + 0x29);" (assignment_expression "bVar1 = *(byte *)(iVar3 + 0x29)" identifier = (pointer_expression "*(byte *)(iVar3 + 0x29)" * (cast_expression "(byte *)(iVar3 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x29)" ( (binary_expression "iVar3 + 0x29" identifier + number_literal) ))))) ;) (goto_statement "goto joined_r0x0004f268;" goto statement_identifier ;) })) (labeled_statement "LAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);" statement_identifier : (expression_statement "uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" identifier (argument_list "(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" ( number_literal , (string_literal ""%F%P: %pB: --just-symbols may not be used on DSO\n"" " string_content escape_sequence ") , number_literal )))) ;)) (expression_statement "FUN_00034d60(uVar2,iVar3);" (call_expression "FUN_00034d60(uVar2,iVar3)" identifier (argument_list "(uVar2,iVar3)" ( identifier , identifier ))) ;) }) (else_clause "else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;" else (if_statement "if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;" if (parenthesized_expression "(((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0))" ( (binary_expression "((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)" (parenthesized_expression "((bVar1 & 0x10) != 0)" ( (binary_expression "(bVar1 & 0x10) != 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)" ( (comma_expression "iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) , (binary_expression "(*(byte *)(iVar3 + 0x29) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar3 + 0x29) & 8)" ( (binary_expression "*(byte *)(iVar3 + 0x29) & 8" (pointer_expression "*(byte *)(iVar3 + 0x29)" * (cast_expression "(byte *)(iVar3 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x29)" ( (binary_expression "iVar3 + 0x29" identifier + number_literal) )))) & number_literal) )) != number_literal)) ))) )) (goto_statement "goto LAB_0004f288;" goto statement_identifier ;)))) (if_statement "if (uVar4 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = *(byte *)(iVar3 + 0x29);" (assignment_expression "bVar1 = *(byte *)(iVar3 + 0x29)" identifier = (pointer_expression "*(byte *)(iVar3 + 0x29)" * (cast_expression "(byte *)(iVar3 + 0x29)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x29)" ( (binary_expression "iVar3 + 0x29" identifier + number_literal) ))))) ;) (labeled_statement "joined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }" statement_identifier : (if_statement "if ((bVar1 & 8) == 0) {\n    return 0;\n  }" if (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) }))) (expression_statement "bfd_elf_set_dyn_lib_class(iVar3,uVar4);" (call_expression "bfd_elf_set_dyn_lib_class(iVar3,uVar4)" identifier (argument_list "(iVar3,uVar4)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == 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) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT)) ))) )) (goto_statement goto statement_identifier ;)))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (return_statement return LIT ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0004f200(int param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  bVar1 = *(byte *)(param_1 + 0x24);\n  uVar4 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;\n  if (uVar4 == 0) {\n    return 0;\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  bVar1 = *(byte *)(iVar3 + 0x29);\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(iVar3,uVar4);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0004f200(int param_1)" (identifier "FUN_0004f200") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  bVar1 = *(byte *)(param_1 + 0x24);\n  uVar4 = -((int)(char)bVar1 >> 0x1f);\n  if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;\n  if (uVar4 == 0) {\n    return 0;\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  bVar1 = *(byte *)(iVar3 + 0x29);\njoined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }\n  bfd_elf_set_dyn_lib_class(iVar3,uVar4);\n  return 0;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (expression_statement "bVar1 = *(byte *)(param_1 + 0x24);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x24)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 0x24)" (* "*") (cast_expression "(byte *)(param_1 + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "uVar4 = -((int)(char)bVar1 >> 0x1f);" (assignment_expression "uVar4 = -((int)(char)bVar1 >> 0x1f)" (identifier "uVar4") (= "=") (unary_expression "-((int)(char)bVar1 >> 0x1f)" (- "-") (parenthesized_expression "((int)(char)bVar1 >> 0x1f)" (( "(") (binary_expression "(int)(char)bVar1 >> 0x1f" (cast_expression "(int)(char)bVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1"))) (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (((int)(char)bVar1 & 0x40U) == 0) {\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }\n  else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;" (if "if") (parenthesized_expression "(((int)(char)bVar1 & 0x40U) == 0)" (( "(") (binary_expression "((int)(char)bVar1 & 0x40U) == 0" (parenthesized_expression "((int)(char)bVar1 & 0x40U)" (( "(") (binary_expression "(int)(char)bVar1 & 0x40U" (cast_expression "(int)(char)bVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1"))) (& "&") (number_literal "0x40U")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = uVar4 | 4;\n    iVar3 = *(int *)(param_1 + 0x10);\n    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }\nLAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);\n    FUN_00034d60(uVar2,iVar3);\n  }" ({ "{") (expression_statement "uVar4 = uVar4 | 4;" (assignment_expression "uVar4 = uVar4 | 4" (identifier "uVar4") (= "=") (binary_expression "uVar4 | 4" (identifier "uVar4") (| "|") (number_literal "4"))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }" (if "if") (parenthesized_expression "(((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0))" (( "(") (binary_expression "((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)" (parenthesized_expression "((bVar1 & 0x10) == 0)" (( "(") (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" (( "(") (binary_expression "bVar1 & 0x10" (identifier "bVar1") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((*(byte *)(iVar3 + 0x29) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(iVar3 + 0x29) & 8) == 0" (parenthesized_expression "(*(byte *)(iVar3 + 0x29) & 8)" (( "(") (binary_expression "*(byte *)(iVar3 + 0x29) & 8" (pointer_expression "*(byte *)(iVar3 + 0x29)" (* "*") (cast_expression "(byte *)(iVar3 + 0x29)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x29)" (( "(") (binary_expression "iVar3 + 0x29" (identifier "iVar3") (+ "+") (number_literal "0x29")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      bVar1 = *(byte *)(iVar3 + 0x29);\n      goto joined_r0x0004f268;\n    }" ({ "{") (expression_statement "bVar1 = *(byte *)(iVar3 + 0x29);" (assignment_expression "bVar1 = *(byte *)(iVar3 + 0x29)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(iVar3 + 0x29)" (* "*") (cast_expression "(byte *)(iVar3 + 0x29)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x29)" (( "(") (binary_expression "iVar3 + 0x29" (identifier "iVar3") (+ "+") (number_literal "0x29")) () ")"))))) (; ";")) (goto_statement "goto joined_r0x0004f268;" (goto "goto") (statement_identifier "joined_r0x0004f268") (; ";")) (} "}"))) (labeled_statement "LAB_0004f288:\n    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);" (statement_identifier "LAB_0004f288") (: ":") (expression_statement "uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P: %pB: --just-symbols may not be used on DSO\n"" (" """) (string_content "%F%P: %pB: --just-symbols may not be used on DSO") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";"))) (expression_statement "FUN_00034d60(uVar2,iVar3);" (call_expression "FUN_00034d60(uVar2,iVar3)" (identifier "FUN_00034d60") (argument_list "(uVar2,iVar3)" (( "(") (identifier "uVar2") (, ",") (identifier "iVar3") () ")"))) (; ";")) (} "}")) (else_clause "else if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;" (else "else") (if_statement "if (((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;" (if "if") (parenthesized_expression "(((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0))" (( "(") (binary_expression "((bVar1 & 0x10) != 0) &&\n          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)" (parenthesized_expression "((bVar1 & 0x10) != 0)" (( "(") (binary_expression "(bVar1 & 0x10) != 0" (parenthesized_expression "(bVar1 & 0x10)" (( "(") (binary_expression "bVar1 & 0x10" (identifier "bVar1") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)" (( "(") (comma_expression "iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (, ",") (binary_expression "(*(byte *)(iVar3 + 0x29) & 8) != 0" (parenthesized_expression "(*(byte *)(iVar3 + 0x29) & 8)" (( "(") (binary_expression "*(byte *)(iVar3 + 0x29) & 8" (pointer_expression "*(byte *)(iVar3 + 0x29)" (* "*") (cast_expression "(byte *)(iVar3 + 0x29)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x29)" (( "(") (binary_expression "iVar3 + 0x29" (identifier "iVar3") (+ "+") (number_literal "0x29")) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0004f288;" (goto "goto") (statement_identifier "LAB_0004f288") (; ";"))))) (if_statement "if (uVar4 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(uVar4 == 0)" (( "(") (binary_expression "uVar4 == 0" (identifier "uVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "bVar1 = *(byte *)(iVar3 + 0x29);" (assignment_expression "bVar1 = *(byte *)(iVar3 + 0x29)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(iVar3 + 0x29)" (* "*") (cast_expression "(byte *)(iVar3 + 0x29)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x29)" (( "(") (binary_expression "iVar3 + 0x29" (identifier "iVar3") (+ "+") (number_literal "0x29")) () ")"))))) (; ";")) (labeled_statement "joined_r0x0004f268:\n  if ((bVar1 & 8) == 0) {\n    return 0;\n  }" (statement_identifier "joined_r0x0004f268") (: ":") (if_statement "if ((bVar1 & 8) == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((bVar1 & 8) == 0)" (( "(") (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" (( "(") (binary_expression "bVar1 & 8" (identifier "bVar1") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))) (expression_statement "bfd_elf_set_dyn_lib_class(iVar3,uVar4);" (call_expression "bfd_elf_set_dyn_lib_class(iVar3,uVar4)" (identifier "bfd_elf_set_dyn_lib_class") (argument_list "(iVar3,uVar4)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1 function_1(type_2 *entry)

{
  type_3 var_2;
  char *fmt;
  type_4 *pbVar2;
  type_5 var_1;
  
  var_2 = *(type_3 *)&entry->flags;
  var_1 = -((int)(char)var_2 >> 0x1f);
  if (((int)(char)var_2 & 0x40U) == 0) {
    var_1 = var_1 | 4;
    pbVar2 = entry->the_bfd;
    if (((var_2 & 0x10) == 0) || ((pbVar2->field_0x29 & 8) == 0)) {
      var_2 = pbVar2->field_0x29;
      goto joined_r0x0004f268;
    }
LAB_0004f288:
    fmt = (char *)var_3(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);
    var_4(fmt,pbVar2);
  }
  else if (((var_2 & 0x10) != 0) && (pbVar2 = entry->the_bfd, (pbVar2->field_0x29 & 8) != 0))
  goto LAB_0004f288;
  if (var_1 == 0) {
    return 0;
  }
  pbVar2 = entry->the_bfd;
  var_2 = pbVar2->field_0x29;
joined_r0x0004f268:
  if ((var_2 & 8) == 0) {
    return 0;
  }
  var_5(pbVar2,var_1);
  return 0;
}


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

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

undefined4 MASKED(int param_1)

{
  byte bVar1;
  undefined4 uVar2;
  int iVar3;
  uint uVar4;
  
  bVar1 = *(byte *)(param_1 + 0x24);
  uVar4 = -((int)(char)bVar1 >> 0x1f);
  if (((int)(char)bVar1 & 0x40U) == 0) {
    uVar4 = uVar4 | 4;
    iVar3 = *(int *)(param_1 + 0x10);
    if (((bVar1 & 0x10) == 0) || ((*(byte *)(iVar3 + 0x29) & 8) == 0)) {
      bVar1 = *(byte *)(iVar3 + 0x29);
      goto joined_r0x0004f268;
    }
LAB_0004f288:
    uVar2 = dcgettext(0,"%F%P: %pB: --just-symbols may not be used on DSO\n",5);
    FUN_00034d60(uVar2,iVar3);
  }
  else if (((bVar1 & 0x10) != 0) &&
          (iVar3 = *(int *)(param_1 + 0x10), (*(byte *)(iVar3 + 0x29) & 8) != 0)) goto LAB_0004f288;
  if (uVar4 == 0) {
    return 0;
  }
  iVar3 = *(int *)(param_1 + 0x10);
  bVar1 = *(byte *)(iVar3 + 0x29);
joined_r0x0004f268:
  if ((bVar1 & 8) == 0) {
    return 0;
  }
  bfd_elf_set_dyn_lib_class(iVar3,uVar4);
  return 0;
}

