
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void do_adjust_elf_header(Target_mips<32,_false> * this, uchar * view,
   int len) */

void __thiscall
anon_unknown.dwarf_d7d43e::Target_mips<32,_false>::do_adjust_elf_header
          (Target_mips<32,_false> *this,uchar *view,int len)

{
  undefined1 uVar1;
  undefined4 local_14;
  
  if (len != 0x34) {
                    /* WARNING: Subroutine does not return */
    gold::do_gold_unreachable("../../gold/mips.cc",0x254a,"do_adjust_elf_header");
  }
  uVar1 = false;
  if (*(short *)(view + 0x10) == 2) {
    if (gold::parameters->options_ == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
      gold::do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
    }
    if ((gold::parameters->options_->copyreloc_).value != false) {
      uVar1 = (*(uint *)&this->field_0x8 & 6) == 4;
    }
  }
  if ((this->abiflags_ != (Mips_abiflags<false> *)0x0) && ((byte)(this->abiflags_->fp_abi - 6) < 2))
  {
    uVar1 = 3;
  }
  local_14 = CONCAT31((int3)((uint)*(undefined4 *)(view + 8) >> 8),uVar1);
  *(undefined4 *)view = *(undefined4 *)view;
  *(undefined4 *)(view + 4) = *(undefined4 *)(view + 4);
  *(undefined4 *)(view + 8) = local_14;
  *(undefined4 *)(view + 0xc) = *(undefined4 *)(view + 0xc);
  if (this->entry_symbol_is_compressed_ != false) {
    *(int *)(view + 0x18) = *(int *)(view + 0x18) + 1;
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void FUN_0016fdb0(int param_1,undefined4 *param_2,int param_3)

{
  undefined1 uVar1;
  
  if (param_3 != 0x34) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);
  }
  uVar1 = false;
  if (*(short *)(param_2 + 4) == 2) {
    if (*(int *)(DAT_005ea7c8 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);
    }
    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {
      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;
    }
  }
  if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))
  {
    uVar1 = 3;
  }
  *param_2 = *param_2;
  param_2[1] = param_2[1];
  param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);
  param_2[3] = param_2[3];
  if (*(char *)(param_1 + 0x81) != '\0') {
    param_2[6] = param_2[6] + 1;
  }
  return;
}


