
/* DWARF original prototype: string do_section_name(Sized_relobj_incr<32,_true> * this, uint shndx)
    */

string * __thiscall
gold::Sized_relobj_incr<32,_true>::do_section_name
          (string *__return_storage_ptr__,Sized_relobj_incr<32,_true> *this,uint shndx)

{
  Output_section *pOVar1;
  char *__s;
  size_t __n;
  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
  *__dest;
  size_type __dnew;
  
  __dest = &__return_storage_ptr__->field_2;
  pOVar1 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.
           super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl
           ._M_start[shndx];
  if (pOVar1 == (Output_section *)0x0) {
    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;
                    /* WARNING: Subroutine does not return */
    std::__throw_logic_error("basic_string::_M_construct null not valid");
  }
  __s = pOVar1->name_;
  (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;
  if (__s == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    std::__throw_logic_error("basic_string::_M_construct null not valid");
  }
  __n = strlen(__s);
  __dnew = __n;
  if (__n < 0x10) {
    if (__n == 1) {
      (__return_storage_ptr__->field_2)._M_local_buf[0] = *__s;
      goto LAB_0018c1dc;
    }
    if (__n == 0) goto LAB_0018c1dc;
  }
  else {
    __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
              *)std::string::_M_create((string *)__return_storage_ptr__,&__dnew,0);
    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;
    (__return_storage_ptr__->field_2)._M_allocated_capacity = __dnew;
  }
  memcpy(__dest,__s,__n);
  __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
            *)(__return_storage_ptr__->_M_dataplus)._M_p;
LAB_0018c1dc:
  __return_storage_ptr__->_M_string_length = __dnew;
  __dest->_M_local_buf[__dnew] = '\0';
  return __return_storage_ptr__;
}



long * FUN_0018c180(long *param_1,long param_2,uint param_3)

{
  long lVar1;
  char *__s;
  size_t __n;
  long *__dest;
  size_t local_30 [2];
  
  __dest = param_1 + 2;
  lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);
  if (lVar1 == 0) {
    *param_1 = (long)__dest;
                    /* WARNING: Subroutine does not return */
    FUN_003194e0("basic_string::_M_construct null not valid");
  }
  __s = *(char **)(lVar1 + 0x28);
  *param_1 = (long)__dest;
  if (__s == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_003194e0("basic_string::_M_construct null not valid");
  }
  __n = strlen(__s);
  local_30[0] = __n;
  if (__n < 0x10) {
    if (__n == 1) {
      *(char *)(param_1 + 2) = *__s;
      goto LAB_0018c1dc;
    }
    if (__n == 0) goto LAB_0018c1dc;
  }
  else {
    __dest = (long *)FUN_002e15a0(param_1,local_30,0);
    *param_1 = (long)__dest;
    param_1[2] = local_30[0];
  }
  memcpy(__dest,__s,__n);
  __dest = (long *)*param_1;
LAB_0018c1dc:
  param_1[1] = local_30[0];
  *(undefined1 *)((long)__dest + local_30[0]) = 0;
  return param_1;
}


