
/* DWARF original prototype: Location section_contents(Elf_file<32,_false,_gold::Object> * this,
   uint shndx) */

Location __thiscall
elfcpp::Elf_file<32,_false,_gold::Object>::section_contents
          (Elf_file<32,_false,_gold::Object> *this,uint shndx)

{
  uint uVar1;
  Object *this_00;
  off_t start;
  uchar *puVar2;
  char *format;
  Location LVar3;
  
  this_00 = this->file_;
  initialize_shnum(this);
  if (this->shnum_ <= shndx) {
    initialize_shnum(this);
    uVar1 = this->shnum_;
    format = (char *)gettext("section_contents: bad shndx %u >= %u");
    gold::Object::error(this_00,format,shndx,(ulong)uVar1);
  }
  start = section_header_offset(this,shndx);
  if (this_00->input_file_ != (Input_file *)0x0) {
    puVar2 = gold::File_read::get_view
                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);
    LVar3.file_offset = (ulong)*(uint *)(puVar2 + 0x10);
    LVar3.data_size._0_4_ = *(undefined4 *)(puVar2 + 0x14);
    LVar3.data_size._4_4_ = 0;
    return LVar3;
  }
                    /* WARNING: Subroutine does not return */
  gold::Object::input_file((Object *)0x0);
}



undefined4 FUN_001c6e00(long *param_1,uint param_2)

{
  long lVar1;
  undefined8 uVar2;
  long lVar3;
  
  lVar3 = *param_1;
  FUN_00167570();
  if (*(uint *)(param_1 + 2) <= param_2) {
    FUN_00167570(param_1);
    lVar1 = param_1[2];
    uVar2 = gettext("section_contents: bad shndx %u >= %u");
    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);
  }
  uVar2 = FUN_00169310(param_1,param_2);
  if (*(long *)(lVar3 + 0x28) != 0) {
    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1
                        );
    return *(undefined4 *)(lVar3 + 0x10);
  }
                    /* WARNING: Subroutine does not return */
  FUN_001bcf60();
}


