
bfd_boolean pr_function_type(void *p,int argcount,bfd_boolean varargs)

{
  bfd_boolean bVar1;
  void *__ptr;
  char *pcVar2;
  size_t sVar3;
  char *pcVar4;
  long lVar5;
  ulong uVar6;
  int iVar7;
  pr_handle *info;
  bool bVar8;
  
  if (*(long *)((long)p + 0x10) == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");
  }
  if (argcount < 1) {
    pcVar2 = (char *)xmalloc(0x19);
    builtin_strncpy(pcVar2,"(|) (",6);
    if (argcount == 0) {
      if (varargs != 0) {
        sVar3 = strlen(pcVar2);
        builtin_strncpy(pcVar2 + sVar3,"...",4);
      }
    }
    else {
      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);
    }
  }
  else {
    iVar7 = 10;
    __ptr = (void *)xmalloc((long)argcount << 3);
    lVar5 = (long)(int)(argcount - 1U);
    do {
      bVar1 = substitute_type((pr_handle *)p,"");
      if (bVar1 == 0) {
        free(__ptr);
        return 0;
      }
      pcVar2 = pop_type((pr_handle *)((long)p + 0x10));
      *(char **)((long)__ptr + lVar5 * 8) = pcVar2;
      if (pcVar2 == (char *)0x0) {
        free(__ptr);
        return 0;
      }
      lVar5 = lVar5 + -1;
      sVar3 = strlen(pcVar2);
      iVar7 = iVar7 + 2 + (int)sVar3;
    } while ((int)lVar5 != -1);
    if (varargs != 0) {
      iVar7 = iVar7 + 5;
    }
    pcVar2 = (char *)xmalloc(iVar7);
    builtin_strncpy(pcVar2,"(|) (",6);
    uVar6 = 0;
    do {
      if (uVar6 != 0) {
        sVar3 = strlen(pcVar2);
        pcVar4 = pcVar2 + sVar3;
        pcVar4[0] = ',';
        pcVar4[1] = ' ';
        pcVar4[2] = '\0';
      }
      sVar3 = strlen(pcVar2);
      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8));
      bVar8 = argcount - 1U != uVar6;
      uVar6 = uVar6 + 1;
    } while (bVar8);
    if (varargs != 0) {
      pcVar4[2] = '\0';
      pcVar4[0] = ',';
      pcVar4[1] = ' ';
      sVar3 = strlen(pcVar2);
      builtin_strncpy(pcVar2 + sVar3,"...",4);
    }
    free(__ptr);
  }
  sVar3 = strlen(pcVar2);
  (pcVar2 + sVar3)[0] = ')';
  (pcVar2 + sVar3)[1] = '\0';
  bVar1 = substitute_type((pr_handle *)p,pcVar2);
  if (bVar1 != 0) {
    free(pcVar2);
    bVar1 = 1;
  }
  return bVar1;
}



undefined8 FUN_00127730(long param_1,int param_2,int param_3)

{
  int iVar1;
  void *__ptr;
  char *pcVar2;
  size_t sVar3;
  char *pcVar4;
  undefined8 uVar5;
  long lVar6;
  ulong uVar7;
  int iVar8;
  bool bVar9;
  
  if (*(long *)(param_1 + 0x10) == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");
  }
  if (param_2 < 1) {
    pcVar2 = (char *)xmalloc(0x19);
    builtin_strncpy(pcVar2,"(|) (",6);
    if (param_2 == 0) {
      if (param_3 != 0) {
        sVar3 = strlen(pcVar2);
        builtin_strncpy(pcVar2 + sVar3,"...",4);
      }
    }
    else {
      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);
    }
  }
  else {
    iVar8 = 10;
    __ptr = (void *)xmalloc((long)param_2 << 3);
    lVar6 = (long)(int)(param_2 - 1U);
    do {
      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);
      if (iVar1 == 0) {
        free(__ptr);
        return 0;
      }
      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);
      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;
      if (pcVar2 == (char *)0x0) {
        free(__ptr);
        return 0;
      }
      lVar6 = lVar6 + -1;
      sVar3 = strlen(pcVar2);
      iVar8 = iVar8 + 2 + (int)sVar3;
    } while ((int)lVar6 != -1);
    if (param_3 != 0) {
      iVar8 = iVar8 + 5;
    }
    pcVar2 = (char *)xmalloc(iVar8);
    builtin_strncpy(pcVar2,"(|) (",6);
    uVar7 = 0;
    do {
      if (uVar7 != 0) {
        sVar3 = strlen(pcVar2);
        pcVar4 = pcVar2 + sVar3;
        pcVar4[0] = ',';
        pcVar4[1] = ' ';
        pcVar4[2] = '\0';
      }
      sVar3 = strlen(pcVar2);
      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));
      bVar9 = param_2 - 1U != uVar7;
      uVar7 = uVar7 + 1;
    } while (bVar9);
    if (param_3 != 0) {
      pcVar4[2] = '\0';
      pcVar4[0] = ',';
      pcVar4[1] = ' ';
      sVar3 = strlen(pcVar2);
      builtin_strncpy(pcVar2 + sVar3,"...",4);
    }
    free(__ptr);
  }
  sVar3 = strlen(pcVar2);
  (pcVar2 + sVar3)[0] = ')';
  (pcVar2 + sVar3)[1] = '\0';
  uVar5 = FUN_00127110(param_1,pcVar2);
  if ((int)uVar5 != 0) {
    free(pcVar2);
    uVar5 = 1;
  }
  return uVar5;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x18