PUSH EDI
PUSH ESI
CALL 0x00063c76
ADD ESI,0x47a249
PUSH EBX
SUB ESP,0x10
CMP dword ptr [ESP + 0x28],0x34
MOV EDX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x24]
JNZ 0x0016fe6b
MOV ECX,dword ptr [EAX]
MOV EBX,dword ptr [EDX + 0x8]
MOV dword ptr [ESP],ECX
MOV ECX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0x4],ECX
MOV ECX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x8],ECX
MOV ECX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0xc],ECX
XOR ECX,ECX
CMP word ptr [EAX + 0x10],0x2
JZ 0x0016fe48
MOV EBX,dword ptr [EDX + 0x68]
TEST EBX,EBX
JZ 0x0016fe13
MOVZX EBX,byte ptr [EBX + 0x7]
SUB EBX,0x6
CMP BL,0x1
MOV EBX,0x3
CMOVBE ECX,EBX
MOV byte ptr [ESP + 0x8],CL
MOV ECX,dword ptr [ESP]
MOV dword ptr [EAX],ECX
MOV ECX,dword ptr [ESP + 0x4]
MOV dword ptr [EAX + 0x4],ECX
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [EAX + 0x8],ECX
MOV ECX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX + 0xc],ECX
CMP byte ptr [EDX + 0x81],0x0
JZ 0x0016fe3e
ADD dword ptr [EAX + 0x18],0x1
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
LEA EDI,[ESI + 0x7c8]
MOV EDI,dword ptr [EDI]
MOV EDI,dword ptr [EDI + 0x8]
TEST EDI,EDI
JZ 0x0016fe86
CMP byte ptr [EDI + 0x52d9],0x0
JZ 0x0016fdfa
AND EBX,0x6
CMP EBX,0x4
SETZ CL
JMP 0x0016fdfa
LEA EAX,[ESI + 0xffe8f264]
PUSH EDX
MOV EBX,ESI
PUSH EAX
LEA EAX,[ESI + 0xffe871ea]
PUSH 0x254a
PUSH EAX
CALL 0x002446e0
PUSH EAX
LEA EAX,[ESI + 0xffe90c58]
MOV EBX,ESI
PUSH EAX
LEA EAX,[ESI + 0xffe5e26d]
PUSH 0x5c
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid FUN_0016fdb0(int param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined1 uVar1;\n  \n  if (param_3 != 0x34) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }\n  uVar1 = false;\n  if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }\n  if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }\n  *param_2 = *param_2;\n  param_2[1] = param_2[1];\n  param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);\n  param_2[3] = param_2[3];\n  if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0016fdb0(int param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined1 uVar1;\n  \n  if (param_3 != 0x34) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }\n  uVar1 = false;\n  if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }\n  if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }\n  *param_2 = *param_2;\n  param_2[1] = param_2[1];\n  param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);\n  param_2[3] = param_2[3];\n  if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0016fdb0(int param_1,undefined4 *param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  \n  if (param_3 != 0x34) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }\n  uVar1 = false;\n  if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }\n  if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }\n  *param_2 = *param_2;\n  param_2[1] = param_2[1];\n  param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);\n  param_2[3] = param_2[3];\n  if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (if_statement "if (param_3 != 0x34) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }" if (parenthesized_expression "(param_3 != 0x34)" ( (binary_expression "param_3 != 0x34" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1)" identifier (argument_list "("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1)" ( (string_literal ""../../gold/mips.cc"" " string_content ") , number_literal , (string_literal ""do_adjust_elf_header"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar1 = false;" (assignment_expression "uVar1 = false" identifier = false) ;) (if_statement "if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }" if (parenthesized_expression "(*(short *)(param_2 + 4) == 2)" ( (binary_expression "*(short *)(param_2 + 4) == 2" (pointer_expression "*(short *)(param_2 + 4)" * (cast_expression "(short *)(param_2 + 4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }" { (if_statement "if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }" if (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) == 0)" ( (binary_expression "*(int *)(DAT_005ea7c8 + 8) == 0" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" * (cast_expression "(int *)(DAT_005ea7c8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 8)" ( (binary_expression "DAT_005ea7c8 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }" { comment (expression_statement "FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);" (call_expression "FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2])" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2])" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , identifier , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (subscript_expression "param_2[2]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }" if (parenthesized_expression "(*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0')" ( (binary_expression "*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9)" * (cast_expression "(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) + 0x52d9)" ( (binary_expression "*(int *)(DAT_005ea7c8 + 8) + 0x52d9" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" * (cast_expression "(int *)(DAT_005ea7c8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 8)" ( (binary_expression "DAT_005ea7c8 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }" { (expression_statement "uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;" (assignment_expression "uVar1 = (*(uint *)(param_1 + 8) & 6) == 4" identifier = (binary_expression "(*(uint *)(param_1 + 8) & 6) == 4" (parenthesized_expression "(*(uint *)(param_1 + 8) & 6)" ( (binary_expression "*(uint *)(param_1 + 8) & 6" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal)) ;) })) })) (if_statement "if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))" ( (binary_expression "(*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2)" (parenthesized_expression "(*(int *)(param_1 + 0x68) != 0)" ( (binary_expression "*(int *)(param_1 + 0x68) != 0" (pointer_expression "*(int *)(param_1 + 0x68)" * (cast_expression "(int *)(param_1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2)" ( (binary_expression "(byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2" (call_expression "(byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U)" ( (binary_expression "*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U" (pointer_expression "*(char *)(*(int *)(param_1 + 0x68) + 7)" * (cast_expression "(char *)(*(int *)(param_1 + 0x68) + 7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x68) + 7)" ( (binary_expression "*(int *)(param_1 + 0x68) + 7" (pointer_expression "*(int *)(param_1 + 0x68)" * (cast_expression "(int *)(param_1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) + number_literal) )))) - number_literal) ))) < number_literal) ))) )) (compound_statement "{\n    uVar1 = 3;\n  }" { (expression_statement "uVar1 = 3;" (assignment_expression "uVar1 = 3" identifier = number_literal) ;) })) (expression_statement "*param_2 = *param_2;" (assignment_expression "*param_2 = *param_2" (pointer_expression "*param_2" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2[1] = param_2[1];" (assignment_expression "param_2[1] = param_2[1]" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);" (assignment_expression "param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1)" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (call_expression "CONCAT31((int3)((uint)param_2[2] >> 8),uVar1)" identifier (argument_list "((int3)((uint)param_2[2] >> 8),uVar1)" ( (call_expression "(int3)((uint)param_2[2] >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)param_2[2] >> 8)" ( (binary_expression "(uint)param_2[2] >> 8" (cast_expression "(uint)param_2[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[2]" identifier [ number_literal ])) >> number_literal) ))) , identifier )))) ;) (expression_statement "param_2[3] = param_2[3];" (assignment_expression "param_2[3] = param_2[3]" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (if_statement "if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x81) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x81) != '\0'" (pointer_expression "*(char *)(param_1 + 0x81)" * (cast_expression "(char *)(param_1 + 0x81)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x81)" ( (binary_expression "param_1 + 0x81" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    param_2[6] = param_2[6] + 1;\n  }" { (expression_statement "param_2[6] = param_2[6] + 1;" (assignment_expression "param_2[6] = param_2[6] + 1" (subscript_expression "param_2[6]" identifier [ number_literal ]) = (binary_expression "param_2[6] + 1" (subscript_expression "param_2[6]" identifier [ number_literal ]) + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: void do_adjust_elf_header(Target_mips<32,_false> * this, uchar * view,\n   int len) */\n\nvoid __thiscall\nanon_unknown.dwarf_d7d43e::Target_mips<32,_false>::do_adjust_elf_header\n          (Target_mips<32,_false> *this,uchar *view,int len)\n\n{\n  undefined1 uVar1;\n  undefined4 local_14;\n  \n  if (len != 0x34) {\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable("../../gold/mips.cc",0x254a,"do_adjust_elf_header");\n  }\n  uVar1 = false;\n  if (*(short *)(view + 0x10) == 2) {\n    if (gold::parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((gold::parameters->options_->copyreloc_).value != false) {\n      uVar1 = (*(uint *)&this->field_0x8 & 6) == 4;\n    }\n  }\n  if ((this->abiflags_ != (Mips_abiflags<false> *)0x0) && ((byte)(this->abiflags_->fp_abi - 6) < 2))\n  {\n    uVar1 = 3;\n  }\n  local_14 = CONCAT31((int3)((uint)*(undefined4 *)(view + 8) >> 8),uVar1);\n  *(undefined4 *)view = *(undefined4 *)view;\n  *(undefined4 *)(view + 4) = *(undefined4 *)(view + 4);\n  *(undefined4 *)(view + 8) = local_14;\n  *(undefined4 *)(view + 0xc) = *(undefined4 *)(view + 0xc);\n  if (this->entry_symbol_is_compressed_ != false) {\n    *(int *)(view + 0x18) = *(int *)(view + 0x18) + 1;\n  }\n  return;\n}\n\n" comment comment comment comment (declaration "void __thiscall\nanon_unknown.dwarf_d7d43e::Target_mips<32,_false>::do_adjust_elf_header\n          (Target_mips<32,_false> *this,uchar *view,int len)\n\n{\n  undefined1 uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) identifier (ERROR ".dwarf_d7d43e::Target_mips<32" . identifier : : identifier < number_literal) , (ERROR "_false>::do_adjust_elf_header\n          (Target_mips<32,_false> *this,uchar *view,int len)\n\n{\n  undefined1" identifier > : : (function_declarator "do_adjust_elf_header\n          (Target_mips<32,_false> *this,uchar *view,int len)" identifier (parameter_list "(Target_mips<32,_false> *this,uchar *view,int len)" ( (parameter_declaration "Target_mips" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uchar *view" type_identifier (pointer_declarator "*view" * identifier)) , (parameter_declaration "int len" primitive_type identifier) ))) { identifier) identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (if_statement "if (len != 0x34) {\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable("../../gold/mips.cc",0x254a,"do_adjust_elf_header");\n  }" if (parenthesized_expression "(len != 0x34)" ( (binary_expression "len != 0x34" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    gold::do_gold_unreachable("../../gold/mips.cc",0x254a,"do_adjust_elf_header");\n  }" { comment (labeled_statement "gold::do_gold_unreachable("../../gold/mips.cc",0x254a,"do_adjust_elf_header");" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable("../../gold/mips.cc",0x254a,"do_adjust_elf_header");" (call_expression "do_gold_unreachable("../../gold/mips.cc",0x254a,"do_adjust_elf_header")" identifier (argument_list "("../../gold/mips.cc",0x254a,"do_adjust_elf_header")" ( (string_literal ""../../gold/mips.cc"" " string_content ") , number_literal , (string_literal ""do_adjust_elf_header"" " string_content ") ))) ;)) })) (expression_statement "uVar1 = false;" (assignment_expression "uVar1 = false" identifier = false) ;) (if_statement "if (*(short *)(view + 0x10) == 2) {\n    if (gold::parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((gold::parameters->options_->copyreloc_).value != false) {\n      uVar1 = (*(uint *)&this->field_0x8 & 6) == 4;\n    }\n  }" if (parenthesized_expression "(*(short *)(view + 0x10) == 2)" ( (binary_expression "*(short *)(view + 0x10) == 2" (pointer_expression "*(short *)(view + 0x10)" * (cast_expression "(short *)(view + 0x10)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 0x10)" ( (binary_expression "view + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (gold::parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    if ((gold::parameters->options_->copyreloc_).value != false) {\n      uVar1 = (*(uint *)&this->field_0x8 & 6) == 4;\n    }\n  }" { (if_statement "if (gold::parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" if (parenthesized_expression "(gold::parameters->options_ == (General_options *)0x0)" ( (ERROR "gold::" identifier : :) (binary_expression "parameters->options_ == (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      gold::do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" { comment (labeled_statement "gold::do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;)) })) (if_statement "if ((gold::parameters->options_->copyreloc_).value != false) {\n      uVar1 = (*(uint *)&this->field_0x8 & 6) == 4;\n    }" if (parenthesized_expression "((gold::parameters->options_->copyreloc_).value != false)" ( (binary_expression "(gold::parameters->options_->copyreloc_).value != false" (field_expression "(gold::parameters->options_->copyreloc_).value" (parenthesized_expression "(gold::parameters->options_->copyreloc_)" ( (ERROR "gold::" identifier : :) (field_expression "parameters->options_->copyreloc_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n      uVar1 = (*(uint *)&this->field_0x8 & 6) == 4;\n    }" { (expression_statement "uVar1 = (*(uint *)&this->field_0x8 & 6) == 4;" (assignment_expression "uVar1 = (*(uint *)&this->field_0x8 & 6) == 4" identifier = (binary_expression "(*(uint *)&this->field_0x8 & 6) == 4" (parenthesized_expression "(*(uint *)&this->field_0x8 & 6)" ( (binary_expression "*(uint *)&this->field_0x8 & 6" (pointer_expression "*(uint *)&this->field_0x8" * (cast_expression "(uint *)&this->field_0x8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x8" & (field_expression "this->field_0x8" identifier -> field_identifier)))) & number_literal) )) == number_literal)) ;) })) })) (if_statement "if ((this->abiflags_ != (Mips_abiflags<false> *)0x0) && ((byte)(this->abiflags_->fp_abi - 6) < 2))\n  {\n    uVar1 = 3;\n  }" if (parenthesized_expression "((this->abiflags_ != (Mips_abiflags<false> *)0x0) && ((byte)(this->abiflags_->fp_abi - 6) < 2))" ( (parenthesized_expression "(this->abiflags_ != (Mips_abiflags<false> *)0x0) && ((byte)(this->abiflags_->fp_abi - 6) < 2))" ( (binary_expression "this->abiflags_ != (Mips_abiflags<false> *)0x0) && ((byte)(this->abiflags_->fp_abi - 6) < 2)" (binary_expression "this->abiflags_ != (Mips_abiflags<false> *)0x0)" (field_expression "this->abiflags_" identifier -> field_identifier) != (parenthesized_expression "(Mips_abiflags<false> *)0x0)" ( (binary_expression "Mips_abiflags<false> *)0x0" (binary_expression "Mips_abiflags<false" identifier < false) > (pointer_expression "*)0x0" * (ERROR ")" )) number_literal)) ))) && (parenthesized_expression "((byte)(this->abiflags_->fp_abi - 6) < 2)" ( (binary_expression "(byte)(this->abiflags_->fp_abi - 6) < 2" (call_expression "(byte)(this->abiflags_->fp_abi - 6)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(this->abiflags_->fp_abi - 6)" ( (binary_expression "this->abiflags_->fp_abi - 6" (field_expression "this->abiflags_->fp_abi" (field_expression "this->abiflags_" identifier -> field_identifier) -> field_identifier) - number_literal) ))) < number_literal) ))) )) )) (compound_statement "{\n    uVar1 = 3;\n  }" { (expression_statement "uVar1 = 3;" (assignment_expression "uVar1 = 3" identifier = number_literal) ;) })) (expression_statement "local_14 = CONCAT31((int3)((uint)*(undefined4 *)(view + 8) >> 8),uVar1);" (assignment_expression "local_14 = CONCAT31((int3)((uint)*(undefined4 *)(view + 8) >> 8),uVar1)" identifier = (call_expression "CONCAT31((int3)((uint)*(undefined4 *)(view + 8) >> 8),uVar1)" identifier (argument_list "((int3)((uint)*(undefined4 *)(view + 8) >> 8),uVar1)" ( (call_expression "(int3)((uint)*(undefined4 *)(view + 8) >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)*(undefined4 *)(view + 8) >> 8)" ( (binary_expression "(uint)*(undefined4 *)(view + 8) >> 8" (binary_expression "(uint)*(undefined4 *)(view + 8)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(undefined4 *)(view + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 8)" ( (binary_expression "view + 8" identifier + number_literal) )))) >> number_literal) ))) , identifier )))) ;) (expression_statement "*(undefined4 *)view = *(undefined4 *)view;" (assignment_expression "*(undefined4 *)view = *(undefined4 *)view" (pointer_expression "*(undefined4 *)view" * (cast_expression "(undefined4 *)view" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)view" * (cast_expression "(undefined4 *)view" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(view + 4) = *(undefined4 *)(view + 4);" (assignment_expression "*(undefined4 *)(view + 4) = *(undefined4 *)(view + 4)" (pointer_expression "*(undefined4 *)(view + 4)" * (cast_expression "(undefined4 *)(view + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 4)" ( (binary_expression "view + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(view + 4)" * (cast_expression "(undefined4 *)(view + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 4)" ( (binary_expression "view + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(view + 8) = local_14;" (assignment_expression "*(undefined4 *)(view + 8) = local_14" (pointer_expression "*(undefined4 *)(view + 8)" * (cast_expression "(undefined4 *)(view + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 8)" ( (binary_expression "view + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(view + 0xc) = *(undefined4 *)(view + 0xc);" (assignment_expression "*(undefined4 *)(view + 0xc) = *(undefined4 *)(view + 0xc)" (pointer_expression "*(undefined4 *)(view + 0xc)" * (cast_expression "(undefined4 *)(view + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 0xc)" ( (binary_expression "view + 0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(view + 0xc)" * (cast_expression "(undefined4 *)(view + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 0xc)" ( (binary_expression "view + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (this->entry_symbol_is_compressed_ != false) {\n    *(int *)(view + 0x18) = *(int *)(view + 0x18) + 1;\n  }" if (parenthesized_expression "(this->entry_symbol_is_compressed_ != false)" ( (binary_expression "this->entry_symbol_is_compressed_ != false" (field_expression "this->entry_symbol_is_compressed_" identifier -> field_identifier) != false) )) (compound_statement "{\n    *(int *)(view + 0x18) = *(int *)(view + 0x18) + 1;\n  }" { (expression_statement "*(int *)(view + 0x18) = *(int *)(view + 0x18) + 1;" (assignment_expression "*(int *)(view + 0x18) = *(int *)(view + 0x18) + 1" (pointer_expression "*(int *)(view + 0x18)" * (cast_expression "(int *)(view + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 0x18)" ( (binary_expression "view + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(view + 0x18) + 1" (pointer_expression "*(int *)(view + 0x18)" * (cast_expression "(int *)(view + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(view + 0x18)" ( (binary_expression "view + 0x18" identifier + number_literal) )))) + number_literal)) ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0016fdb0(int param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined1 uVar1;\n  \n  if (param_3 != 0x34) {\n                    \n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }\n  uVar1 = false;\n  if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }\n  if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }\n  *param_2 = *param_2;\n  param_2[1] = param_2[1];\n  param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);\n  param_2[3] = param_2[3];\n  if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0016fdb0(int param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined1 uVar1;\n  \n  if (param_3 != 0x34) {\n                    \n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }\n  uVar1 = false;\n  if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }\n  if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }\n  *param_2 = *param_2;\n  param_2[1] = param_2[1];\n  param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);\n  param_2[3] = param_2[3];\n  if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0016fdb0(int param_1,undefined4 *param_2,int param_3)" identifier (parameter_list "(int param_1,undefined4 *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined1 uVar1;\n  \n  if (param_3 != 0x34) {\n                    \n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }\n  uVar1 = false;\n  if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }\n  if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }\n  *param_2 = *param_2;\n  param_2[1] = param_2[1];\n  param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);\n  param_2[3] = param_2[3];\n  if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (if_statement "if (param_3 != 0x34) {\n                    \n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }" if (parenthesized_expression "(param_3 != 0x34)" ( (binary_expression "param_3 != 0x34" identifier != number_literal) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }" { (expression_statement "FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1)" identifier (argument_list "("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1)" ( (string_literal ""../../gold/mips.cc"" " string_content ") , number_literal , (string_literal ""do_adjust_elf_header"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar1 = false;" (assignment_expression "uVar1 = false" identifier = false) ;) (if_statement "if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }" if (parenthesized_expression "(*(short *)(param_2 + 4) == 2)" ( (binary_expression "*(short *)(param_2 + 4) == 2" (pointer_expression "*(short *)(param_2 + 4)" * (cast_expression "(short *)(param_2 + 4)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }" { (if_statement "if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }" if (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) == 0)" ( (binary_expression "*(int *)(DAT_005ea7c8 + 8) == 0" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" * (cast_expression "(int *)(DAT_005ea7c8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 8)" ( (binary_expression "DAT_005ea7c8 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }" { (expression_statement "FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);" (call_expression "FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2])" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2])" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , identifier , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (subscript_expression "param_2[2]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }" if (parenthesized_expression "(*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0')" ( (binary_expression "*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9)" * (cast_expression "(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) + 0x52d9)" ( (binary_expression "*(int *)(DAT_005ea7c8 + 8) + 0x52d9" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" * (cast_expression "(int *)(DAT_005ea7c8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 8)" ( (binary_expression "DAT_005ea7c8 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }" { (expression_statement "uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;" (assignment_expression "uVar1 = (*(uint *)(param_1 + 8) & 6) == 4" identifier = (binary_expression "(*(uint *)(param_1 + 8) & 6) == 4" (parenthesized_expression "(*(uint *)(param_1 + 8) & 6)" ( (binary_expression "*(uint *)(param_1 + 8) & 6" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal)) ;) })) })) (if_statement "if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))" ( (binary_expression "(*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2)" (parenthesized_expression "(*(int *)(param_1 + 0x68) != 0)" ( (binary_expression "*(int *)(param_1 + 0x68) != 0" (pointer_expression "*(int *)(param_1 + 0x68)" * (cast_expression "(int *)(param_1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2)" ( (binary_expression "(byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2" (call_expression "(byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U)" ( (binary_expression "*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U" (pointer_expression "*(char *)(*(int *)(param_1 + 0x68) + 7)" * (cast_expression "(char *)(*(int *)(param_1 + 0x68) + 7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x68) + 7)" ( (binary_expression "*(int *)(param_1 + 0x68) + 7" (pointer_expression "*(int *)(param_1 + 0x68)" * (cast_expression "(int *)(param_1 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) + number_literal) )))) - number_literal) ))) < number_literal) ))) )) (compound_statement "{\n    uVar1 = 3;\n  }" { (expression_statement "uVar1 = 3;" (assignment_expression "uVar1 = 3" identifier = number_literal) ;) })) (expression_statement "*param_2 = *param_2;" (assignment_expression "*param_2 = *param_2" (pointer_expression "*param_2" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2[1] = param_2[1];" (assignment_expression "param_2[1] = param_2[1]" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);" (assignment_expression "param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1)" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (call_expression "CONCAT31((int3)((uint)param_2[2] >> 8),uVar1)" identifier (argument_list "((int3)((uint)param_2[2] >> 8),uVar1)" ( (call_expression "(int3)((uint)param_2[2] >> 8)" (parenthesized_expression "(int3)" ( identifier )) (argument_list "((uint)param_2[2] >> 8)" ( (binary_expression "(uint)param_2[2] >> 8" (cast_expression "(uint)param_2[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[2]" identifier [ number_literal ])) >> number_literal) ))) , identifier )))) ;) (expression_statement "param_2[3] = param_2[3];" (assignment_expression "param_2[3] = param_2[3]" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (if_statement "if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x81) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x81) != '\0'" (pointer_expression "*(char *)(param_1 + 0x81)" * (cast_expression "(char *)(param_1 + 0x81)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x81)" ( (binary_expression "param_1 + 0x81" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    param_2[6] = param_2[6] + 1;\n  }" { (expression_statement "param_2[6] = param_2[6] + 1;" (assignment_expression "param_2[6] = param_2[6] + 1" (subscript_expression "param_2[6]" identifier [ number_literal ]) = (binary_expression "param_2[6] + 1" (subscript_expression "param_2[6]" identifier [ number_literal ]) + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT)) ;) })) })) (if_statement if (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) )) && (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) - LIT) ))) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) >> LIT) ))) , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0016fdb0(int param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined1 uVar1;\n  \n  if (param_3 != 0x34) {\n                    \n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }\n  uVar1 = false;\n  if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }\n  if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }\n  *param_2 = *param_2;\n  param_2[1] = param_2[1];\n  param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);\n  param_2[3] = param_2[3];\n  if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0016fdb0(int param_1,undefined4 *param_2,int param_3)" (identifier "FUN_0016fdb0") (parameter_list "(int param_1,undefined4 *param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  \n  if (param_3 != 0x34) {\n                    \n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }\n  uVar1 = false;\n  if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }\n  if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }\n  *param_2 = *param_2;\n  param_2[1] = param_2[1];\n  param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);\n  param_2[3] = param_2[3];\n  if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }\n  return;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (if_statement "if (param_3 != 0x34) {\n                    \n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }" (if "if") (parenthesized_expression "(param_3 != 0x34)" (( "(") (binary_expression "param_3 != 0x34" (identifier "param_3") (!= "!=") (number_literal "0x34")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);" (call_expression "FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1)" (identifier "FUN_002446e0") (argument_list "("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1)" (( "(") (string_literal ""../../gold/mips.cc"" (" """) (string_content "../../gold/mips.cc") (" """)) (, ",") (number_literal "0x254a") (, ",") (string_literal ""do_adjust_elf_header"" (" """) (string_content "do_adjust_elf_header") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = false;" (assignment_expression "uVar1 = false" (identifier "uVar1") (= "=") (false "false")) (; ";")) (if_statement "if (*(short *)(param_2 + 4) == 2) {\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }" (if "if") (parenthesized_expression "(*(short *)(param_2 + 4) == 2)" (( "(") (binary_expression "*(short *)(param_2 + 4) == 2" (pointer_expression "*(short *)(param_2 + 4)" (* "*") (cast_expression "(short *)(param_2 + 4)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }\n    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(DAT_005ea7c8 + 8) == 0) {\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }" (if "if") (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) == 0)" (( "(") (binary_expression "*(int *)(DAT_005ea7c8 + 8) == 0" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" (* "*") (cast_expression "(int *)(DAT_005ea7c8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_005ea7c8 + 8)" (( "(") (binary_expression "DAT_005ea7c8 + 8" (identifier "DAT_005ea7c8") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);\n    }" ({ "{") (expression_statement "FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);" (call_expression "FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2])" (identifier "FUN_002446e0") (argument_list "("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2])" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) (, ",") (identifier "param_2") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9)" (* "*") (cast_expression "(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 8) + 0x52d9)" (( "(") (binary_expression "*(int *)(DAT_005ea7c8 + 8) + 0x52d9" (pointer_expression "*(int *)(DAT_005ea7c8 + 8)" (* "*") (cast_expression "(int *)(DAT_005ea7c8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_005ea7c8 + 8)" (( "(") (binary_expression "DAT_005ea7c8 + 8" (identifier "DAT_005ea7c8") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x52d9")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;\n    }" ({ "{") (expression_statement "uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;" (assignment_expression "uVar1 = (*(uint *)(param_1 + 8) & 6) == 4" (identifier "uVar1") (= "=") (binary_expression "(*(uint *)(param_1 + 8) & 6) == 4" (parenthesized_expression "(*(uint *)(param_1 + 8) & 6)" (( "(") (binary_expression "*(uint *)(param_1 + 8) & 6" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "6")) () ")")) (== "==") (number_literal "4"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))\n  {\n    uVar1 = 3;\n  }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))" (( "(") (binary_expression "(*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2)" (parenthesized_expression "(*(int *)(param_1 + 0x68) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x68) != 0" (pointer_expression "*(int *)(param_1 + 0x68)" (* "*") (cast_expression "(int *)(param_1 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2)" (( "(") (binary_expression "(byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2" (call_expression "(byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U)" (( "(") (binary_expression "*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U" (pointer_expression "*(char *)(*(int *)(param_1 + 0x68) + 7)" (* "*") (cast_expression "(char *)(*(int *)(param_1 + 0x68) + 7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x68) + 7)" (( "(") (binary_expression "*(int *)(param_1 + 0x68) + 7" (pointer_expression "*(int *)(param_1 + 0x68)" (* "*") (cast_expression "(int *)(param_1 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (+ "+") (number_literal "7")) () ")")))) (- "-") (number_literal "6U")) () ")"))) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = 3;\n  }" ({ "{") (expression_statement "uVar1 = 3;" (assignment_expression "uVar1 = 3" (identifier "uVar1") (= "=") (number_literal "3")) (; ";")) (} "}"))) (expression_statement "*param_2 = *param_2;" (assignment_expression "*param_2 = *param_2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_2[1] = param_2[1];" (assignment_expression "param_2[1] = param_2[1]" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);" (assignment_expression "param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1)" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (call_expression "CONCAT31((int3)((uint)param_2[2] >> 8),uVar1)" (identifier "CONCAT31") (argument_list "((int3)((uint)param_2[2] >> 8),uVar1)" (( "(") (call_expression "(int3)((uint)param_2[2] >> 8)" (parenthesized_expression "(int3)" (( "(") (identifier "int3") () ")")) (argument_list "((uint)param_2[2] >> 8)" (( "(") (binary_expression "(uint)param_2[2] >> 8" (cast_expression "(uint)param_2[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (>> ">>") (number_literal "8")) () ")"))) (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "param_2[3] = param_2[3];" (assignment_expression "param_2[3] = param_2[3]" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (*(char *)(param_1 + 0x81) != '\0') {\n    param_2[6] = param_2[6] + 1;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x81) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x81) != '\0'" (pointer_expression "*(char *)(param_1 + 0x81)" (* "*") (cast_expression "(char *)(param_1 + 0x81)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x81)" (( "(") (binary_expression "param_1 + 0x81" (identifier "param_1") (+ "+") (number_literal "0x81")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    param_2[6] = param_2[6] + 1;\n  }" ({ "{") (expression_statement "param_2[6] = param_2[6] + 1;" (assignment_expression "param_2[6] = param_2[6] + 1" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (= "=") (binary_expression "param_2[6] + 1" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void do_adjust_elf_header(Target_mips<32,_false> * this, uchar * view,
   int len) */

void __thiscall
anon_unknown.dwarf_d7d43e::Target_mips<32,_false>::do_adjust_elf_header
          (Target_mips<32,_false> *this,uchar *var_3,int var_1)

{
  undefined1 uVar1;
  type_1 local_14;
  
  if (var_1 != 0x34) {
                    /* WARNING: Subroutine does not return */
    gold::var_2("../../gold/mips.cc",0x254a,"do_adjust_elf_header");
  }
  uVar1 = false;
  if (*(short *)(var_3 + 0x10) == 2) {
    if (gold::parameters->options_ == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
      gold::var_2("../../gold/parameters.h",0x5c,"options");
    }
    if ((gold::parameters->options_->copyreloc_).value != false) {
      uVar1 = (*(type_3 *)&this->field_0x8 & 6) == 4;
    }
  }
  if ((this->abiflags_ != (var_4<false> *)0x0) && ((byte)(this->abiflags_->fp_abi - 6) < 2))
  {
    uVar1 = 3;
  }
  local_14 = var_5((int3)((type_3)*(type_1 *)(var_3 + 8) >> 8),uVar1);
  *(type_1 *)var_3 = *(type_1 *)var_3;
  *(type_1 *)(var_3 + 4) = *(type_1 *)(var_3 + 4);
  *(type_1 *)(var_3 + 8) = local_14;
  *(type_1 *)(var_3 + 0xc) = *(type_1 *)(var_3 + 0xc);
  if (this->entry_symbol_is_compressed_ != false) {
    *(int *)(var_3 + 0x18) = *(int *)(var_3 + 0x18) + 1;
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void MASKED(int param_1,undefined4 *param_2,int param_3)

{
  undefined1 uVar1;
  
  if (param_3 != 0x34) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/mips.cc",0x254a,"do_adjust_elf_header",param_1);
  }
  uVar1 = false;
  if (*(short *)(param_2 + 4) == 2) {
    if (*(int *)(DAT_005ea7c8 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/parameters.h",0x5c,"options",param_2,*param_2,param_2[1],param_2[2]);
    }
    if (*(char *)(*(int *)(DAT_005ea7c8 + 8) + 0x52d9) != '\0') {
      uVar1 = (*(uint *)(param_1 + 8) & 6) == 4;
    }
  }
  if ((*(int *)(param_1 + 0x68) != 0) && ((byte)(*(char *)(*(int *)(param_1 + 0x68) + 7) - 6U) < 2))
  {
    uVar1 = 3;
  }
  *param_2 = *param_2;
  param_2[1] = param_2[1];
  param_2[2] = CONCAT31((int3)((uint)param_2[2] >> 8),uVar1);
  param_2[3] = param_2[3];
  if (*(char *)(param_1 + 0x81) != '\0') {
    param_2[6] = param_2[6] + 1;
  }
  return;
}

