
/* DWARF original prototype: uint64_t do_section_addralign(Sized_relobj_file<32,_false> * this, uint
   shndx) */

uint64_t __thiscall
gold::Sized_relobj_file<32,_false>::do_section_addralign
          (Sized_relobj_file<32,_false> *this,uint shndx)

{
  Elf_file<32,_false,_gold::Object> *this_00;
  uint uVar1;
  Object *this_01;
  off_t start;
  uchar *puVar2;
  char *format;
  
  this_00 = &this->elf_file_;
  this_01 = (this->elf_file_).file_;
  elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(this_00);
  if ((this->elf_file_).shnum_ <= shndx) {
    elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(this_00);
    uVar1 = (this->elf_file_).shnum_;
    format = (char *)gettext("section_addralign: bad shndx %u >= %u");
    Object::error(this_01,format,(ulong)shndx,(ulong)uVar1);
  }
  start = elfcpp::Elf_file<32,_false,_gold::Object>::section_header_offset(this_00,shndx);
  if (this_01->input_file_ != (Input_file *)0x0) {
    puVar2 = File_read::get_view(&this_01->input_file_->file_,this_01->offset_,start,0x28,true,true)
    ;
    return (ulong)*(uint *)(puVar2 + 0x20);
  }
                    /* WARNING: Subroutine does not return */
  Object::input_file((Object *)0x0);
}



undefined4 FUN_001a14c0(long param_1,uint param_2)

{
  undefined4 uVar1;
  long lVar2;
  undefined8 uVar3;
  long lVar4;
  
  lVar4 = param_1 + 0xf8;
  lVar2 = *(long *)(param_1 + 0xf8);
  FUN_0015d360(lVar4);
  if (*(uint *)(param_1 + 0x108) <= param_2) {
    FUN_0015d360(lVar4);
    uVar1 = *(undefined4 *)(param_1 + 0x108);
    uVar3 = gettext("section_addralign: bad shndx %u >= %u");
    FUN_0019a740(lVar2,uVar3,param_2,uVar1);
  }
  uVar3 = FUN_0015e590(lVar4,param_2);
  if (*(long *)(lVar2 + 0x28) != 0) {
    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1
                        );
    return *(undefined4 *)(lVar4 + 0x20);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0019a570();
}


