
/* DWARF original prototype: void write(Stringpool_template<char> * this, Output_file * of, off_t
   offset) */

ssize_t __thiscall
gold::Stringpool_template<char>::write
          (Stringpool_template<char> *this,int __fd,void *__buf,size_t __n)

{
  size_t size;
  ssize_t extraout_RAX;
  undefined4 in_register_00000034;
  long start;
  
  start = CONCAT44(in_register_00000034,__fd);
  size = this->strtab_size_;
  if (size != 0) {
    if ((-1 < (long)__buf) && (__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10))) {
      write_to_buffer(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size);
      return extraout_RAX;
    }
    Output_file::get_output_view((Output_file *)this,start,size,(Output_file *)__n);
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/stringpool.cc",500,"write");
}



void FUN_0026b520(long param_1,long param_2,long param_3)

{
  if (*(long *)(param_1 + 0x70) != 0) {
    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {
      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));
      return;
    }
    FUN_0026b250();
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/stringpool.cc",500,"write");
}


SUB RSP,0x8
MOV RAX,RDX
MOV RDX,qword ptr [RDI + 0x70]
TEST RDX,RDX
JZ 0x0026b554
TEST RAX,RAX
JS 0x0026b54f
LEA RCX,[RDX + RAX*0x1]
CMP RCX,qword ptr [RSI + 0x10]
JG 0x0026b54f
ADD RAX,qword ptr [RSI + 0x18]
ADD RSP,0x8
MOV RSI,RAX
JMP 0x0026b440
CALL 0x0026b250
LEA RDX,[0x3866d0]
MOV ESI,0x1f4
LEA RDI,[0x3864ba]
CALL 0x0017c650
(translation_unit "void FUN_0026b520(long param_1,long param_2,long param_3)\n\n{\n  if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/stringpool.cc",500,"write");\n}\n\n" (function_definition "void FUN_0026b520(long param_1,long param_2,long param_3)\n\n{\n  if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/stringpool.cc",500,"write");\n}" primitive_type (function_declarator "FUN_0026b520(long param_1,long param_2,long param_3)" identifier (parameter_list "(long param_1,long param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/stringpool.cc",500,"write");\n}" { (if_statement "if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x70) != 0)" ( (binary_expression "*(long *)(param_1 + 0x70) != 0" (pointer_expression "*(long *)(param_1 + 0x70)" * (cast_expression "(long *)(param_1 + 0x70)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }" { (if_statement "if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }" if (parenthesized_expression "((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10)))" ( (binary_expression "(-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))" (parenthesized_expression "(-1 < param_3)" ( (binary_expression "-1 < param_3" number_literal < identifier) )) && (parenthesized_expression "(*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))" ( (binary_expression "*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10)" (binary_expression "*(long *)(param_1 + 0x70) + param_3" (pointer_expression "*(long *)(param_1 + 0x70)" * (cast_expression "(long *)(param_1 + 0x70)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) + identifier) <= (pointer_expression "*(long *)(param_2 + 0x10)" * (cast_expression "(long *)(param_2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ))) )) (compound_statement "{\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }" { (expression_statement "FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));" (call_expression "FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18))" identifier (argument_list "(param_1,param_3 + *(long *)(param_2 + 0x18))" ( identifier , (binary_expression "param_3 + *(long *)(param_2 + 0x18)" identifier + (pointer_expression "*(long *)(param_2 + 0x18)" * (cast_expression "(long *)(param_2 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0026b250();" (call_expression "FUN_0026b250()" identifier (argument_list "()" ( ))) ;) })) comment (expression_statement "FUN_0017c650("../../gold/stringpool.cc",500,"write");" (call_expression "FUN_0017c650("../../gold/stringpool.cc",500,"write")" identifier (argument_list "("../../gold/stringpool.cc",500,"write")" ( (string_literal ""../../gold/stringpool.cc"" " string_content ") , number_literal , (string_literal ""write"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: void write(Stringpool_template<char> * this, Output_file * of, off_t\n   offset) */\n\nssize_t __thiscall\ngold::Stringpool_template<char>::write\n          (Stringpool_template<char> *this,int __fd,void *__buf,size_t __n)\n\n{\n  size_t size;\n  ssize_t extraout_RAX;\n  undefined4 in_register_00000034;\n  long start;\n  \n  start = CONCAT44(in_register_00000034,__fd);\n  size = this->strtab_size_;\n  if (size != 0) {\n    if ((-1 < (long)__buf) && (__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10))) {\n      write_to_buffer(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size);\n      return extraout_RAX;\n    }\n    Output_file::get_output_view((Output_file *)this,start,size,(Output_file *)__n);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/stringpool.cc",500,"write");\n}\n\n" comment (function_definition "ssize_t __thiscall\ngold::Stringpool_template<char>::write\n          (Stringpool_template<char> *this,int __fd,void *__buf,size_t __n)\n\n{\n  size_t size;\n  ssize_t extraout_RAX;\n  undefined4 in_register_00000034;\n  long start;\n  \n  start = CONCAT44(in_register_00000034,__fd);\n  size = this->strtab_size_;\n  if (size != 0) {\n    if ((-1 < (long)__buf) && (__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10))) {\n      write_to_buffer(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size);\n      return extraout_RAX;\n    }\n    Output_file::get_output_view((Output_file *)this,start,size,(Output_file *)__n);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/stringpool.cc",500,"write");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Stringpool_template<char>::" identifier : : identifier < primitive_type > : :) (function_declarator "write\n          (Stringpool_template<char> *this,int __fd,void *__buf,size_t __n)" identifier (parameter_list "(Stringpool_template<char> *this,int __fd,void *__buf,size_t __n)" ( (parameter_declaration "Stringpool_template<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __fd" primitive_type identifier) , (parameter_declaration "void *__buf" primitive_type (pointer_declarator "*__buf" * identifier)) , (parameter_declaration "size_t __n" primitive_type identifier) ))) (compound_statement "{\n  size_t size;\n  ssize_t extraout_RAX;\n  undefined4 in_register_00000034;\n  long start;\n  \n  start = CONCAT44(in_register_00000034,__fd);\n  size = this->strtab_size_;\n  if (size != 0) {\n    if ((-1 < (long)__buf) && (__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10))) {\n      write_to_buffer(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size);\n      return extraout_RAX;\n    }\n    Output_file::get_output_view((Output_file *)this,start,size,(Output_file *)__n);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/stringpool.cc",500,"write");\n}" { (declaration "size_t size;" primitive_type identifier ;) (declaration "ssize_t extraout_RAX;" primitive_type identifier ;) (declaration "undefined4 in_register_00000034;" type_identifier identifier ;) (declaration "long start;" (sized_type_specifier "long" long) identifier ;) (expression_statement "start = CONCAT44(in_register_00000034,__fd);" (assignment_expression "start = CONCAT44(in_register_00000034,__fd)" identifier = (call_expression "CONCAT44(in_register_00000034,__fd)" identifier (argument_list "(in_register_00000034,__fd)" ( identifier , identifier )))) ;) (expression_statement "size = this->strtab_size_;" (assignment_expression "size = this->strtab_size_" identifier = (field_expression "this->strtab_size_" identifier -> field_identifier)) ;) (if_statement "if (size != 0) {\n    if ((-1 < (long)__buf) && (__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10))) {\n      write_to_buffer(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size);\n      return extraout_RAX;\n    }\n    Output_file::get_output_view((Output_file *)this,start,size,(Output_file *)__n);\n  }" if (parenthesized_expression "(size != 0)" ( (binary_expression "size != 0" identifier != number_literal) )) (compound_statement "{\n    if ((-1 < (long)__buf) && (__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10))) {\n      write_to_buffer(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size);\n      return extraout_RAX;\n    }\n    Output_file::get_output_view((Output_file *)this,start,size,(Output_file *)__n);\n  }" { (if_statement "if ((-1 < (long)__buf) && (__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10))) {\n      write_to_buffer(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size);\n      return extraout_RAX;\n    }" if (parenthesized_expression "((-1 < (long)__buf) && (__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10)))" ( (binary_expression "(-1 < (long)__buf) && (__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10))" (parenthesized_expression "(-1 < (long)__buf)" ( (binary_expression "-1 < (long)__buf" number_literal < (cast_expression "(long)__buf" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) && (parenthesized_expression "(__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10))" ( (comma_expression "__n = size + (long)__buf, (long)__n <= *(long *)(start + 0x10)" (assignment_expression "__n = size + (long)__buf" identifier = (binary_expression "size + (long)__buf" identifier + (cast_expression "(long)__buf" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) , (binary_expression "(long)__n <= *(long *)(start + 0x10)" (cast_expression "(long)__n" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) <= (pointer_expression "*(long *)(start + 0x10)" * (cast_expression "(long *)(start + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(start + 0x10)" ( (binary_expression "start + 0x10" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      write_to_buffer(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size);\n      return extraout_RAX;\n    }" { (expression_statement "write_to_buffer(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size);" (call_expression "write_to_buffer(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size)" identifier (argument_list "(this,(uchar *)((long)__buf + *(long *)(start + 0x18)),size)" ( identifier , (cast_expression "(uchar *)((long)__buf + *(long *)(start + 0x18))" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__buf + *(long *)(start + 0x18))" ( (binary_expression "(long)__buf + *(long *)(start + 0x18)" (cast_expression "(long)__buf" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(start + 0x18)" * (cast_expression "(long *)(start + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(start + 0x18)" ( (binary_expression "start + 0x18" identifier + number_literal) ))))) ))) , identifier ))) ;) (return_statement "return extraout_RAX;" return identifier ;) })) (labeled_statement "Output_file::get_output_view((Output_file *)this,start,size,(Output_file *)__n);" statement_identifier : (ERROR ":" :) (expression_statement "get_output_view((Output_file *)this,start,size,(Output_file *)__n);" (call_expression "get_output_view((Output_file *)this,start,size,(Output_file *)__n)" identifier (argument_list "((Output_file *)this,start,size,(Output_file *)__n)" ( (cast_expression "(Output_file *)this" ( (type_descriptor "Output_file *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , (cast_expression "(Output_file *)__n" ( (type_descriptor "Output_file *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) })) comment (expression_statement "do_gold_unreachable("../../gold/stringpool.cc",500,"write");" (call_expression "do_gold_unreachable("../../gold/stringpool.cc",500,"write")" identifier (argument_list "("../../gold/stringpool.cc",500,"write")" ( (string_literal ""../../gold/stringpool.cc"" " string_content ") , number_literal , (string_literal ""write"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0026b520(long param_1,long param_2,long param_3)\n\n{\n  if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }\n                    \n  FUN_0017c650("../../gold/stringpool.cc",500,"write");\n}\n\n" (function_definition "void FUN_0026b520(long param_1,long param_2,long param_3)\n\n{\n  if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }\n                    \n  FUN_0017c650("../../gold/stringpool.cc",500,"write");\n}" primitive_type (function_declarator "FUN_0026b520(long param_1,long param_2,long param_3)" identifier (parameter_list "(long param_1,long param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }\n                    \n  FUN_0017c650("../../gold/stringpool.cc",500,"write");\n}" { (if_statement "if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x70) != 0)" ( (binary_expression "*(long *)(param_1 + 0x70) != 0" (pointer_expression "*(long *)(param_1 + 0x70)" * (cast_expression "(long *)(param_1 + 0x70)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }" { (if_statement "if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }" if (parenthesized_expression "((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10)))" ( (binary_expression "(-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))" (parenthesized_expression "(-1 < param_3)" ( (binary_expression "-1 < param_3" number_literal < identifier) )) && (parenthesized_expression "(*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))" ( (binary_expression "*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10)" (binary_expression "*(long *)(param_1 + 0x70) + param_3" (pointer_expression "*(long *)(param_1 + 0x70)" * (cast_expression "(long *)(param_1 + 0x70)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) + identifier) <= (pointer_expression "*(long *)(param_2 + 0x10)" * (cast_expression "(long *)(param_2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ))) )) (compound_statement "{\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }" { (expression_statement "FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));" (call_expression "FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18))" identifier (argument_list "(param_1,param_3 + *(long *)(param_2 + 0x18))" ( identifier , (binary_expression "param_3 + *(long *)(param_2 + 0x18)" identifier + (pointer_expression "*(long *)(param_2 + 0x18)" * (cast_expression "(long *)(param_2 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0026b250();" (call_expression "FUN_0026b250()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_0017c650("../../gold/stringpool.cc",500,"write");" (call_expression "FUN_0017c650("../../gold/stringpool.cc",500,"write")" identifier (argument_list "("../../gold/stringpool.cc",500,"write")" ( (string_literal ""../../gold/stringpool.cc"" " string_content ") , number_literal , (string_literal ""write"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (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 { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) <= (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_0026b520(long param_1,long param_2,long param_3)\n\n{\n  if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }\n                    \n  FUN_0017c650("../../gold/stringpool.cc",500,"write");\n}" (primitive_type "void") (function_declarator "FUN_0026b520(long param_1,long param_2,long param_3)" (identifier "FUN_0026b520") (parameter_list "(long param_1,long param_2,long param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }\n                    \n  FUN_0017c650("../../gold/stringpool.cc",500,"write");\n}" ({ "{") (if_statement "if (*(long *)(param_1 + 0x70) != 0) {\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x70) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x70) != 0" (pointer_expression "*(long *)(param_1 + 0x70)" (* "*") (cast_expression "(long *)(param_1 + 0x70)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }\n    FUN_0026b250();\n  }" ({ "{") (if_statement "if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }" (if "if") (parenthesized_expression "((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10)))" (( "(") (binary_expression "(-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))" (parenthesized_expression "(-1 < param_3)" (( "(") (binary_expression "-1 < param_3" (number_literal "-1") (< "<") (identifier "param_3")) () ")")) (&& "&&") (parenthesized_expression "(*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))" (( "(") (binary_expression "*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10)" (binary_expression "*(long *)(param_1 + 0x70) + param_3" (pointer_expression "*(long *)(param_1 + 0x70)" (* "*") (cast_expression "(long *)(param_1 + 0x70)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")")))) (+ "+") (identifier "param_3")) (<= "<=") (pointer_expression "*(long *)(param_2 + 0x10)" (* "*") (cast_expression "(long *)(param_2 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));\n      return;\n    }" ({ "{") (expression_statement "FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));" (call_expression "FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18))" (identifier "FUN_0026b440") (argument_list "(param_1,param_3 + *(long *)(param_2 + 0x18))" (( "(") (identifier "param_1") (, ",") (binary_expression "param_3 + *(long *)(param_2 + 0x18)" (identifier "param_3") (+ "+") (pointer_expression "*(long *)(param_2 + 0x18)" (* "*") (cast_expression "(long *)(param_2 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0026b250();" (call_expression "FUN_0026b250()" (identifier "FUN_0026b250") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/stringpool.cc",500,"write");" (call_expression "FUN_0017c650("../../gold/stringpool.cc",500,"write")" (identifier "FUN_0017c650") (argument_list "("../../gold/stringpool.cc",500,"write")" (( "(") (string_literal ""../../gold/stringpool.cc"" (" """) (string_content "../../gold/stringpool.cc") (" """)) (, ",") (number_literal "500") (, ",") (string_literal ""write"" (" """) (string_content "write") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: void write(Stringpool_template<char> * this, Output_file * of, off_t
   offset) */

ssize_t __thiscall
gold::type_1<char>::function_1
          (type_1<char> *this,int __fd,void *__buf,size_t __n)

{
  size_t var_2;
  ssize_t extraout_RAX;
  type_2 in_register_00000034;
  long var_3;
  
  var_3 = var_1(in_register_00000034,__fd);
  var_2 = this->strtab_size_;
  if (var_2 != 0) {
    if ((-1 < (long)__buf) && (__n = var_2 + (long)__buf, (long)__n <= *(long *)(var_3 + 0x10))) {
      var_4(this,(type_3 *)((long)__buf + *(long *)(var_3 + 0x18)),var_2);
      return extraout_RAX;
    }
    Output_file::var_5((type_4 *)this,var_3,var_2,(type_4 *)__n);
  }
                    /* WARNING: Subroutine does not return */
  var_6("../../gold/stringpool.cc",500,"write");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (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: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (parenthesized_expression (binary_expression left: (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: (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))))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_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))))))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

void MASKED(long param_1,long param_2,long param_3)

{
  if (*(long *)(param_1 + 0x70) != 0) {
    if ((-1 < param_3) && (*(long *)(param_1 + 0x70) + param_3 <= *(long *)(param_2 + 0x10))) {
      FUN_0026b440(param_1,param_3 + *(long *)(param_2 + 0x18));
      return;
    }
    FUN_0026b250();
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/stringpool.cc",500,"write");
}