PUSH R13
MOV EDX,EDX
PUSH R12
PUSH RBP
LEA RBP,[RDI + 0x10]
PUSH RBX
MOV RBX,RDI
SUB RSP,0x18
MOV RAX,qword ptr [RSI + 0x50]
MOV RAX,qword ptr [RAX + RDX*0x8]
TEST RAX,RAX
JZ 0x0018c240
MOV R13,qword ptr [RAX + 0x28]
MOV qword ptr [RDI],RBP
TEST R13,R13
JZ 0x0018c230
MOV RDI,R13
CALL 0x00147490
MOV R12,RAX
MOV qword ptr [RSP + 0x8],RAX
CMP RAX,0xf
JA 0x0018c1f8
CMP RAX,0x1
JNZ 0x0018c250
MOVZX EDX,byte ptr [R13]
MOV byte ptr [RBX + 0x10],DL
MOV qword ptr [RBX + 0x8],RAX
MOV byte ptr [RBP + RAX*0x1],0x0
ADD RSP,0x18
MOV RAX,RBX
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RSI,[RSP + 0x8]
XOR EDX,EDX
MOV RDI,RBX
CALL 0x002e15a0
MOV RBP,RAX
MOV qword ptr [RBX],RAX
MOV RAX,qword ptr [RSP + 0x8]
MOV qword ptr [RBX + 0x10],RAX
MOV RDI,RBP
MOV RDX,R12
MOV RSI,R13
CALL 0x00147aa0
MOV RAX,qword ptr [RSP + 0x8]
MOV RBP,qword ptr [RBX]
JMP 0x0018c1dc
LEA RDI,[0x36b870]
CALL 0x003194e0
MOV qword ptr [RDI],RBP
LEA RDI,[0x36b870]
CALL 0x003194e0
TEST RAX,RAX
JZ 0x0018c1dc
JMP 0x0018c216
(translation_unit "long * FUN_0018c180(long *param_1,long param_2,uint param_3)\n\n{\n  long lVar1;\n  char *__s;\n  size_t __n;\n  long *__dest;\n  size_t local_30 [2];\n  \n  __dest = param_1 + 2;\n  lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);\n  if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    /* WARNING: Subroutine does not return */\n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __s = *(char **)(lVar1 + 0x28);\n  *param_1 = (long)__dest;\n  if (__s == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __n = strlen(__s);\n  local_30[0] = __n;\n  if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }\n  memcpy(__dest,__s,__n);\n  __dest = (long *)*param_1;\nLAB_0018c1dc:\n  param_1[1] = local_30[0];\n  *(undefined1 *)((long)__dest + local_30[0]) = 0;\n  return param_1;\n}\n\n" (function_definition "long * FUN_0018c180(long *param_1,long param_2,uint param_3)\n\n{\n  long lVar1;\n  char *__s;\n  size_t __n;\n  long *__dest;\n  size_t local_30 [2];\n  \n  __dest = param_1 + 2;\n  lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);\n  if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    /* WARNING: Subroutine does not return */\n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __s = *(char **)(lVar1 + 0x28);\n  *param_1 = (long)__dest;\n  if (__s == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __n = strlen(__s);\n  local_30[0] = __n;\n  if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }\n  memcpy(__dest,__s,__n);\n  __dest = (long *)*param_1;\nLAB_0018c1dc:\n  param_1[1] = local_30[0];\n  *(undefined1 *)((long)__dest + local_30[0]) = 0;\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_0018c180(long *param_1,long param_2,uint param_3)" * (function_declarator "FUN_0018c180(long *param_1,long param_2,uint param_3)" identifier (parameter_list "(long *param_1,long param_2,uint param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_3" type_identifier identifier) )))) (compound_statement "{\n  long lVar1;\n  char *__s;\n  size_t __n;\n  long *__dest;\n  size_t local_30 [2];\n  \n  __dest = param_1 + 2;\n  lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);\n  if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    /* WARNING: Subroutine does not return */\n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __s = *(char **)(lVar1 + 0x28);\n  *param_1 = (long)__dest;\n  if (__s == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __n = strlen(__s);\n  local_30[0] = __n;\n  if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }\n  memcpy(__dest,__s,__n);\n  __dest = (long *)*param_1;\nLAB_0018c1dc:\n  param_1[1] = local_30[0];\n  *(undefined1 *)((long)__dest + local_30[0]) = 0;\n  return param_1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long *__dest;" (sized_type_specifier "long" long) (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t local_30 [2];" primitive_type (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (expression_statement "__dest = param_1 + 2;" (assignment_expression "__dest = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);" (assignment_expression "lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" identifier = (pointer_expression "*(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" * (cast_expression "(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" ( (binary_expression "*(long *)(param_2 + 0x50) + (ulong)param_3 * 8" (pointer_expression "*(long *)(param_2 + 0x50)" * (cast_expression "(long *)(param_2 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) )))) + (binary_expression "(ulong)param_3 * 8" (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) ))))) ;) (if_statement "if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    /* WARNING: Subroutine does not return */\n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = (long)__dest;\n                    /* WARNING: Subroutine does not return */\n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" { (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) comment (expression_statement "FUN_003194e0("basic_string::_M_construct null not valid");" (call_expression "FUN_003194e0("basic_string::_M_construct null not valid")" identifier (argument_list "("basic_string::_M_construct null not valid")" ( (string_literal ""basic_string::_M_construct null not valid"" " string_content ") ))) ;) })) (expression_statement "__s = *(char **)(lVar1 + 0x28);" (assignment_expression "__s = *(char **)(lVar1 + 0x28)" identifier = (pointer_expression "*(char **)(lVar1 + 0x28)" * (cast_expression "(char **)(lVar1 + 0x28)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if (__s == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" if (parenthesized_expression "(__s == (char *)0x0)" ( (binary_expression "__s == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" { comment (expression_statement "FUN_003194e0("basic_string::_M_construct null not valid");" (call_expression "FUN_003194e0("basic_string::_M_construct null not valid")" identifier (argument_list "("basic_string::_M_construct null not valid")" ( (string_literal ""basic_string::_M_construct null not valid"" " string_content ") ))) ;) })) (expression_statement "__n = strlen(__s);" (assignment_expression "__n = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "local_30[0] = __n;" (assignment_expression "local_30[0] = __n" (subscript_expression "local_30[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }" if (parenthesized_expression "(__n < 0x10)" ( (binary_expression "__n < 0x10" identifier < number_literal) )) (compound_statement "{\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }" { (if_statement "if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }" if (parenthesized_expression "(__n == 1)" ( (binary_expression "__n == 1" identifier == number_literal) )) (compound_statement "{\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }" { (expression_statement "*(char *)(param_1 + 2) = *__s;" (assignment_expression "*(char *)(param_1 + 2) = *__s" (pointer_expression "*(char *)(param_1 + 2)" * (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = (pointer_expression "*__s" * identifier)) ;) (goto_statement "goto LAB_0018c1dc;" goto statement_identifier ;) })) (if_statement "if (__n == 0) goto LAB_0018c1dc;" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (goto_statement "goto LAB_0018c1dc;" goto statement_identifier ;)) }) (else_clause "else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }" else (compound_statement "{\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }" { (expression_statement "__dest = (long *)FUN_002e15a0(param_1,local_30,0);" (assignment_expression "__dest = (long *)FUN_002e15a0(param_1,local_30,0)" identifier = (cast_expression "(long *)FUN_002e15a0(param_1,local_30,0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002e15a0(param_1,local_30,0)" identifier (argument_list "(param_1,local_30,0)" ( identifier , identifier , number_literal ))))) ;) (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[2] = local_30[0];" (assignment_expression "param_1[2] = local_30[0]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) }))) (expression_statement "memcpy(__dest,__s,__n);" (call_expression "memcpy(__dest,__s,__n)" identifier (argument_list "(__dest,__s,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = (long *)*param_1;" (assignment_expression "__dest = (long *)*param_1" identifier = (cast_expression "(long *)*param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (labeled_statement "LAB_0018c1dc:\n  param_1[1] = local_30[0];" statement_identifier : (expression_statement "param_1[1] = local_30[0];" (assignment_expression "param_1[1] = local_30[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;)) (expression_statement "*(undefined1 *)((long)__dest + local_30[0]) = 0;" (assignment_expression "*(undefined1 *)((long)__dest + local_30[0]) = 0" (pointer_expression "*(undefined1 *)((long)__dest + local_30[0])" * (cast_expression "(undefined1 *)((long)__dest + local_30[0])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__dest + local_30[0])" ( (binary_expression "(long)__dest + local_30[0]" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (subscript_expression "local_30[0]" identifier [ number_literal ])) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: string do_section_name(Sized_relobj_incr<32,_true> * this, uint shndx)\n    */\n\nstring * __thiscall\ngold::Sized_relobj_incr<32,_true>::do_section_name\n          (string *__return_storage_ptr__,Sized_relobj_incr<32,_true> *this,uint shndx)\n\n{\n  Output_section *pOVar1;\n  char *__s;\n  size_t __n;\n  anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;\n  size_type __dnew;\n  \n  __dest = &__return_storage_ptr__->field_2;\n  pOVar1 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl\n           ._M_start[shndx];\n  if (pOVar1 == (Output_section *)0x0) {\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;\n                    /* WARNING: Subroutine does not return */\n    std::__throw_logic_error("basic_string::_M_construct null not valid");\n  }\n  __s = pOVar1->name_;\n  (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;\n  if (__s == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    std::__throw_logic_error("basic_string::_M_construct null not valid");\n  }\n  __n = strlen(__s);\n  __dnew = __n;\n  if (__n < 0x10) {\n    if (__n == 1) {\n      (__return_storage_ptr__->field_2)._M_local_buf[0] = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n              *)std::string::_M_create((string *)__return_storage_ptr__,&__dnew,0);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;\n    (__return_storage_ptr__->field_2)._M_allocated_capacity = __dnew;\n  }\n  memcpy(__dest,__s,__n);\n  __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(__return_storage_ptr__->_M_dataplus)._M_p;\nLAB_0018c1dc:\n  __return_storage_ptr__->_M_string_length = __dnew;\n  __dest->_M_local_buf[__dnew] = '\0';\n  return __return_storage_ptr__;\n}\n\n" comment (expression_statement "string * __thiscall\ngold::Sized_relobj_incr<32,_true>::do_section_name\n          (string *__return_storage_ptr__,Sized_relobj_incr<32,_true> *this,uint shndx)\n\n{\n  Output_section *pOVar1;" (update_expression "string * __thiscall\ngold::Sized_relobj_incr<32,_true>::do_section_name\n          (string *__return_storage_ptr__,Sized_relobj_incr<32,_true> *this,uint shndx)\n\n{\n  Output_section *pOVar1" (binary_expression "string * __thiscall\ngold::Sized_relobj_incr<32,_true>::do_section_name\n          (string *__return_storage_ptr__,Sized_relobj_incr<32,_true> *this,uint shndx)\n\n{\n  Output_section *pOVar1" (binary_expression "string * __thiscall\ngold::Sized_relobj_incr<32" (binary_expression "string * __thiscall" identifier * identifier) (ERROR "gold::Sized_relobj_incr" identifier : : identifier) < number_literal) (ERROR ",_true" , identifier) > (ERROR "::do_section_name\n          (string *__return_storage_ptr__,Sized_relobj_incr<32,_true> *this,uint shndx)\n\n{" : : (call_expression "do_section_name\n          (string *__return_storage_ptr__,Sized_relobj_incr<32,_true> *this,uint shndx)" identifier (argument_list "(string *__return_storage_ptr__,Sized_relobj_incr<32,_true> *this,uint shndx)" ( (binary_expression "string *__return_storage_ptr__" identifier * identifier) , (binary_expression "Sized_relobj_incr<32" identifier < number_literal) , (binary_expression "_true> *this" identifier > (pointer_expression "*this" * identifier)) , (ERROR "uint" identifier) identifier ))) {) (binary_expression "Output_section *pOVar1" identifier * identifier)) --) ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (ERROR "anon_union_16_2_edb7204a_for_basic_string<char," (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) ,) (labeled_statement "_std::char_traits<char>,_std::allocator<char>_>_9\n  *__dest;" statement_identifier (ERROR "::char_traits<char>,_std:" : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) :) : (expression_statement "allocator<char>_>_9\n  *__dest;" (binary_expression "allocator<char>_>_9\n  *__dest" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n  *__dest" identifier * identifier)) ;)) (declaration "size_type __dnew;" type_identifier identifier ;) (expression_statement "__dest = &__return_storage_ptr__->field_2;" (assignment_expression "__dest = &__return_storage_ptr__->field_2" identifier = (pointer_expression "&__return_storage_ptr__->field_2" & (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier))) ;) (expression_statement "pOVar1 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl\n           ._M_start[shndx];" (subscript_expression "pOVar1 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl\n           ._M_start[shndx]" (field_expression "pOVar1 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl\n           ._M_start" (field_expression "pOVar1 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl" (binary_expression "pOVar1 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "pOVar1 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "pOVar1 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base<gold::Output_section*,_std" (assignment_expression "pOVar1 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base<gold" identifier = (binary_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base<gold" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.\n           super__Vector_base" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_" (field_expression "(this->super_Sized_relobj<32,_true>).super_Relobj" (parenthesized_expression "(this->super_Sized_relobj<32,_true>)" ( (comma_expression "this->super_Sized_relobj<32,_true" (binary_expression "this->super_Sized_relobj<32" (field_expression "this->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) [ identifier ]) ;) (if_statement "if (pOVar1 == (Output_section *)0x0) {\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;\n                    /* WARNING: Subroutine does not return */\n    std::__throw_logic_error("basic_string::_M_construct null not valid");\n  }" if (parenthesized_expression "(pOVar1 == (Output_section *)0x0)" ( (binary_expression "pOVar1 == (Output_section *)0x0" identifier == (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;\n                    /* WARNING: Subroutine does not return */\n    std::__throw_logic_error("basic_string::_M_construct null not valid");\n  }" { (expression_statement "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;" (assignment_expression "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest" (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) = (cast_expression "(pointer)__dest" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) comment (labeled_statement "std::__throw_logic_error("basic_string::_M_construct null not valid");" statement_identifier : (ERROR ":" :) (expression_statement "__throw_logic_error("basic_string::_M_construct null not valid");" (call_expression "__throw_logic_error("basic_string::_M_construct null not valid")" identifier (argument_list "("basic_string::_M_construct null not valid")" ( (string_literal ""basic_string::_M_construct null not valid"" " string_content ") ))) ;)) })) (expression_statement "__s = pOVar1->name_;" (assignment_expression "__s = pOVar1->name_" identifier = (field_expression "pOVar1->name_" identifier -> field_identifier)) ;) (expression_statement "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;" (assignment_expression "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest" (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) = (cast_expression "(pointer)__dest" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (if_statement "if (__s == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    std::__throw_logic_error("basic_string::_M_construct null not valid");\n  }" if (parenthesized_expression "(__s == (char *)0x0)" ( (binary_expression "__s == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    std::__throw_logic_error("basic_string::_M_construct null not valid");\n  }" { comment (labeled_statement "std::__throw_logic_error("basic_string::_M_construct null not valid");" statement_identifier : (ERROR ":" :) (expression_statement "__throw_logic_error("basic_string::_M_construct null not valid");" (call_expression "__throw_logic_error("basic_string::_M_construct null not valid")" identifier (argument_list "("basic_string::_M_construct null not valid")" ( (string_literal ""basic_string::_M_construct null not valid"" " string_content ") ))) ;)) })) (expression_statement "__n = strlen(__s);" (assignment_expression "__n = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "__dnew = __n;" (assignment_expression "__dnew = __n" identifier = identifier) ;) (if_statement "if (__n < 0x10) {\n    if (__n == 1) {\n      (__return_storage_ptr__->field_2)._M_local_buf[0] = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n              *)std::string::_M_create((string *)__return_storage_ptr__,&__dnew,0);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;\n    (__return_storage_ptr__->field_2)._M_allocated_capacity = __dnew;\n  }" if (parenthesized_expression "(__n < 0x10)" ( (binary_expression "__n < 0x10" identifier < number_literal) )) (compound_statement "{\n    if (__n == 1) {\n      (__return_storage_ptr__->field_2)._M_local_buf[0] = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }" { (if_statement "if (__n == 1) {\n      (__return_storage_ptr__->field_2)._M_local_buf[0] = *__s;\n      goto LAB_0018c1dc;\n    }" if (parenthesized_expression "(__n == 1)" ( (binary_expression "__n == 1" identifier == number_literal) )) (compound_statement "{\n      (__return_storage_ptr__->field_2)._M_local_buf[0] = *__s;\n      goto LAB_0018c1dc;\n    }" { (expression_statement "(__return_storage_ptr__->field_2)._M_local_buf[0] = *__s;" (assignment_expression "(__return_storage_ptr__->field_2)._M_local_buf[0] = *__s" (subscript_expression "(__return_storage_ptr__->field_2)._M_local_buf[0]" (field_expression "(__return_storage_ptr__->field_2)._M_local_buf" (parenthesized_expression "(__return_storage_ptr__->field_2)" ( (field_expression "__return_storage_ptr__->field_2" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (pointer_expression "*__s" * identifier)) ;) (goto_statement "goto LAB_0018c1dc;" goto statement_identifier ;) })) (if_statement "if (__n == 0) goto LAB_0018c1dc;" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (goto_statement "goto LAB_0018c1dc;" goto statement_identifier ;)) }) (else_clause "else {\n    __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n              *)std::string::_M_create((string *)__return_storage_ptr__,&__dnew,0);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;\n    (__return_storage_ptr__->field_2)._M_allocated_capacity = __dnew;\n  }" else (compound_statement "{\n    __dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n              *)std::string::_M_create((string *)__return_storage_ptr__,&__dnew,0);\n    (__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;\n    (__return_storage_ptr__->field_2)._M_allocated_capacity = __dnew;\n  }" { (expression_statement "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n              *)std::string::_M_create((string *)__return_storage_ptr__,&__dnew,0);" (assignment_expression "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n              *)std::string::_M_create((string *)__return_storage_ptr__,&__dnew,0)" identifier = (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n              *)std::string::_M_create((string *)__return_storage_ptr__,&__dnew,0)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n              *)std::string::" (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              *)std" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n              *)std" identifier * (ERROR ")" )) identifier)) : : identifier : :) (call_expression "_M_create((string *)__return_storage_ptr__,&__dnew,0)" identifier (argument_list "((string *)__return_storage_ptr__,&__dnew,0)" ( (cast_expression "(string *)__return_storage_ptr__" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&__dnew" & identifier) , number_literal ))) ))) ;) (expression_statement "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest;" (assignment_expression "(__return_storage_ptr__->_M_dataplus)._M_p = (pointer)__dest" (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) = (cast_expression "(pointer)__dest" ( (type_descriptor "pointer" type_identifier) ) identifier)) ;) (expression_statement "(__return_storage_ptr__->field_2)._M_allocated_capacity = __dnew;" (assignment_expression "(__return_storage_ptr__->field_2)._M_allocated_capacity = __dnew" (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) = identifier) ;) }))) (expression_statement "memcpy(__dest,__s,__n);" (call_expression "memcpy(__dest,__s,__n)" identifier (argument_list "(__dest,__s,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(__return_storage_ptr__->_M_dataplus)._M_p;" (assignment_expression "__dest = (anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(__return_storage_ptr__->_M_dataplus)._M_p" identifier = (field_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(__return_storage_ptr__->_M_dataplus)._M_p" (call_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)(__return_storage_ptr__->_M_dataplus)" (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n            *)" ( (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" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) (ERROR "*" *) )) (argument_list "(__return_storage_ptr__->_M_dataplus)" ( (field_expression "__return_storage_ptr__->_M_dataplus" identifier -> field_identifier) ))) . field_identifier)) ;) (labeled_statement "LAB_0018c1dc:\n  __return_storage_ptr__->_M_string_length = __dnew;" statement_identifier : (expression_statement "__return_storage_ptr__->_M_string_length = __dnew;" (assignment_expression "__return_storage_ptr__->_M_string_length = __dnew" (field_expression "__return_storage_ptr__->_M_string_length" identifier -> field_identifier) = identifier) ;)) (expression_statement "__dest->_M_local_buf[__dnew] = '\0';" (assignment_expression "__dest->_M_local_buf[__dnew] = '\0'" (subscript_expression "__dest->_M_local_buf[__dnew]" (field_expression "__dest->_M_local_buf" identifier -> field_identifier) [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return __return_storage_ptr__;" return identifier ;) (ERROR "}" }))
(translation_unit "long * FUN_0018c180(long *param_1,long param_2,uint param_3)\n\n{\n  long lVar1;\n  char *__s;\n  size_t __n;\n  long *__dest;\n  size_t local_30 [2];\n  \n  __dest = param_1 + 2;\n  lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);\n  if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __s = *(char **)(lVar1 + 0x28);\n  *param_1 = (long)__dest;\n  if (__s == (char *)0x0) {\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __n = strlen(__s);\n  local_30[0] = __n;\n  if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }\n  memcpy(__dest,__s,__n);\n  __dest = (long *)*param_1;\nLAB_0018c1dc:\n  param_1[1] = local_30[0];\n  *(undefined1 *)((long)__dest + local_30[0]) = 0;\n  return param_1;\n}\n\n" (function_definition "long * FUN_0018c180(long *param_1,long param_2,uint param_3)\n\n{\n  long lVar1;\n  char *__s;\n  size_t __n;\n  long *__dest;\n  size_t local_30 [2];\n  \n  __dest = param_1 + 2;\n  lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);\n  if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __s = *(char **)(lVar1 + 0x28);\n  *param_1 = (long)__dest;\n  if (__s == (char *)0x0) {\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __n = strlen(__s);\n  local_30[0] = __n;\n  if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }\n  memcpy(__dest,__s,__n);\n  __dest = (long *)*param_1;\nLAB_0018c1dc:\n  param_1[1] = local_30[0];\n  *(undefined1 *)((long)__dest + local_30[0]) = 0;\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_0018c180(long *param_1,long param_2,uint param_3)" * (function_declarator "FUN_0018c180(long *param_1,long param_2,uint param_3)" identifier (parameter_list "(long *param_1,long param_2,uint param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_3" type_identifier identifier) )))) (compound_statement "{\n  long lVar1;\n  char *__s;\n  size_t __n;\n  long *__dest;\n  size_t local_30 [2];\n  \n  __dest = param_1 + 2;\n  lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);\n  if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __s = *(char **)(lVar1 + 0x28);\n  *param_1 = (long)__dest;\n  if (__s == (char *)0x0) {\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __n = strlen(__s);\n  local_30[0] = __n;\n  if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }\n  memcpy(__dest,__s,__n);\n  __dest = (long *)*param_1;\nLAB_0018c1dc:\n  param_1[1] = local_30[0];\n  *(undefined1 *)((long)__dest + local_30[0]) = 0;\n  return param_1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long *__dest;" (sized_type_specifier "long" long) (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t local_30 [2];" primitive_type (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (expression_statement "__dest = param_1 + 2;" (assignment_expression "__dest = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);" (assignment_expression "lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" identifier = (pointer_expression "*(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" * (cast_expression "(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" ( (binary_expression "*(long *)(param_2 + 0x50) + (ulong)param_3 * 8" (pointer_expression "*(long *)(param_2 + 0x50)" * (cast_expression "(long *)(param_2 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) )))) + (binary_expression "(ulong)param_3 * 8" (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) ))))) ;) (if_statement "if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = (long)__dest;\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" { (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "FUN_003194e0("basic_string::_M_construct null not valid");" (call_expression "FUN_003194e0("basic_string::_M_construct null not valid")" identifier (argument_list "("basic_string::_M_construct null not valid")" ( (string_literal ""basic_string::_M_construct null not valid"" " string_content ") ))) ;) })) (expression_statement "__s = *(char **)(lVar1 + 0x28);" (assignment_expression "__s = *(char **)(lVar1 + 0x28)" identifier = (pointer_expression "*(char **)(lVar1 + 0x28)" * (cast_expression "(char **)(lVar1 + 0x28)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if (__s == (char *)0x0) {\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" if (parenthesized_expression "(__s == (char *)0x0)" ( (binary_expression "__s == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" { (expression_statement "FUN_003194e0("basic_string::_M_construct null not valid");" (call_expression "FUN_003194e0("basic_string::_M_construct null not valid")" identifier (argument_list "("basic_string::_M_construct null not valid")" ( (string_literal ""basic_string::_M_construct null not valid"" " string_content ") ))) ;) })) (expression_statement "__n = strlen(__s);" (assignment_expression "__n = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "local_30[0] = __n;" (assignment_expression "local_30[0] = __n" (subscript_expression "local_30[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }" if (parenthesized_expression "(__n < 0x10)" ( (binary_expression "__n < 0x10" identifier < number_literal) )) (compound_statement "{\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }" { (if_statement "if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }" if (parenthesized_expression "(__n == 1)" ( (binary_expression "__n == 1" identifier == number_literal) )) (compound_statement "{\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }" { (expression_statement "*(char *)(param_1 + 2) = *__s;" (assignment_expression "*(char *)(param_1 + 2) = *__s" (pointer_expression "*(char *)(param_1 + 2)" * (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = (pointer_expression "*__s" * identifier)) ;) (goto_statement "goto LAB_0018c1dc;" goto statement_identifier ;) })) (if_statement "if (__n == 0) goto LAB_0018c1dc;" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (goto_statement "goto LAB_0018c1dc;" goto statement_identifier ;)) }) (else_clause "else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }" else (compound_statement "{\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }" { (expression_statement "__dest = (long *)FUN_002e15a0(param_1,local_30,0);" (assignment_expression "__dest = (long *)FUN_002e15a0(param_1,local_30,0)" identifier = (cast_expression "(long *)FUN_002e15a0(param_1,local_30,0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002e15a0(param_1,local_30,0)" identifier (argument_list "(param_1,local_30,0)" ( identifier , identifier , number_literal ))))) ;) (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[2] = local_30[0];" (assignment_expression "param_1[2] = local_30[0]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) }))) (expression_statement "memcpy(__dest,__s,__n);" (call_expression "memcpy(__dest,__s,__n)" identifier (argument_list "(__dest,__s,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "__dest = (long *)*param_1;" (assignment_expression "__dest = (long *)*param_1" identifier = (cast_expression "(long *)*param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (labeled_statement "LAB_0018c1dc:\n  param_1[1] = local_30[0];" statement_identifier : (expression_statement "param_1[1] = local_30[0];" (assignment_expression "param_1[1] = local_30[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;)) (expression_statement "*(undefined1 *)((long)__dest + local_30[0]) = 0;" (assignment_expression "*(undefined1 *)((long)__dest + local_30[0]) = 0" (pointer_expression "*(undefined1 *)((long)__dest + local_30[0])" * (cast_expression "(undefined1 *)((long)__dest + local_30[0])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__dest + local_30[0])" ( (binary_expression "(long)__dest + local_30[0]" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (subscript_expression "local_30[0]" identifier [ number_literal ])) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (subscript_expression IDENT [ LIT ])) )))) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "long * FUN_0018c180(long *param_1,long param_2,uint param_3)\n\n{\n  long lVar1;\n  char *__s;\n  size_t __n;\n  long *__dest;\n  size_t local_30 [2];\n  \n  __dest = param_1 + 2;\n  lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);\n  if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __s = *(char **)(lVar1 + 0x28);\n  *param_1 = (long)__dest;\n  if (__s == (char *)0x0) {\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __n = strlen(__s);\n  local_30[0] = __n;\n  if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }\n  memcpy(__dest,__s,__n);\n  __dest = (long *)*param_1;\nLAB_0018c1dc:\n  param_1[1] = local_30[0];\n  *(undefined1 *)((long)__dest + local_30[0]) = 0;\n  return param_1;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_0018c180(long *param_1,long param_2,uint param_3)" (* "*") (function_declarator "FUN_0018c180(long *param_1,long param_2,uint param_3)" (identifier "FUN_0018c180") (parameter_list "(long *param_1,long param_2,uint param_3)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")")))) (compound_statement "{\n  long lVar1;\n  char *__s;\n  size_t __n;\n  long *__dest;\n  size_t local_30 [2];\n  \n  __dest = param_1 + 2;\n  lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);\n  if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __s = *(char **)(lVar1 + 0x28);\n  *param_1 = (long)__dest;\n  if (__s == (char *)0x0) {\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }\n  __n = strlen(__s);\n  local_30[0] = __n;\n  if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }\n  memcpy(__dest,__s,__n);\n  __dest = (long *)*param_1;\nLAB_0018c1dc:\n  param_1[1] = local_30[0];\n  *(undefined1 *)((long)__dest + local_30[0]) = 0;\n  return param_1;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "long *__dest;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "size_t local_30 [2];" (primitive_type "size_t") (array_declarator "local_30 [2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "__dest = param_1 + 2;" (assignment_expression "__dest = param_1 + 2" (identifier "__dest") (= "=") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);" (assignment_expression "lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" (* "*") (cast_expression "(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8)" (( "(") (binary_expression "*(long *)(param_2 + 0x50) + (ulong)param_3 * 8" (pointer_expression "*(long *)(param_2 + 0x50)" (* "*") (cast_expression "(long *)(param_2 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x50)" (( "(") (binary_expression "param_2 + 0x50" (identifier "param_2") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "(ulong)param_3 * 8" (cast_expression "(ulong)param_3" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_3")) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (lVar1 == 0) {\n    *param_1 = (long)__dest;\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" (if "if") (parenthesized_expression "(lVar1 == 0)" (( "(") (binary_expression "lVar1 == 0" (identifier "lVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = (long)__dest;\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" ({ "{") (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest"))) (; ";")) (expression_statement "FUN_003194e0("basic_string::_M_construct null not valid");" (call_expression "FUN_003194e0("basic_string::_M_construct null not valid")" (identifier "FUN_003194e0") (argument_list "("basic_string::_M_construct null not valid")" (( "(") (string_literal ""basic_string::_M_construct null not valid"" (" """) (string_content "basic_string::_M_construct null not valid") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "__s = *(char **)(lVar1 + 0x28);" (assignment_expression "__s = *(char **)(lVar1 + 0x28)" (identifier "__s") (= "=") (pointer_expression "*(char **)(lVar1 + 0x28)" (* "*") (cast_expression "(char **)(lVar1 + 0x28)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x28)" (( "(") (binary_expression "lVar1 + 0x28" (identifier "lVar1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest"))) (; ";")) (if_statement "if (__s == (char *)0x0) {\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" (if "if") (parenthesized_expression "(__s == (char *)0x0)" (( "(") (binary_expression "__s == (char *)0x0" (identifier "__s") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    FUN_003194e0("basic_string::_M_construct null not valid");\n  }" ({ "{") (expression_statement "FUN_003194e0("basic_string::_M_construct null not valid");" (call_expression "FUN_003194e0("basic_string::_M_construct null not valid")" (identifier "FUN_003194e0") (argument_list "("basic_string::_M_construct null not valid")" (( "(") (string_literal ""basic_string::_M_construct null not valid"" (" """) (string_content "basic_string::_M_construct null not valid") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "__n = strlen(__s);" (assignment_expression "__n = strlen(__s)" (identifier "__n") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "local_30[0] = __n;" (assignment_expression "local_30[0] = __n" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "__n")) (; ";")) (if_statement "if (__n < 0x10) {\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }\n  else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }" (if "if") (parenthesized_expression "(__n < 0x10)" (( "(") (binary_expression "__n < 0x10" (identifier "__n") (< "<") (number_literal "0x10")) () ")")) (compound_statement "{\n    if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }\n    if (__n == 0) goto LAB_0018c1dc;\n  }" ({ "{") (if_statement "if (__n == 1) {\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }" (if "if") (parenthesized_expression "(__n == 1)" (( "(") (binary_expression "__n == 1" (identifier "__n") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      *(char *)(param_1 + 2) = *__s;\n      goto LAB_0018c1dc;\n    }" ({ "{") (expression_statement "*(char *)(param_1 + 2) = *__s;" (assignment_expression "*(char *)(param_1 + 2) = *__s" (pointer_expression "*(char *)(param_1 + 2)" (* "*") (cast_expression "(char *)(param_1 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (pointer_expression "*__s" (* "*") (identifier "__s"))) (; ";")) (goto_statement "goto LAB_0018c1dc;" (goto "goto") (statement_identifier "LAB_0018c1dc") (; ";")) (} "}"))) (if_statement "if (__n == 0) goto LAB_0018c1dc;" (if "if") (parenthesized_expression "(__n == 0)" (( "(") (binary_expression "__n == 0" (identifier "__n") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0018c1dc;" (goto "goto") (statement_identifier "LAB_0018c1dc") (; ";"))) (} "}")) (else_clause "else {\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }" (else "else") (compound_statement "{\n    __dest = (long *)FUN_002e15a0(param_1,local_30,0);\n    *param_1 = (long)__dest;\n    param_1[2] = local_30[0];\n  }" ({ "{") (expression_statement "__dest = (long *)FUN_002e15a0(param_1,local_30,0);" (assignment_expression "__dest = (long *)FUN_002e15a0(param_1,local_30,0)" (identifier "__dest") (= "=") (cast_expression "(long *)FUN_002e15a0(param_1,local_30,0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002e15a0(param_1,local_30,0)" (identifier "FUN_002e15a0") (argument_list "(param_1,local_30,0)" (( "(") (identifier "param_1") (, ",") (identifier "local_30") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest"))) (; ";")) (expression_statement "param_1[2] = local_30[0];" (assignment_expression "param_1[2] = local_30[0]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")))) (expression_statement "memcpy(__dest,__s,__n);" (call_expression "memcpy(__dest,__s,__n)" (identifier "memcpy") (argument_list "(__dest,__s,__n)" (( "(") (identifier "__dest") (, ",") (identifier "__s") (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "__dest = (long *)*param_1;" (assignment_expression "__dest = (long *)*param_1" (identifier "__dest") (= "=") (cast_expression "(long *)*param_1" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (labeled_statement "LAB_0018c1dc:\n  param_1[1] = local_30[0];" (statement_identifier "LAB_0018c1dc") (: ":") (expression_statement "param_1[1] = local_30[0];" (assignment_expression "param_1[1] = local_30[0]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]"))) (; ";"))) (expression_statement "*(undefined1 *)((long)__dest + local_30[0]) = 0;" (assignment_expression "*(undefined1 *)((long)__dest + local_30[0]) = 0" (pointer_expression "*(undefined1 *)((long)__dest + local_30[0])" (* "*") (cast_expression "(undefined1 *)((long)__dest + local_30[0])" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)__dest + local_30[0])" (( "(") (binary_expression "(long)__dest + local_30[0]" (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest")) (+ "+") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* DWARF original prototype: string do_section_name(Sized_relobj_incr<32,_true> * this, uint shndx)
    */

var_1 * var_2
var_10::Sized_relobj_incr<32,_true>::do_section_name
          (var_1 *__return_storage_ptr__,Sized_relobj_incr<32,_true> *this,uint shndx)

{
  var_3 *var_4;
  char *var_13;
  size_t var_15;
  anon_union_16_2_edb7204a_for_basic_string<var_6,_std::char_traits<var_6>,var_11::var_5<var_6>var_7>var_8
  *var_9;
  type_1 __dnew;
  
  var_9 = &__return_storage_ptr__->field_2;
  var_4 = (this->super_Sized_relobj<32,_true>).super_Relobj.output_sections_.
           super__Vector_base<var_10::var_3*,var_11::var_5<var_10::var_3*>var_7>._M_impl
           ._M_start[shndx];
  if (var_4 == (var_3 *)0x0) {
    (__return_storage_ptr__->_M_dataplus)._M_p = (type_2)var_9;
                    /* WARNING: Subroutine does not return */
    std::var_12("basic_string::_M_construct null not valid");
  }
  var_13 = var_4->name_;
  (__return_storage_ptr__->_M_dataplus)._M_p = (type_2)var_9;
  if (var_13 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    std::var_12("basic_string::_M_construct null not valid");
  }
  var_15 = var_14(var_13);
  __dnew = var_15;
  if (var_15 < 0x10) {
    if (var_15 == 1) {
      (__return_storage_ptr__->field_2)._M_local_buf[0] = *var_13;
      goto LAB_0018c1dc;
    }
    if (var_15 == 0) goto LAB_0018c1dc;
  }
  else {
    var_9 = (anon_union_16_2_edb7204a_for_basic_string<var_6,var_11::char_traits<var_6>,var_11::var_5<var_6>var_7>var_8
              *)std::var_1::var_16((var_1 *)__return_storage_ptr__,&__dnew,0);
    (__return_storage_ptr__->_M_dataplus)._M_p = (type_2)var_9;
    (__return_storage_ptr__->field_2)._M_allocated_capacity = __dnew;
  }
  var_17(var_9,var_13,var_15);
  var_9 = (anon_union_16_2_edb7204a_for_basic_string<var_6,var_11::char_traits<var_6>,var_11::var_5<var_6>var_7>var_8
            *)(__return_storage_ptr__->_M_dataplus)._M_p;
LAB_0018c1dc:
  __return_storage_ptr__->_M_string_length = __dnew;
  var_9->_M_local_buf[__dnew] = '\0';
  return __return_storage_ptr__;
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))))) right: (number_literal))) (return_statement (identifier)))))

long * MASKED(long *param_1,long param_2,uint param_3)

{
  long lVar1;
  char *__s;
  size_t __n;
  long *__dest;
  size_t local_30 [2];
  
  __dest = param_1 + 2;
  lVar1 = *(long *)(*(long *)(param_2 + 0x50) + (ulong)param_3 * 8);
  if (lVar1 == 0) {
    *param_1 = (long)__dest;
                    /* WARNING: Subroutine does not return */
    FUN_003194e0("basic_string::_M_construct null not valid");
  }
  __s = *(char **)(lVar1 + 0x28);
  *param_1 = (long)__dest;
  if (__s == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_003194e0("basic_string::_M_construct null not valid");
  }
  __n = strlen(__s);
  local_30[0] = __n;
  if (__n < 0x10) {
    if (__n == 1) {
      *(char *)(param_1 + 2) = *__s;
      goto LAB_0018c1dc;
    }
    if (__n == 0) goto LAB_0018c1dc;
  }
  else {
    __dest = (long *)FUN_002e15a0(param_1,local_30,0);
    *param_1 = (long)__dest;
    param_1[2] = local_30[0];
  }
  memcpy(__dest,__s,__n);
  __dest = (long *)*param_1;
LAB_0018c1dc:
  param_1[1] = local_30[0];
  *(undefined1 *)((long)__dest + local_30[0]) = 0;
  return param_1;
}

