
string * gold::demangle(string *__return_storage_ptr__,char *name)

{
  int iVar1;
  int iVar2;
  string *__return_storage_ptr___00;
  undefined4 *puVar3;
  char *pcVar4;
  string retval;
  
  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {
    puVar3 = (undefined4 *)&DAT_0000005c;
    __return_storage_ptr___00 = (string *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);
    (*(code *)PTR_do_gold_unreachable_004c1a30)
              (__return_storage_ptr___00,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);
    demangle(__return_storage_ptr___00,(char *)*puVar3);
    return __return_storage_ptr___00;
  }
  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {
    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(name,3);
    if (iVar1 != 0) {
      retval._M_dataplus._M_p = (pointer)&retval.field_2;
      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);
      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&retval,iVar1,iVar1 + iVar2,0);
      (*(code *)PTR_free_004c5c18)(iVar1);
      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;
      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
           *)retval._M_dataplus._M_p == &retval.field_2) {
        (__return_storage_ptr__->field_2)._M_allocated_capacity =
             retval.field_2._M_allocated_capacity;
        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;
        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;
        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;
        __return_storage_ptr__->_M_string_length = retval._M_string_length;
      }
      else {
        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;
        (__return_storage_ptr__->field_2)._M_allocated_capacity =
             retval.field_2._M_allocated_capacity;
        __return_storage_ptr__->_M_string_length = retval._M_string_length;
      }
      return __return_storage_ptr__;
    }
  }
  (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;
  if (name == (char *)0x0) {
    pcVar4 = (char *)0xffffffff;
  }
  else {
    iVar1 = (*(code *)PTR_strlen_004c5b9c)(name);
    pcVar4 = name + iVar1;
  }
  (*(code *)PTR__M_construct<char_const*>_004c1b68)(__return_storage_ptr__,name,pcVar4,0);
  return __return_storage_ptr__;
}



int * FUN_002b7244(int *param_1,int param_2)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  int *local_30;
  int local_2c;
  int local_28;
  int local_24;
  int local_20;
  int local_1c;
  
  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {
    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);
    (*(code *)PTR_do_gold_unreachable_004c1a30)
              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);
    FUN_002b7244();
    return piVar3;
  }
  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {
    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);
    if (iVar1 != 0) {
      local_30 = &local_28;
      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);
      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);
      (*(code *)PTR_free_004c5c18)(iVar1);
      *param_1 = (int)(param_1 + 2);
      if (local_30 == &local_28) {
        param_1[2] = local_28;
        param_1[3] = local_24;
        param_1[4] = local_20;
        param_1[5] = local_1c;
        param_1[1] = local_2c;
      }
      else {
        *param_1 = (int)local_30;
        param_1[2] = local_28;
        param_1[1] = local_2c;
      }
      return param_1;
    }
  }
  *param_1 = (int)(param_1 + 2);
  if (param_2 == 0) {
    iVar1 = -1;
  }
  else {
    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);
    iVar1 = param_2 + iVar1;
  }
  (*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);
  return param_1;
}


