
/* DWARF original prototype: string get_fill_string(Output_section_element * this, string * fill,
   section_size_type length) */

string * __thiscall
gold::Output_section_element::get_fill_string
          (string *__return_storage_ptr__,Output_section_element *this,string *fill,
          section_size_type length)

{
  undefined *puVar1;
  uint uVar2;
  string *this_fill;
  uint uVar3;
  
  puVar1 = PTR_reserve_004c2458;
  __return_storage_ptr__->_M_string_length = 0;
  (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;
                    /* try { // try from 0029363c to 002936b7 has its CatchHandler @ 002936d8 */
  (__return_storage_ptr__->field_2)._M_local_buf[0] = '\0';
  (*(code *)puVar1)(__return_storage_ptr__,length);
  while( true ) {
    uVar2 = __return_storage_ptr__->_M_string_length;
    uVar3 = fill->_M_string_length;
    if (length < uVar2 + uVar3) break;
    (*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p);
  }
  if (length <= uVar2) {
    return __return_storage_ptr__;
  }
  if (length - uVar2 <= uVar3) {
    uVar3 = length - uVar2;
  }
  (*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p,uVar3);
  return __return_storage_ptr__;
}



/* gold::Output_section_element::get_fill_string(std::string const*, unsigned int) const */

string * gold::Output_section_element::get_fill_string(string *param_1,uint param_2)

{
  undefined *puVar1;
  uint uVar2;
  undefined4 *in_a2;
  uint uVar3;
  uint in_a3;
  
  puVar1 = PTR_reserve_004c2458;
  *(undefined4 *)(param_1 + 4) = 0;
  *(string **)param_1 = param_1 + 8;
                    /* try { // try from 0029363c to 002936b7 has its CatchHandler @ 002936d8 */
  param_1[8] = (string)0x0;
  (*(code *)puVar1)(param_1,in_a3);
  while( true ) {
    uVar2 = *(uint *)(param_1 + 4);
    uVar3 = in_a2[1];
    if (in_a3 < uVar2 + uVar3) break;
    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);
  }
  if (in_a3 <= uVar2) {
    return param_1;
  }
  if (in_a3 - uVar2 <= uVar3) {
    uVar3 = in_a3 - uVar2;
  }
  (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);
  return param_1;
}


