
bfd_boolean stab_class_start_method(void *p,char *name)

{
  long lVar1;
  size_t sVar2;
  size_t sVar3;
  char *pcVar4;
  stab_write_handle *info;
  
  lVar1 = *(long *)((long)p + 0x60);
  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {
    pcVar4 = *(char **)(lVar1 + 0x30);
    sVar2 = strlen(name);
    if (pcVar4 == (char *)0x0) {
      pcVar4 = (char *)xmalloc(sVar2 + 3);
      *pcVar4 = '\0';
    }
    else {
      sVar3 = strlen(pcVar4);
      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);
    }
    sVar2 = strlen(pcVar4);
    sprintf(pcVar4 + sVar2,"%s::",name);
    *(char **)(*(long *)((long)p + 0x60) + 0x30) = pcVar4;
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");
}



undefined8 FUN_00118270(long param_1,char *param_2)

{
  long lVar1;
  size_t sVar2;
  size_t sVar3;
  char *pcVar4;
  
  lVar1 = *(long *)(param_1 + 0x60);
  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {
    pcVar4 = *(char **)(lVar1 + 0x30);
    sVar2 = strlen(param_2);
    if (pcVar4 == (char *)0x0) {
      pcVar4 = (char *)xmalloc(sVar2 + 3);
      *pcVar4 = '\0';
    }
    else {
      sVar3 = strlen(pcVar4);
      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);
    }
    sVar2 = strlen(pcVar4);
    sprintf(pcVar4 + sVar2,"%s::",param_2);
    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RAX,qword ptr [RDI + 0x60]
TEST RAX,RAX
JZ 0x00118309
CMP qword ptr [RAX + 0x20],0x0
JZ 0x00118309
MOV RBP,RDI
MOV RBX,qword ptr [RAX + 0x30]
MOV RDI,RSI
MOV R12,RSI
CALL 0x00104260
MOV R13,RAX
TEST RBX,RBX
JZ 0x001182f8
MOV RDI,RBX
CALL 0x00104260
MOV RDI,RBX
LEA RSI,[R13 + RAX*0x1 + 0x4]
CALL 0x001042b0
MOV RBX,RAX
MOV RDI,RBX
CALL 0x00104260
MOV RDX,R12
LEA RSI,[0x123f31]
LEA RDI,[RBX + RAX*0x1]
XOR EAX,EAX
CALL 0x00104820
MOV RAX,qword ptr [RBP + 0x60]
MOV qword ptr [RAX + 0x30],RBX
ADD RSP,0x8
MOV EAX,0x1
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RDI,[RAX + 0x3]
CALL 0x00104370
MOV RBX,RAX
MOV byte ptr [RAX],0x0
JMP 0x001182c0
LEA RCX,[0x124400]
MOV EDX,0x652
LEA RSI,[0x123f18]
LEA RDI,[0x124140]
CALL 0x001042e0
(translation_unit "undefined8 FUN_00118270(long param_1,char *param_2)\n\n{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  lVar1 = *(long *)(param_1 + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}\n\n" (function_definition "undefined8 FUN_00118270(long param_1,char *param_2)\n\n{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  lVar1 = *(long *)(param_1 + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" type_identifier (function_declarator "FUN_00118270(long param_1,char *param_2)" identifier (parameter_list "(long param_1,char *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  lVar1 = *(long *)(param_1 + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "lVar1 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x60)" identifier = (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }" if (parenthesized_expression "((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0))" ( (binary_expression "(lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)" (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(long *)(lVar1 + 0x20) != 0)" ( (binary_expression "*(long *)(lVar1 + 0x20) != 0" (pointer_expression "*(long *)(lVar1 + 0x20)" * (cast_expression "(long *)(lVar1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }" { (expression_statement "pcVar4 = *(char **)(lVar1 + 0x30);" (assignment_expression "pcVar4 = *(char **)(lVar1 + 0x30)" identifier = (pointer_expression "*(char **)(lVar1 + 0x30)" * (cast_expression "(char **)(lVar1 + 0x30)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }" { (expression_statement "pcVar4 = (char *)xmalloc(sVar2 + 3);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar2 + 3)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 3)" identifier (argument_list "(sVar2 + 3)" ( (binary_expression "sVar2 + 3" identifier + number_literal) ))))) ;) (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" else (compound_statement "{\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" { (expression_statement "sVar3 = strlen(pcVar4);" (assignment_expression "sVar3 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);" (assignment_expression "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier = (cast_expression "(char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier (argument_list "(pcVar4,sVar2 + 4 + sVar3)" ( identifier , (binary_expression "sVar2 + 4 + sVar3" (binary_expression "sVar2 + 4" identifier + number_literal) + identifier) ))))) ;) }))) (expression_statement "sVar2 = strlen(pcVar4);" (assignment_expression "sVar2 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "sprintf(pcVar4 + sVar2,"%s::",param_2);" (call_expression "sprintf(pcVar4 + sVar2,"%s::",param_2)" identifier (argument_list "(pcVar4 + sVar2,"%s::",param_2)" ( (binary_expression "pcVar4 + sVar2" identifier + identifier) , (string_literal ""%s::"" " string_content ") , identifier ))) ;) (expression_statement "*(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;" (assignment_expression "*(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4" (pointer_expression "*(char **)(*(long *)(param_1 + 0x60) + 0x30)" * (cast_expression "(char **)(*(long *)(param_1 + 0x60) + 0x30)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x30)" ( (binary_expression "*(long *)(param_1 + 0x60) + 0x30" (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" ( (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_start_method"" " string_content ") ))) ;) })))
(translation_unit "bfd_boolean stab_class_start_method(void *p,char *name)\n\n{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  stab_write_handle *info;\n  \n  lVar1 = *(long *)((long)p + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(name);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",name);\n    *(char **)(*(long *)((long)p + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}\n\n" (function_definition "bfd_boolean stab_class_start_method(void *p,char *name)\n\n{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  stab_write_handle *info;\n  \n  lVar1 = *(long *)((long)p + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(name);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",name);\n    *(char **)(*(long *)((long)p + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" type_identifier (function_declarator "stab_class_start_method(void *p,char *name)" identifier (parameter_list "(void *p,char *name)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  stab_write_handle *info;\n  \n  lVar1 = *(long *)((long)p + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(name);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",name);\n    *(char **)(*(long *)((long)p + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "stab_write_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (expression_statement "lVar1 = *(long *)((long)p + 0x60);" (assignment_expression "lVar1 = *(long *)((long)p + 0x60)" identifier = (pointer_expression "*(long *)((long)p + 0x60)" * (cast_expression "(long *)((long)p + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x60)" ( (binary_expression "(long)p + 0x60" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (if_statement "if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(name);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",name);\n    *(char **)(*(long *)((long)p + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }" if (parenthesized_expression "((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0))" ( (binary_expression "(lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)" (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(long *)(lVar1 + 0x20) != 0)" ( (binary_expression "*(long *)(lVar1 + 0x20) != 0" (pointer_expression "*(long *)(lVar1 + 0x20)" * (cast_expression "(long *)(lVar1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(name);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",name);\n    *(char **)(*(long *)((long)p + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }" { (expression_statement "pcVar4 = *(char **)(lVar1 + 0x30);" (assignment_expression "pcVar4 = *(char **)(lVar1 + 0x30)" identifier = (pointer_expression "*(char **)(lVar1 + 0x30)" * (cast_expression "(char **)(lVar1 + 0x30)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "sVar2 = strlen(name);" (assignment_expression "sVar2 = strlen(name)" identifier = (call_expression "strlen(name)" identifier (argument_list "(name)" ( identifier )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }" { (expression_statement "pcVar4 = (char *)xmalloc(sVar2 + 3);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar2 + 3)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 3)" identifier (argument_list "(sVar2 + 3)" ( (binary_expression "sVar2 + 3" identifier + number_literal) ))))) ;) (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" else (compound_statement "{\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" { (expression_statement "sVar3 = strlen(pcVar4);" (assignment_expression "sVar3 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);" (assignment_expression "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier = (cast_expression "(char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier (argument_list "(pcVar4,sVar2 + 4 + sVar3)" ( identifier , (binary_expression "sVar2 + 4 + sVar3" (binary_expression "sVar2 + 4" identifier + number_literal) + identifier) ))))) ;) }))) (expression_statement "sVar2 = strlen(pcVar4);" (assignment_expression "sVar2 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "sprintf(pcVar4 + sVar2,"%s::",name);" (call_expression "sprintf(pcVar4 + sVar2,"%s::",name)" identifier (argument_list "(pcVar4 + sVar2,"%s::",name)" ( (binary_expression "pcVar4 + sVar2" identifier + identifier) , (string_literal ""%s::"" " string_content ") , identifier ))) ;) (expression_statement "*(char **)(*(long *)((long)p + 0x60) + 0x30) = pcVar4;" (assignment_expression "*(char **)(*(long *)((long)p + 0x60) + 0x30) = pcVar4" (pointer_expression "*(char **)(*(long *)((long)p + 0x60) + 0x30)" * (cast_expression "(char **)(*(long *)((long)p + 0x60) + 0x30)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)((long)p + 0x60) + 0x30)" ( (binary_expression "*(long *)((long)p + 0x60) + 0x30" (pointer_expression "*(long *)((long)p + 0x60)" * (cast_expression "(long *)((long)p + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x60)" ( (binary_expression "(long)p + 0x60" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" ( (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_start_method"" " string_content ") ))) ;) })))
(translation_unit "undefined8 FUN_00118270(long param_1,char *param_2)\n\n{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  lVar1 = *(long *)(param_1 + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}\n\n" (function_definition "undefined8 FUN_00118270(long param_1,char *param_2)\n\n{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  lVar1 = *(long *)(param_1 + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" type_identifier (function_declarator "FUN_00118270(long param_1,char *param_2)" identifier (parameter_list "(long param_1,char *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  lVar1 = *(long *)(param_1 + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "lVar1 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x60)" identifier = (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }" if (parenthesized_expression "((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0))" ( (binary_expression "(lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)" (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(long *)(lVar1 + 0x20) != 0)" ( (binary_expression "*(long *)(lVar1 + 0x20) != 0" (pointer_expression "*(long *)(lVar1 + 0x20)" * (cast_expression "(long *)(lVar1 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }" { (expression_statement "pcVar4 = *(char **)(lVar1 + 0x30);" (assignment_expression "pcVar4 = *(char **)(lVar1 + 0x30)" identifier = (pointer_expression "*(char **)(lVar1 + 0x30)" * (cast_expression "(char **)(lVar1 + 0x30)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x30)" ( (binary_expression "lVar1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }" { (expression_statement "pcVar4 = (char *)xmalloc(sVar2 + 3);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar2 + 3)" identifier = (cast_expression "(char *)xmalloc(sVar2 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar2 + 3)" identifier (argument_list "(sVar2 + 3)" ( (binary_expression "sVar2 + 3" identifier + number_literal) ))))) ;) (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" else (compound_statement "{\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" { (expression_statement "sVar3 = strlen(pcVar4);" (assignment_expression "sVar3 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);" (assignment_expression "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier = (cast_expression "(char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(pcVar4,sVar2 + 4 + sVar3)" identifier (argument_list "(pcVar4,sVar2 + 4 + sVar3)" ( identifier , (binary_expression "sVar2 + 4 + sVar3" (binary_expression "sVar2 + 4" identifier + number_literal) + identifier) ))))) ;) }))) (expression_statement "sVar2 = strlen(pcVar4);" (assignment_expression "sVar2 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "sprintf(pcVar4 + sVar2,"%s::",param_2);" (call_expression "sprintf(pcVar4 + sVar2,"%s::",param_2)" identifier (argument_list "(pcVar4 + sVar2,"%s::",param_2)" ( (binary_expression "pcVar4 + sVar2" identifier + identifier) , (string_literal ""%s::"" " string_content ") , identifier ))) ;) (expression_statement "*(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;" (assignment_expression "*(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4" (pointer_expression "*(char **)(*(long *)(param_1 + 0x60) + 0x30)" * (cast_expression "(char **)(*(long *)(param_1 + 0x60) + 0x30)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x30)" ( (binary_expression "*(long *)(param_1 + 0x60) + 0x30" (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" ( (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_start_method"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , (string_literal " string_content ") , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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) )))) + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined8 FUN_00118270(long param_1,char *param_2)\n\n{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  lVar1 = *(long *)(param_1 + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" (type_identifier "undefined8") (function_declarator "FUN_00118270(long param_1,char *param_2)" (identifier "FUN_00118270") (parameter_list "(long param_1,char *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  long lVar1;\n  size_t sVar2;\n  size_t sVar3;\n  char *pcVar4;\n  \n  lVar1 = *(long *)(param_1 + 0x60);\n  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "lVar1 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x60)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 0x60)" (* "*") (cast_expression "(long *)(param_1 + 0x60)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (if_statement "if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }" (if "if") (parenthesized_expression "((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0))" (( "(") (binary_expression "(lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)" (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(long *)(lVar1 + 0x20) != 0)" (( "(") (binary_expression "*(long *)(lVar1 + 0x20) != 0" (pointer_expression "*(long *)(lVar1 + 0x20)" (* "*") (cast_expression "(long *)(lVar1 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    pcVar4 = *(char **)(lVar1 + 0x30);\n    sVar2 = strlen(param_2);\n    if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }\n    sVar2 = strlen(pcVar4);\n    sprintf(pcVar4 + sVar2,"%s::",param_2);\n    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;\n    return 1;\n  }" ({ "{") (expression_statement "pcVar4 = *(char **)(lVar1 + 0x30);" (assignment_expression "pcVar4 = *(char **)(lVar1 + 0x30)" (identifier "pcVar4") (= "=") (pointer_expression "*(char **)(lVar1 + 0x30)" (* "*") (cast_expression "(char **)(lVar1 + 0x30)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x30)" (( "(") (binary_expression "lVar1 + 0x30" (identifier "lVar1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "sVar2 = strlen(param_2);" (assignment_expression "sVar2 = strlen(param_2)" (identifier "sVar2") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (pcVar4 == (char *)0x0) {\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }\n    else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" (if "if") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      pcVar4 = (char *)xmalloc(sVar2 + 3);\n      *pcVar4 = '\0';\n    }" ({ "{") (expression_statement "pcVar4 = (char *)xmalloc(sVar2 + 3);" (assignment_expression "pcVar4 = (char *)xmalloc(sVar2 + 3)" (identifier "pcVar4") (= "=") (cast_expression "(char *)xmalloc(sVar2 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar2 + 3)" (identifier "xmalloc") (argument_list "(sVar2 + 3)" (( "(") (binary_expression "sVar2 + 3" (identifier "sVar2") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}")) (else_clause "else {\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" (else "else") (compound_statement "{\n      sVar3 = strlen(pcVar4);\n      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);\n    }" ({ "{") (expression_statement "sVar3 = strlen(pcVar4);" (assignment_expression "sVar3 = strlen(pcVar4)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar4)" (identifier "strlen") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")")))) (; ";")) (expression_statement "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);" (assignment_expression "pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" (identifier "pcVar4") (= "=") (cast_expression "(char *)xrealloc(pcVar4,sVar2 + 4 + sVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xrealloc(pcVar4,sVar2 + 4 + sVar3)" (identifier "xrealloc") (argument_list "(pcVar4,sVar2 + 4 + sVar3)" (( "(") (identifier "pcVar4") (, ",") (binary_expression "sVar2 + 4 + sVar3" (binary_expression "sVar2 + 4" (identifier "sVar2") (+ "+") (number_literal "4")) (+ "+") (identifier "sVar3")) () ")"))))) (; ";")) (} "}")))) (expression_statement "sVar2 = strlen(pcVar4);" (assignment_expression "sVar2 = strlen(pcVar4)" (identifier "sVar2") (= "=") (call_expression "strlen(pcVar4)" (identifier "strlen") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")")))) (; ";")) (expression_statement "sprintf(pcVar4 + sVar2,"%s::",param_2);" (call_expression "sprintf(pcVar4 + sVar2,"%s::",param_2)" (identifier "sprintf") (argument_list "(pcVar4 + sVar2,"%s::",param_2)" (( "(") (binary_expression "pcVar4 + sVar2" (identifier "pcVar4") (+ "+") (identifier "sVar2")) (, ",") (string_literal ""%s::"" (" """) (string_content "%s::") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "*(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;" (assignment_expression "*(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4" (pointer_expression "*(char **)(*(long *)(param_1 + 0x60) + 0x30)" (* "*") (cast_expression "(char **)(*(long *)(param_1 + 0x60) + 0x30)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x30)" (( "(") (binary_expression "*(long *)(param_1 + 0x60) + 0x30" (pointer_expression "*(long *)(param_1 + 0x60)" (* "*") (cast_expression "(long *)(param_1 + 0x60)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "pcVar4")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" (identifier "__assert_fail") (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x652,"stab_class_start_method")" (( "(") (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" (" """) (string_content "info->type_stack != NULL && info->type_stack->fields != NULL") (" """)) (, ",") (string_literal ""../../binutils/wrstabs.c"" (" """) (string_content "../../binutils/wrstabs.c") (" """)) (, ",") (number_literal "0x652") (, ",") (string_literal ""stab_class_start_method"" (" """) (string_content "stab_class_start_method") (" """)) () ")"))) (; ";")) (} "}")))

type_1 function_1(void *p,char *name)

{
  long var_1;
  size_t var_5;
  size_t var_7;
  char *var_3;
  type_2 *info;
  
  var_1 = *(long *)((long)p + 0x60);
  if ((var_1 != 0) && (*(long *)(var_1 + 0x20) != 0)) {
    var_3 = *(char **)(var_1 + 0x30);
    var_5 = var_2(name);
    if (var_3 == (char *)0x0) {
      var_3 = (char *)var_4(var_5 + 3);
      *var_3 = '\0';
    }
    else {
      var_7 = var_2(var_3);
      var_3 = (char *)var_6(var_3,var_5 + 4 + var_7);
    }
    var_5 = var_2(var_3);
    var_8(var_3 + var_5,"%s::",name);
    *(char **)(*(long *)((long)p + 0x60) + 0x30) = var_3;
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  var_9("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");
}


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

undefined8 MASKED(long param_1,char *param_2)

{
  long lVar1;
  size_t sVar2;
  size_t sVar3;
  char *pcVar4;
  
  lVar1 = *(long *)(param_1 + 0x60);
  if ((lVar1 != 0) && (*(long *)(lVar1 + 0x20) != 0)) {
    pcVar4 = *(char **)(lVar1 + 0x30);
    sVar2 = strlen(param_2);
    if (pcVar4 == (char *)0x0) {
      pcVar4 = (char *)xmalloc(sVar2 + 3);
      *pcVar4 = '\0';
    }
    else {
      sVar3 = strlen(pcVar4);
      pcVar4 = (char *)xrealloc(pcVar4,sVar2 + 4 + sVar3);
    }
    sVar2 = strlen(pcVar4);
    sprintf(pcVar4 + sVar2,"%s::",param_2);
    *(char **)(*(long *)(param_1 + 0x60) + 0x30) = pcVar4;
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x652,"stab_class_start_method");
}