lui gp,0x21
addiu gp,gp,0x1ffc
addu gp,gp,t9
lw v0,-0x788c(gp)
addiu sp,sp,-0x48
sw gp,0x10(sp)
lw v0,0x0(v0)
sw ra,0x44(sp)
sw s3,0x40(sp)
sw s2,0x3c(sp)
sw s1,0x38(sp)
sw s0,0x34(sp)
lw v0,0x8(v0)
beq v0,zero,0x002b73c8
_or s0,a0,zero
lbu v0,0x5949(v0)
or s1,a1,zero
beq v0,zero,0x002b7330
_addiu s3,a0,0x8
lw t9,-0x6a34(gp)
li a1,0x3
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
beq v0,zero,0x002b7330
_or s2,v0,zero
lw t9,-0x36a4(gp)
addiu s1,sp,0x20
or a0,v0,zero
jalr t9
_sw s1,0x18(sp)
or a3,zero,zero
lw gp,0x10(sp)
addu a2,s2,v0
sll a3,a3,0x18
addiu a0,sp,0x18
lw t9,-0x76d8(gp)
jalr t9
_or a1,s2,zero
lw gp,0x10(sp)
lw t9,-0x3628(gp)
jalr t9
_or a0,s2,zero
lw v0,0x18(sp)
beq v0,s1,0x002b738c
_sw s3,0x0(s0)
sw v0,0x0(s0)
lw v0,0x20(sp)
sw v0,0x8(s0)
lw v0,0x1c(sp)
sw v0,0x4(s0)
lw ra,0x44(sp)
or v0,s0,zero
lw s3,0x40(sp)
lw s2,0x3c(sp)
lw s1,0x38(sp)
lw s0,0x34(sp)
jr ra
_addiu sp,sp,0x48
beq s1,zero,0x002b7384
_sw s3,0x0(s0)
lw t9,-0x36a4(gp)
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
addu a2,s1,v0
or a3,zero,zero
lw t9,-0x76d8(gp)
or a1,s1,zero
sll a3,a3,0x18
jalr t9
_or a0,s0,zero
or v0,s0,zero
lw ra,0x44(sp)
lw s3,0x40(sp)
lw s2,0x3c(sp)
lw s1,0x38(sp)
lw s0,0x34(sp)
jr ra
_addiu sp,sp,0x48
b 0x002b734c
_li a2,-0x1
lw a1,0x20(sp)
lw a0,0x24(sp)
lw v1,0x28(sp)
lw v0,0x2c(sp)
swl a1,0x8(s0)
swr a1,0xb(s0)
swl a0,0xc(s0)
swr a0,0xf(s0)
swl v1,0x10(s0)
swr v1,0x13(s0)
swl v0,0x14(s0)
swr v0,0x17(s0)
lw v0,0x1c(sp)
b 0x002b7310
_sw v0,0x4(s0)
lw a2,-0x7924(gp)
li a1,0x5c
lw a0,-0x7fc4(gp)
lw t9,-0x7810(gp)
addiu a2,a2,0x30d0
jalr t9
_addiu a0,a0,-0x9b8
(translation_unit "int * FUN_002b7244(int *param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  int local_1c;\n  \n  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }\n  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }\n  *param_1 = (int)(param_1 + 2);\n  if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);\n  return param_1;\n}\n\n" (function_definition "int * FUN_002b7244(int *param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  int local_1c;\n  \n  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }\n  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }\n  *param_1 = (int)(param_1 + 2);\n  if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_002b7244(int *param_1,int param_2)" * (function_declarator "FUN_002b7244(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  int local_1c;\n  \n  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }\n  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }\n  *param_1 = (int)(param_1 + 2);\n  if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (if_statement "if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }" if (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0)" ( (binary_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0" (pointer_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8)" * (cast_expression "(int *)(*(int *)PTR_parameters_004c19b4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 8)" ( (binary_expression "*(int *)PTR_parameters_004c19b4 + 8" (pointer_expression "*(int *)PTR_parameters_004c19b4" * (cast_expression "(int *)PTR_parameters_004c19b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) == number_literal) )) (compound_statement "{\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }" { (expression_statement "piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);" (assignment_expression "piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" identifier = (cast_expression "(int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0)" ( identifier , number_literal , (binary_expression "PTR_s_in_a_linker_script_004c191c + 0x30d0" identifier + number_literal) ))) ;) (expression_statement "FUN_002b7244();" (call_expression "FUN_002b7244()" identifier (argument_list "()" ( ))) ;) (return_statement "return piVar3;" return identifier ;) })) (if_statement "if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }" if (parenthesized_expression "(*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" * (cast_expression "(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" ( (binary_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949" (pointer_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8)" * (cast_expression "(int *)(*(int *)PTR_parameters_004c19b4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 8)" ( (binary_expression "*(int *)PTR_parameters_004c19b4 + 8" (pointer_expression "*(int *)PTR_parameters_004c19b4" * (cast_expression "(int *)PTR_parameters_004c19b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);" (assignment_expression "iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3)" identifier = (call_expression "(*(code *)PTR_cplus_demangle_004c280c)(param_2,3)" (parenthesized_expression "(*(code *)PTR_cplus_demangle_004c280c)" ( (pointer_expression "*(code *)PTR_cplus_demangle_004c280c" * (cast_expression "(code *)PTR_cplus_demangle_004c280c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,3)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }" { (expression_statement "local_30 = &local_28;" (assignment_expression "local_30 = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(iVar1)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" ( (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(&local_30,iVar1,iVar1 + iVar2,0)" ( (pointer_expression "&local_30" & identifier) , identifier , (binary_expression "iVar1 + iVar2" identifier + identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_free_004c5c18)(iVar1);" (call_expression "(*(code *)PTR_free_004c5c18)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_004c5c18)" ( (pointer_expression "*(code *)PTR_free_004c5c18" * (cast_expression "(code *)PTR_free_004c5c18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }" if (parenthesized_expression "(local_30 == &local_28)" ( (binary_expression "local_30 == &local_28" identifier == (pointer_expression "&local_28" & identifier)) )) (compound_statement "{\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }" { (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = local_24;" (assignment_expression "param_1[3] = local_24" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = local_20;" (assignment_expression "param_1[4] = local_20" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = local_1c;" (assignment_expression "param_1[5] = local_1c" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = local_2c;" (assignment_expression "param_1[1] = local_2c" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }" else (compound_statement "{\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }" { (expression_statement "*param_1 = (int)local_30;" (assignment_expression "*param_1 = (int)local_30" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = local_2c;" (assignment_expression "param_1[1] = local_2c" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return param_1;" return identifier ;) })) })) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = -1;\n  }" { (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "iVar1 = param_2 + iVar1;" (assignment_expression "iVar1 = param_2 + iVar1" identifier = (binary_expression "param_2 + iVar1" identifier + identifier)) ;) }))) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" ( (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(param_1,param_2,iVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "string * gold::demangle(string *__return_storage_ptr__,char *name)\n\n{\n  int iVar1;\n  int iVar2;\n  string *__return_storage_ptr___00;\n  undefined4 *puVar3;\n  char *pcVar4;\n  string retval;\n  \n  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    puVar3 = (undefined4 *)&DAT_0000005c;\n    __return_storage_ptr___00 = (string *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (__return_storage_ptr___00,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    demangle(__return_storage_ptr___00,(char *)*puVar3);\n    return __return_storage_ptr___00;\n  }\n  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(name,3);\n    if (iVar1 != 0) {\n      retval._M_dataplus._M_p = (pointer)&retval.field_2;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&retval,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)retval._M_dataplus._M_p == &retval.field_2) {\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      else {\n        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      return __return_storage_ptr__;\n    }\n  }\n  (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n  if (name == (char *)0x0) {\n    pcVar4 = (char *)0xffffffff;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(name);\n    pcVar4 = name + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(__return_storage_ptr__,name,pcVar4,0);\n  return __return_storage_ptr__;\n}\n\n" (ERROR "string * gold::demangle(string *__return_storage_ptr__,char *name)" (binary_expression "string * gold" identifier * identifier) : : (call_expression "demangle(string *__return_storage_ptr__,char *name)" identifier (argument_list "(string *__return_storage_ptr__,char *name)" ( (binary_expression "string *__return_storage_ptr__" identifier * identifier) , (binary_expression "char *name" identifier * identifier) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  string *__return_storage_ptr___00;\n  undefined4 *puVar3;\n  char *pcVar4;\n  string retval;\n  \n  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    puVar3 = (undefined4 *)&DAT_0000005c;\n    __return_storage_ptr___00 = (string *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (__return_storage_ptr___00,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    demangle(__return_storage_ptr___00,(char *)*puVar3);\n    return __return_storage_ptr___00;\n  }\n  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(name,3);\n    if (iVar1 != 0) {\n      retval._M_dataplus._M_p = (pointer)&retval.field_2;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&retval,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)retval._M_dataplus._M_p == &retval.field_2) {\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      else {\n        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      return __return_storage_ptr__;\n    }\n  }\n  (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n  if (name == (char *)0x0) {\n    pcVar4 = (char *)0xffffffff;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(name);\n    pcVar4 = name + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(__return_storage_ptr__,name,pcVar4,0);\n  return __return_storage_ptr__;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "string *__return_storage_ptr___00;" type_identifier (pointer_declarator "*__return_storage_ptr___00" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "string retval;" type_identifier identifier ;) (if_statement "if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    puVar3 = (undefined4 *)&DAT_0000005c;\n    __return_storage_ptr___00 = (string *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (__return_storage_ptr___00,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    demangle(__return_storage_ptr___00,(char *)*puVar3);\n    return __return_storage_ptr___00;\n  }" if (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0)" ( (binary_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0" (pointer_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8)" * (cast_expression "(int *)(*(int *)PTR_parameters_004c19b4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 8)" ( (binary_expression "*(int *)PTR_parameters_004c19b4 + 8" (pointer_expression "*(int *)PTR_parameters_004c19b4" * (cast_expression "(int *)PTR_parameters_004c19b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar3 = (undefined4 *)&DAT_0000005c;\n    __return_storage_ptr___00 = (string *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (__return_storage_ptr___00,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    demangle(__return_storage_ptr___00,(char *)*puVar3);\n    return __return_storage_ptr___00;\n  }" { (expression_statement "puVar3 = (undefined4 *)&DAT_0000005c;" (assignment_expression "puVar3 = (undefined4 *)&DAT_0000005c" identifier = (cast_expression "(undefined4 *)&DAT_0000005c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0000005c" & identifier))) ;) (expression_statement "__return_storage_ptr___00 = (string *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);" (assignment_expression "__return_storage_ptr___00 = (string *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" identifier = (cast_expression "(string *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (__return_storage_ptr___00,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (__return_storage_ptr___00,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(__return_storage_ptr___00,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0)" ( identifier , number_literal , (binary_expression "PTR_s_in_a_linker_script_004c191c + 0x30d0" identifier + number_literal) ))) ;) (expression_statement "demangle(__return_storage_ptr___00,(char *)*puVar3);" (call_expression "demangle(__return_storage_ptr___00,(char *)*puVar3)" identifier (argument_list "(__return_storage_ptr___00,(char *)*puVar3)" ( identifier , (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) ))) ;) (return_statement "return __return_storage_ptr___00;" return identifier ;) })) (if_statement "if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(name,3);\n    if (iVar1 != 0) {\n      retval._M_dataplus._M_p = (pointer)&retval.field_2;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&retval,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)retval._M_dataplus._M_p == &retval.field_2) {\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      else {\n        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      return __return_storage_ptr__;\n    }\n  }" if (parenthesized_expression "(*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" * (cast_expression "(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" ( (binary_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949" (pointer_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8)" * (cast_expression "(int *)(*(int *)PTR_parameters_004c19b4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 8)" ( (binary_expression "*(int *)PTR_parameters_004c19b4 + 8" (pointer_expression "*(int *)PTR_parameters_004c19b4" * (cast_expression "(int *)PTR_parameters_004c19b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(name,3);\n    if (iVar1 != 0) {\n      retval._M_dataplus._M_p = (pointer)&retval.field_2;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&retval,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)retval._M_dataplus._M_p == &retval.field_2) {\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      else {\n        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      return __return_storage_ptr__;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(name,3);" (assignment_expression "iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(name,3)" identifier = (call_expression "(*(code *)PTR_cplus_demangle_004c280c)(name,3)" (parenthesized_expression "(*(code *)PTR_cplus_demangle_004c280c)" ( (pointer_expression "*(code *)PTR_cplus_demangle_004c280c" * (cast_expression "(code *)PTR_cplus_demangle_004c280c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(name,3)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n      retval._M_dataplus._M_p = (pointer)&retval.field_2;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&retval,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)retval._M_dataplus._M_p == &retval.field_2) {\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      else {\n        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      return __return_storage_ptr__;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      retval._M_dataplus._M_p = (pointer)&retval.field_2;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&retval,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;\n      if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)retval._M_dataplus._M_p == &retval.field_2) {\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      else {\n        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      return __return_storage_ptr__;\n    }" { (expression_statement "retval._M_dataplus._M_p = (pointer)&retval.field_2;" (assignment_expression "retval._M_dataplus._M_p = (pointer)&retval.field_2" (field_expression "retval._M_dataplus._M_p" (field_expression "retval._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&retval.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "retval.field_2" identifier . field_identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(iVar1)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(&retval,iVar1,iVar1 + iVar2,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(&retval,iVar1,iVar1 + iVar2,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" ( (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(&retval,iVar1,iVar1 + iVar2,0)" ( (pointer_expression "&retval" & identifier) , identifier , (binary_expression "iVar1 + iVar2" identifier + identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_free_004c5c18)(iVar1);" (call_expression "(*(code *)PTR_free_004c5c18)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_004c5c18)" ( (pointer_expression "*(code *)PTR_free_004c5c18" * (cast_expression "(code *)PTR_free_004c5c18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (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))) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)retval._M_dataplus._M_p == &retval.field_2) {\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }\n      else {\n        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)retval._M_dataplus._M_p == &retval.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n           *)retval._M_dataplus._M_p == &retval.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n           *)retval._M_dataplus._M_p == &retval.field_2" (binary_expression "allocator<char>_>_9\n           *)retval._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n           *)retval._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "retval._M_dataplus._M_p" (field_expression "retval._M_dataplus" identifier . field_identifier) . field_identifier))) == (pointer_expression "&retval.field_2" & (field_expression "retval.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;\n        *(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }" { (expression_statement "(__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;" (assignment_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity" (field_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity" (parenthesized_expression "(__return_storage_ptr__->field_2)" ( (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier) )) . field_identifier) = (field_expression "retval.field_2._M_allocated_capacity" (field_expression "retval.field_2" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;" (assignment_expression "*(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_" (pointer_expression "*(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4)" * (cast_expression "(undefined4 *)((int)&__return_storage_ptr__->field_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__return_storage_ptr__->field_2 + 4)" ( (binary_expression "(int)&__return_storage_ptr__->field_2 + 4" (cast_expression "(int)&__return_storage_ptr__->field_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__return_storage_ptr__->field_2" & (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier))) + number_literal) )))) = (field_expression "retval.field_2._4_4_" (field_expression "retval.field_2" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;" (assignment_expression "*(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_" (pointer_expression "*(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8)" * (cast_expression "(undefined4 *)((int)&__return_storage_ptr__->field_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__return_storage_ptr__->field_2 + 8)" ( (binary_expression "(int)&__return_storage_ptr__->field_2 + 8" (cast_expression "(int)&__return_storage_ptr__->field_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__return_storage_ptr__->field_2" & (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier))) + number_literal) )))) = (field_expression "retval.field_2._8_4_" (field_expression "retval.field_2" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;" (assignment_expression "*(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_" (pointer_expression "*(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc)" * (cast_expression "(undefined4 *)((int)&__return_storage_ptr__->field_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__return_storage_ptr__->field_2 + 0xc)" ( (binary_expression "(int)&__return_storage_ptr__->field_2 + 0xc" (cast_expression "(int)&__return_storage_ptr__->field_2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__return_storage_ptr__->field_2" & (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier))) + number_literal) )))) = (field_expression "retval.field_2._12_4_" (field_expression "retval.field_2" identifier . field_identifier) . field_identifier)) ;) (expression_statement "__return_storage_ptr__->_M_string_length = retval._M_string_length;" (assignment_expression "__return_storage_ptr__->_M_string_length = retval._M_string_length" (field_expression "__return_storage_ptr__->_M_string_length" identifier -> field_identifier) = (field_expression "retval._M_string_length" identifier . field_identifier)) ;) }) (else_clause "else {\n        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }" else (compound_statement "{\n        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;\n        (__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;\n        __return_storage_ptr__->_M_string_length = retval._M_string_length;\n      }" { (expression_statement "(__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;" (assignment_expression "(__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p" (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) = (field_expression "retval._M_dataplus._M_p" (field_expression "retval._M_dataplus" identifier . field_identifier) . field_identifier)) ;) (expression_statement "(__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity;" (assignment_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity =\n             retval.field_2._M_allocated_capacity" (field_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity" (parenthesized_expression "(__return_storage_ptr__->field_2)" ( (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier) )) . field_identifier) = (field_expression "retval.field_2._M_allocated_capacity" (field_expression "retval.field_2" identifier . field_identifier) . field_identifier)) ;) (expression_statement "__return_storage_ptr__->_M_string_length = retval._M_string_length;" (assignment_expression "__return_storage_ptr__->_M_string_length = retval._M_string_length" (field_expression "__return_storage_ptr__->_M_string_length" identifier -> field_identifier) = (field_expression "retval._M_string_length" identifier . field_identifier)) ;) }))) (return_statement "return __return_storage_ptr__;" return identifier ;) })) })) (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))) ;) (if_statement "if (name == (char *)0x0) {\n    pcVar4 = (char *)0xffffffff;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(name);\n    pcVar4 = name + iVar1;\n  }" if (parenthesized_expression "(name == (char *)0x0)" ( (binary_expression "name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar4 = (char *)0xffffffff;\n  }" { (expression_statement "pcVar4 = (char *)0xffffffff;" (assignment_expression "pcVar4 = (char *)0xffffffff" identifier = (cast_expression "(char *)0xffffffff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(name);\n    pcVar4 = name + iVar1;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(name);\n    pcVar4 = name + iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_004c5b9c)(name);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_004c5b9c)(name)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(name)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(name)" ( identifier )))) ;) (expression_statement "pcVar4 = name + iVar1;" (assignment_expression "pcVar4 = name + iVar1" identifier = (binary_expression "name + iVar1" identifier + identifier)) ;) }))) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(__return_storage_ptr__,name,pcVar4,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(__return_storage_ptr__,name,pcVar4,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" ( (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(__return_storage_ptr__,name,pcVar4,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return __return_storage_ptr__;" return identifier ;) }))
(translation_unit "int * FUN_002b7244(int *param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  int local_1c;\n  \n  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }\n  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }\n  *param_1 = (int)(param_1 + 2);\n  if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);\n  return param_1;\n}\n\n" (function_definition "int * FUN_002b7244(int *param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  int local_1c;\n  \n  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }\n  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }\n  *param_1 = (int)(param_1 + 2);\n  if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_002b7244(int *param_1,int param_2)" * (function_declarator "FUN_002b7244(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  int local_1c;\n  \n  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }\n  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }\n  *param_1 = (int)(param_1 + 2);\n  if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (if_statement "if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }" if (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0)" ( (binary_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0" (pointer_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8)" * (cast_expression "(int *)(*(int *)PTR_parameters_004c19b4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 8)" ( (binary_expression "*(int *)PTR_parameters_004c19b4 + 8" (pointer_expression "*(int *)PTR_parameters_004c19b4" * (cast_expression "(int *)PTR_parameters_004c19b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) == number_literal) )) (compound_statement "{\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }" { (expression_statement "piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);" (assignment_expression "piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" identifier = (cast_expression "(int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0)" ( identifier , number_literal , (binary_expression "PTR_s_in_a_linker_script_004c191c + 0x30d0" identifier + number_literal) ))) ;) (expression_statement "FUN_002b7244();" (call_expression "FUN_002b7244()" identifier (argument_list "()" ( ))) ;) (return_statement "return piVar3;" return identifier ;) })) (if_statement "if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }" if (parenthesized_expression "(*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" * (cast_expression "(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" ( (binary_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949" (pointer_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8)" * (cast_expression "(int *)(*(int *)PTR_parameters_004c19b4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 8)" ( (binary_expression "*(int *)PTR_parameters_004c19b4 + 8" (pointer_expression "*(int *)PTR_parameters_004c19b4" * (cast_expression "(int *)PTR_parameters_004c19b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);" (assignment_expression "iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3)" identifier = (call_expression "(*(code *)PTR_cplus_demangle_004c280c)(param_2,3)" (parenthesized_expression "(*(code *)PTR_cplus_demangle_004c280c)" ( (pointer_expression "*(code *)PTR_cplus_demangle_004c280c" * (cast_expression "(code *)PTR_cplus_demangle_004c280c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,3)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }" { (expression_statement "local_30 = &local_28;" (assignment_expression "local_30 = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(iVar1)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" ( (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(&local_30,iVar1,iVar1 + iVar2,0)" ( (pointer_expression "&local_30" & identifier) , identifier , (binary_expression "iVar1 + iVar2" identifier + identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_free_004c5c18)(iVar1);" (call_expression "(*(code *)PTR_free_004c5c18)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_004c5c18)" ( (pointer_expression "*(code *)PTR_free_004c5c18" * (cast_expression "(code *)PTR_free_004c5c18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }" if (parenthesized_expression "(local_30 == &local_28)" ( (binary_expression "local_30 == &local_28" identifier == (pointer_expression "&local_28" & identifier)) )) (compound_statement "{\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }" { (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = local_24;" (assignment_expression "param_1[3] = local_24" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = local_20;" (assignment_expression "param_1[4] = local_20" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = local_1c;" (assignment_expression "param_1[5] = local_1c" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = local_2c;" (assignment_expression "param_1[1] = local_2c" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }" else (compound_statement "{\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }" { (expression_statement "*param_1 = (int)local_30;" (assignment_expression "*param_1 = (int)local_30" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = local_2c;" (assignment_expression "param_1[1] = local_2c" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return param_1;" return identifier ;) })) })) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = -1;\n  }" { (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2)" identifier = (call_expression "(*(code *)PTR_strlen_004c5b9c)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" ( (pointer_expression "*(code *)PTR_strlen_004c5b9c" * (cast_expression "(code *)PTR_strlen_004c5b9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "iVar1 = param_2 + iVar1;" (assignment_expression "iVar1 = param_2 + iVar1" identifier = (binary_expression "param_2 + iVar1" identifier + identifier)) ;) }))) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" ( (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" * (cast_expression "(code *)PTR__M_construct" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) < identifier) (ERROR "*" *) > identifier) )) (argument_list "(param_1,param_2,iVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) < IDENT) (ERROR *) > IDENT) )) (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + IDENT) , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) < IDENT) (ERROR *) > IDENT) )) (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_002b7244(int *param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  int local_1c;\n  \n  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }\n  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }\n  *param_1 = (int)(param_1 + 2);\n  if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_002b7244(int *param_1,int param_2)" (* "*") (function_declarator "FUN_002b7244(int *param_1,int param_2)" (identifier "FUN_002b7244") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int *local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  int local_20;\n  int local_1c;\n  \n  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }\n  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }\n  *param_1 = (int)(param_1 + 2);\n  if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }\n  (*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (if_statement "if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }" (if "if") (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0)" (( "(") (binary_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0" (pointer_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8)" (* "*") (cast_expression "(int *)(*(int *)PTR_parameters_004c19b4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 8)" (( "(") (binary_expression "*(int *)PTR_parameters_004c19b4 + 8" (pointer_expression "*(int *)PTR_parameters_004c19b4" (* "*") (cast_expression "(int *)PTR_parameters_004c19b4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_parameters_004c19b4"))) (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n    (*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);\n    FUN_002b7244();\n    return piVar3;\n  }" ({ "{") (expression_statement "piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);" (assignment_expression "piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" (identifier "piVar3") (= "=") (cast_expression "(int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" (( "(") (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8" (identifier "PTR_s_ral_options14Struct_no_crefE_004c127c") (+ "+") (number_literal "-0x9b8")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" (( "(") (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" (* "*") (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_gold_unreachable_004c1a30"))) () ")")) (argument_list "(piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0)" (( "(") (identifier "piVar3") (, ",") (number_literal "0x5c") (, ",") (binary_expression "PTR_s_in_a_linker_script_004c191c + 0x30d0" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "0x30d0")) () ")"))) (; ";")) (expression_statement "FUN_002b7244();" (call_expression "FUN_002b7244()" (identifier "FUN_002b7244") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return piVar3;" (return "return") (identifier "piVar3") (; ";")) (} "}"))) (if_statement "if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" (* "*") (cast_expression "(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949)" (( "(") (binary_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949" (pointer_expression "*(int *)(*(int *)PTR_parameters_004c19b4 + 8)" (* "*") (cast_expression "(int *)(*(int *)PTR_parameters_004c19b4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 8)" (( "(") (binary_expression "*(int *)PTR_parameters_004c19b4 + 8" (pointer_expression "*(int *)PTR_parameters_004c19b4" (* "*") (cast_expression "(int *)PTR_parameters_004c19b4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_parameters_004c19b4"))) (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x5949")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);\n    if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);" (assignment_expression "iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_cplus_demangle_004c280c)(param_2,3)" (parenthesized_expression "(*(code *)PTR_cplus_demangle_004c280c)" (( "(") (pointer_expression "*(code *)PTR_cplus_demangle_004c280c" (* "*") (cast_expression "(code *)PTR_cplus_demangle_004c280c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_cplus_demangle_004c280c"))) () ")")) (argument_list "(param_2,3)" (( "(") (identifier "param_2") (, ",") (number_literal "3") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      local_30 = &local_28;\n      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);\n      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);\n      (*(code *)PTR_free_004c5c18)(iVar1);\n      *param_1 = (int)(param_1 + 2);\n      if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }\n      return param_1;\n    }" ({ "{") (expression_statement "local_30 = &local_28;" (assignment_expression "local_30 = &local_28" (identifier "local_30") (= "=") (pointer_expression "&local_28" (& "&") (identifier "local_28"))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strlen_004c5b9c)(iVar1)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" (( "(") (pointer_expression "*(code *)PTR_strlen_004c5b9c" (* "*") (cast_expression "(code *)PTR_strlen_004c5b9c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_004c5b9c"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" (( "(") (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" (* "*") (cast_expression "(code *)PTR__M_construct" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_construct"))) (< "<") (identifier "char_const")) (ERROR "*" (* "*")) (> ">") (identifier "_004c1b68")) () ")")) (argument_list "(&local_30,iVar1,iVar1 + iVar2,0)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (identifier "iVar1") (, ",") (binary_expression "iVar1 + iVar2" (identifier "iVar1") (+ "+") (identifier "iVar2")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_004c5c18)(iVar1);" (call_expression "(*(code *)PTR_free_004c5c18)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_004c5c18)" (( "(") (pointer_expression "*(code *)PTR_free_004c5c18" (* "*") (cast_expression "(code *)PTR_free_004c5c18" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_004c5c18"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (local_30 == &local_28) {\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }\n      else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }" (if "if") (parenthesized_expression "(local_30 == &local_28)" (( "(") (binary_expression "local_30 == &local_28" (identifier "local_30") (== "==") (pointer_expression "&local_28" (& "&") (identifier "local_28"))) () ")")) (compound_statement "{\n        param_1[2] = local_28;\n        param_1[3] = local_24;\n        param_1[4] = local_20;\n        param_1[5] = local_1c;\n        param_1[1] = local_2c;\n      }" ({ "{") (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_28")) (; ";")) (expression_statement "param_1[3] = local_24;" (assignment_expression "param_1[3] = local_24" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_24")) (; ";")) (expression_statement "param_1[4] = local_20;" (assignment_expression "param_1[4] = local_20" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "local_20")) (; ";")) (expression_statement "param_1[5] = local_1c;" (assignment_expression "param_1[5] = local_1c" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "local_1c")) (; ";")) (expression_statement "param_1[1] = local_2c;" (assignment_expression "param_1[1] = local_2c" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_2c")) (; ";")) (} "}")) (else_clause "else {\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }" (else "else") (compound_statement "{\n        *param_1 = (int)local_30;\n        param_1[2] = local_28;\n        param_1[1] = local_2c;\n      }" ({ "{") (expression_statement "*param_1 = (int)local_30;" (assignment_expression "*param_1 = (int)local_30" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30"))) (; ";")) (expression_statement "param_1[2] = local_28;" (assignment_expression "param_1[2] = local_28" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_28")) (; ";")) (expression_statement "param_1[1] = local_2c;" (assignment_expression "param_1[1] = local_2c" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_2c")) (; ";")) (} "}")))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}"))) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (param_2 == 0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = -1;\n  }" ({ "{") (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" (identifier "iVar1") (= "=") (number_literal "-1")) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }" (else "else") (compound_statement "{\n    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);\n    iVar1 = param_2 + iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strlen_004c5b9c)(param_2)" (parenthesized_expression "(*(code *)PTR_strlen_004c5b9c)" (( "(") (pointer_expression "*(code *)PTR_strlen_004c5b9c" (* "*") (cast_expression "(code *)PTR_strlen_004c5b9c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_004c5b9c"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "iVar1 = param_2 + iVar1;" (assignment_expression "iVar1 = param_2 + iVar1" (identifier "iVar1") (= "=") (binary_expression "param_2 + iVar1" (identifier "param_2") (+ "+") (identifier "iVar1"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);" (call_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0)" (parenthesized_expression "(*(code *)PTR__M_construct<char_const*>_004c1b68)" (( "(") (binary_expression "*(code *)PTR__M_construct<char_const*>_004c1b68" (binary_expression "*(code *)PTR__M_construct<char_const" (pointer_expression "*(code *)PTR__M_construct" (* "*") (cast_expression "(code *)PTR__M_construct" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__M_construct"))) (< "<") (identifier "char_const")) (ERROR "*" (* "*")) (> ">") (identifier "_004c1b68")) () ")")) (argument_list "(param_1,param_2,iVar1,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "iVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

type_1 * gold::var_3(type_1 *__return_storage_ptr__,var_9 *var_12)

{
  int var_4;
  int var_7;
  type_1 *__return_storage_ptr___00;
  type_2 *puVar3;
  char *pcVar4;
  type_1 retval;
  
  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {
    puVar3 = (type_2 *)&DAT_0000005c;
    __return_storage_ptr___00 = (type_1 *)(var_1 + -0x9b8);
    (*(type_3 *)PTR_do_gold_unreachable_004c1a30)
              (__return_storage_ptr___00,0x5c,var_2 + 0x30d0);
    var_3(__return_storage_ptr___00,(char *)*puVar3);
    return __return_storage_ptr___00;
  }
  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {
    var_4 = (*(type_3 *)PTR_cplus_demangle_004c280c)(var_12,3);
    if (var_4 != 0) {
      retval._M_dataplus._M_p = (pointer)&retval.field_2;
      var_7 = (*(type_3 *)PTR_strlen_004c5b9c)(var_4);
      (*(type_3 *)PTR__M_construct<var_5*>var_6)(&retval,var_4,var_4 + var_7,0);
      (*(type_3 *)PTR_free_004c5c18)(var_4);
      (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;
      if ((anon_union_16_2_edb7204a_for_basic_string<var_9,_std::char_traits<var_9>,_std::var_8<var_9>var_10>var_11
           *)retval._M_dataplus._M_p == &retval.field_2) {
        (__return_storage_ptr__->field_2)._M_allocated_capacity =
             retval.field_2._M_allocated_capacity;
        *(type_2 *)((int)&__return_storage_ptr__->field_2 + 4) = retval.field_2._4_4_;
        *(type_2 *)((int)&__return_storage_ptr__->field_2 + 8) = retval.field_2._8_4_;
        *(type_2 *)((int)&__return_storage_ptr__->field_2 + 0xc) = retval.field_2._12_4_;
        __return_storage_ptr__->_M_string_length = retval._M_string_length;
      }
      else {
        (__return_storage_ptr__->_M_dataplus)._M_p = retval._M_dataplus._M_p;
        (__return_storage_ptr__->field_2)._M_allocated_capacity =
             retval.field_2._M_allocated_capacity;
        __return_storage_ptr__->_M_string_length = retval._M_string_length;
      }
      return __return_storage_ptr__;
    }
  }
  (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)&__return_storage_ptr__->field_2;
  if (var_12 == (char *)0x0) {
    pcVar4 = (char *)0xffffffff;
  }
  else {
    var_4 = (*(type_3 *)PTR_strlen_004c5b9c)(var_12);
    pcVar4 = var_12 + var_4;
  }
  (*(type_3 *)PTR__M_construct<var_5*>var_6)(__return_storage_ptr__,var_12,pcVar4,0);
  return __return_storage_ptr__;
}


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

int * MASKED(int *param_1,int param_2)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  int *local_30;
  int local_2c;
  int local_28;
  int local_24;
  int local_20;
  int local_1c;
  
  if (*(int *)(*(int *)PTR_parameters_004c19b4 + 8) == 0) {
    piVar3 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);
    (*(code *)PTR_do_gold_unreachable_004c1a30)
              (piVar3,0x5c,PTR_s_in_a_linker_script_004c191c + 0x30d0);
    MASKED();
    return piVar3;
  }
  if (*(char *)(*(int *)(*(int *)PTR_parameters_004c19b4 + 8) + 0x5949) != '\0') {
    iVar1 = (*(code *)PTR_cplus_demangle_004c280c)(param_2,3);
    if (iVar1 != 0) {
      local_30 = &local_28;
      iVar2 = (*(code *)PTR_strlen_004c5b9c)(iVar1);
      (*(code *)PTR__M_construct<char_const*>_004c1b68)(&local_30,iVar1,iVar1 + iVar2,0);
      (*(code *)PTR_free_004c5c18)(iVar1);
      *param_1 = (int)(param_1 + 2);
      if (local_30 == &local_28) {
        param_1[2] = local_28;
        param_1[3] = local_24;
        param_1[4] = local_20;
        param_1[5] = local_1c;
        param_1[1] = local_2c;
      }
      else {
        *param_1 = (int)local_30;
        param_1[2] = local_28;
        param_1[1] = local_2c;
      }
      return param_1;
    }
  }
  *param_1 = (int)(param_1 + 2);
  if (param_2 == 0) {
    iVar1 = -1;
  }
  else {
    iVar1 = (*(code *)PTR_strlen_004c5b9c)(param_2);
    iVar1 = param_2 + iVar1;
  }
  (*(code *)PTR__M_construct<char_const*>_004c1b68)(param_1,param_2,iVar1,0);
  return param_1;
}