lui gp,0x23
addiu gp,gp,0x5c4c
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x6de8(gp)
or a1,a3,zero
sw s3,0x28(sp)
addiu s3,a0,0x8
sw gp,0x10(sp)
sw s2,0x24(sp)
or s2,a3,zero
sw s1,0x20(sp)
or s1,a2,zero
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x2c(sp)
sw zero,0x4(a0)
sw s3,0x0(a0)
jalr t9
_sb zero,0x8(a0)
b 0x0029365c
_lw gp,0x10(sp)
lw a1,0x0(s1)
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
lw v1,0x4(s0)
lw a2,0x4(s1)
addu v0,v1,a2
sltu v0,s2,v0
beq v0,zero,0x0029364c
_lw t9,-0x73d8(gp)
sltu v0,v1,s2
bne v0,zero,0x0029369c
_lw ra,0x2c(sp)
or v0,s0,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
subu v1,s2,v1
lw a1,0x0(s1)
lw t9,-0x73d8(gp)
or a0,s0,zero
sltu v0,a2,v1
jalr t9
_movz a2,v1,v0
lw ra,0x2c(sp)
or v0,s0,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "/* gold::Output_section_element::get_fill_string(std::string const*, unsigned int) const */\n\nstring * gold::Output_section_element::get_fill_string(string *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 *in_a2;\n  uint uVar3;\n  uint in_a3;\n  \n  puVar1 = PTR_reserve_004c2458;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(string **)param_1 = param_1 + 8;\n                    /* try { // try from 0029363c to 002936b7 has its CatchHandler @ 002936d8 */\n  param_1[8] = (string)0x0;\n  (*(code *)puVar1)(param_1,in_a3);\n  while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }\n  if (in_a3 <= uVar2) {\n    return param_1;\n  }\n  if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }\n  (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);\n  return param_1;\n}\n\n" comment (ERROR "string * gold::" (binary_expression "string * gold" identifier * identifier) : :) (labeled_statement "Output_section_element::get_fill_string(string *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 *in_a2;\n  uint uVar3;\n  uint in_a3;\n  \n  puVar1 = PTR_reserve_004c2458;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(string **)param_1 = param_1 + 8;\n                    /* try { // try from 0029363c to 002936b7 has its CatchHandler @ 002936d8 */\n  param_1[8] = (string)0x0;\n  (*(code *)puVar1)(param_1,in_a3);\n  while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }\n  if (in_a3 <= uVar2) {\n    return param_1;\n  }\n  if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }\n  (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);\n  return param_1;\n}" statement_identifier : (ERROR ":get_fill_string(string *param_1,uint param_2)" : (call_expression "get_fill_string(string *param_1,uint param_2)" identifier (argument_list "(string *param_1,uint param_2)" ( (binary_expression "string *param_1" identifier * identifier) , (ERROR "uint" identifier) identifier )))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 *in_a2;\n  uint uVar3;\n  uint in_a3;\n  \n  puVar1 = PTR_reserve_004c2458;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(string **)param_1 = param_1 + 8;\n                    /* try { // try from 0029363c to 002936b7 has its CatchHandler @ 002936d8 */\n  param_1[8] = (string)0x0;\n  (*(code *)puVar1)(param_1,in_a3);\n  while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }\n  if (in_a3 <= uVar2) {\n    return param_1;\n  }\n  if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }\n  (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);\n  return param_1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *in_a2;" type_identifier (pointer_declarator "*in_a2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_reserve_004c2458;" (assignment_expression "puVar1 = PTR_reserve_004c2458" identifier = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(string **)param_1 = param_1 + 8;" (assignment_expression "*(string **)param_1 = param_1 + 8" (pointer_expression "*(string **)param_1" * (cast_expression "(string **)param_1" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "param_1 + 8" identifier + number_literal)) ;) comment (expression_statement "param_1[8] = (string)0x0;" (assignment_expression "param_1[8] = (string)0x0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (cast_expression "(string)0x0" ( (type_descriptor "string" type_identifier) ) number_literal)) ;) (expression_statement "(*(code *)puVar1)(param_1,in_a3);" (call_expression "(*(code *)puVar1)(param_1,in_a3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,in_a3)" ( identifier , identifier ))) ;) (while_statement "while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }" { (expression_statement "uVar2 = *(uint *)(param_1 + 4);" (assignment_expression "uVar2 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = in_a2[1];" (assignment_expression "uVar3 = in_a2[1]" identifier = (subscript_expression "in_a2[1]" identifier [ number_literal ])) ;) (if_statement "if (in_a3 < uVar2 + uVar3) break;" if (parenthesized_expression "(in_a3 < uVar2 + uVar3)" ( (binary_expression "in_a3 < uVar2 + uVar3" identifier < (binary_expression "uVar2 + uVar3" identifier + identifier)) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);" (call_expression "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,*in_a2)" ( identifier , (pointer_expression "*in_a2" * identifier) ))) ;) })) (if_statement "if (in_a3 <= uVar2) {\n    return param_1;\n  }" if (parenthesized_expression "(in_a3 <= uVar2)" ( (binary_expression "in_a3 <= uVar2" identifier <= identifier) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }" if (parenthesized_expression "(in_a3 - uVar2 <= uVar3)" ( (binary_expression "in_a3 - uVar2 <= uVar3" (binary_expression "in_a3 - uVar2" identifier - identifier) <= identifier) )) (compound_statement "{\n    uVar3 = in_a3 - uVar2;\n  }" { (expression_statement "uVar3 = in_a3 - uVar2;" (assignment_expression "uVar3 = in_a3 - uVar2" identifier = (binary_expression "in_a3 - uVar2" identifier - identifier)) ;) })) (expression_statement "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);" (call_expression "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,*in_a2,uVar3)" ( identifier , (pointer_expression "*in_a2" * identifier) , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: string get_fill_string(Output_section_element * this, string * fill,\n   section_size_type length) */\n\nstring * __thiscall\ngold::Output_section_element::get_fill_string\n          (string *__return_storage_ptr__,Output_section_element *this,string *fill,\n          section_size_type length)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  string *this_fill;\n  uint uVar3;\n  \n  puVar1 = PTR_reserve_004c2458;\n  __return_storage_ptr__->_M_string_length = 0;\n  (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n                    /* try { // try from 0029363c to 002936b7 has its CatchHandler @ 002936d8 */\n  (__return_storage_ptr__->field_2)._M_local_buf[0] = '\0';\n  (*(code *)puVar1)(__return_storage_ptr__,length);\n  while( true ) {\n    uVar2 = __return_storage_ptr__->_M_string_length;\n    uVar3 = fill->_M_string_length;\n    if (length < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p);\n  }\n  if (length <= uVar2) {\n    return __return_storage_ptr__;\n  }\n  if (length - uVar2 <= uVar3) {\n    uVar3 = length - uVar2;\n  }\n  (*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p,uVar3);\n  return __return_storage_ptr__;\n}\n\n" comment (ERROR "string * __thiscall\ngold::Output_section_element::get_fill_string\n          (string *__return_storage_ptr__,Output_section_element *this,string *fill,\n          section_size_type length)" (binary_expression "string * __thiscall\ngold::Output_section_element::get_fill_string\n          (string *__return_storage_ptr__,Output_section_element *this,string *fill,\n          section_size_type length)" identifier * (call_expression "__thiscall\ngold::Output_section_element::get_fill_string\n          (string *__return_storage_ptr__,Output_section_element *this,string *fill,\n          section_size_type length)" identifier (ERROR "gold::Output_section_element::get_fill_string" identifier : : identifier : : identifier) (argument_list "(string *__return_storage_ptr__,Output_section_element *this,string *fill,\n          section_size_type length)" ( (binary_expression "string *__return_storage_ptr__" identifier * identifier) , (binary_expression "Output_section_element *this" identifier * identifier) , (binary_expression "string *fill" identifier * identifier) , identifier (ERROR "length" identifier) ))))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  string *this_fill;\n  uint uVar3;\n  \n  puVar1 = PTR_reserve_004c2458;\n  __return_storage_ptr__->_M_string_length = 0;\n  (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n                    /* try { // try from 0029363c to 002936b7 has its CatchHandler @ 002936d8 */\n  (__return_storage_ptr__->field_2)._M_local_buf[0] = '\0';\n  (*(code *)puVar1)(__return_storage_ptr__,length);\n  while( true ) {\n    uVar2 = __return_storage_ptr__->_M_string_length;\n    uVar3 = fill->_M_string_length;\n    if (length < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p);\n  }\n  if (length <= uVar2) {\n    return __return_storage_ptr__;\n  }\n  if (length - uVar2 <= uVar3) {\n    uVar3 = length - uVar2;\n  }\n  (*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p,uVar3);\n  return __return_storage_ptr__;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "string *this_fill;" type_identifier (pointer_declarator "*this_fill" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_reserve_004c2458;" (assignment_expression "puVar1 = PTR_reserve_004c2458" identifier = identifier) ;) (expression_statement "__return_storage_ptr__->_M_string_length = 0;" (assignment_expression "__return_storage_ptr__->_M_string_length = 0" (field_expression "__return_storage_ptr__->_M_string_length" identifier -> field_identifier) = number_literal) ;) (expression_statement "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;" (assignment_expression "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2" (field_expression "(__return_storage_ptr__->_M_dataplus)._M_p" (parenthesized_expression "(__return_storage_ptr__->_M_dataplus)" ( (field_expression "__return_storage_ptr__->_M_dataplus" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(pointer)&__return_storage_ptr__->field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier))) ;) comment (expression_statement "(__return_storage_ptr__->field_2)._M_local_buf[0] = '\0';" (assignment_expression "(__return_storage_ptr__->field_2)._M_local_buf[0] = '\0'" (subscript_expression "(__return_storage_ptr__->field_2)._M_local_buf[0]" (field_expression "(__return_storage_ptr__->field_2)._M_local_buf" (parenthesized_expression "(__return_storage_ptr__->field_2)" ( (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(*(code *)puVar1)(__return_storage_ptr__,length);" (call_expression "(*(code *)puVar1)(__return_storage_ptr__,length)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(__return_storage_ptr__,length)" ( identifier , identifier ))) ;) (while_statement "while( true ) {\n    uVar2 = __return_storage_ptr__->_M_string_length;\n    uVar3 = fill->_M_string_length;\n    if (length < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar2 = __return_storage_ptr__->_M_string_length;\n    uVar3 = fill->_M_string_length;\n    if (length < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p);\n  }" { (expression_statement "uVar2 = __return_storage_ptr__->_M_string_length;" (assignment_expression "uVar2 = __return_storage_ptr__->_M_string_length" identifier = (field_expression "__return_storage_ptr__->_M_string_length" identifier -> field_identifier)) ;) (expression_statement "uVar3 = fill->_M_string_length;" (assignment_expression "uVar3 = fill->_M_string_length" identifier = (field_expression "fill->_M_string_length" identifier -> field_identifier)) ;) (if_statement "if (length < uVar2 + uVar3) break;" if (parenthesized_expression "(length < uVar2 + uVar3)" ( (binary_expression "length < uVar2 + uVar3" identifier < (binary_expression "uVar2 + uVar3" identifier + identifier)) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p);" (call_expression "(*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(__return_storage_ptr__,(fill->_M_dataplus)._M_p)" ( identifier , (field_expression "(fill->_M_dataplus)._M_p" (parenthesized_expression "(fill->_M_dataplus)" ( (field_expression "fill->_M_dataplus" identifier -> field_identifier) )) . field_identifier) ))) ;) })) (if_statement "if (length <= uVar2) {\n    return __return_storage_ptr__;\n  }" if (parenthesized_expression "(length <= uVar2)" ( (binary_expression "length <= uVar2" identifier <= identifier) )) (compound_statement "{\n    return __return_storage_ptr__;\n  }" { (return_statement "return __return_storage_ptr__;" return identifier ;) })) (if_statement "if (length - uVar2 <= uVar3) {\n    uVar3 = length - uVar2;\n  }" if (parenthesized_expression "(length - uVar2 <= uVar3)" ( (binary_expression "length - uVar2 <= uVar3" (binary_expression "length - uVar2" identifier - identifier) <= identifier) )) (compound_statement "{\n    uVar3 = length - uVar2;\n  }" { (expression_statement "uVar3 = length - uVar2;" (assignment_expression "uVar3 = length - uVar2" identifier = (binary_expression "length - uVar2" identifier - identifier)) ;) })) (expression_statement "(*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p,uVar3);" (call_expression "(*(code *)PTR__M_append_004c1e68)(__return_storage_ptr__,(fill->_M_dataplus)._M_p,uVar3)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(__return_storage_ptr__,(fill->_M_dataplus)._M_p,uVar3)" ( identifier , (field_expression "(fill->_M_dataplus)._M_p" (parenthesized_expression "(fill->_M_dataplus)" ( (field_expression "fill->_M_dataplus" identifier -> field_identifier) )) . field_identifier) , identifier ))) ;) (return_statement "return __return_storage_ptr__;" return identifier ;) }))
(translation_unit "string * gold::Output_section_element::get_fill_string(string *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 *in_a2;\n  uint uVar3;\n  uint in_a3;\n  \n  puVar1 = PTR_reserve_004c2458;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(string **)param_1 = param_1 + 8;\n                    \n  param_1[8] = (string)0x0;\n  (*(code *)puVar1)(param_1,in_a3);\n  while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }\n  if (in_a3 <= uVar2) {\n    return param_1;\n  }\n  if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }\n  (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);\n  return param_1;\n}\n\n" (ERROR "string * gold::" (binary_expression "string * gold" identifier * identifier) : :) (labeled_statement "Output_section_element::get_fill_string(string *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 *in_a2;\n  uint uVar3;\n  uint in_a3;\n  \n  puVar1 = PTR_reserve_004c2458;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(string **)param_1 = param_1 + 8;\n                    \n  param_1[8] = (string)0x0;\n  (*(code *)puVar1)(param_1,in_a3);\n  while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }\n  if (in_a3 <= uVar2) {\n    return param_1;\n  }\n  if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }\n  (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);\n  return param_1;\n}" statement_identifier : (ERROR ":get_fill_string(string *param_1,uint param_2)" : (call_expression "get_fill_string(string *param_1,uint param_2)" identifier (argument_list "(string *param_1,uint param_2)" ( (binary_expression "string *param_1" identifier * identifier) , (ERROR "uint" identifier) identifier )))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 *in_a2;\n  uint uVar3;\n  uint in_a3;\n  \n  puVar1 = PTR_reserve_004c2458;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(string **)param_1 = param_1 + 8;\n                    \n  param_1[8] = (string)0x0;\n  (*(code *)puVar1)(param_1,in_a3);\n  while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }\n  if (in_a3 <= uVar2) {\n    return param_1;\n  }\n  if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }\n  (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);\n  return param_1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *in_a2;" type_identifier (pointer_declarator "*in_a2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_reserve_004c2458;" (assignment_expression "puVar1 = PTR_reserve_004c2458" identifier = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(string **)param_1 = param_1 + 8;" (assignment_expression "*(string **)param_1 = param_1 + 8" (pointer_expression "*(string **)param_1" * (cast_expression "(string **)param_1" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "param_1 + 8" identifier + number_literal)) ;) (expression_statement "param_1[8] = (string)0x0;" (assignment_expression "param_1[8] = (string)0x0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (cast_expression "(string)0x0" ( (type_descriptor "string" type_identifier) ) number_literal)) ;) (expression_statement "(*(code *)puVar1)(param_1,in_a3);" (call_expression "(*(code *)puVar1)(param_1,in_a3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,in_a3)" ( identifier , identifier ))) ;) (while_statement "while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }" { (expression_statement "uVar2 = *(uint *)(param_1 + 4);" (assignment_expression "uVar2 = *(uint *)(param_1 + 4)" identifier = (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = in_a2[1];" (assignment_expression "uVar3 = in_a2[1]" identifier = (subscript_expression "in_a2[1]" identifier [ number_literal ])) ;) (if_statement "if (in_a3 < uVar2 + uVar3) break;" if (parenthesized_expression "(in_a3 < uVar2 + uVar3)" ( (binary_expression "in_a3 < uVar2 + uVar3" identifier < (binary_expression "uVar2 + uVar3" identifier + identifier)) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);" (call_expression "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,*in_a2)" ( identifier , (pointer_expression "*in_a2" * identifier) ))) ;) })) (if_statement "if (in_a3 <= uVar2) {\n    return param_1;\n  }" if (parenthesized_expression "(in_a3 <= uVar2)" ( (binary_expression "in_a3 <= uVar2" identifier <= identifier) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) })) (if_statement "if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }" if (parenthesized_expression "(in_a3 - uVar2 <= uVar3)" ( (binary_expression "in_a3 - uVar2 <= uVar3" (binary_expression "in_a3 - uVar2" identifier - identifier) <= identifier) )) (compound_statement "{\n    uVar3 = in_a3 - uVar2;\n  }" { (expression_statement "uVar3 = in_a3 - uVar2;" (assignment_expression "uVar3 = in_a3 - uVar2" identifier = (binary_expression "in_a3 - uVar2" identifier - identifier)) ;) })) (expression_statement "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);" (call_expression "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" ( (pointer_expression "*(code *)PTR__M_append_004c1e68" * (cast_expression "(code *)PTR__M_append_004c1e68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,*in_a2,uVar3)" ( identifier , (pointer_expression "*in_a2" * identifier) , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (ERROR (binary_expression IDENT * IDENT) : :) (labeled_statement statement_identifier : (ERROR : (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) , (ERROR IDENT) IDENT )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (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 = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + IDENT)) )) (break_statement break ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * IDENT) , IDENT ))) ;) (return_statement return IDENT ;) })))
(ERROR "string * gold::" (binary_expression "string * gold" (identifier "string") (* "*") (identifier "gold")) (: ":") (: ":")) (labeled_statement "Output_section_element::get_fill_string(string *param_1,uint param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 *in_a2;\n  uint uVar3;\n  uint in_a3;\n  \n  puVar1 = PTR_reserve_004c2458;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(string **)param_1 = param_1 + 8;\n                    \n  param_1[8] = (string)0x0;\n  (*(code *)puVar1)(param_1,in_a3);\n  while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }\n  if (in_a3 <= uVar2) {\n    return param_1;\n  }\n  if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }\n  (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);\n  return param_1;\n}" (statement_identifier "Output_section_element") (: ":") (ERROR ":get_fill_string(string *param_1,uint param_2)" (: ":") (call_expression "get_fill_string(string *param_1,uint param_2)" (identifier "get_fill_string") (argument_list "(string *param_1,uint param_2)" (( "(") (binary_expression "string *param_1" (identifier "string") (* "*") (identifier "param_1")) (, ",") (ERROR "uint" (identifier "uint")) (identifier "param_2") () ")")))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 *in_a2;\n  uint uVar3;\n  uint in_a3;\n  \n  puVar1 = PTR_reserve_004c2458;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(string **)param_1 = param_1 + 8;\n                    \n  param_1[8] = (string)0x0;\n  (*(code *)puVar1)(param_1,in_a3);\n  while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }\n  if (in_a3 <= uVar2) {\n    return param_1;\n  }\n  if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }\n  (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);\n  return param_1;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 *in_a2;" (type_identifier "undefined4") (pointer_declarator "*in_a2" (* "*") (identifier "in_a2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint in_a3;" (type_identifier "uint") (identifier "in_a3") (; ";")) (expression_statement "puVar1 = PTR_reserve_004c2458;" (assignment_expression "puVar1 = PTR_reserve_004c2458" (identifier "puVar1") (= "=") (identifier "PTR_reserve_004c2458")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(string **)param_1 = param_1 + 8;" (assignment_expression "*(string **)param_1 = param_1 + 8" (pointer_expression "*(string **)param_1" (* "*") (cast_expression "(string **)param_1" (( "(") (type_descriptor "string **" (type_identifier "string") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_1"))) (= "=") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "param_1[8] = (string)0x0;" (assignment_expression "param_1[8] = (string)0x0" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (cast_expression "(string)0x0" (( "(") (type_descriptor "string" (type_identifier "string")) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "(*(code *)puVar1)(param_1,in_a3);" (call_expression "(*(code *)puVar1)(param_1,in_a3)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1,in_a3)" (( "(") (identifier "param_1") (, ",") (identifier "in_a3") () ")"))) (; ";")) (while_statement "while( true ) {\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    uVar2 = *(uint *)(param_1 + 4);\n    uVar3 = in_a2[1];\n    if (in_a3 < uVar2 + uVar3) break;\n    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);\n  }" ({ "{") (expression_statement "uVar2 = *(uint *)(param_1 + 4);" (assignment_expression "uVar2 = *(uint *)(param_1 + 4)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar3 = in_a2[1];" (assignment_expression "uVar3 = in_a2[1]" (identifier "uVar3") (= "=") (subscript_expression "in_a2[1]" (identifier "in_a2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (in_a3 < uVar2 + uVar3) break;" (if "if") (parenthesized_expression "(in_a3 < uVar2 + uVar3)" (( "(") (binary_expression "in_a3 < uVar2 + uVar3" (identifier "in_a3") (< "<") (binary_expression "uVar2 + uVar3" (identifier "uVar2") (+ "+") (identifier "uVar3"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);" (call_expression "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" (( "(") (pointer_expression "*(code *)PTR__M_append_004c1e68" (* "*") (cast_expression "(code *)PTR__M_append_004c1e68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_append_004c1e68"))) () ")")) (argument_list "(param_1,*in_a2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*in_a2" (* "*") (identifier "in_a2")) () ")"))) (; ";")) (} "}"))) (if_statement "if (in_a3 <= uVar2) {\n    return param_1;\n  }" (if "if") (parenthesized_expression "(in_a3 <= uVar2)" (( "(") (binary_expression "in_a3 <= uVar2" (identifier "in_a3") (<= "<=") (identifier "uVar2")) () ")")) (compound_statement "{\n    return param_1;\n  }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (if_statement "if (in_a3 - uVar2 <= uVar3) {\n    uVar3 = in_a3 - uVar2;\n  }" (if "if") (parenthesized_expression "(in_a3 - uVar2 <= uVar3)" (( "(") (binary_expression "in_a3 - uVar2 <= uVar3" (binary_expression "in_a3 - uVar2" (identifier "in_a3") (- "-") (identifier "uVar2")) (<= "<=") (identifier "uVar3")) () ")")) (compound_statement "{\n    uVar3 = in_a3 - uVar2;\n  }" ({ "{") (expression_statement "uVar3 = in_a3 - uVar2;" (assignment_expression "uVar3 = in_a3 - uVar2" (identifier "uVar3") (= "=") (binary_expression "in_a3 - uVar2" (identifier "in_a3") (- "-") (identifier "uVar2"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);" (call_expression "(*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3)" (parenthesized_expression "(*(code *)PTR__M_append_004c1e68)" (( "(") (pointer_expression "*(code *)PTR__M_append_004c1e68" (* "*") (cast_expression "(code *)PTR__M_append_004c1e68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_append_004c1e68"))) () ")")) (argument_list "(param_1,*in_a2,uVar3)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*in_a2" (* "*") (identifier "in_a2")) (, ",") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))
(translation_unit (ERROR (binary_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (ERROR (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (ERROR (identifier)) (identifier)))) (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) consequence: (break_statement)) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier)))) (return_statement (identifier)))))

/* gold::Output_section_element::MASKED(std::string const*, unsigned int) const */

string * gold::Output_section_element::MASKED(string *param_1,uint param_2)

{
  undefined *puVar1;
  uint uVar2;
  undefined4 *in_a2;
  uint uVar3;
  uint in_a3;
  
  puVar1 = PTR_reserve_004c2458;
  *(undefined4 *)(param_1 + 4) = 0;
  *(string **)param_1 = param_1 + 8;
                    /* try { // try from 0029363c to 002936b7 has its CatchHandler @ 002936d8 */
  param_1[8] = (string)0x0;
  (*(code *)puVar1)(param_1,in_a3);
  while( true ) {
    uVar2 = *(uint *)(param_1 + 4);
    uVar3 = in_a2[1];
    if (in_a3 < uVar2 + uVar3) break;
    (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2);
  }
  if (in_a3 <= uVar2) {
    return param_1;
  }
  if (in_a3 - uVar2 <= uVar3) {
    uVar3 = in_a3 - uVar2;
  }
  (*(code *)PTR__M_append_004c1e68)(param_1,*in_a2,uVar3);
  return param_1;
}