CMP qword ptr [RDI + 0x10],0x0
JZ 0x00127943
MOV R13,RDI
MOV EBX,ESI
MOV R15D,EDX
TEST ESI,ESI
JLE 0x00127898
MOVSXD RDI,ESI
MOV EBP,0xa
LEA R14,[R13 + 0x10]
SHL RDI,0x3
CALL 0x00107350
MOV R12,RAX
LEA EAX,[RBX + -0x1]
MOV dword ptr [RSP + 0xc],EAX
MOVSXD RBX,EAX
NOP dword ptr [RAX + RAX*0x1]
LEA RSI,[0x13da2a]
MOV RDI,R13
CALL 0x00127110
TEST EAX,EAX
JZ 0x001278d8
MOV RDI,R14
CALL 0x00126930
MOV qword ptr [R12 + RBX*0x8],RAX
TEST RAX,RAX
JZ 0x00127900
MOV RDI,RAX
SUB RBX,0x1
CALL 0x00107250
LEA EBP,[RBP + RAX*0x1 + 0x2]
CMP EBX,-0x1
JNZ 0x00127780
TEST R15D,R15D
LEA EAX,[RBP + 0x5]
CMOVNZ EBP,EAX
XOR EBX,EBX
MOV EDI,EBP
CALL 0x00107350
MOV R9D,0x28
MOV R14D,dword ptr [RSP + 0xc]
MOV RBP,RAX
MOV dword ptr [RAX],0x20297c28
MOV word ptr [RAX + 0x4],R9W
JMP 0x001277f3
MOV RBX,RDX
TEST RBX,RBX
JZ 0x0012780f
MOV RDI,RBP
CALL 0x00107250
MOV ESI,0x202c
ADD RAX,RBP
MOV word ptr [RAX],SI
MOV byte ptr [RAX + 0x2],0x0
MOV RDI,RBP
CALL 0x00107250
MOV RSI,qword ptr [R12 + RBX*0x8]
LEA RDI,[RBP + RAX*0x1]
CALL 0x00107220
LEA RDX,[RBX + 0x1]
CMP R14,RBX
JNZ 0x001277f0
TEST R15D,R15D
JZ 0x0012784f
MOV ECX,0x202c
MOV byte ptr [RAX + 0x2],0x0
MOV RDI,RBP
MOV word ptr [RAX],CX
CALL 0x00107250
MOV dword ptr [RBP + RAX*0x1],0x2e2e2e
MOV RDI,R12
CALL 0x00107070
MOV RDI,RBP
CALL 0x00107250
MOV EDX,0x29
MOV RSI,RBP
MOV RDI,R13
MOV word ptr [RBP + RAX*0x1],DX
CALL 0x00127110
TEST EAX,EAX
JZ 0x00127885
MOV RDI,RBP
CALL 0x00107070
MOV EAX,0x1
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV EDI,0x19
CALL 0x00107350
MOV R8D,0x28
MOV RBP,RAX
MOV dword ptr [RAX],0x20297c28
MOV word ptr [RAX + 0x4],R8W
TEST EBX,EBX
JNZ 0x00127920
TEST R15D,R15D
JZ 0x00127857
MOV RDI,RBP
CALL 0x00107250
MOV dword ptr [RBP + RAX*0x1],0x2e2e2e
JMP 0x00127857
MOV RDI,R12
MOV dword ptr [RSP + 0xc],EAX
CALL 0x00107070
MOV EAX,dword ptr [RSP + 0xc]
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDI,R12
CALL 0x00107070
ADD RSP,0x18
XOR EAX,EAX
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RCX,0x6f6e6b6e75202a2f
MOV EDI,0x2f
MOV dword ptr [RAX + 0xd],0x2a206e77
MOV qword ptr [RAX + 0x5],RCX
MOV word ptr [RAX + 0x11],DI
JMP 0x00127857
LEA RCX,[0x145f30]
MOV EDX,0x2cd
LEA RSI,[0x14576d]
LEA RDI,[0x145784]
CALL 0x001072d0
(translation_unit "undefined8 FUN_00127730(long param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  long lVar6;\n  ulong uVar7;\n  int iVar8;\n  bool bVar9;\n  \n  if (*(long *)(param_1 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  uVar5 = FUN_00127110(param_1,pcVar2);\n  if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }\n  return uVar5;\n}\n\n" (function_definition "undefined8 FUN_00127730(long param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  long lVar6;\n  ulong uVar7;\n  int iVar8;\n  bool bVar9;\n  \n  if (*(long *)(param_1 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  uVar5 = FUN_00127110(param_1,pcVar2);\n  if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_00127730(long param_1,int param_2,int param_3)" identifier (parameter_list "(long param_1,int param_2,int param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  long lVar6;\n  ulong uVar7;\n  int iVar8;\n  bool bVar9;\n  \n  if (*(long *)(param_1 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  uVar5 = FUN_00127110(param_1,pcVar2);\n  if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (if_statement "if (*(long *)(param_1 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" ( (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }" { comment (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""pr_function_type"" " string_content ") ))) ;) })) (if_statement "if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" if (parenthesized_expression "(param_2 < 1)" ( (binary_expression "param_2 < 1" identifier < number_literal) )) (compound_statement "{\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }\n  }" { (expression_statement "pcVar2 = (char *)xmalloc(0x19);" (assignment_expression "pcVar2 = (char *)xmalloc(0x19)" identifier = (cast_expression "(char *)xmalloc(0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x19)" identifier (argument_list "(0x19)" ( number_literal ))))) ;) (expression_statement "builtin_strncpy(pcVar2,"(|) (",6);" (call_expression "builtin_strncpy(pcVar2,"(|) (",6)" identifier (argument_list "(pcVar2,"(|) (",6)" ( identifier , (string_literal ""(|) ("" " string_content ") , number_literal ))) ;) (if_statement "if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }" { (if_statement "if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }" { (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "builtin_strncpy(pcVar2 + sVar3,"...",4);" (call_expression "builtin_strncpy(pcVar2 + sVar3,"...",4)" identifier (argument_list "(pcVar2 + sVar3,"...",4)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) , (string_literal ""..."" " string_content ") , number_literal ))) ;) })) }) (else_clause "else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }" else (compound_statement "{\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }" { (expression_statement "builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);" (call_expression "builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe)" identifier (argument_list "(pcVar2 + 5,"/* unknown */",0xe)" ( (binary_expression "pcVar2 + 5" identifier + number_literal) , (string_literal ""/* unknown */"" " string_content ") , number_literal ))) ;) }))) }) (else_clause "else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" else (compound_statement "{\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" { (expression_statement "iVar8 = 10;" (assignment_expression "iVar8 = 10" identifier = number_literal) ;) (expression_statement "__ptr = (void *)xmalloc((long)param_2 << 3);" (assignment_expression "__ptr = (void *)xmalloc((long)param_2 << 3)" identifier = (cast_expression "(void *)xmalloc((long)param_2 << 3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((long)param_2 << 3)" identifier (argument_list "((long)param_2 << 3)" ( (binary_expression "(long)param_2 << 3" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) << number_literal) ))))) ;) (expression_statement "lVar6 = (long)(int)(param_2 - 1U);" (assignment_expression "lVar6 = (long)(int)(param_2 - 1U)" identifier = (cast_expression "(long)(int)(param_2 - 1U)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)(param_2 - 1U)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_2 - 1U)" ( (binary_expression "param_2 - 1U" identifier - number_literal) ))))) ;) (do_statement "do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);" do (compound_statement "{\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    }" { (expression_statement "iVar1 = FUN_00127110(param_1,&DAT_0013da2a);" (assignment_expression "iVar1 = FUN_00127110(param_1,&DAT_0013da2a)" identifier = (call_expression "FUN_00127110(param_1,&DAT_0013da2a)" identifier (argument_list "(param_1,&DAT_0013da2a)" ( identifier , (pointer_expression "&DAT_0013da2a" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        free(__ptr);\n        return 0;\n      }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "pcVar2 = (char *)FUN_00126930(param_1 + 0x10);" (assignment_expression "pcVar2 = (char *)FUN_00126930(param_1 + 0x10)" identifier = (cast_expression "(char *)FUN_00126930(param_1 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00126930(param_1 + 0x10)" identifier (argument_list "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(char **)((long)__ptr + lVar6 * 8) = pcVar2;" (assignment_expression "*(char **)((long)__ptr + lVar6 * 8) = pcVar2" (pointer_expression "*(char **)((long)__ptr + lVar6 * 8)" * (cast_expression "(char **)((long)__ptr + lVar6 * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr + lVar6 * 8)" ( (binary_expression "(long)__ptr + lVar6 * 8" (cast_expression "(long)__ptr" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) = identifier) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(__ptr);\n        return 0;\n      }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "lVar6 = lVar6 + -1;" (assignment_expression "lVar6 = lVar6 + -1" identifier = (binary_expression "lVar6 + -1" identifier + number_literal)) ;) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "iVar8 = iVar8 + 2 + (int)sVar3;" (assignment_expression "iVar8 = iVar8 + 2 + (int)sVar3" identifier = (binary_expression "iVar8 + 2 + (int)sVar3" (binary_expression "iVar8 + 2" identifier + number_literal) + (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) while (parenthesized_expression "((int)lVar6 != -1)" ( (binary_expression "(int)lVar6 != -1" (cast_expression "(int)lVar6" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) ;) (if_statement "if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar8 = iVar8 + 5;\n    }" { (expression_statement "iVar8 = iVar8 + 5;" (assignment_expression "iVar8 = iVar8 + 5" identifier = (binary_expression "iVar8 + 5" identifier + number_literal)) ;) })) (expression_statement "pcVar2 = (char *)xmalloc(iVar8);" (assignment_expression "pcVar2 = (char *)xmalloc(iVar8)" identifier = (cast_expression "(char *)xmalloc(iVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar8)" identifier (argument_list "(iVar8)" ( identifier ))))) ;) (expression_statement "builtin_strncpy(pcVar2,"(|) (",6);" (call_expression "builtin_strncpy(pcVar2,"(|) (",6)" identifier (argument_list "(pcVar2,"(|) (",6)" ( identifier , (string_literal ""(|) ("" " string_content ") , number_literal ))) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);" do (compound_statement "{\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    }" { (if_statement "if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }" { (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "pcVar4 = pcVar2 + sVar3;" (assignment_expression "pcVar4 = pcVar2 + sVar3" identifier = (binary_expression "pcVar2 + sVar3" identifier + identifier)) ;) (expression_statement "pcVar4[0] = ',';" (assignment_expression "pcVar4[0] = ','" (subscript_expression "pcVar4[0]" identifier [ number_literal ]) = (char_literal "','" ' character ')) ;) (expression_statement "pcVar4[1] = ' ';" (assignment_expression "pcVar4[1] = ' '" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "' '" ' character ')) ;) (expression_statement "pcVar4[2] = '\0';" (assignment_expression "pcVar4[2] = '\0'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));" (assignment_expression "pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8))" identifier = (call_expression "stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8))" identifier (argument_list "(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8))" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) , (pointer_expression "*(char **)((long)__ptr + uVar7 * 8)" * (cast_expression "(char **)((long)__ptr + uVar7 * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr + uVar7 * 8)" ( (binary_expression "(long)__ptr + uVar7 * 8" (cast_expression "(long)__ptr" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "uVar7 * 8" identifier * number_literal)) )))) )))) ;) (expression_statement "bVar9 = param_2 - 1U != uVar7;" (assignment_expression "bVar9 = param_2 - 1U != uVar7" identifier = (binary_expression "param_2 - 1U != uVar7" (binary_expression "param_2 - 1U" identifier - number_literal) != identifier)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (if_statement "if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }" { (expression_statement "pcVar4[2] = '\0';" (assignment_expression "pcVar4[2] = '\0'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar4[0] = ',';" (assignment_expression "pcVar4[0] = ','" (subscript_expression "pcVar4[0]" identifier [ number_literal ]) = (char_literal "','" ' character ')) ;) (expression_statement "pcVar4[1] = ' ';" (assignment_expression "pcVar4[1] = ' '" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "' '" ' character ')) ;) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "builtin_strncpy(pcVar2 + sVar3,"...",4);" (call_expression "builtin_strncpy(pcVar2 + sVar3,"...",4)" identifier (argument_list "(pcVar2 + sVar3,"...",4)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) , (string_literal ""..."" " string_content ") , number_literal ))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) }))) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "(pcVar2 + sVar3)[0] = ')';" (assignment_expression "(pcVar2 + sVar3)[0] = ')'" (subscript_expression "(pcVar2 + sVar3)[0]" (parenthesized_expression "(pcVar2 + sVar3)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) )) [ number_literal ]) = (char_literal "')'" ' character ')) ;) (expression_statement "(pcVar2 + sVar3)[1] = '\0';" (assignment_expression "(pcVar2 + sVar3)[1] = '\0'" (subscript_expression "(pcVar2 + sVar3)[1]" (parenthesized_expression "(pcVar2 + sVar3)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) )) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar5 = FUN_00127110(param_1,pcVar2);" (assignment_expression "uVar5 = FUN_00127110(param_1,pcVar2)" identifier = (call_expression "FUN_00127110(param_1,pcVar2)" identifier (argument_list "(param_1,pcVar2)" ( identifier , identifier )))) ;) (if_statement "if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }" if (parenthesized_expression "((int)uVar5 != 0)" ( (binary_expression "(int)uVar5 != 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) (compound_statement "{\n    free(pcVar2);\n    uVar5 = 1;\n  }" { (expression_statement "free(pcVar2);" (call_expression "free(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "bfd_boolean pr_function_type(void *p,int argcount,bfd_boolean varargs)\n\n{\n  bfd_boolean bVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  long lVar5;\n  ulong uVar6;\n  int iVar7;\n  pr_handle *info;\n  bool bVar8;\n  \n  if (*(long *)((long)p + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (argcount < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (argcount == 0) {\n      if (varargs != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }\n  }\n  else {\n    iVar7 = 10;\n    __ptr = (void *)xmalloc((long)argcount << 3);\n    lVar5 = (long)(int)(argcount - 1U);\n    do {\n      bVar1 = substitute_type((pr_handle *)p,"");\n      if (bVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = pop_type((pr_handle *)((long)p + 0x10));\n      *(char **)((long)__ptr + lVar5 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar5 = lVar5 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar7 = iVar7 + 2 + (int)sVar3;\n    } while ((int)lVar5 != -1);\n    if (varargs != 0) {\n      iVar7 = iVar7 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar7);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar6 = 0;\n    do {\n      if (uVar6 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8));\n      bVar8 = argcount - 1U != uVar6;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n    if (varargs != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  bVar1 = substitute_type((pr_handle *)p,pcVar2);\n  if (bVar1 != 0) {\n    free(pcVar2);\n    bVar1 = 1;\n  }\n  return bVar1;\n}\n\n" (function_definition "bfd_boolean pr_function_type(void *p,int argcount,bfd_boolean varargs)\n\n{\n  bfd_boolean bVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  long lVar5;\n  ulong uVar6;\n  int iVar7;\n  pr_handle *info;\n  bool bVar8;\n  \n  if (*(long *)((long)p + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (argcount < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (argcount == 0) {\n      if (varargs != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }\n  }\n  else {\n    iVar7 = 10;\n    __ptr = (void *)xmalloc((long)argcount << 3);\n    lVar5 = (long)(int)(argcount - 1U);\n    do {\n      bVar1 = substitute_type((pr_handle *)p,"");\n      if (bVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = pop_type((pr_handle *)((long)p + 0x10));\n      *(char **)((long)__ptr + lVar5 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar5 = lVar5 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar7 = iVar7 + 2 + (int)sVar3;\n    } while ((int)lVar5 != -1);\n    if (varargs != 0) {\n      iVar7 = iVar7 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar7);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar6 = 0;\n    do {\n      if (uVar6 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8));\n      bVar8 = argcount - 1U != uVar6;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n    if (varargs != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  bVar1 = substitute_type((pr_handle *)p,pcVar2);\n  if (bVar1 != 0) {\n    free(pcVar2);\n    bVar1 = 1;\n  }\n  return bVar1;\n}" type_identifier (function_declarator "pr_function_type(void *p,int argcount,bfd_boolean varargs)" identifier (parameter_list "(void *p,int argcount,bfd_boolean varargs)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "int argcount" primitive_type identifier) , (parameter_declaration "bfd_boolean varargs" type_identifier identifier) ))) (compound_statement "{\n  bfd_boolean bVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  long lVar5;\n  ulong uVar6;\n  int iVar7;\n  pr_handle *info;\n  bool bVar8;\n  \n  if (*(long *)((long)p + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (argcount < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (argcount == 0) {\n      if (varargs != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }\n  }\n  else {\n    iVar7 = 10;\n    __ptr = (void *)xmalloc((long)argcount << 3);\n    lVar5 = (long)(int)(argcount - 1U);\n    do {\n      bVar1 = substitute_type((pr_handle *)p,"");\n      if (bVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = pop_type((pr_handle *)((long)p + 0x10));\n      *(char **)((long)__ptr + lVar5 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar5 = lVar5 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar7 = iVar7 + 2 + (int)sVar3;\n    } while ((int)lVar5 != -1);\n    if (varargs != 0) {\n      iVar7 = iVar7 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar7);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar6 = 0;\n    do {\n      if (uVar6 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8));\n      bVar8 = argcount - 1U != uVar6;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n    if (varargs != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  bVar1 = substitute_type((pr_handle *)p,pcVar2);\n  if (bVar1 != 0) {\n    free(pcVar2);\n    bVar1 = 1;\n  }\n  return bVar1;\n}" { (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "pr_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (declaration "bool bVar8;" primitive_type identifier ;) (if_statement "if (*(long *)((long)p + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }" if (parenthesized_expression "(*(long *)((long)p + 0x10) == 0)" ( (binary_expression "*(long *)((long)p + 0x10) == 0" (pointer_expression "*(long *)((long)p + 0x10)" * (cast_expression "(long *)((long)p + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x10)" ( (binary_expression "(long)p + 0x10" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }" { comment (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""pr_function_type"" " string_content ") ))) ;) })) (if_statement "if (argcount < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (argcount == 0) {\n      if (varargs != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }\n  }\n  else {\n    iVar7 = 10;\n    __ptr = (void *)xmalloc((long)argcount << 3);\n    lVar5 = (long)(int)(argcount - 1U);\n    do {\n      bVar1 = substitute_type((pr_handle *)p,"");\n      if (bVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = pop_type((pr_handle *)((long)p + 0x10));\n      *(char **)((long)__ptr + lVar5 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar5 = lVar5 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar7 = iVar7 + 2 + (int)sVar3;\n    } while ((int)lVar5 != -1);\n    if (varargs != 0) {\n      iVar7 = iVar7 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar7);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar6 = 0;\n    do {\n      if (uVar6 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8));\n      bVar8 = argcount - 1U != uVar6;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n    if (varargs != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" if (parenthesized_expression "(argcount < 1)" ( (binary_expression "argcount < 1" identifier < number_literal) )) (compound_statement "{\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (argcount == 0) {\n      if (varargs != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }\n  }" { (expression_statement "pcVar2 = (char *)xmalloc(0x19);" (assignment_expression "pcVar2 = (char *)xmalloc(0x19)" identifier = (cast_expression "(char *)xmalloc(0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x19)" identifier (argument_list "(0x19)" ( number_literal ))))) ;) (expression_statement "builtin_strncpy(pcVar2,"(|) (",6);" (call_expression "builtin_strncpy(pcVar2,"(|) (",6)" identifier (argument_list "(pcVar2,"(|) (",6)" ( identifier , (string_literal ""(|) ("" " string_content ") , number_literal ))) ;) (if_statement "if (argcount == 0) {\n      if (varargs != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }" if (parenthesized_expression "(argcount == 0)" ( (binary_expression "argcount == 0" identifier == number_literal) )) (compound_statement "{\n      if (varargs != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }" { (if_statement "if (varargs != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }" if (parenthesized_expression "(varargs != 0)" ( (binary_expression "varargs != 0" identifier != number_literal) )) (compound_statement "{\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }" { (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "builtin_strncpy(pcVar2 + sVar3,"...",4);" (call_expression "builtin_strncpy(pcVar2 + sVar3,"...",4)" identifier (argument_list "(pcVar2 + sVar3,"...",4)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) , (string_literal ""..."" " string_content ") , number_literal ))) ;) })) }) (else_clause "else {\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }" else (compound_statement "{\n      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);\n    }" { (expression_statement "builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);" (call_expression "builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe)" identifier (argument_list "(pcVar2 + 5,"/* unknown */",0xe)" ( (binary_expression "pcVar2 + 5" identifier + number_literal) , (string_literal ""/* unknown */"" " string_content ") , number_literal ))) ;) }))) }) (else_clause "else {\n    iVar7 = 10;\n    __ptr = (void *)xmalloc((long)argcount << 3);\n    lVar5 = (long)(int)(argcount - 1U);\n    do {\n      bVar1 = substitute_type((pr_handle *)p,"");\n      if (bVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = pop_type((pr_handle *)((long)p + 0x10));\n      *(char **)((long)__ptr + lVar5 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar5 = lVar5 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar7 = iVar7 + 2 + (int)sVar3;\n    } while ((int)lVar5 != -1);\n    if (varargs != 0) {\n      iVar7 = iVar7 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar7);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar6 = 0;\n    do {\n      if (uVar6 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8));\n      bVar8 = argcount - 1U != uVar6;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n    if (varargs != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" else (compound_statement "{\n    iVar7 = 10;\n    __ptr = (void *)xmalloc((long)argcount << 3);\n    lVar5 = (long)(int)(argcount - 1U);\n    do {\n      bVar1 = substitute_type((pr_handle *)p,"");\n      if (bVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = pop_type((pr_handle *)((long)p + 0x10));\n      *(char **)((long)__ptr + lVar5 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar5 = lVar5 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar7 = iVar7 + 2 + (int)sVar3;\n    } while ((int)lVar5 != -1);\n    if (varargs != 0) {\n      iVar7 = iVar7 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar7);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar6 = 0;\n    do {\n      if (uVar6 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8));\n      bVar8 = argcount - 1U != uVar6;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);\n    if (varargs != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" { (expression_statement "iVar7 = 10;" (assignment_expression "iVar7 = 10" identifier = number_literal) ;) (expression_statement "__ptr = (void *)xmalloc((long)argcount << 3);" (assignment_expression "__ptr = (void *)xmalloc((long)argcount << 3)" identifier = (cast_expression "(void *)xmalloc((long)argcount << 3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((long)argcount << 3)" identifier (argument_list "((long)argcount << 3)" ( (binary_expression "(long)argcount << 3" (cast_expression "(long)argcount" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) << number_literal) ))))) ;) (expression_statement "lVar5 = (long)(int)(argcount - 1U);" (assignment_expression "lVar5 = (long)(int)(argcount - 1U)" identifier = (cast_expression "(long)(int)(argcount - 1U)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)(argcount - 1U)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(argcount - 1U)" ( (binary_expression "argcount - 1U" identifier - number_literal) ))))) ;) (do_statement "do {\n      bVar1 = substitute_type((pr_handle *)p,"");\n      if (bVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = pop_type((pr_handle *)((long)p + 0x10));\n      *(char **)((long)__ptr + lVar5 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar5 = lVar5 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar7 = iVar7 + 2 + (int)sVar3;\n    } while ((int)lVar5 != -1);" do (compound_statement "{\n      bVar1 = substitute_type((pr_handle *)p,"");\n      if (bVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = pop_type((pr_handle *)((long)p + 0x10));\n      *(char **)((long)__ptr + lVar5 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar5 = lVar5 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar7 = iVar7 + 2 + (int)sVar3;\n    }" { (expression_statement "bVar1 = substitute_type((pr_handle *)p,"");" (assignment_expression "bVar1 = substitute_type((pr_handle *)p,"")" identifier = (call_expression "substitute_type((pr_handle *)p,"")" identifier (argument_list "((pr_handle *)p,"")" ( (cast_expression "(pr_handle *)p" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal """" " ") )))) ;) (if_statement "if (bVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        free(__ptr);\n        return 0;\n      }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "pcVar2 = pop_type((pr_handle *)((long)p + 0x10));" (assignment_expression "pcVar2 = pop_type((pr_handle *)((long)p + 0x10))" identifier = (call_expression "pop_type((pr_handle *)((long)p + 0x10))" identifier (argument_list "((pr_handle *)((long)p + 0x10))" ( (cast_expression "(pr_handle *)((long)p + 0x10)" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x10)" ( (binary_expression "(long)p + 0x10" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))) )))) ;) (expression_statement "*(char **)((long)__ptr + lVar5 * 8) = pcVar2;" (assignment_expression "*(char **)((long)__ptr + lVar5 * 8) = pcVar2" (pointer_expression "*(char **)((long)__ptr + lVar5 * 8)" * (cast_expression "(char **)((long)__ptr + lVar5 * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr + lVar5 * 8)" ( (binary_expression "(long)__ptr + lVar5 * 8" (cast_expression "(long)__ptr" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar5 * 8" identifier * number_literal)) )))) = identifier) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(__ptr);\n        return 0;\n      }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "lVar5 = lVar5 + -1;" (assignment_expression "lVar5 = lVar5 + -1" identifier = (binary_expression "lVar5 + -1" identifier + number_literal)) ;) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "iVar7 = iVar7 + 2 + (int)sVar3;" (assignment_expression "iVar7 = iVar7 + 2 + (int)sVar3" identifier = (binary_expression "iVar7 + 2 + (int)sVar3" (binary_expression "iVar7 + 2" identifier + number_literal) + (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) while (parenthesized_expression "((int)lVar5 != -1)" ( (binary_expression "(int)lVar5 != -1" (cast_expression "(int)lVar5" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) ;) (if_statement "if (varargs != 0) {\n      iVar7 = iVar7 + 5;\n    }" if (parenthesized_expression "(varargs != 0)" ( (binary_expression "varargs != 0" identifier != number_literal) )) (compound_statement "{\n      iVar7 = iVar7 + 5;\n    }" { (expression_statement "iVar7 = iVar7 + 5;" (assignment_expression "iVar7 = iVar7 + 5" identifier = (binary_expression "iVar7 + 5" identifier + number_literal)) ;) })) (expression_statement "pcVar2 = (char *)xmalloc(iVar7);" (assignment_expression "pcVar2 = (char *)xmalloc(iVar7)" identifier = (cast_expression "(char *)xmalloc(iVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar7)" identifier (argument_list "(iVar7)" ( identifier ))))) ;) (expression_statement "builtin_strncpy(pcVar2,"(|) (",6);" (call_expression "builtin_strncpy(pcVar2,"(|) (",6)" identifier (argument_list "(pcVar2,"(|) (",6)" ( identifier , (string_literal ""(|) ("" " string_content ") , number_literal ))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (uVar6 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8));\n      bVar8 = argcount - 1U != uVar6;\n      uVar6 = uVar6 + 1;\n    } while (bVar8);" do (compound_statement "{\n      if (uVar6 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8));\n      bVar8 = argcount - 1U != uVar6;\n      uVar6 = uVar6 + 1;\n    }" { (if_statement "if (uVar6 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }" { (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "pcVar4 = pcVar2 + sVar3;" (assignment_expression "pcVar4 = pcVar2 + sVar3" identifier = (binary_expression "pcVar2 + sVar3" identifier + identifier)) ;) (expression_statement "pcVar4[0] = ',';" (assignment_expression "pcVar4[0] = ','" (subscript_expression "pcVar4[0]" identifier [ number_literal ]) = (char_literal "','" ' character ')) ;) (expression_statement "pcVar4[1] = ' ';" (assignment_expression "pcVar4[1] = ' '" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "' '" ' character ')) ;) (expression_statement "pcVar4[2] = '\0';" (assignment_expression "pcVar4[2] = '\0'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8));" (assignment_expression "pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8))" identifier = (call_expression "stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8))" identifier (argument_list "(pcVar2 + sVar3,*(char **)((long)__ptr + uVar6 * 8))" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) , (pointer_expression "*(char **)((long)__ptr + uVar6 * 8)" * (cast_expression "(char **)((long)__ptr + uVar6 * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr + uVar6 * 8)" ( (binary_expression "(long)__ptr + uVar6 * 8" (cast_expression "(long)__ptr" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "uVar6 * 8" identifier * number_literal)) )))) )))) ;) (expression_statement "bVar8 = argcount - 1U != uVar6;" (assignment_expression "bVar8 = argcount - 1U != uVar6" identifier = (binary_expression "argcount - 1U != uVar6" (binary_expression "argcount - 1U" identifier - number_literal) != identifier)) ;) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar8)" ( identifier )) ;) (if_statement "if (varargs != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }" if (parenthesized_expression "(varargs != 0)" ( (binary_expression "varargs != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }" { (expression_statement "pcVar4[2] = '\0';" (assignment_expression "pcVar4[2] = '\0'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar4[0] = ',';" (assignment_expression "pcVar4[0] = ','" (subscript_expression "pcVar4[0]" identifier [ number_literal ]) = (char_literal "','" ' character ')) ;) (expression_statement "pcVar4[1] = ' ';" (assignment_expression "pcVar4[1] = ' '" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "' '" ' character ')) ;) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "builtin_strncpy(pcVar2 + sVar3,"...",4);" (call_expression "builtin_strncpy(pcVar2 + sVar3,"...",4)" identifier (argument_list "(pcVar2 + sVar3,"...",4)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) , (string_literal ""..."" " string_content ") , number_literal ))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) }))) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "(pcVar2 + sVar3)[0] = ')';" (assignment_expression "(pcVar2 + sVar3)[0] = ')'" (subscript_expression "(pcVar2 + sVar3)[0]" (parenthesized_expression "(pcVar2 + sVar3)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) )) [ number_literal ]) = (char_literal "')'" ' character ')) ;) (expression_statement "(pcVar2 + sVar3)[1] = '\0';" (assignment_expression "(pcVar2 + sVar3)[1] = '\0'" (subscript_expression "(pcVar2 + sVar3)[1]" (parenthesized_expression "(pcVar2 + sVar3)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) )) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "bVar1 = substitute_type((pr_handle *)p,pcVar2);" (assignment_expression "bVar1 = substitute_type((pr_handle *)p,pcVar2)" identifier = (call_expression "substitute_type((pr_handle *)p,pcVar2)" identifier (argument_list "((pr_handle *)p,pcVar2)" ( (cast_expression "(pr_handle *)p" ( (type_descriptor "pr_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (if_statement "if (bVar1 != 0) {\n    free(pcVar2);\n    bVar1 = 1;\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    free(pcVar2);\n    bVar1 = 1;\n  }" { (expression_statement "free(pcVar2);" (call_expression "free(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "bVar1 = 1;" (assignment_expression "bVar1 = 1" identifier = number_literal) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "undefined8 FUN_00127730(long param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  long lVar6;\n  ulong uVar7;\n  int iVar8;\n  bool bVar9;\n  \n  if (*(long *)(param_1 + 0x10) == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  uVar5 = FUN_00127110(param_1,pcVar2);\n  if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }\n  return uVar5;\n}\n\n" (function_definition "undefined8 FUN_00127730(long param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  long lVar6;\n  ulong uVar7;\n  int iVar8;\n  bool bVar9;\n  \n  if (*(long *)(param_1 + 0x10) == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  uVar5 = FUN_00127110(param_1,pcVar2);\n  if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_00127730(long param_1,int param_2,int param_3)" identifier (parameter_list "(long param_1,int param_2,int param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  long lVar6;\n  ulong uVar7;\n  int iVar8;\n  bool bVar9;\n  \n  if (*(long *)(param_1 + 0x10) == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  uVar5 = FUN_00127110(param_1,pcVar2);\n  if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (if_statement "if (*(long *)(param_1 + 0x10) == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" ( (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }" { (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type")" identifier (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type")" ( (string_literal ""info->stack != NULL"" " string_content ") , (string_literal ""../../binutils/prdbg.c"" " string_content ") , number_literal , (string_literal ""pr_function_type"" " string_content ") ))) ;) })) (if_statement "if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" if (parenthesized_expression "(param_2 < 1)" ( (binary_expression "param_2 < 1" identifier < number_literal) )) (compound_statement "{\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }\n  }" { (expression_statement "pcVar2 = (char *)xmalloc(0x19);" (assignment_expression "pcVar2 = (char *)xmalloc(0x19)" identifier = (cast_expression "(char *)xmalloc(0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x19)" identifier (argument_list "(0x19)" ( number_literal ))))) ;) (expression_statement "builtin_strncpy(pcVar2,"(|) (",6);" (call_expression "builtin_strncpy(pcVar2,"(|) (",6)" identifier (argument_list "(pcVar2,"(|) (",6)" ( identifier , (string_literal ""(|) ("" " string_content ") , number_literal ))) ;) (if_statement "if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }" { (if_statement "if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }" { (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "builtin_strncpy(pcVar2 + sVar3,"...",4);" (call_expression "builtin_strncpy(pcVar2 + sVar3,"...",4)" identifier (argument_list "(pcVar2 + sVar3,"...",4)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) , (string_literal ""..."" " string_content ") , number_literal ))) ;) })) }) (else_clause "else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }" else (compound_statement "{\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }" { (expression_statement "builtin_strncpy(pcVar2 + 5,"",0xe);" (call_expression "builtin_strncpy(pcVar2 + 5,"",0xe)" identifier (argument_list "(pcVar2 + 5,"",0xe)" ( (binary_expression "pcVar2 + 5" identifier + number_literal) , (string_literal """" " ") , number_literal ))) ;) }))) }) (else_clause "else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" else (compound_statement "{\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" { (expression_statement "iVar8 = 10;" (assignment_expression "iVar8 = 10" identifier = number_literal) ;) (expression_statement "__ptr = (void *)xmalloc((long)param_2 << 3);" (assignment_expression "__ptr = (void *)xmalloc((long)param_2 << 3)" identifier = (cast_expression "(void *)xmalloc((long)param_2 << 3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((long)param_2 << 3)" identifier (argument_list "((long)param_2 << 3)" ( (binary_expression "(long)param_2 << 3" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) << number_literal) ))))) ;) (expression_statement "lVar6 = (long)(int)(param_2 - 1U);" (assignment_expression "lVar6 = (long)(int)(param_2 - 1U)" identifier = (cast_expression "(long)(int)(param_2 - 1U)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)(param_2 - 1U)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_2 - 1U)" ( (binary_expression "param_2 - 1U" identifier - number_literal) ))))) ;) (do_statement "do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);" do (compound_statement "{\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    }" { (expression_statement "iVar1 = FUN_00127110(param_1,&DAT_0013da2a);" (assignment_expression "iVar1 = FUN_00127110(param_1,&DAT_0013da2a)" identifier = (call_expression "FUN_00127110(param_1,&DAT_0013da2a)" identifier (argument_list "(param_1,&DAT_0013da2a)" ( identifier , (pointer_expression "&DAT_0013da2a" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        free(__ptr);\n        return 0;\n      }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "pcVar2 = (char *)FUN_00126930(param_1 + 0x10);" (assignment_expression "pcVar2 = (char *)FUN_00126930(param_1 + 0x10)" identifier = (cast_expression "(char *)FUN_00126930(param_1 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00126930(param_1 + 0x10)" identifier (argument_list "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(char **)((long)__ptr + lVar6 * 8) = pcVar2;" (assignment_expression "*(char **)((long)__ptr + lVar6 * 8) = pcVar2" (pointer_expression "*(char **)((long)__ptr + lVar6 * 8)" * (cast_expression "(char **)((long)__ptr + lVar6 * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr + lVar6 * 8)" ( (binary_expression "(long)__ptr + lVar6 * 8" (cast_expression "(long)__ptr" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) = identifier) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(__ptr);\n        return 0;\n      }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "lVar6 = lVar6 + -1;" (assignment_expression "lVar6 = lVar6 + -1" identifier = (binary_expression "lVar6 + -1" identifier + number_literal)) ;) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "iVar8 = iVar8 + 2 + (int)sVar3;" (assignment_expression "iVar8 = iVar8 + 2 + (int)sVar3" identifier = (binary_expression "iVar8 + 2 + (int)sVar3" (binary_expression "iVar8 + 2" identifier + number_literal) + (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) while (parenthesized_expression "((int)lVar6 != -1)" ( (binary_expression "(int)lVar6 != -1" (cast_expression "(int)lVar6" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) ;) (if_statement "if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar8 = iVar8 + 5;\n    }" { (expression_statement "iVar8 = iVar8 + 5;" (assignment_expression "iVar8 = iVar8 + 5" identifier = (binary_expression "iVar8 + 5" identifier + number_literal)) ;) })) (expression_statement "pcVar2 = (char *)xmalloc(iVar8);" (assignment_expression "pcVar2 = (char *)xmalloc(iVar8)" identifier = (cast_expression "(char *)xmalloc(iVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar8)" identifier (argument_list "(iVar8)" ( identifier ))))) ;) (expression_statement "builtin_strncpy(pcVar2,"(|) (",6);" (call_expression "builtin_strncpy(pcVar2,"(|) (",6)" identifier (argument_list "(pcVar2,"(|) (",6)" ( identifier , (string_literal ""(|) ("" " string_content ") , number_literal ))) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);" do (compound_statement "{\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    }" { (if_statement "if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }" { (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "pcVar4 = pcVar2 + sVar3;" (assignment_expression "pcVar4 = pcVar2 + sVar3" identifier = (binary_expression "pcVar2 + sVar3" identifier + identifier)) ;) (expression_statement "pcVar4[0] = ',';" (assignment_expression "pcVar4[0] = ','" (subscript_expression "pcVar4[0]" identifier [ number_literal ]) = (char_literal "','" ' character ')) ;) (expression_statement "pcVar4[1] = ' ';" (assignment_expression "pcVar4[1] = ' '" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "' '" ' character ')) ;) (expression_statement "pcVar4[2] = '\0';" (assignment_expression "pcVar4[2] = '\0'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));" (assignment_expression "pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8))" identifier = (call_expression "stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8))" identifier (argument_list "(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8))" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) , (pointer_expression "*(char **)((long)__ptr + uVar7 * 8)" * (cast_expression "(char **)((long)__ptr + uVar7 * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr + uVar7 * 8)" ( (binary_expression "(long)__ptr + uVar7 * 8" (cast_expression "(long)__ptr" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "uVar7 * 8" identifier * number_literal)) )))) )))) ;) (expression_statement "bVar9 = param_2 - 1U != uVar7;" (assignment_expression "bVar9 = param_2 - 1U != uVar7" identifier = (binary_expression "param_2 - 1U != uVar7" (binary_expression "param_2 - 1U" identifier - number_literal) != identifier)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar9)" ( identifier )) ;) (if_statement "if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }" { (expression_statement "pcVar4[2] = '\0';" (assignment_expression "pcVar4[2] = '\0'" (subscript_expression "pcVar4[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar4[0] = ',';" (assignment_expression "pcVar4[0] = ','" (subscript_expression "pcVar4[0]" identifier [ number_literal ]) = (char_literal "','" ' character ')) ;) (expression_statement "pcVar4[1] = ' ';" (assignment_expression "pcVar4[1] = ' '" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "' '" ' character ')) ;) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "builtin_strncpy(pcVar2 + sVar3,"...",4);" (call_expression "builtin_strncpy(pcVar2 + sVar3,"...",4)" identifier (argument_list "(pcVar2 + sVar3,"...",4)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) , (string_literal ""..."" " string_content ") , number_literal ))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) }))) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "(pcVar2 + sVar3)[0] = ')';" (assignment_expression "(pcVar2 + sVar3)[0] = ')'" (subscript_expression "(pcVar2 + sVar3)[0]" (parenthesized_expression "(pcVar2 + sVar3)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) )) [ number_literal ]) = (char_literal "')'" ' character ')) ;) (expression_statement "(pcVar2 + sVar3)[1] = '\0';" (assignment_expression "(pcVar2 + sVar3)[1] = '\0'" (subscript_expression "(pcVar2 + sVar3)[1]" (parenthesized_expression "(pcVar2 + sVar3)" ( (binary_expression "pcVar2 + sVar3" identifier + identifier) )) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar5 = FUN_00127110(param_1,pcVar2);" (assignment_expression "uVar5 = FUN_00127110(param_1,pcVar2)" identifier = (call_expression "FUN_00127110(param_1,pcVar2)" identifier (argument_list "(param_1,pcVar2)" ( identifier , identifier )))) ;) (if_statement "if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }" if (parenthesized_expression "((int)uVar5 != 0)" ( (binary_expression "(int)uVar5 != 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) (compound_statement "{\n    free(pcVar2);\n    uVar5 = 1;\n  }" { (expression_statement "free(pcVar2);" (call_expression "free(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (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 (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , (string_literal " string_content ") , LIT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (string_literal " ") , LIT ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) << LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (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 = (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (binary_expression IDENT * LIT)) )))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) != IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (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 ") , LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined8 FUN_00127730(long param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  long lVar6;\n  ulong uVar7;\n  int iVar8;\n  bool bVar9;\n  \n  if (*(long *)(param_1 + 0x10) == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  uVar5 = FUN_00127110(param_1,pcVar2);\n  if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" (type_identifier "undefined8") (function_declarator "FUN_00127730(long param_1,int param_2,int param_3)" (identifier "FUN_00127730") (parameter_list "(long param_1,int param_2,int param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  void *__ptr;\n  char *pcVar2;\n  size_t sVar3;\n  char *pcVar4;\n  undefined8 uVar5;\n  long lVar6;\n  ulong uVar7;\n  int iVar8;\n  bool bVar9;\n  \n  if (*(long *)(param_1 + 0x10) == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }\n  if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }\n  sVar3 = strlen(pcVar2);\n  (pcVar2 + sVar3)[0] = ')';\n  (pcVar2 + sVar3)[1] = '\0';\n  uVar5 = FUN_00127110(param_1,pcVar2);\n  if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }\n  return uVar5;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (if_statement "if (*(long *)(param_1 + 0x10) == 0) {\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");\n  }" ({ "{") (expression_statement "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");" (call_expression "__assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type")" (identifier "__assert_fail") (argument_list "("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type")" (( "(") (string_literal ""info->stack != NULL"" (" """) (string_content "info->stack != NULL") (" """)) (, ",") (string_literal ""../../binutils/prdbg.c"" (" """) (string_content "../../binutils/prdbg.c") (" """)) (, ",") (number_literal "0x2cd") (, ",") (string_literal ""pr_function_type"" (" """) (string_content "pr_function_type") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 < 1) {\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }\n  }\n  else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" (if "if") (parenthesized_expression "(param_2 < 1)" (( "(") (binary_expression "param_2 < 1" (identifier "param_2") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    pcVar2 = (char *)xmalloc(0x19);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }\n  }" ({ "{") (expression_statement "pcVar2 = (char *)xmalloc(0x19);" (assignment_expression "pcVar2 = (char *)xmalloc(0x19)" (identifier "pcVar2") (= "=") (cast_expression "(char *)xmalloc(0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x19)" (identifier "xmalloc") (argument_list "(0x19)" (( "(") (number_literal "0x19") () ")"))))) (; ";")) (expression_statement "builtin_strncpy(pcVar2,"(|) (",6);" (call_expression "builtin_strncpy(pcVar2,"(|) (",6)" (identifier "builtin_strncpy") (argument_list "(pcVar2,"(|) (",6)" (( "(") (identifier "pcVar2") (, ",") (string_literal ""(|) ("" (" """) (string_content "(|) (") (" """)) (, ",") (number_literal "6") () ")"))) (; ";")) (if_statement "if (param_2 == 0) {\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }\n    else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }\n    }" ({ "{") (if_statement "if (param_3 != 0) {\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        sVar3 = strlen(pcVar2);\n        builtin_strncpy(pcVar2 + sVar3,"...",4);\n      }" ({ "{") (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "builtin_strncpy(pcVar2 + sVar3,"...",4);" (call_expression "builtin_strncpy(pcVar2 + sVar3,"...",4)" (identifier "builtin_strncpy") (argument_list "(pcVar2 + sVar3,"...",4)" (( "(") (binary_expression "pcVar2 + sVar3" (identifier "pcVar2") (+ "+") (identifier "sVar3")) (, ",") (string_literal ""..."" (" """) (string_content "...") (" """)) (, ",") (number_literal "4") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }" (else "else") (compound_statement "{\n      builtin_strncpy(pcVar2 + 5,"",0xe);\n    }" ({ "{") (expression_statement "builtin_strncpy(pcVar2 + 5,"",0xe);" (call_expression "builtin_strncpy(pcVar2 + 5,"",0xe)" (identifier "builtin_strncpy") (argument_list "(pcVar2 + 5,"",0xe)" (( "(") (binary_expression "pcVar2 + 5" (identifier "pcVar2") (+ "+") (number_literal "5")) (, ",") (string_literal """" (" """) (" """)) (, ",") (number_literal "0xe") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" (else "else") (compound_statement "{\n    iVar8 = 10;\n    __ptr = (void *)xmalloc((long)param_2 << 3);\n    lVar6 = (long)(int)(param_2 - 1U);\n    do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);\n    if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }\n    pcVar2 = (char *)xmalloc(iVar8);\n    builtin_strncpy(pcVar2,"(|) (",6);\n    uVar7 = 0;\n    do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);\n    if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }\n    free(__ptr);\n  }" ({ "{") (expression_statement "iVar8 = 10;" (assignment_expression "iVar8 = 10" (identifier "iVar8") (= "=") (number_literal "10")) (; ";")) (expression_statement "__ptr = (void *)xmalloc((long)param_2 << 3);" (assignment_expression "__ptr = (void *)xmalloc((long)param_2 << 3)" (identifier "__ptr") (= "=") (cast_expression "(void *)xmalloc((long)param_2 << 3)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc((long)param_2 << 3)" (identifier "xmalloc") (argument_list "((long)param_2 << 3)" (( "(") (binary_expression "(long)param_2 << 3" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (<< "<<") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "lVar6 = (long)(int)(param_2 - 1U);" (assignment_expression "lVar6 = (long)(int)(param_2 - 1U)" (identifier "lVar6") (= "=") (cast_expression "(long)(int)(param_2 - 1U)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)(param_2 - 1U)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_2 - 1U)" (( "(") (binary_expression "param_2 - 1U" (identifier "param_2") (- "-") (number_literal "1U")) () ")"))))) (; ";")) (do_statement "do {\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    } while ((int)lVar6 != -1);" (do "do") (compound_statement "{\n      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);\n      if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }\n      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);\n      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;\n      if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }\n      lVar6 = lVar6 + -1;\n      sVar3 = strlen(pcVar2);\n      iVar8 = iVar8 + 2 + (int)sVar3;\n    }" ({ "{") (expression_statement "iVar1 = FUN_00127110(param_1,&DAT_0013da2a);" (assignment_expression "iVar1 = FUN_00127110(param_1,&DAT_0013da2a)" (identifier "iVar1") (= "=") (call_expression "FUN_00127110(param_1,&DAT_0013da2a)" (identifier "FUN_00127110") (argument_list "(param_1,&DAT_0013da2a)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_0013da2a" (& "&") (identifier "DAT_0013da2a")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        free(__ptr);\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        free(__ptr);\n        return 0;\n      }" ({ "{") (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)FUN_00126930(param_1 + 0x10);" (assignment_expression "pcVar2 = (char *)FUN_00126930(param_1 + 0x10)" (identifier "pcVar2") (= "=") (cast_expression "(char *)FUN_00126930(param_1 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00126930(param_1 + 0x10)" (identifier "FUN_00126930") (argument_list "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(char **)((long)__ptr + lVar6 * 8) = pcVar2;" (assignment_expression "*(char **)((long)__ptr + lVar6 * 8) = pcVar2" (pointer_expression "*(char **)((long)__ptr + lVar6 * 8)" (* "*") (cast_expression "(char **)((long)__ptr + lVar6 * 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)__ptr + lVar6 * 8)" (( "(") (binary_expression "(long)__ptr + lVar6 * 8" (cast_expression "(long)__ptr" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__ptr")) (+ "+") (binary_expression "lVar6 * 8" (identifier "lVar6") (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "pcVar2")) (; ";")) (if_statement "if (pcVar2 == (char *)0x0) {\n        free(__ptr);\n        return 0;\n      }" (if "if") (parenthesized_expression "(pcVar2 == (char *)0x0)" (( "(") (binary_expression "pcVar2 == (char *)0x0" (identifier "pcVar2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        free(__ptr);\n        return 0;\n      }" ({ "{") (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "lVar6 = lVar6 + -1;" (assignment_expression "lVar6 = lVar6 + -1" (identifier "lVar6") (= "=") (binary_expression "lVar6 + -1" (identifier "lVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "iVar8 = iVar8 + 2 + (int)sVar3;" (assignment_expression "iVar8 = iVar8 + 2 + (int)sVar3" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 2 + (int)sVar3" (binary_expression "iVar8 + 2" (identifier "iVar8") (+ "+") (number_literal "2")) (+ "+") (cast_expression "(int)sVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar3")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)lVar6 != -1)" (( "(") (binary_expression "(int)lVar6 != -1" (cast_expression "(int)lVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar6")) (!= "!=") (number_literal "-1")) () ")")) (; ";")) (if_statement "if (param_3 != 0) {\n      iVar8 = iVar8 + 5;\n    }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar8 = iVar8 + 5;\n    }" ({ "{") (expression_statement "iVar8 = iVar8 + 5;" (assignment_expression "iVar8 = iVar8 + 5" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 5" (identifier "iVar8") (+ "+") (number_literal "5"))) (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)xmalloc(iVar8);" (assignment_expression "pcVar2 = (char *)xmalloc(iVar8)" (identifier "pcVar2") (= "=") (cast_expression "(char *)xmalloc(iVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(iVar8)" (identifier "xmalloc") (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")"))))) (; ";")) (expression_statement "builtin_strncpy(pcVar2,"(|) (",6);" (call_expression "builtin_strncpy(pcVar2,"(|) (",6)" (identifier "builtin_strncpy") (argument_list "(pcVar2,"(|) (",6)" (( "(") (identifier "pcVar2") (, ",") (string_literal ""(|) ("" (" """) (string_content "(|) (") (" """)) (, ",") (number_literal "6") () ")"))) (; ";")) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    } while (bVar9);" (do "do") (compound_statement "{\n      if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }\n      sVar3 = strlen(pcVar2);\n      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));\n      bVar9 = param_2 - 1U != uVar7;\n      uVar7 = uVar7 + 1;\n    }" ({ "{") (if_statement "if (uVar7 != 0) {\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }" (if "if") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        sVar3 = strlen(pcVar2);\n        pcVar4 = pcVar2 + sVar3;\n        pcVar4[0] = ',';\n        pcVar4[1] = ' ';\n        pcVar4[2] = '\0';\n      }" ({ "{") (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "pcVar4 = pcVar2 + sVar3;" (assignment_expression "pcVar4 = pcVar2 + sVar3" (identifier "pcVar4") (= "=") (binary_expression "pcVar2 + sVar3" (identifier "pcVar2") (+ "+") (identifier "sVar3"))) (; ";")) (expression_statement "pcVar4[0] = ',';" (assignment_expression "pcVar4[0] = ','" (subscript_expression "pcVar4[0]" (identifier "pcVar4") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "','" (' "'") (character ",") (' "'"))) (; ";")) (expression_statement "pcVar4[1] = ' ';" (assignment_expression "pcVar4[1] = ' '" (subscript_expression "pcVar4[1]" (identifier "pcVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "' '" (' "'") (character " ") (' "'"))) (; ";")) (expression_statement "pcVar4[2] = '\0';" (assignment_expression "pcVar4[2] = '\0'" (subscript_expression "pcVar4[2]" (identifier "pcVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));" (assignment_expression "pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8))" (identifier "pcVar4") (= "=") (call_expression "stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8))" (identifier "stpcpy") (argument_list "(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8))" (( "(") (binary_expression "pcVar2 + sVar3" (identifier "pcVar2") (+ "+") (identifier "sVar3")) (, ",") (pointer_expression "*(char **)((long)__ptr + uVar7 * 8)" (* "*") (cast_expression "(char **)((long)__ptr + uVar7 * 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)__ptr + uVar7 * 8)" (( "(") (binary_expression "(long)__ptr + uVar7 * 8" (cast_expression "(long)__ptr" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__ptr")) (+ "+") (binary_expression "uVar7 * 8" (identifier "uVar7") (* "*") (number_literal "8"))) () ")")))) () ")")))) (; ";")) (expression_statement "bVar9 = param_2 - 1U != uVar7;" (assignment_expression "bVar9 = param_2 - 1U != uVar7" (identifier "bVar9") (= "=") (binary_expression "param_2 - 1U != uVar7" (binary_expression "param_2 - 1U" (identifier "param_2") (- "-") (number_literal "1U")) (!= "!=") (identifier "uVar7"))) (; ";")) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar9)" (( "(") (identifier "bVar9") () ")")) (; ";")) (if_statement "if (param_3 != 0) {\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar4[2] = '\0';\n      pcVar4[0] = ',';\n      pcVar4[1] = ' ';\n      sVar3 = strlen(pcVar2);\n      builtin_strncpy(pcVar2 + sVar3,"...",4);\n    }" ({ "{") (expression_statement "pcVar4[2] = '\0';" (assignment_expression "pcVar4[2] = '\0'" (subscript_expression "pcVar4[2]" (identifier "pcVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "pcVar4[0] = ',';" (assignment_expression "pcVar4[0] = ','" (subscript_expression "pcVar4[0]" (identifier "pcVar4") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "','" (' "'") (character ",") (' "'"))) (; ";")) (expression_statement "pcVar4[1] = ' ';" (assignment_expression "pcVar4[1] = ' '" (subscript_expression "pcVar4[1]" (identifier "pcVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "' '" (' "'") (character " ") (' "'"))) (; ";")) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "builtin_strncpy(pcVar2 + sVar3,"...",4);" (call_expression "builtin_strncpy(pcVar2 + sVar3,"...",4)" (identifier "builtin_strncpy") (argument_list "(pcVar2 + sVar3,"...",4)" (( "(") (binary_expression "pcVar2 + sVar3" (identifier "pcVar2") (+ "+") (identifier "sVar3")) (, ",") (string_literal ""..."" (" """) (string_content "...") (" """)) (, ",") (number_literal "4") () ")"))) (; ";")) (} "}"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (} "}")))) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "(pcVar2 + sVar3)[0] = ')';" (assignment_expression "(pcVar2 + sVar3)[0] = ')'" (subscript_expression "(pcVar2 + sVar3)[0]" (parenthesized_expression "(pcVar2 + sVar3)" (( "(") (binary_expression "pcVar2 + sVar3" (identifier "pcVar2") (+ "+") (identifier "sVar3")) () ")")) ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "')'" (' "'") (character ")") (' "'"))) (; ";")) (expression_statement "(pcVar2 + sVar3)[1] = '\0';" (assignment_expression "(pcVar2 + sVar3)[1] = '\0'" (subscript_expression "(pcVar2 + sVar3)[1]" (parenthesized_expression "(pcVar2 + sVar3)" (( "(") (binary_expression "pcVar2 + sVar3" (identifier "pcVar2") (+ "+") (identifier "sVar3")) () ")")) ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "uVar5 = FUN_00127110(param_1,pcVar2);" (assignment_expression "uVar5 = FUN_00127110(param_1,pcVar2)" (identifier "uVar5") (= "=") (call_expression "FUN_00127110(param_1,pcVar2)" (identifier "FUN_00127110") (argument_list "(param_1,pcVar2)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar2") () ")")))) (; ";")) (if_statement "if ((int)uVar5 != 0) {\n    free(pcVar2);\n    uVar5 = 1;\n  }" (if "if") (parenthesized_expression "((int)uVar5 != 0)" (( "(") (binary_expression "(int)uVar5 != 0" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    free(pcVar2);\n    uVar5 = 1;\n  }" ({ "{") (expression_statement "free(pcVar2);" (call_expression "free(pcVar2)" (identifier "free") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")"))) (; ";")) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

type_1 function_1(void *p,int var_2,type_1 var_5)

{
  type_1 var_10;
  void *__ptr;
  char *var_7;
  size_t var_8;
  char *pcVar4;
  long var_13;
  type_2 var_15;
  int var_14;
  type_3 *info;
  bool bVar8;
  
  if (*(long *)((long)p + 0x10) == 0) {
                    /* WARNING: Subroutine does not return */
    var_1("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");
  }
  if (var_2 < 1) {
    var_7 = (char *)var_3(0x19);
    var_4(var_7,"(|) (",6);
    if (var_2 == 0) {
      if (var_5 != 0) {
        var_8 = var_6(var_7);
        var_4(var_7 + var_8,"...",4);
      }
    }
    else {
      var_4(var_7 + 5,"/* unknown */",0xe);
    }
  }
  else {
    var_14 = 10;
    __ptr = (void *)var_3((long)var_2 << 3);
    var_13 = (long)(int)(var_2 - 1U);
    do {
      var_10 = var_9((type_3 *)p,"");
      if (var_10 == 0) {
        var_11(__ptr);
        return 0;
      }
      var_7 = var_12((type_3 *)((long)p + 0x10));
      *(char **)((long)__ptr + var_13 * 8) = var_7;
      if (var_7 == (char *)0x0) {
        var_11(__ptr);
        return 0;
      }
      var_13 = var_13 + -1;
      var_8 = var_6(var_7);
      var_14 = var_14 + 2 + (int)var_8;
    } while ((int)var_13 != -1);
    if (var_5 != 0) {
      var_14 = var_14 + 5;
    }
    var_7 = (char *)var_3(var_14);
    var_4(var_7,"(|) (",6);
    var_15 = 0;
    do {
      if (var_15 != 0) {
        var_8 = var_6(var_7);
        pcVar4 = var_7 + var_8;
        pcVar4[0] = ',';
        pcVar4[1] = ' ';
        pcVar4[2] = '\0';
      }
      var_8 = var_6(var_7);
      pcVar4 = var_16(var_7 + var_8,*(char **)((long)__ptr + var_15 * 8));
      bVar8 = var_2 - 1U != var_15;
      var_15 = var_15 + 1;
    } while (bVar8);
    if (var_5 != 0) {
      pcVar4[2] = '\0';
      pcVar4[0] = ',';
      pcVar4[1] = ' ';
      var_8 = var_6(var_7);
      var_4(var_7 + var_8,"...",4);
    }
    var_11(__ptr);
  }
  var_8 = var_6(var_7);
  (var_7 + var_8)[0] = ')';
  (var_7 + var_8)[1] = '\0';
  var_10 = var_9((type_3 *)p,var_7);
  if (var_10 != 0) {
    var_11(var_7);
    var_10 = 1;
  }
  return var_10;
}


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

undefined8 MASKED(long param_1,int param_2,int param_3)

{
  int iVar1;
  void *__ptr;
  char *pcVar2;
  size_t sVar3;
  char *pcVar4;
  undefined8 uVar5;
  long lVar6;
  ulong uVar7;
  int iVar8;
  bool bVar9;
  
  if (*(long *)(param_1 + 0x10) == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->stack != NULL","../../binutils/prdbg.c",0x2cd,"pr_function_type");
  }
  if (param_2 < 1) {
    pcVar2 = (char *)xmalloc(0x19);
    builtin_strncpy(pcVar2,"(|) (",6);
    if (param_2 == 0) {
      if (param_3 != 0) {
        sVar3 = strlen(pcVar2);
        builtin_strncpy(pcVar2 + sVar3,"...",4);
      }
    }
    else {
      builtin_strncpy(pcVar2 + 5,"/* unknown */",0xe);
    }
  }
  else {
    iVar8 = 10;
    __ptr = (void *)xmalloc((long)param_2 << 3);
    lVar6 = (long)(int)(param_2 - 1U);
    do {
      iVar1 = FUN_00127110(param_1,&DAT_0013da2a);
      if (iVar1 == 0) {
        free(__ptr);
        return 0;
      }
      pcVar2 = (char *)FUN_00126930(param_1 + 0x10);
      *(char **)((long)__ptr + lVar6 * 8) = pcVar2;
      if (pcVar2 == (char *)0x0) {
        free(__ptr);
        return 0;
      }
      lVar6 = lVar6 + -1;
      sVar3 = strlen(pcVar2);
      iVar8 = iVar8 + 2 + (int)sVar3;
    } while ((int)lVar6 != -1);
    if (param_3 != 0) {
      iVar8 = iVar8 + 5;
    }
    pcVar2 = (char *)xmalloc(iVar8);
    builtin_strncpy(pcVar2,"(|) (",6);
    uVar7 = 0;
    do {
      if (uVar7 != 0) {
        sVar3 = strlen(pcVar2);
        pcVar4 = pcVar2 + sVar3;
        pcVar4[0] = ',';
        pcVar4[1] = ' ';
        pcVar4[2] = '\0';
      }
      sVar3 = strlen(pcVar2);
      pcVar4 = stpcpy(pcVar2 + sVar3,*(char **)((long)__ptr + uVar7 * 8));
      bVar9 = param_2 - 1U != uVar7;
      uVar7 = uVar7 + 1;
    } while (bVar9);
    if (param_3 != 0) {
      pcVar4[2] = '\0';
      pcVar4[0] = ',';
      pcVar4[1] = ' ';
      sVar3 = strlen(pcVar2);
      builtin_strncpy(pcVar2 + sVar3,"...",4);
    }
    free(__ptr);
  }
  sVar3 = strlen(pcVar2);
  (pcVar2 + sVar3)[0] = ')';
  (pcVar2 + sVar3)[1] = '\0';
  uVar5 = FUN_00127110(param_1,pcVar2);
  if ((int)uVar5 != 0) {
    free(pcVar2);
    uVar5 = 1;
  }
  return uVar5;
}

