
bfd_boolean append_parent(pr_handle *info,char *s)

{
  FILE *pFVar1;
  size_t sVar2;
  char *pcVar3;
  ulong uVar4;
  
  if (s == (char *)0x0) {
    return 0;
  }
  pFVar1 = info->f;
  if (pFVar1 != (FILE *)0x0) {
    pcVar3 = pFVar1->_IO_write_ptr;
    uVar4 = 0;
    if (pcVar3 != (char *)0x0) {
      sVar2 = strlen(pcVar3);
      uVar4 = sVar2 & 0xffffffff;
    }
    sVar2 = strlen(s);
    pcVar3 = (char *)xrealloc(pcVar3,uVar4 + 1 + sVar2);
    pFVar1->_IO_write_ptr = pcVar3;
    strcpy(info->f->_IO_write_ptr + uVar4,s);
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");
}



undefined8 FUN_00128840(long *param_1,char *param_2)

{
  long lVar1;
  char *__s;
  size_t sVar2;
  undefined8 uVar3;
  ulong uVar4;
  
  if (param_2 == (char *)0x0) {
    return 0;
  }
  lVar1 = *param_1;
  if (lVar1 != 0) {
    __s = *(char **)(lVar1 + 0x28);
    uVar4 = 0;
    if (__s != (char *)0x0) {
      sVar2 = strlen(__s);
      uVar4 = sVar2 & 0xffffffff;
    }
    sVar2 = strlen(param_2);
    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);
    *(undefined8 *)(lVar1 + 0x28) = uVar3;
    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");
}


TEST RSI,RSI
JZ 0x001288b0
PUSH R14
MOV R14,RSI
PUSH R13
PUSH R12
PUSH RBP
MOV RBP,RDI
PUSH RBX
MOV R12,qword ptr [RDI]
TEST R12,R12
JZ 0x001288b3
MOV R13,qword ptr [R12 + 0x28]
XOR EBX,EBX
TEST R13,R13
JZ 0x00128871
MOV RDI,R13
CALL 0x00107250
MOV EBX,EAX
MOV RDI,R14
CALL 0x00107250
MOV RDI,R13
LEA RSI,[RBX + RAX*0x1 + 0x1]
CALL 0x001072b0
MOV RSI,R14
MOV qword ptr [R12 + 0x28],RAX
MOV RAX,qword ptr [RBP]
ADD RBX,qword ptr [RAX + 0x28]
MOV RDI,RBX
CALL 0x001070f0
POP RBX
MOV EAX,0x1
POP RBP
POP R12
POP R13
POP R14
RET
XOR EAX,EAX
RET
LEA RCX,[0x145e58]
MOV EDX,0x190
LEA RSI,[0x14576d]
LEA RDI,[0x145784]
CALL 0x001072d0
(translation_unit "undefined8 FUN_00128840(long *param_1,char *param_2)\n\n{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  \n  if (param_2 == (char *)0x0) {\n    return 0;\n  }\n  lVar1 = *param_1;\n  if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\n}\n\n" (function_definition "undefined8 FUN_00128840(long *param_1,char *param_2)\n\n{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  \n  if (param_2 == (char *)0x0) {\n    return 0;\n  }\n  lVar1 = *param_1;\n  if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\n}" type_identifier (function_declarator "FUN_00128840(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) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  \n  if (param_2 == (char *)0x0) {\n    return 0;\n  }\n  lVar1 = *param_1;\n  if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (if_statement "if (param_2 == (char *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }" { (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 "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\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      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }" { (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "uVar4 = sVar2 & 0xffffffff;" (assignment_expression "uVar4 = sVar2 & 0xffffffff" identifier = (binary_expression "sVar2 & 0xffffffff" 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 )))) ;) (expression_statement "uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);" (assignment_expression "uVar3 = xrealloc(__s,uVar4 + 1 + sVar2)" identifier = (call_expression "xrealloc(__s,uVar4 + 1 + sVar2)" identifier (argument_list "(__s,uVar4 + 1 + sVar2)" ( identifier , (binary_expression "uVar4 + 1 + sVar2" (binary_expression "uVar4 + 1" identifier + number_literal) + identifier) )))) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x28) = uVar3;" (assignment_expression "*(undefined8 *)(lVar1 + 0x28) = uVar3" (pointer_expression "*(undefined8 *)(lVar1 + 0x28)" * (cast_expression "(undefined8 *)(lVar1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);" (call_expression "strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2)" identifier (argument_list "((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2)" ( (cast_expression "(char *)(uVar4 + *(long *)(*param_1 + 0x28))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + *(long *)(*param_1 + 0x28))" ( (binary_expression "uVar4 + *(long *)(*param_1 + 0x28)" identifier + (pointer_expression "*(long *)(*param_1 + 0x28)" * (cast_expression "(long *)(*param_1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ))) , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""append_parent"" " string_content ") ))) ;) })))
(translation_unit "bfd_boolean append_parent(pr_handle *info,char *s)\n\n{\n  FILE *pFVar1;\n  size_t sVar2;\n  char *pcVar3;\n  ulong uVar4;\n  \n  if (s == (char *)0x0) {\n    return 0;\n  }\n  pFVar1 = info->f;\n  if (pFVar1 != (FILE *)0x0) {\n    pcVar3 = pFVar1->_IO_write_ptr;\n    uVar4 = 0;\n    if (pcVar3 != (char *)0x0) {\n      sVar2 = strlen(pcVar3);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(s);\n    pcVar3 = (char *)xrealloc(pcVar3,uVar4 + 1 + sVar2);\n    pFVar1->_IO_write_ptr = pcVar3;\n    strcpy(info->f->_IO_write_ptr + uVar4,s);\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\n}\n\n" (function_definition "bfd_boolean append_parent(pr_handle *info,char *s)\n\n{\n  FILE *pFVar1;\n  size_t sVar2;\n  char *pcVar3;\n  ulong uVar4;\n  \n  if (s == (char *)0x0) {\n    return 0;\n  }\n  pFVar1 = info->f;\n  if (pFVar1 != (FILE *)0x0) {\n    pcVar3 = pFVar1->_IO_write_ptr;\n    uVar4 = 0;\n    if (pcVar3 != (char *)0x0) {\n      sVar2 = strlen(pcVar3);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(s);\n    pcVar3 = (char *)xrealloc(pcVar3,uVar4 + 1 + sVar2);\n    pFVar1->_IO_write_ptr = pcVar3;\n    strcpy(info->f->_IO_write_ptr + uVar4,s);\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\n}" type_identifier (function_declarator "append_parent(pr_handle *info,char *s)" identifier (parameter_list "(pr_handle *info,char *s)" ( (parameter_declaration "pr_handle *info" type_identifier (pointer_declarator "*info" * identifier)) , (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  FILE *pFVar1;\n  size_t sVar2;\n  char *pcVar3;\n  ulong uVar4;\n  \n  if (s == (char *)0x0) {\n    return 0;\n  }\n  pFVar1 = info->f;\n  if (pFVar1 != (FILE *)0x0) {\n    pcVar3 = pFVar1->_IO_write_ptr;\n    uVar4 = 0;\n    if (pcVar3 != (char *)0x0) {\n      sVar2 = strlen(pcVar3);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(s);\n    pcVar3 = (char *)xrealloc(pcVar3,uVar4 + 1 + sVar2);\n    pFVar1->_IO_write_ptr = pcVar3;\n    strcpy(info->f->_IO_write_ptr + uVar4,s);\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\n}" { (declaration "FILE *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "ulong uVar4;" type_identifier identifier ;) (if_statement "if (s == (char *)0x0) {\n    return 0;\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    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pFVar1 = info->f;" (assignment_expression "pFVar1 = info->f" identifier = (field_expression "info->f" identifier -> field_identifier)) ;) (if_statement "if (pFVar1 != (FILE *)0x0) {\n    pcVar3 = pFVar1->_IO_write_ptr;\n    uVar4 = 0;\n    if (pcVar3 != (char *)0x0) {\n      sVar2 = strlen(pcVar3);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(s);\n    pcVar3 = (char *)xrealloc(pcVar3,uVar4 + 1 + sVar2);\n    pFVar1->_IO_write_ptr = pcVar3;\n    strcpy(info->f->_IO_write_ptr + uVar4,s);\n    return 1;\n  }" if (parenthesized_expression "(pFVar1 != (FILE *)0x0)" ( (binary_expression "pFVar1 != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar3 = pFVar1->_IO_write_ptr;\n    uVar4 = 0;\n    if (pcVar3 != (char *)0x0) {\n      sVar2 = strlen(pcVar3);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(s);\n    pcVar3 = (char *)xrealloc(pcVar3,uVar4 + 1 + sVar2);\n    pFVar1->_IO_write_ptr = pcVar3;\n    strcpy(info->f->_IO_write_ptr + uVar4,s);\n    return 1;\n  }" { (expression_statement "pcVar3 = pFVar1->_IO_write_ptr;" (assignment_expression "pcVar3 = pFVar1->_IO_write_ptr" identifier = (field_expression "pFVar1->_IO_write_ptr" identifier -> field_identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n      sVar2 = strlen(pcVar3);\n      uVar4 = sVar2 & 0xffffffff;\n    }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar2 = strlen(pcVar3);\n      uVar4 = sVar2 & 0xffffffff;\n    }" { (expression_statement "sVar2 = strlen(pcVar3);" (assignment_expression "sVar2 = strlen(pcVar3)" identifier = (call_expression "strlen(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "uVar4 = sVar2 & 0xffffffff;" (assignment_expression "uVar4 = sVar2 & 0xffffffff" identifier = (binary_expression "sVar2 & 0xffffffff" identifier & number_literal)) ;) })) (expression_statement "sVar2 = strlen(s);" (assignment_expression "sVar2 = strlen(s)" identifier = (call_expression "strlen(s)" identifier (argument_list "(s)" ( identifier )))) ;) (expression_statement "pcVar3 = (char *)xrealloc(pcVar3,uVar4 + 1 + sVar2);" (assignment_expression "pcVar3 = (char *)xrealloc(pcVar3,uVar4 + 1 + sVar2)" identifier = (cast_expression "(char *)xrealloc(pcVar3,uVar4 + 1 + sVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(pcVar3,uVar4 + 1 + sVar2)" identifier (argument_list "(pcVar3,uVar4 + 1 + sVar2)" ( identifier , (binary_expression "uVar4 + 1 + sVar2" (binary_expression "uVar4 + 1" identifier + number_literal) + identifier) ))))) ;) (expression_statement "pFVar1->_IO_write_ptr = pcVar3;" (assignment_expression "pFVar1->_IO_write_ptr = pcVar3" (field_expression "pFVar1->_IO_write_ptr" identifier -> field_identifier) = identifier) ;) (expression_statement "strcpy(info->f->_IO_write_ptr + uVar4,s);" (call_expression "strcpy(info->f->_IO_write_ptr + uVar4,s)" identifier (argument_list "(info->f->_IO_write_ptr + uVar4,s)" ( (binary_expression "info->f->_IO_write_ptr + uVar4" (field_expression "info->f->_IO_write_ptr" (field_expression "info->f" identifier -> field_identifier) -> field_identifier) + identifier) , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""append_parent"" " string_content ") ))) ;) })))
(translation_unit "undefined8 FUN_00128840(long *param_1,char *param_2)\n\n{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  \n  if (param_2 == (char *)0x0) {\n    return 0;\n  }\n  lVar1 = *param_1;\n  if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }\n                    \n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\n}\n\n" (function_definition "undefined8 FUN_00128840(long *param_1,char *param_2)\n\n{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  \n  if (param_2 == (char *)0x0) {\n    return 0;\n  }\n  lVar1 = *param_1;\n  if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }\n                    \n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\n}" type_identifier (function_declarator "FUN_00128840(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) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  \n  if (param_2 == (char *)0x0) {\n    return 0;\n  }\n  lVar1 = *param_1;\n  if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }\n                    \n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (if_statement "if (param_2 == (char *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 == (char *)0x0)" ( (binary_expression "param_2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }" { (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 "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\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      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }" { (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "uVar4 = sVar2 & 0xffffffff;" (assignment_expression "uVar4 = sVar2 & 0xffffffff" identifier = (binary_expression "sVar2 & 0xffffffff" 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 )))) ;) (expression_statement "uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);" (assignment_expression "uVar3 = xrealloc(__s,uVar4 + 1 + sVar2)" identifier = (call_expression "xrealloc(__s,uVar4 + 1 + sVar2)" identifier (argument_list "(__s,uVar4 + 1 + sVar2)" ( identifier , (binary_expression "uVar4 + 1 + sVar2" (binary_expression "uVar4 + 1" identifier + number_literal) + identifier) )))) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x28) = uVar3;" (assignment_expression "*(undefined8 *)(lVar1 + 0x28) = uVar3" (pointer_expression "*(undefined8 *)(lVar1 + 0x28)" * (cast_expression "(undefined8 *)(lVar1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);" (call_expression "strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2)" identifier (argument_list "((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2)" ( (cast_expression "(char *)(uVar4 + *(long *)(*param_1 + 0x28))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 + *(long *)(*param_1 + 0x28))" ( (binary_expression "uVar4 + *(long *)(*param_1 + 0x28)" identifier + (pointer_expression "*(long *)(*param_1 + 0x28)" * (cast_expression "(long *)(*param_1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ))) , identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""append_parent"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != 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 = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + 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_00128840(long *param_1,char *param_2)\n\n{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  \n  if (param_2 == (char *)0x0) {\n    return 0;\n  }\n  lVar1 = *param_1;\n  if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }\n                    \n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\n}" (type_identifier "undefined8") (function_declarator "FUN_00128840(long *param_1,char *param_2)" (identifier "FUN_00128840") (parameter_list "(long *param_1,char *param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  long lVar1;\n  char *__s;\n  size_t sVar2;\n  undefined8 uVar3;\n  ulong uVar4;\n  \n  if (param_2 == (char *)0x0) {\n    return 0;\n  }\n  lVar1 = *param_1;\n  if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }\n                    \n  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");\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 sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (if_statement "if (param_2 == (char *)0x0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 == (char *)0x0)" (( "(") (binary_expression "param_2 == (char *)0x0" (identifier "param_2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" (identifier "lVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (lVar1 != 0) {\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    __s = *(char **)(lVar1 + 0x28);\n    uVar4 = 0;\n    if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }\n    sVar2 = strlen(param_2);\n    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);\n    *(undefined8 *)(lVar1 + 0x28) = uVar3;\n    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);\n    return 1;\n  }" ({ "{") (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 "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (__s != (char *)0x0) {\n      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\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      sVar2 = strlen(__s);\n      uVar4 = sVar2 & 0xffffffff;\n    }" ({ "{") (expression_statement "sVar2 = strlen(__s);" (assignment_expression "sVar2 = strlen(__s)" (identifier "sVar2") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "uVar4 = sVar2 & 0xffffffff;" (assignment_expression "uVar4 = sVar2 & 0xffffffff" (identifier "uVar4") (= "=") (binary_expression "sVar2 & 0xffffffff" (identifier "sVar2") (& "&") (number_literal "0xffffffff"))) (; ";")) (} "}"))) (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") () ")")))) (; ";")) (expression_statement "uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);" (assignment_expression "uVar3 = xrealloc(__s,uVar4 + 1 + sVar2)" (identifier "uVar3") (= "=") (call_expression "xrealloc(__s,uVar4 + 1 + sVar2)" (identifier "xrealloc") (argument_list "(__s,uVar4 + 1 + sVar2)" (( "(") (identifier "__s") (, ",") (binary_expression "uVar4 + 1 + sVar2" (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) (+ "+") (identifier "sVar2")) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(lVar1 + 0x28) = uVar3;" (assignment_expression "*(undefined8 *)(lVar1 + 0x28) = uVar3" (pointer_expression "*(undefined8 *)(lVar1 + 0x28)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x28)" (( "(") (binary_expression "lVar1 + 0x28" (identifier "lVar1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);" (call_expression "strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2)" (identifier "strcpy") (argument_list "((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2)" (( "(") (cast_expression "(char *)(uVar4 + *(long *)(*param_1 + 0x28))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar4 + *(long *)(*param_1 + 0x28))" (( "(") (binary_expression "uVar4 + *(long *)(*param_1 + 0x28)" (identifier "uVar4") (+ "+") (pointer_expression "*(long *)(*param_1 + 0x28)" (* "*") (cast_expression "(long *)(*param_1 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x28)" (( "(") (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x28")) () ")"))))) () ")"))) (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent")" (identifier "__assert_fail") (argument_list "("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent")" (( "(") (string_literal ""info->stack != NULL"" (" """) (string_content "info->stack != NULL") (" """)) (, ",") (string_literal ""../../binutils/prdbg.c"" (" """) (string_content "../../binutils/prdbg.c") (" """)) (, ",") (number_literal "400") (, ",") (string_literal ""append_parent"" (" """) (string_content "append_parent") (" """)) () ")"))) (; ";")) (} "}")))

type_1 function_1(type_2 *info,char *var_1)

{
  type_3 *var_2;
  size_t var_5;
  char *var_3;
  type_4 var_7;
  
  if (var_1 == (char *)0x0) {
    return 0;
  }
  var_2 = info->f;
  if (var_2 != (type_3 *)0x0) {
    var_3 = var_2->_IO_write_ptr;
    var_7 = 0;
    if (var_3 != (char *)0x0) {
      var_5 = var_4(var_3);
      var_7 = var_5 & 0xffffffff;
    }
    var_5 = var_4(var_1);
    var_3 = (char *)var_6(var_3,var_7 + 1 + var_5);
    var_2->_IO_write_ptr = var_3;
    var_8(info->f->_IO_write_ptr + var_7,var_1);
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  var_9("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (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 (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (number_literal))) (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: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (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;
  char *__s;
  size_t sVar2;
  undefined8 uVar3;
  ulong uVar4;
  
  if (param_2 == (char *)0x0) {
    return 0;
  }
  lVar1 = *param_1;
  if (lVar1 != 0) {
    __s = *(char **)(lVar1 + 0x28);
    uVar4 = 0;
    if (__s != (char *)0x0) {
      sVar2 = strlen(__s);
      uVar4 = sVar2 & 0xffffffff;
    }
    sVar2 = strlen(param_2);
    uVar3 = xrealloc(__s,uVar4 + 1 + sVar2);
    *(undefined8 *)(lVar1 + 0x28) = uVar3;
    strcpy((char *)(uVar4 + *(long *)(*param_1 + 0x28)),param_2);
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->stack != NULL","../../binutils/prdbg.c",400,"append_parent");
}