PUSH R13
PUSH R12
PUSH RBP
MOV EBP,ESI
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
MOV R12,qword ptr [RDI]
CALL 0x00167570
CMP EBP,dword ptr [RBX + 0x10]
JNC 0x001c6e68
MOV RDI,RBX
MOV ESI,EBP
CALL 0x00169310
MOV RDI,qword ptr [R12 + 0x28]
TEST RDI,RDI
JZ 0x001c6e94
MOV RSI,qword ptr [R12 + 0x30]
MOV RDX,RAX
ADD RDI,0x28
MOV R9D,0x1
MOV R8D,0x1
MOV ECX,0x28
CALL 0x0017b1d0
MOV EDX,dword ptr [RAX + 0x14]
MOV EAX,dword ptr [RAX + 0x10]
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
MOV RDI,RBX
CALL 0x00167570
MOV R13D,dword ptr [RBX + 0x10]
LEA RDI,[0x36bad8]
CALL 0x00147320
MOV EDX,EBP
MOV RDI,R12
MOV RSI,RAX
MOV ECX,R13D
XOR EAX,EAX
CALL 0x001bd150
JMP 0x001c6e1c
CALL 0x001bcf60
(translation_unit "undefined4 FUN_001c6e00(long *param_1,uint param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar3 = *param_1;\n  FUN_00167570();\n  if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }\n  uVar2 = FUN_00169310(param_1,param_2);\n  if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001bcf60();\n}\n\n" (function_definition "undefined4 FUN_001c6e00(long *param_1,uint param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar3 = *param_1;\n  FUN_00167570();\n  if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }\n  uVar2 = FUN_00169310(param_1,param_2);\n  if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001bcf60();\n}" type_identifier (function_declarator "FUN_001c6e00(long *param_1,uint param_2)" identifier (parameter_list "(long *param_1,uint param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar3 = *param_1;\n  FUN_00167570();\n  if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }\n  uVar2 = FUN_00169310(param_1,param_2);\n  if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001bcf60();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "FUN_00167570();" (call_expression "FUN_00167570()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }" if (parenthesized_expression "(*(uint *)(param_1 + 2) <= param_2)" ( (binary_expression "*(uint *)(param_1 + 2) <= param_2" (pointer_expression "*(uint *)(param_1 + 2)" * (cast_expression "(uint *)(param_1 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }" { (expression_statement "FUN_00167570(param_1);" (call_expression "FUN_00167570(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "lVar1 = param_1[2];" (assignment_expression "lVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "uVar2 = gettext("section_contents: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_contents: bad shndx %u >= %u")" identifier (argument_list "("section_contents: bad shndx %u >= %u")" ( (string_literal ""section_contents: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);" (call_expression "FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1)" identifier (argument_list "(lVar3,uVar2,param_2,(int)lVar1)" ( identifier , identifier , identifier , (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (expression_statement "uVar2 = FUN_00169310(param_1,param_2);" (assignment_expression "uVar2 = FUN_00169310(param_1,param_2)" identifier = (call_expression "FUN_00169310(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }" if (parenthesized_expression "(*(long *)(lVar3 + 0x28) != 0)" ( (binary_expression "*(long *)(lVar3 + 0x28) != 0" (pointer_expression "*(long *)(lVar3 + 0x28)" * (cast_expression "(long *)(lVar3 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }" { (expression_statement "lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );" (assignment_expression "lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        )" identifier = (call_expression "FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        )" identifier (argument_list "(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        )" ( (binary_expression "*(long *)(lVar3 + 0x28) + 0x28" (pointer_expression "*(long *)(lVar3 + 0x28)" * (cast_expression "(long *)(lVar3 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined8 *)(lVar3 + 0x30)" * (cast_expression "(undefined8 *)(lVar3 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x30)" ( (binary_expression "lVar3 + 0x30" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (return_statement "return *(undefined4 *)(lVar3 + 0x10);" return (pointer_expression "*(undefined4 *)(lVar3 + 0x10)" * (cast_expression "(undefined4 *)(lVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) ;) })) comment (expression_statement "FUN_001bcf60();" (call_expression "FUN_001bcf60()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* DWARF original prototype: Location section_contents(Elf_file<32,_false,_gold::Object> * this,\n   uint shndx) */\n\nLocation __thiscall\nelfcpp::Elf_file<32,_false,_gold::Object>::section_contents\n          (Elf_file<32,_false,_gold::Object> *this,uint shndx)\n\n{\n  uint uVar1;\n  Object *this_00;\n  off_t start;\n  uchar *puVar2;\n  char *format;\n  Location LVar3;\n  \n  this_00 = this->file_;\n  initialize_shnum(this);\n  if (this->shnum_ <= shndx) {\n    initialize_shnum(this);\n    uVar1 = this->shnum_;\n    format = (char *)gettext("section_contents: bad shndx %u >= %u");\n    gold::Object::error(this_00,format,shndx,(ulong)uVar1);\n  }\n  start = section_header_offset(this,shndx);\n  if (this_00->input_file_ != (Input_file *)0x0) {\n    puVar2 = gold::File_read::get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);\n    LVar3.file_offset = (ulong)*(uint *)(puVar2 + 0x10);\n    LVar3.data_size._0_4_ = *(undefined4 *)(puVar2 + 0x14);\n    LVar3.data_size._4_4_ = 0;\n    return LVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::Object::input_file((Object *)0x0);\n}\n\n" comment (declaration "Location __thiscall\nelfcpp::Elf_file<32,_false,_gold::Object>::section_contents\n          (Elf_file<32,_false,_gold::Object> *this,uint shndx)\n\n{\n  uint uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::" identifier : :) identifier (ERROR "<32" < number_literal) , identifier , (ERROR "_gold::Object>::section_contents\n          (Elf_file<32,_false,_gold::Object> *this,uint shndx)\n\n{\n  uint" identifier : : identifier > : : (function_declarator "section_contents\n          (Elf_file<32,_false,_gold::Object> *this,uint shndx)" identifier (parameter_list "(Elf_file<32,_false,_gold::Object> *this,uint shndx)" ( (parameter_declaration "Elf_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false" type_identifier) , (parameter_declaration "_gold::Object> *this" type_identifier (ERROR "::Object>" : : identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) ))) { identifier) identifier ;) (declaration "Object *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "off_t start;" type_identifier identifier ;) (declaration "uchar *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "Location LVar3;" type_identifier identifier ;) (expression_statement "this_00 = this->file_;" (assignment_expression "this_00 = this->file_" identifier = (field_expression "this->file_" identifier -> field_identifier)) ;) (expression_statement "initialize_shnum(this);" (call_expression "initialize_shnum(this)" identifier (argument_list "(this)" ( identifier ))) ;) (if_statement "if (this->shnum_ <= shndx) {\n    initialize_shnum(this);\n    uVar1 = this->shnum_;\n    format = (char *)gettext("section_contents: bad shndx %u >= %u");\n    gold::Object::error(this_00,format,shndx,(ulong)uVar1);\n  }" if (parenthesized_expression "(this->shnum_ <= shndx)" ( (binary_expression "this->shnum_ <= shndx" (field_expression "this->shnum_" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n    initialize_shnum(this);\n    uVar1 = this->shnum_;\n    format = (char *)gettext("section_contents: bad shndx %u >= %u");\n    gold::Object::error(this_00,format,shndx,(ulong)uVar1);\n  }" { (expression_statement "initialize_shnum(this);" (call_expression "initialize_shnum(this)" identifier (argument_list "(this)" ( identifier ))) ;) (expression_statement "uVar1 = this->shnum_;" (assignment_expression "uVar1 = this->shnum_" identifier = (field_expression "this->shnum_" identifier -> field_identifier)) ;) (expression_statement "format = (char *)gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "format = (char *)gettext("section_contents: bad shndx %u >= %u")" identifier = (cast_expression "(char *)gettext("section_contents: bad shndx %u >= %u")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("section_contents: bad shndx %u >= %u")" identifier (argument_list "("section_contents: bad shndx %u >= %u")" ( (string_literal ""section_contents: bad shndx %u >= %u"" " string_content ") ))))) ;) (labeled_statement "gold::Object::error(this_00,format,shndx,(ulong)uVar1);" statement_identifier : (ERROR ":" :) (labeled_statement "Object::error(this_00,format,shndx,(ulong)uVar1);" statement_identifier : (ERROR ":" :) (expression_statement "error(this_00,format,shndx,(ulong)uVar1);" (call_expression "error(this_00,format,shndx,(ulong)uVar1)" identifier (argument_list "(this_00,format,shndx,(ulong)uVar1)" ( identifier , identifier , identifier , (cast_expression "(ulong)uVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;))) })) (expression_statement "start = section_header_offset(this,shndx);" (assignment_expression "start = section_header_offset(this,shndx)" identifier = (call_expression "section_header_offset(this,shndx)" identifier (argument_list "(this,shndx)" ( identifier , identifier )))) ;) (if_statement "if (this_00->input_file_ != (Input_file *)0x0) {\n    puVar2 = gold::File_read::get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);\n    LVar3.file_offset = (ulong)*(uint *)(puVar2 + 0x10);\n    LVar3.data_size._0_4_ = *(undefined4 *)(puVar2 + 0x14);\n    LVar3.data_size._4_4_ = 0;\n    return LVar3;\n  }" if (parenthesized_expression "(this_00->input_file_ != (Input_file *)0x0)" ( (binary_expression "this_00->input_file_ != (Input_file *)0x0" (field_expression "this_00->input_file_" identifier -> field_identifier) != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = gold::File_read::get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);\n    LVar3.file_offset = (ulong)*(uint *)(puVar2 + 0x10);\n    LVar3.data_size._0_4_ = *(undefined4 *)(puVar2 + 0x14);\n    LVar3.data_size._4_4_ = 0;\n    return LVar3;\n  }" { (ERROR "puVar2 = gold::" (assignment_expression "puVar2 = gold" identifier = identifier) : :) (labeled_statement "File_read::get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);" statement_identifier : (ERROR ":" :) (expression_statement "get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);" (call_expression "get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true)" identifier (argument_list "(&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true)" ( (pointer_expression "&this_00->input_file_->file_" & (field_expression "this_00->input_file_->file_" (field_expression "this_00->input_file_" identifier -> field_identifier) -> field_identifier)) , (field_expression "this_00->offset_" identifier -> field_identifier) , identifier , number_literal , true , true ))) ;)) (expression_statement "LVar3.file_offset = (ulong)*(uint *)(puVar2 + 0x10);" (assignment_expression "LVar3.file_offset = (ulong)*(uint *)(puVar2 + 0x10)" (field_expression "LVar3.file_offset" identifier . field_identifier) = (binary_expression "(ulong)*(uint *)(puVar2 + 0x10)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(puVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x10)" ( (binary_expression "puVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "LVar3.data_size._0_4_ = *(undefined4 *)(puVar2 + 0x14);" (assignment_expression "LVar3.data_size._0_4_ = *(undefined4 *)(puVar2 + 0x14)" (field_expression "LVar3.data_size._0_4_" (field_expression "LVar3.data_size" identifier . field_identifier) . field_identifier) = (pointer_expression "*(undefined4 *)(puVar2 + 0x14)" * (cast_expression "(undefined4 *)(puVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x14)" ( (binary_expression "puVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "LVar3.data_size._4_4_ = 0;" (assignment_expression "LVar3.data_size._4_4_ = 0" (field_expression "LVar3.data_size._4_4_" (field_expression "LVar3.data_size" identifier . field_identifier) . field_identifier) = number_literal) ;) (return_statement "return LVar3;" return identifier ;) })) comment (labeled_statement "gold::Object::input_file((Object *)0x0);" statement_identifier : (ERROR ":" :) (labeled_statement "Object::input_file((Object *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "input_file((Object *)0x0);" (call_expression "input_file((Object *)0x0)" identifier (argument_list "((Object *)0x0)" ( (cast_expression "(Object *)0x0" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;))) (ERROR "}" }))
(translation_unit "undefined4 FUN_001c6e00(long *param_1,uint param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar3 = *param_1;\n  FUN_00167570();\n  if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }\n  uVar2 = FUN_00169310(param_1,param_2);\n  if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }\n                    \n  FUN_001bcf60();\n}\n\n" (function_definition "undefined4 FUN_001c6e00(long *param_1,uint param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar3 = *param_1;\n  FUN_00167570();\n  if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }\n  uVar2 = FUN_00169310(param_1,param_2);\n  if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }\n                    \n  FUN_001bcf60();\n}" type_identifier (function_declarator "FUN_001c6e00(long *param_1,uint param_2)" identifier (parameter_list "(long *param_1,uint param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar3 = *param_1;\n  FUN_00167570();\n  if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }\n  uVar2 = FUN_00169310(param_1,param_2);\n  if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }\n                    \n  FUN_001bcf60();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "FUN_00167570();" (call_expression "FUN_00167570()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }" if (parenthesized_expression "(*(uint *)(param_1 + 2) <= param_2)" ( (binary_expression "*(uint *)(param_1 + 2) <= param_2" (pointer_expression "*(uint *)(param_1 + 2)" * (cast_expression "(uint *)(param_1 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }" { (expression_statement "FUN_00167570(param_1);" (call_expression "FUN_00167570(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "lVar1 = param_1[2];" (assignment_expression "lVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "uVar2 = gettext("section_contents: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_contents: bad shndx %u >= %u")" identifier (argument_list "("section_contents: bad shndx %u >= %u")" ( (string_literal ""section_contents: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);" (call_expression "FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1)" identifier (argument_list "(lVar3,uVar2,param_2,(int)lVar1)" ( identifier , identifier , identifier , (cast_expression "(int)lVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (expression_statement "uVar2 = FUN_00169310(param_1,param_2);" (assignment_expression "uVar2 = FUN_00169310(param_1,param_2)" identifier = (call_expression "FUN_00169310(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }" if (parenthesized_expression "(*(long *)(lVar3 + 0x28) != 0)" ( (binary_expression "*(long *)(lVar3 + 0x28) != 0" (pointer_expression "*(long *)(lVar3 + 0x28)" * (cast_expression "(long *)(lVar3 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }" { (expression_statement "lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );" (assignment_expression "lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        )" identifier = (call_expression "FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        )" identifier (argument_list "(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        )" ( (binary_expression "*(long *)(lVar3 + 0x28) + 0x28" (pointer_expression "*(long *)(lVar3 + 0x28)" * (cast_expression "(long *)(lVar3 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined8 *)(lVar3 + 0x30)" * (cast_expression "(undefined8 *)(lVar3 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x30)" ( (binary_expression "lVar3 + 0x30" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (return_statement "return *(undefined4 *)(lVar3 + 0x10);" return (pointer_expression "*(undefined4 *)(lVar3 + 0x10)" * (cast_expression "(undefined4 *)(lVar3 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) ;) })) (expression_statement "FUN_001bcf60();" (call_expression "FUN_001bcf60()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT , LIT , LIT )))) ;) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 FUN_001c6e00(long *param_1,uint param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar3 = *param_1;\n  FUN_00167570();\n  if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }\n  uVar2 = FUN_00169310(param_1,param_2);\n  if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }\n                    \n  FUN_001bcf60();\n}" (type_identifier "undefined4") (function_declarator "FUN_001c6e00(long *param_1,uint param_2)" (identifier "FUN_001c6e00") (parameter_list "(long *param_1,uint param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  long lVar3;\n  \n  lVar3 = *param_1;\n  FUN_00167570();\n  if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }\n  uVar2 = FUN_00169310(param_1,param_2);\n  if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }\n                    \n  FUN_001bcf60();\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" (identifier "lVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "FUN_00167570();" (call_expression "FUN_00167570()" (identifier "FUN_00167570") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(uint *)(param_1 + 2) <= param_2) {\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 2) <= param_2)" (( "(") (binary_expression "*(uint *)(param_1 + 2) <= param_2" (pointer_expression "*(uint *)(param_1 + 2)" (* "*") (cast_expression "(uint *)(param_1 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    FUN_00167570(param_1);\n    lVar1 = param_1[2];\n    uVar2 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);\n  }" ({ "{") (expression_statement "FUN_00167570(param_1);" (call_expression "FUN_00167570(param_1)" (identifier "FUN_00167570") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "lVar1 = param_1[2];" (assignment_expression "lVar1 = param_1[2]" (identifier "lVar1") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar2 = gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "uVar2 = gettext("section_contents: bad shndx %u >= %u")" (identifier "uVar2") (= "=") (call_expression "gettext("section_contents: bad shndx %u >= %u")" (identifier "gettext") (argument_list "("section_contents: bad shndx %u >= %u")" (( "(") (string_literal ""section_contents: bad shndx %u >= %u"" (" """) (string_content "section_contents: bad shndx %u >= %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);" (call_expression "FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1)" (identifier "FUN_001bd150") (argument_list "(lVar3,uVar2,param_2,(int)lVar1)" (( "(") (identifier "lVar3") (, ",") (identifier "uVar2") (, ",") (identifier "param_2") (, ",") (cast_expression "(int)lVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar1")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_00169310(param_1,param_2);" (assignment_expression "uVar2 = FUN_00169310(param_1,param_2)" (identifier "uVar2") (= "=") (call_expression "FUN_00169310(param_1,param_2)" (identifier "FUN_00169310") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (*(long *)(lVar3 + 0x28) != 0) {\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }" (if "if") (parenthesized_expression "(*(long *)(lVar3 + 0x28) != 0)" (( "(") (binary_expression "*(long *)(lVar3 + 0x28) != 0" (pointer_expression "*(long *)(lVar3 + 0x28)" (* "*") (cast_expression "(long *)(lVar3 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x28)" (( "(") (binary_expression "lVar3 + 0x28" (identifier "lVar3") (+ "+") (number_literal "0x28")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar3 + 0x10);\n  }" ({ "{") (expression_statement "lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        );" (assignment_expression "lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        )" (identifier "lVar3") (= "=") (call_expression "FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        )" (identifier "FUN_0017b1d0") (argument_list "(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1\n                        )" (( "(") (binary_expression "*(long *)(lVar3 + 0x28) + 0x28" (pointer_expression "*(long *)(lVar3 + 0x28)" (* "*") (cast_expression "(long *)(lVar3 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x28)" (( "(") (binary_expression "lVar3 + 0x28" (identifier "lVar3") (+ "+") (number_literal "0x28")) () ")")))) (+ "+") (number_literal "0x28")) (, ",") (pointer_expression "*(undefined8 *)(lVar3 + 0x30)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x30)" (( "(") (binary_expression "lVar3 + 0x30" (identifier "lVar3") (+ "+") (number_literal "0x30")) () ")")))) (, ",") (identifier "uVar2") (, ",") (number_literal "0x28") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")")))) (; ";")) (return_statement "return *(undefined4 *)(lVar3 + 0x10);" (return "return") (pointer_expression "*(undefined4 *)(lVar3 + 0x10)" (* "*") (cast_expression "(undefined4 *)(lVar3 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x10)" (( "(") (binary_expression "lVar3 + 0x10" (identifier "lVar3") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_001bcf60();" (call_expression "FUN_001bcf60()" (identifier "FUN_001bcf60") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: Location section_contents(Elf_file<32,_false,_gold::Object> * this,
   uint shndx) */

type_1 __thiscall
elfcpp::Elf_file<32,_false,_gold::type_2>::section_contents
          (Elf_file<32,_false,_gold::type_2> *this,type_7 var_2)

{
  type_7 uVar1;
  type_2 *this_00;
  type_3 start;
  type_4 *var_7;
  char *format;
  type_1 LVar3;
  
  this_00 = this->file_;
  var_1(this);
  if (this->shnum_ <= var_2) {
    var_1(this);
    uVar1 = this->shnum_;
    format = (char *)var_3("section_contents: bad shndx %u >= %u");
    gold::Object::var_4(this_00,format,var_2,(type_5)uVar1);
  }
  start = var_5(this,var_2);
  if (this_00->input_file_ != (type_6 *)0x0) {
    var_7 = gold::File_read::var_6
                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);
    LVar3.file_offset = (type_5)*(type_7 *)(var_7 + 0x10);
    LVar3.data_size._0_4_ = *(type_8 *)(var_7 + 0x14);
    LVar3.data_size._4_4_ = 0;
    return LVar3;
  }
                    /* WARNING: Subroutine does not return */
  gold::Object::var_8((type_2 *)0x0);
}


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

undefined4 MASKED(long *param_1,uint param_2)

{
  long lVar1;
  undefined8 uVar2;
  long lVar3;
  
  lVar3 = *param_1;
  FUN_00167570();
  if (*(uint *)(param_1 + 2) <= param_2) {
    FUN_00167570(param_1);
    lVar1 = param_1[2];
    uVar2 = gettext("section_contents: bad shndx %u >= %u");
    FUN_001bd150(lVar3,uVar2,param_2,(int)lVar1);
  }
  uVar2 = FUN_00169310(param_1,param_2);
  if (*(long *)(lVar3 + 0x28) != 0) {
    lVar3 = FUN_0017b1d0(*(long *)(lVar3 + 0x28) + 0x28,*(undefined8 *)(lVar3 + 0x30),uVar2,0x28,1,1
                        );
    return *(undefined4 *)(lVar3 + 0x10);
  }
                    /* WARNING: Subroutine does not return */
  FUN_001bcf60();
}