PUSH R13
PUSH R12
MOV R12D,ESI
PUSH RBP
LEA RBP,[RDI + 0xf8]
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
MOV R13,qword ptr [RDI + 0xf8]
MOV RDI,RBP
CALL 0x0015d360
CMP R12D,dword ptr [RBX + 0x108]
JNC 0x001a1538
MOV RDI,RBP
MOV ESI,R12D
CALL 0x0015e590
MOV RDI,qword ptr [R13 + 0x28]
TEST RDI,RDI
JZ 0x001a1566
MOV RSI,qword ptr [R13 + 0x30]
ADD RDI,0x28
MOV ECX,0x28
MOV RDX,RAX
MOV R9D,0x1
MOV R8D,0x1
CALL 0x0016b970
MOV EAX,dword ptr [RAX + 0x20]
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
MOV RDI,RBP
CALL 0x0015d360
MOV EBX,dword ptr [RBX + 0x108]
LEA RDI,[0x3126a8]
CALL 0x0013e320
MOV EDX,R12D
MOV RDI,R13
MOV RSI,RAX
MOV ECX,EBX
XOR EAX,EAX
CALL 0x0019a740
JMP 0x001a14ef
CALL 0x0019a570
(translation_unit "undefined4 FUN_001a14c0(long param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  lVar4 = param_1 + 0xf8;\n  lVar2 = *(long *)(param_1 + 0xf8);\n  FUN_0015d360(lVar4);\n  if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }\n  uVar3 = FUN_0015e590(lVar4,param_2);\n  if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0019a570();\n}\n\n" (function_definition "undefined4 FUN_001a14c0(long param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  lVar4 = param_1 + 0xf8;\n  lVar2 = *(long *)(param_1 + 0xf8);\n  FUN_0015d360(lVar4);\n  if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }\n  uVar3 = FUN_0015e590(lVar4,param_2);\n  if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0019a570();\n}" type_identifier (function_declarator "FUN_001a14c0(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) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  lVar4 = param_1 + 0xf8;\n  lVar2 = *(long *)(param_1 + 0xf8);\n  FUN_0015d360(lVar4);\n  if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }\n  uVar3 = FUN_0015e590(lVar4,param_2);\n  if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0019a570();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar4 = param_1 + 0xf8;" (assignment_expression "lVar4 = param_1 + 0xf8" identifier = (binary_expression "param_1 + 0xf8" identifier + number_literal)) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0xf8);" (assignment_expression "lVar2 = *(long *)(param_1 + 0xf8)" identifier = (pointer_expression "*(long *)(param_1 + 0xf8)" * (cast_expression "(long *)(param_1 + 0xf8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf8)" ( (binary_expression "param_1 + 0xf8" identifier + number_literal) ))))) ;) (expression_statement "FUN_0015d360(lVar4);" (call_expression "FUN_0015d360(lVar4)" identifier (argument_list "(lVar4)" ( identifier ))) ;) (if_statement "if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }" if (parenthesized_expression "(*(uint *)(param_1 + 0x108) <= param_2)" ( (binary_expression "*(uint *)(param_1 + 0x108) <= param_2" (pointer_expression "*(uint *)(param_1 + 0x108)" * (cast_expression "(uint *)(param_1 + 0x108)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }" { (expression_statement "FUN_0015d360(lVar4);" (call_expression "FUN_0015d360(lVar4)" identifier (argument_list "(lVar4)" ( identifier ))) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x108);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x108)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x108)" * (cast_expression "(undefined4 *)(param_1 + 0x108)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = gettext("section_addralign: bad shndx %u >= %u");" (assignment_expression "uVar3 = gettext("section_addralign: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_addralign: bad shndx %u >= %u")" identifier (argument_list "("section_addralign: bad shndx %u >= %u")" ( (string_literal ""section_addralign: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_0019a740(lVar2,uVar3,param_2,uVar1);" (call_expression "FUN_0019a740(lVar2,uVar3,param_2,uVar1)" identifier (argument_list "(lVar2,uVar3,param_2,uVar1)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "uVar3 = FUN_0015e590(lVar4,param_2);" (assignment_expression "uVar3 = FUN_0015e590(lVar4,param_2)" identifier = (call_expression "FUN_0015e590(lVar4,param_2)" identifier (argument_list "(lVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }" if (parenthesized_expression "(*(long *)(lVar2 + 0x28) != 0)" ( (binary_expression "*(long *)(lVar2 + 0x28) != 0" (pointer_expression "*(long *)(lVar2 + 0x28)" * (cast_expression "(long *)(lVar2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }" { (expression_statement "lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );" (assignment_expression "lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        )" identifier = (call_expression "FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        )" identifier (argument_list "(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        )" ( (binary_expression "*(long *)(lVar2 + 0x28) + 0x28" (pointer_expression "*(long *)(lVar2 + 0x28)" * (cast_expression "(long *)(lVar2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined8 *)(lVar2 + 0x30)" * (cast_expression "(undefined8 *)(lVar2 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x30)" ( (binary_expression "lVar2 + 0x30" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (return_statement "return *(undefined4 *)(lVar4 + 0x20);" return (pointer_expression "*(undefined4 *)(lVar4 + 0x20)" * (cast_expression "(undefined4 *)(lVar4 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) ;) })) comment (expression_statement "FUN_0019a570();" (call_expression "FUN_0019a570()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* DWARF original prototype: uint64_t do_section_addralign(Sized_relobj_file<32,_false> * this, uint\n   shndx) */\n\nuint64_t __thiscall\ngold::Sized_relobj_file<32,_false>::do_section_addralign\n          (Sized_relobj_file<32,_false> *this,uint shndx)\n\n{\n  Elf_file<32,_false,_gold::Object> *this_00;\n  uint uVar1;\n  Object *this_01;\n  off_t start;\n  uchar *puVar2;\n  char *format;\n  \n  this_00 = &this->elf_file_;\n  this_01 = (this->elf_file_).file_;\n  elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(this_00);\n  if ((this->elf_file_).shnum_ <= shndx) {\n    elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(this_00);\n    uVar1 = (this->elf_file_).shnum_;\n    format = (char *)gettext("section_addralign: bad shndx %u >= %u");\n    Object::error(this_01,format,(ulong)shndx,(ulong)uVar1);\n  }\n  start = elfcpp::Elf_file<32,_false,_gold::Object>::section_header_offset(this_00,shndx);\n  if (this_01->input_file_ != (Input_file *)0x0) {\n    puVar2 = File_read::get_view(&this_01->input_file_->file_,this_01->offset_,start,0x28,true,true)\n    ;\n    return (ulong)*(uint *)(puVar2 + 0x20);\n  }\n                    /* WARNING: Subroutine does not return */\n  Object::input_file((Object *)0x0);\n}\n\n" comment (declaration "uint64_t __thiscall\ngold::Sized_relobj_file<32,_false>::do_section_addralign\n          (Sized_relobj_file<32,_false> *this,uint shndx)\n\n{\n  Elf_file<32,_false,_gold::Object> *this_00;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::do_section_addralign\n          (Sized_relobj_file<32,_false> *this,uint shndx)\n\n{" identifier > : : (function_declarator "do_section_addralign\n          (Sized_relobj_file<32,_false> *this,uint shndx)" identifier (parameter_list "(Sized_relobj_file<32,_false> *this,uint shndx)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) ))) {) identifier (ERROR "<32" < number_literal) , identifier , (ERROR "_gold::Object>" identifier : : identifier >) (pointer_declarator "*this_00" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "Object *this_01;" type_identifier (pointer_declarator "*this_01" * 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) ;) (expression_statement "this_00 = &this->elf_file_;" (assignment_expression "this_00 = &this->elf_file_" identifier = (pointer_expression "&this->elf_file_" & (field_expression "this->elf_file_" identifier -> field_identifier))) ;) (expression_statement "this_01 = (this->elf_file_).file_;" (assignment_expression "this_01 = (this->elf_file_).file_" identifier = (field_expression "(this->elf_file_).file_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier)) ;) (labeled_statement "elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(this_00);" statement_identifier (ERROR "::Elf_file<32,_false,_gold::Object>:" : : (comma_expression "Elf_file<32,_false,_gold" (binary_expression "Elf_file<32" identifier < number_literal) , (comma_expression "_false,_gold" identifier , identifier)) : : identifier > :) : (expression_statement "initialize_shnum(this_00);" (call_expression "initialize_shnum(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) (if_statement "if ((this->elf_file_).shnum_ <= shndx) {\n    elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(this_00);\n    uVar1 = (this->elf_file_).shnum_;\n    format = (char *)gettext("section_addralign: bad shndx %u >= %u");\n    Object::error(this_01,format,(ulong)shndx,(ulong)uVar1);\n  }" if (parenthesized_expression "((this->elf_file_).shnum_ <= shndx)" ( (binary_expression "(this->elf_file_).shnum_ <= shndx" (field_expression "(this->elf_file_).shnum_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier) <= identifier) )) (compound_statement "{\n    elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(this_00);\n    uVar1 = (this->elf_file_).shnum_;\n    format = (char *)gettext("section_addralign: bad shndx %u >= %u");\n    Object::error(this_01,format,(ulong)shndx,(ulong)uVar1);\n  }" { (labeled_statement "elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(this_00);" statement_identifier (ERROR "::Elf_file<32,_false,_gold::Object>:" : : (comma_expression "Elf_file<32,_false,_gold" (binary_expression "Elf_file<32" identifier < number_literal) , (comma_expression "_false,_gold" identifier , identifier)) : : identifier > :) : (expression_statement "initialize_shnum(this_00);" (call_expression "initialize_shnum(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) (expression_statement "uVar1 = (this->elf_file_).shnum_;" (assignment_expression "uVar1 = (this->elf_file_).shnum_" identifier = (field_expression "(this->elf_file_).shnum_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "format = (char *)gettext("section_addralign: bad shndx %u >= %u");" (assignment_expression "format = (char *)gettext("section_addralign: bad shndx %u >= %u")" identifier = (cast_expression "(char *)gettext("section_addralign: bad shndx %u >= %u")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("section_addralign: bad shndx %u >= %u")" identifier (argument_list "("section_addralign: bad shndx %u >= %u")" ( (string_literal ""section_addralign: bad shndx %u >= %u"" " string_content ") ))))) ;) (labeled_statement "Object::error(this_01,format,(ulong)shndx,(ulong)uVar1);" statement_identifier : (ERROR ":" :) (expression_statement "error(this_01,format,(ulong)shndx,(ulong)uVar1);" (call_expression "error(this_01,format,(ulong)shndx,(ulong)uVar1)" identifier (argument_list "(this_01,format,(ulong)shndx,(ulong)uVar1)" ( identifier , identifier , (cast_expression "(ulong)shndx" ( (type_descriptor "ulong" type_identifier) ) identifier) , (cast_expression "(ulong)uVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;)) })) (ERROR "start = elfcpp::Elf_file<32,_false," (binary_expression "start = elfcpp::Elf_file<32" (assignment_expression "start = elfcpp" identifier = identifier) (ERROR "::Elf_file" : : identifier) < number_literal) , identifier ,) (labeled_statement "_gold::Object>::section_header_offset(this_00,shndx);" statement_identifier (ERROR "::Object>:" : : identifier > :) : (expression_statement "section_header_offset(this_00,shndx);" (call_expression "section_header_offset(this_00,shndx)" identifier (argument_list "(this_00,shndx)" ( identifier , identifier ))) ;)) (if_statement "if (this_01->input_file_ != (Input_file *)0x0) {\n    puVar2 = File_read::get_view(&this_01->input_file_->file_,this_01->offset_,start,0x28,true,true)\n    ;\n    return (ulong)*(uint *)(puVar2 + 0x20);\n  }" if (parenthesized_expression "(this_01->input_file_ != (Input_file *)0x0)" ( (binary_expression "this_01->input_file_ != (Input_file *)0x0" (field_expression "this_01->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 = File_read::get_view(&this_01->input_file_->file_,this_01->offset_,start,0x28,true,true)\n    ;\n    return (ulong)*(uint *)(puVar2 + 0x20);\n  }" { (ERROR "puVar2 = File_read::" (assignment_expression "puVar2 = File_read" identifier = identifier) : :) (expression_statement "get_view(&this_01->input_file_->file_,this_01->offset_,start,0x28,true,true)\n    ;" (call_expression "get_view(&this_01->input_file_->file_,this_01->offset_,start,0x28,true,true)" identifier (argument_list "(&this_01->input_file_->file_,this_01->offset_,start,0x28,true,true)" ( (pointer_expression "&this_01->input_file_->file_" & (field_expression "this_01->input_file_->file_" (field_expression "this_01->input_file_" identifier -> field_identifier) -> field_identifier)) , (field_expression "this_01->offset_" identifier -> field_identifier) , identifier , number_literal , true , true ))) ;) (return_statement "return (ulong)*(uint *)(puVar2 + 0x20);" return (binary_expression "(ulong)*(uint *)(puVar2 + 0x20)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(puVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x20)" ( (binary_expression "puVar2 + 0x20" identifier + number_literal) )))) ;) })) comment (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_001a14c0(long param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  lVar4 = param_1 + 0xf8;\n  lVar2 = *(long *)(param_1 + 0xf8);\n  FUN_0015d360(lVar4);\n  if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }\n  uVar3 = FUN_0015e590(lVar4,param_2);\n  if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }\n                    \n  FUN_0019a570();\n}\n\n" (function_definition "undefined4 FUN_001a14c0(long param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  lVar4 = param_1 + 0xf8;\n  lVar2 = *(long *)(param_1 + 0xf8);\n  FUN_0015d360(lVar4);\n  if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }\n  uVar3 = FUN_0015e590(lVar4,param_2);\n  if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }\n                    \n  FUN_0019a570();\n}" type_identifier (function_declarator "FUN_001a14c0(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) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  lVar4 = param_1 + 0xf8;\n  lVar2 = *(long *)(param_1 + 0xf8);\n  FUN_0015d360(lVar4);\n  if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }\n  uVar3 = FUN_0015e590(lVar4,param_2);\n  if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }\n                    \n  FUN_0019a570();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar4 = param_1 + 0xf8;" (assignment_expression "lVar4 = param_1 + 0xf8" identifier = (binary_expression "param_1 + 0xf8" identifier + number_literal)) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0xf8);" (assignment_expression "lVar2 = *(long *)(param_1 + 0xf8)" identifier = (pointer_expression "*(long *)(param_1 + 0xf8)" * (cast_expression "(long *)(param_1 + 0xf8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf8)" ( (binary_expression "param_1 + 0xf8" identifier + number_literal) ))))) ;) (expression_statement "FUN_0015d360(lVar4);" (call_expression "FUN_0015d360(lVar4)" identifier (argument_list "(lVar4)" ( identifier ))) ;) (if_statement "if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }" if (parenthesized_expression "(*(uint *)(param_1 + 0x108) <= param_2)" ( (binary_expression "*(uint *)(param_1 + 0x108) <= param_2" (pointer_expression "*(uint *)(param_1 + 0x108)" * (cast_expression "(uint *)(param_1 + 0x108)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }" { (expression_statement "FUN_0015d360(lVar4);" (call_expression "FUN_0015d360(lVar4)" identifier (argument_list "(lVar4)" ( identifier ))) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x108);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x108)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x108)" * (cast_expression "(undefined4 *)(param_1 + 0x108)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x108)" ( (binary_expression "param_1 + 0x108" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = gettext("section_addralign: bad shndx %u >= %u");" (assignment_expression "uVar3 = gettext("section_addralign: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_addralign: bad shndx %u >= %u")" identifier (argument_list "("section_addralign: bad shndx %u >= %u")" ( (string_literal ""section_addralign: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_0019a740(lVar2,uVar3,param_2,uVar1);" (call_expression "FUN_0019a740(lVar2,uVar3,param_2,uVar1)" identifier (argument_list "(lVar2,uVar3,param_2,uVar1)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "uVar3 = FUN_0015e590(lVar4,param_2);" (assignment_expression "uVar3 = FUN_0015e590(lVar4,param_2)" identifier = (call_expression "FUN_0015e590(lVar4,param_2)" identifier (argument_list "(lVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }" if (parenthesized_expression "(*(long *)(lVar2 + 0x28) != 0)" ( (binary_expression "*(long *)(lVar2 + 0x28) != 0" (pointer_expression "*(long *)(lVar2 + 0x28)" * (cast_expression "(long *)(lVar2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }" { (expression_statement "lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );" (assignment_expression "lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        )" identifier = (call_expression "FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        )" identifier (argument_list "(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        )" ( (binary_expression "*(long *)(lVar2 + 0x28) + 0x28" (pointer_expression "*(long *)(lVar2 + 0x28)" * (cast_expression "(long *)(lVar2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined8 *)(lVar2 + 0x30)" * (cast_expression "(undefined8 *)(lVar2 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x30)" ( (binary_expression "lVar2 + 0x30" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (return_statement "return *(undefined4 *)(lVar4 + 0x20);" return (pointer_expression "*(undefined4 *)(lVar4 + 0x20)" * (cast_expression "(undefined4 *)(lVar4 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) ;) })) (expression_statement "FUN_0019a570();" (call_expression "FUN_0019a570()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 , 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_001a14c0(long param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  lVar4 = param_1 + 0xf8;\n  lVar2 = *(long *)(param_1 + 0xf8);\n  FUN_0015d360(lVar4);\n  if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }\n  uVar3 = FUN_0015e590(lVar4,param_2);\n  if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }\n                    \n  FUN_0019a570();\n}" (type_identifier "undefined4") (function_declarator "FUN_001a14c0(long param_1,uint param_2)" (identifier "FUN_001a14c0") (parameter_list "(long param_1,uint param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  lVar4 = param_1 + 0xf8;\n  lVar2 = *(long *)(param_1 + 0xf8);\n  FUN_0015d360(lVar4);\n  if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }\n  uVar3 = FUN_0015e590(lVar4,param_2);\n  if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }\n                    \n  FUN_0019a570();\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (expression_statement "lVar4 = param_1 + 0xf8;" (assignment_expression "lVar4 = param_1 + 0xf8" (identifier "lVar4") (= "=") (binary_expression "param_1 + 0xf8" (identifier "param_1") (+ "+") (number_literal "0xf8"))) (; ";")) (expression_statement "lVar2 = *(long *)(param_1 + 0xf8);" (assignment_expression "lVar2 = *(long *)(param_1 + 0xf8)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(param_1 + 0xf8)" (* "*") (cast_expression "(long *)(param_1 + 0xf8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf8)" (( "(") (binary_expression "param_1 + 0xf8" (identifier "param_1") (+ "+") (number_literal "0xf8")) () ")"))))) (; ";")) (expression_statement "FUN_0015d360(lVar4);" (call_expression "FUN_0015d360(lVar4)" (identifier "FUN_0015d360") (argument_list "(lVar4)" (( "(") (identifier "lVar4") () ")"))) (; ";")) (if_statement "if (*(uint *)(param_1 + 0x108) <= param_2) {\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 0x108) <= param_2)" (( "(") (binary_expression "*(uint *)(param_1 + 0x108) <= param_2" (pointer_expression "*(uint *)(param_1 + 0x108)" (* "*") (cast_expression "(uint *)(param_1 + 0x108)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x108)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) () ")")))) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    FUN_0015d360(lVar4);\n    uVar1 = *(undefined4 *)(param_1 + 0x108);\n    uVar3 = gettext("section_addralign: bad shndx %u >= %u");\n    FUN_0019a740(lVar2,uVar3,param_2,uVar1);\n  }" ({ "{") (expression_statement "FUN_0015d360(lVar4);" (call_expression "FUN_0015d360(lVar4)" (identifier "FUN_0015d360") (argument_list "(lVar4)" (( "(") (identifier "lVar4") () ")"))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x108);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x108)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x108)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x108)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x108)" (( "(") (binary_expression "param_1 + 0x108" (identifier "param_1") (+ "+") (number_literal "0x108")) () ")"))))) (; ";")) (expression_statement "uVar3 = gettext("section_addralign: bad shndx %u >= %u");" (assignment_expression "uVar3 = gettext("section_addralign: bad shndx %u >= %u")" (identifier "uVar3") (= "=") (call_expression "gettext("section_addralign: bad shndx %u >= %u")" (identifier "gettext") (argument_list "("section_addralign: bad shndx %u >= %u")" (( "(") (string_literal ""section_addralign: bad shndx %u >= %u"" (" """) (string_content "section_addralign: bad shndx %u >= %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0019a740(lVar2,uVar3,param_2,uVar1);" (call_expression "FUN_0019a740(lVar2,uVar3,param_2,uVar1)" (identifier "FUN_0019a740") (argument_list "(lVar2,uVar3,param_2,uVar1)" (( "(") (identifier "lVar2") (, ",") (identifier "uVar3") (, ",") (identifier "param_2") (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = FUN_0015e590(lVar4,param_2);" (assignment_expression "uVar3 = FUN_0015e590(lVar4,param_2)" (identifier "uVar3") (= "=") (call_expression "FUN_0015e590(lVar4,param_2)" (identifier "FUN_0015e590") (argument_list "(lVar4,param_2)" (( "(") (identifier "lVar4") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (*(long *)(lVar2 + 0x28) != 0) {\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }" (if "if") (parenthesized_expression "(*(long *)(lVar2 + 0x28) != 0)" (( "(") (binary_expression "*(long *)(lVar2 + 0x28) != 0" (pointer_expression "*(long *)(lVar2 + 0x28)" (* "*") (cast_expression "(long *)(lVar2 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x28)" (( "(") (binary_expression "lVar2 + 0x28" (identifier "lVar2") (+ "+") (number_literal "0x28")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );\n    return *(undefined4 *)(lVar4 + 0x20);\n  }" ({ "{") (expression_statement "lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        );" (assignment_expression "lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        )" (identifier "lVar4") (= "=") (call_expression "FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        )" (identifier "FUN_0016b970") (argument_list "(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1\n                        )" (( "(") (binary_expression "*(long *)(lVar2 + 0x28) + 0x28" (pointer_expression "*(long *)(lVar2 + 0x28)" (* "*") (cast_expression "(long *)(lVar2 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x28)" (( "(") (binary_expression "lVar2 + 0x28" (identifier "lVar2") (+ "+") (number_literal "0x28")) () ")")))) (+ "+") (number_literal "0x28")) (, ",") (pointer_expression "*(undefined8 *)(lVar2 + 0x30)" (* "*") (cast_expression "(undefined8 *)(lVar2 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x30)" (( "(") (binary_expression "lVar2 + 0x30" (identifier "lVar2") (+ "+") (number_literal "0x30")) () ")")))) (, ",") (identifier "uVar3") (, ",") (number_literal "0x28") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")")))) (; ";")) (return_statement "return *(undefined4 *)(lVar4 + 0x20);" (return "return") (pointer_expression "*(undefined4 *)(lVar4 + 0x20)" (* "*") (cast_expression "(undefined4 *)(lVar4 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x20)" (( "(") (binary_expression "lVar4 + 0x20" (identifier "lVar4") (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_0019a570();" (call_expression "FUN_0019a570()" (identifier "FUN_0019a570") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: uint64_t do_section_addralign(Sized_relobj_file<32,_false> * this, uint
   shndx) */

uint64_t __thiscall
gold::Sized_relobj_file<32,_false>::do_section_addralign
          (Sized_relobj_file<32,_false> *this,type_1 var_2)

{
  Elf_file<32,_false,_gold::type_2> *this_00;
  type_1 uVar1;
  type_2 *this_01;
  type_3 start;
  type_4 *var_7;
  char *format;
  
  this_00 = &this->elf_file_;
  this_01 = (this->elf_file_).file_;
  elfcpp::Elf_file<32,_false,_gold::type_2>::var_1(this_00);
  if ((this->elf_file_).shnum_ <= var_2) {
    elfcpp::Elf_file<32,_false,_gold::type_2>::var_1(this_00);
    uVar1 = (this->elf_file_).shnum_;
    format = (char *)var_3("section_addralign: bad shndx %u >= %u");
    Object::var_4(this_01,format,(type_5)var_2,(type_5)uVar1);
  }
  start = elfcpp::Elf_file<32,_false,_gold::type_2>::var_5(this_00,var_2);
  if (this_01->input_file_ != (type_6 *)0x0) {
    var_7 = File_read::var_6(&this_01->input_file_->file_,this_01->offset_,start,0x28,true,true)
    ;
    return (type_5)*(type_1 *)(var_7 + 0x20);
  }
                    /* WARNING: Subroutine does not return */
  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: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (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)

{
  undefined4 uVar1;
  long lVar2;
  undefined8 uVar3;
  long lVar4;
  
  lVar4 = param_1 + 0xf8;
  lVar2 = *(long *)(param_1 + 0xf8);
  FUN_0015d360(lVar4);
  if (*(uint *)(param_1 + 0x108) <= param_2) {
    FUN_0015d360(lVar4);
    uVar1 = *(undefined4 *)(param_1 + 0x108);
    uVar3 = gettext("section_addralign: bad shndx %u >= %u");
    FUN_0019a740(lVar2,uVar3,param_2,uVar1);
  }
  uVar3 = FUN_0015e590(lVar4,param_2);
  if (*(long *)(lVar2 + 0x28) != 0) {
    lVar4 = FUN_0016b970(*(long *)(lVar2 + 0x28) + 0x28,*(undefined8 *)(lVar2 + 0x30),uVar3,0x28,1,1
                        );
    return *(undefined4 *)(lVar4 + 0x20);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0019a570();
}

