
bfd_boolean
stab_class_baseclass(void *p,bfd_vma bitpos,bfd_boolean is_virtual,debug_visibility visibility)

{
  int iVar1;
  long *plVar2;
  int iVar3;
  char *__s;
  size_t sVar4;
  char *pcVar5;
  ulong uVar6;
  long lVar7;
  long lVar8;
  long lVar9;
  stab_write_handle *info;
  long lVar10;
  
  iVar1 = *(int *)((long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4);
  __s = stab_pop_type((stab_write_handle *)((long)p + 0x60));
  sVar4 = strlen(__s);
  pcVar5 = (char *)xmalloc(sVar4 + 0x19);
  *pcVar5 = (is_virtual != 0) + '0';
  if (visibility == DEBUG_VISIBILITY_PROTECTED) {
    pcVar5[1] = '1';
  }
  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {
    pcVar5[1] = '2';
  }
  else {
    if (visibility != DEBUG_VISIBILITY_PRIVATE) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar5[1] = '0';
  }
  sprintf(pcVar5 + 2,"%ld,%s;",bitpos);
  free(__s);
  lVar8 = *(long *)((long)p + 0x60);
  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {
    plVar2 = *(long **)(lVar8 + 0x28);
    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {
      lVar10 = 8;
      lVar8 = 0;
      lVar9 = 0x10;
    }
    else {
      uVar6 = 0;
      do {
        iVar3 = (int)uVar6;
        uVar6 = (ulong)(iVar3 + 1);
        lVar8 = uVar6 * 8;
      } while (plVar2[uVar6] != 0);
      lVar10 = (ulong)(iVar3 + 2) << 3;
      lVar9 = (ulong)(iVar3 + 3) << 3;
    }
    lVar7 = xrealloc(plVar2,lVar9);
    lVar9 = *(long *)((long)p + 0x60);
    *(char **)(lVar7 + lVar8) = pcVar5;
    *(undefined8 *)(lVar7 + lVar10) = 0;
    *(long *)(lVar9 + 0x28) = lVar7;
    if (iVar1 != 0) {
      *(undefined4 *)(lVar9 + 0x1c) = 1;
    }
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");
}



undefined8 FUN_00118f60(long param_1,undefined8 param_2,int param_3,int param_4)

{
  int iVar1;
  long *plVar2;
  int iVar3;
  char *__s;
  size_t sVar4;
  char *pcVar5;
  ulong uVar6;
  long lVar7;
  long lVar8;
  long lVar9;
  long lVar10;
  
  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);
  __s = (char *)FUN_00118930();
  sVar4 = strlen(__s);
  pcVar5 = (char *)xmalloc(sVar4 + 0x19);
  *pcVar5 = (param_3 != 0) + '0';
  if (param_4 == 1) {
    pcVar5[1] = '1';
  }
  else if (param_4 == 0) {
    pcVar5[1] = '2';
  }
  else {
    if (param_4 != 2) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar5[1] = '0';
  }
  sprintf(pcVar5 + 2,"%ld,%s;",param_2);
  free(__s);
  lVar8 = *(long *)(param_1 + 0x60);
  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {
    plVar2 = *(long **)(lVar8 + 0x28);
    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {
      lVar10 = 8;
      lVar8 = 0;
      lVar9 = 0x10;
    }
    else {
      uVar6 = 0;
      do {
        iVar3 = (int)uVar6;
        uVar6 = (ulong)(iVar3 + 1);
        lVar8 = uVar6 * 8;
      } while (plVar2[uVar6] != 0);
      lVar10 = (ulong)(iVar3 + 2) << 3;
      lVar9 = (ulong)(iVar3 + 3) << 3;
    }
    lVar7 = xrealloc(plVar2,lVar9);
    lVar9 = *(long *)(param_1 + 0x60);
    *(char **)(lVar7 + lVar8) = pcVar5;
    *(undefined8 *)(lVar7 + lVar10) = 0;
    *(long *)(lVar9 + 0x28) = lVar7;
    if (iVar1 != 0) {
      *(undefined4 *)(lVar9 + 0x1c) = 1;
    }
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");
}


PUSH R15
MOV R15,RSI
PUSH R14
PUSH R13
MOV R13D,ECX
PUSH R12
MOV R12,RDI
ADD RDI,0x60
PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV RAX,qword ptr [RDI]
MOV dword ptr [RSP + 0xc],EDX
MOV EBP,dword ptr [RAX + 0x1c]
CALL 0x00118930
MOV RDI,RAX
MOV RBX,RAX
CALL 0x00104260
LEA RDI,[RAX + 0x19]
CALL 0x00104370
MOV EDX,dword ptr [RSP + 0xc]
MOV R14,RAX
TEST EDX,EDX
SETNZ AL
ADD EAX,0x30
MOV byte ptr [R14],AL
CMP R13D,0x1
JZ 0x001190a0
TEST R13D,R13D
JNZ 0x00119080
MOV byte ptr [R14 + 0x1],0x32
LEA RDI,[R14 + 0x2]
MOV RCX,RBX
MOV RDX,R15
XOR EAX,EAX
LEA RSI,[0x123fb2]
CALL 0x00104820
MOV RDI,RBX
CALL 0x00104920
MOV RAX,qword ptr [R12 + 0x60]
TEST RAX,RAX
JZ 0x001190aa
CMP qword ptr [RAX + 0x20],0x0
JZ 0x001190aa
MOV RDI,qword ptr [RAX + 0x28]
TEST RDI,RDI
JZ 0x00119090
CMP qword ptr [RDI],0x0
JZ 0x00119090
XOR ECX,ECX
JMP 0x00119022
MOV ECX,EDX
LEA EAX,[RCX + 0x1]
CMP qword ptr [RDI + RAX*0x8],0x0
MOV RDX,RAX
LEA RBX,[RAX*0x8]
JNZ 0x00119020
LEA R13D,[RCX + 0x2]
LEA ESI,[RCX + 0x3]
SHL R13,0x3
SHL RSI,0x3
CALL 0x001042b0
MOV RDX,qword ptr [R12 + 0x60]
MOV qword ptr [RAX + RBX*0x1],R14
MOV qword ptr [RAX + R13*0x1],0x0
MOV qword ptr [RDX + 0x28],RAX
TEST EBP,EBP
JZ 0x0011906b
MOV dword ptr [RDX + 0x1c],0x1
ADD RSP,0x18
MOV EAX,0x1
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
CMP R13D,0x2
JNZ 0x001190c9
MOV byte ptr [R14 + 0x1],0x30
JMP 0x00118fc8
MOV R13D,0x8
XOR EBX,EBX
MOV ESI,0x10
JMP 0x00119046
MOV byte ptr [R14 + 0x1],0x31
JMP 0x00118fc8
LEA RCX,[0x1243e0]
MOV EDX,0x632
LEA RSI,[0x123f18]
LEA RDI,[0x124140]
CALL 0x001042e0
CALL 0x00104090
(translation_unit "undefined8 FUN_00118f60(long param_1,undefined8 param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  \n  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);\n  __s = (char *)FUN_00118930();\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (param_3 != 0) + '0';\n  if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",param_2);\n  free(__s);\n  lVar8 = *(long *)(param_1 + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}\n\n" (function_definition "undefined8 FUN_00118f60(long param_1,undefined8 param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  \n  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);\n  __s = (char *)FUN_00118930();\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (param_3 != 0) + '0';\n  if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",param_2);\n  free(__s);\n  lVar8 = *(long *)(param_1 + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}" type_identifier (function_declarator "FUN_00118f60(long param_1,undefined8 param_2,int param_3,int param_4)" identifier (parameter_list "(long param_1,undefined8 param_2,int param_3,int param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  \n  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);\n  __s = (char *)FUN_00118930();\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (param_3 != 0) + '0';\n  if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",param_2);\n  free(__s);\n  lVar8 = *(long *)(param_1 + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (expression_statement "iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);" (assignment_expression "iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c)" identifier = (pointer_expression "*(int *)(*(long *)(param_1 + 0x60) + 0x1c)" * (cast_expression "(int *)(*(long *)(param_1 + 0x60) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x1c)" ( (binary_expression "*(long *)(param_1 + 0x60) + 0x1c" (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "__s = (char *)FUN_00118930();" (assignment_expression "__s = (char *)FUN_00118930()" identifier = (cast_expression "(char *)FUN_00118930()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00118930()" identifier (argument_list "()" ( ))))) ;) (expression_statement "sVar4 = strlen(__s);" (assignment_expression "sVar4 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar5 = (char *)xmalloc(sVar4 + 0x19);" (assignment_expression "pcVar5 = (char *)xmalloc(sVar4 + 0x19)" identifier = (cast_expression "(char *)xmalloc(sVar4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar4 + 0x19)" identifier (argument_list "(sVar4 + 0x19)" ( (binary_expression "sVar4 + 0x19" identifier + number_literal) ))))) ;) (expression_statement "*pcVar5 = (param_3 != 0) + '0';" (assignment_expression "*pcVar5 = (param_3 != 0) + '0'" (pointer_expression "*pcVar5" * identifier) = (binary_expression "(param_3 != 0) + '0'" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) + (char_literal "'0'" ' character '))) ;) (if_statement "if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }" if (parenthesized_expression "(param_4 == 1)" ( (binary_expression "param_4 == 1" identifier == number_literal) )) (compound_statement "{\n    pcVar5[1] = '1';\n  }" { (expression_statement "pcVar5[1] = '1';" (assignment_expression "pcVar5[1] = '1'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (char_literal "'1'" ' character ')) ;) }) (else_clause "else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }" else (if_statement "if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar5[1] = '2';\n  }" { (expression_statement "pcVar5[1] = '2';" (assignment_expression "pcVar5[1] = '2'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (char_literal "'2'" ' character ')) ;) }) (else_clause "else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }" else (compound_statement "{\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }" { (if_statement "if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" if (parenthesized_expression "(param_4 != 2)" ( (binary_expression "param_4 != 2" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" { comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar5[1] = '0';" (assignment_expression "pcVar5[1] = '0'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (char_literal "'0'" ' character ')) ;) }))))) (expression_statement "sprintf(pcVar5 + 2,"%ld,%s;",param_2);" (call_expression "sprintf(pcVar5 + 2,"%ld,%s;",param_2)" identifier (argument_list "(pcVar5 + 2,"%ld,%s;",param_2)" ( (binary_expression "pcVar5 + 2" identifier + number_literal) , (string_literal ""%ld,%s;"" " string_content ") , identifier ))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (expression_statement "lVar8 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar8 = *(long *)(param_1 + 0x60)" identifier = (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }" if (parenthesized_expression "((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0))" ( (binary_expression "(lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)" (parenthesized_expression "(lVar8 != 0)" ( (binary_expression "lVar8 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(long *)(lVar8 + 0x20) != 0)" ( (binary_expression "*(long *)(lVar8 + 0x20) != 0" (pointer_expression "*(long *)(lVar8 + 0x20)" * (cast_expression "(long *)(lVar8 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x20)" ( (binary_expression "lVar8 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }" { (expression_statement "plVar2 = *(long **)(lVar8 + 0x28);" (assignment_expression "plVar2 = *(long **)(lVar8 + 0x28)" identifier = (pointer_expression "*(long **)(lVar8 + 0x28)" * (cast_expression "(long **)(lVar8 + 0x28)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar8 + 0x28)" ( (binary_expression "lVar8 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" if (parenthesized_expression "((plVar2 == (long *)0x0) || (*plVar2 == 0))" ( (binary_expression "(plVar2 == (long *)0x0) || (*plVar2 == 0)" (parenthesized_expression "(plVar2 == (long *)0x0)" ( (binary_expression "plVar2 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*plVar2 == 0)" ( (binary_expression "*plVar2 == 0" (pointer_expression "*plVar2" * identifier) == number_literal) ))) )) (compound_statement "{\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }" { (expression_statement "lVar10 = 8;" (assignment_expression "lVar10 = 8" identifier = number_literal) ;) (expression_statement "lVar8 = 0;" (assignment_expression "lVar8 = 0" identifier = number_literal) ;) (expression_statement "lVar9 = 0x10;" (assignment_expression "lVar9 = 0x10" identifier = number_literal) ;) }) (else_clause "else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" else (compound_statement "{\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);" do (compound_statement "{\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      }" { (expression_statement "iVar3 = (int)uVar6;" (assignment_expression "iVar3 = (int)uVar6" identifier = (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = (ulong)(iVar3 + 1);" (assignment_expression "uVar6 = (ulong)(iVar3 + 1)" identifier = (call_expression "(ulong)(iVar3 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "lVar8 = uVar6 * 8;" (assignment_expression "lVar8 = uVar6 * 8" identifier = (binary_expression "uVar6 * 8" identifier * number_literal)) ;) }) while (parenthesized_expression "(plVar2[uVar6] != 0)" ( (binary_expression "plVar2[uVar6] != 0" (subscript_expression "plVar2[uVar6]" identifier [ identifier ]) != number_literal) )) ;) (expression_statement "lVar10 = (ulong)(iVar3 + 2) << 3;" (assignment_expression "lVar10 = (ulong)(iVar3 + 2) << 3" identifier = (binary_expression "(ulong)(iVar3 + 2) << 3" (call_expression "(ulong)(iVar3 + 2)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar3 + 2)" ( (binary_expression "iVar3 + 2" identifier + number_literal) ))) << number_literal)) ;) (expression_statement "lVar9 = (ulong)(iVar3 + 3) << 3;" (assignment_expression "lVar9 = (ulong)(iVar3 + 3) << 3" identifier = (binary_expression "(ulong)(iVar3 + 3) << 3" (call_expression "(ulong)(iVar3 + 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar3 + 3)" ( (binary_expression "iVar3 + 3" identifier + number_literal) ))) << number_literal)) ;) }))) (expression_statement "lVar7 = xrealloc(plVar2,lVar9);" (assignment_expression "lVar7 = xrealloc(plVar2,lVar9)" identifier = (call_expression "xrealloc(plVar2,lVar9)" identifier (argument_list "(plVar2,lVar9)" ( identifier , identifier )))) ;) (expression_statement "lVar9 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar9 = *(long *)(param_1 + 0x60)" identifier = (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(lVar7 + lVar8) = pcVar5;" (assignment_expression "*(char **)(lVar7 + lVar8) = pcVar5" (pointer_expression "*(char **)(lVar7 + lVar8)" * (cast_expression "(char **)(lVar7 + lVar8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar7 + lVar8)" ( (binary_expression "lVar7 + lVar8" identifier + identifier) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar7 + lVar10) = 0;" (assignment_expression "*(undefined8 *)(lVar7 + lVar10) = 0" (pointer_expression "*(undefined8 *)(lVar7 + lVar10)" * (cast_expression "(undefined8 *)(lVar7 + lVar10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + lVar10)" ( (binary_expression "lVar7 + lVar10" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(long *)(lVar9 + 0x28) = lVar7;" (assignment_expression "*(long *)(lVar9 + 0x28) = lVar7" (pointer_expression "*(long *)(lVar9 + 0x28)" * (cast_expression "(long *)(lVar9 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + 0x28)" ( (binary_expression "lVar9 + 0x28" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }" { (expression_statement "*(undefined4 *)(lVar9 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar9 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar9 + 0x1c)" * (cast_expression "(undefined4 *)(lVar9 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + 0x1c)" ( (binary_expression "lVar9 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass")" ( (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_baseclass"" " string_content ") ))) ;) })))
(translation_unit "bfd_boolean\nstab_class_baseclass(void *p,bfd_vma bitpos,bfd_boolean is_virtual,debug_visibility visibility)\n\n{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  stab_write_handle *info;\n  long lVar10;\n  \n  iVar1 = *(int *)((long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4);\n  __s = stab_pop_type((stab_write_handle *)((long)p + 0x60));\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (is_virtual != 0) + '0';\n  if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar5[1] = '1';\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",bitpos);\n  free(__s);\n  lVar8 = *(long *)((long)p + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)((long)p + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}\n\n" (function_definition "bfd_boolean\nstab_class_baseclass(void *p,bfd_vma bitpos,bfd_boolean is_virtual,debug_visibility visibility)\n\n{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  stab_write_handle *info;\n  long lVar10;\n  \n  iVar1 = *(int *)((long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4);\n  __s = stab_pop_type((stab_write_handle *)((long)p + 0x60));\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (is_virtual != 0) + '0';\n  if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar5[1] = '1';\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",bitpos);\n  free(__s);\n  lVar8 = *(long *)((long)p + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)((long)p + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}" type_identifier (function_declarator "stab_class_baseclass(void *p,bfd_vma bitpos,bfd_boolean is_virtual,debug_visibility visibility)" identifier (parameter_list "(void *p,bfd_vma bitpos,bfd_boolean is_virtual,debug_visibility visibility)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "bfd_vma bitpos" type_identifier identifier) , (parameter_declaration "bfd_boolean is_virtual" type_identifier identifier) , (parameter_declaration "debug_visibility visibility" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  stab_write_handle *info;\n  long lVar10;\n  \n  iVar1 = *(int *)((long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4);\n  __s = stab_pop_type((stab_write_handle *)((long)p + 0x60));\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (is_virtual != 0) + '0';\n  if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar5[1] = '1';\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",bitpos);\n  free(__s);\n  lVar8 = *(long *)((long)p + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)((long)p + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "stab_write_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (expression_statement "iVar1 = *(int *)((long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4);" (assignment_expression "iVar1 = *(int *)((long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4)" identifier = (pointer_expression "*(int *)((long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4)" * (cast_expression "(int *)((long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4)" ( (binary_expression "(long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4" (cast_expression "(long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&((stab_write_handle *)((long)p + 0x60))->abfd->iovec" & (field_expression "((stab_write_handle *)((long)p + 0x60))->abfd->iovec" (field_expression "((stab_write_handle *)((long)p + 0x60))->abfd" (parenthesized_expression "((stab_write_handle *)((long)p + 0x60))" ( (cast_expression "(stab_write_handle *)((long)p + 0x60)" ( (type_descriptor "stab_write_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x60)" ( (binary_expression "(long)p + 0x60" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))) )) -> field_identifier) -> field_identifier))) + number_literal) ))))) ;) (expression_statement "__s = stab_pop_type((stab_write_handle *)((long)p + 0x60));" (assignment_expression "__s = stab_pop_type((stab_write_handle *)((long)p + 0x60))" identifier = (call_expression "stab_pop_type((stab_write_handle *)((long)p + 0x60))" identifier (argument_list "((stab_write_handle *)((long)p + 0x60))" ( (cast_expression "(stab_write_handle *)((long)p + 0x60)" ( (type_descriptor "stab_write_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x60)" ( (binary_expression "(long)p + 0x60" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))) )))) ;) (expression_statement "sVar4 = strlen(__s);" (assignment_expression "sVar4 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar5 = (char *)xmalloc(sVar4 + 0x19);" (assignment_expression "pcVar5 = (char *)xmalloc(sVar4 + 0x19)" identifier = (cast_expression "(char *)xmalloc(sVar4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar4 + 0x19)" identifier (argument_list "(sVar4 + 0x19)" ( (binary_expression "sVar4 + 0x19" identifier + number_literal) ))))) ;) (expression_statement "*pcVar5 = (is_virtual != 0) + '0';" (assignment_expression "*pcVar5 = (is_virtual != 0) + '0'" (pointer_expression "*pcVar5" * identifier) = (binary_expression "(is_virtual != 0) + '0'" (parenthesized_expression "(is_virtual != 0)" ( (binary_expression "is_virtual != 0" identifier != number_literal) )) + (char_literal "'0'" ' character '))) ;) (if_statement "if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar5[1] = '1';\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }" if (parenthesized_expression "(visibility == DEBUG_VISIBILITY_PROTECTED)" ( (binary_expression "visibility == DEBUG_VISIBILITY_PROTECTED" identifier == identifier) )) (compound_statement "{\n    pcVar5[1] = '1';\n  }" { (expression_statement "pcVar5[1] = '1';" (assignment_expression "pcVar5[1] = '1'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (char_literal "'1'" ' character ')) ;) }) (else_clause "else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }" else (if_statement "if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }" if (parenthesized_expression "(visibility == DEBUG_VISIBILITY_PUBLIC)" ( (binary_expression "visibility == DEBUG_VISIBILITY_PUBLIC" identifier == identifier) )) (compound_statement "{\n    pcVar5[1] = '2';\n  }" { (expression_statement "pcVar5[1] = '2';" (assignment_expression "pcVar5[1] = '2'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (char_literal "'2'" ' character ')) ;) }) (else_clause "else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }" else (compound_statement "{\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar5[1] = '0';\n  }" { (if_statement "if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" if (parenthesized_expression "(visibility != DEBUG_VISIBILITY_PRIVATE)" ( (binary_expression "visibility != DEBUG_VISIBILITY_PRIVATE" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" { comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar5[1] = '0';" (assignment_expression "pcVar5[1] = '0'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (char_literal "'0'" ' character ')) ;) }))))) (expression_statement "sprintf(pcVar5 + 2,"%ld,%s;",bitpos);" (call_expression "sprintf(pcVar5 + 2,"%ld,%s;",bitpos)" identifier (argument_list "(pcVar5 + 2,"%ld,%s;",bitpos)" ( (binary_expression "pcVar5 + 2" identifier + number_literal) , (string_literal ""%ld,%s;"" " string_content ") , identifier ))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (expression_statement "lVar8 = *(long *)((long)p + 0x60);" (assignment_expression "lVar8 = *(long *)((long)p + 0x60)" identifier = (pointer_expression "*(long *)((long)p + 0x60)" * (cast_expression "(long *)((long)p + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x60)" ( (binary_expression "(long)p + 0x60" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (if_statement "if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)((long)p + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }" if (parenthesized_expression "((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0))" ( (binary_expression "(lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)" (parenthesized_expression "(lVar8 != 0)" ( (binary_expression "lVar8 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(long *)(lVar8 + 0x20) != 0)" ( (binary_expression "*(long *)(lVar8 + 0x20) != 0" (pointer_expression "*(long *)(lVar8 + 0x20)" * (cast_expression "(long *)(lVar8 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x20)" ( (binary_expression "lVar8 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)((long)p + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }" { (expression_statement "plVar2 = *(long **)(lVar8 + 0x28);" (assignment_expression "plVar2 = *(long **)(lVar8 + 0x28)" identifier = (pointer_expression "*(long **)(lVar8 + 0x28)" * (cast_expression "(long **)(lVar8 + 0x28)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar8 + 0x28)" ( (binary_expression "lVar8 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" if (parenthesized_expression "((plVar2 == (long *)0x0) || (*plVar2 == 0))" ( (binary_expression "(plVar2 == (long *)0x0) || (*plVar2 == 0)" (parenthesized_expression "(plVar2 == (long *)0x0)" ( (binary_expression "plVar2 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*plVar2 == 0)" ( (binary_expression "*plVar2 == 0" (pointer_expression "*plVar2" * identifier) == number_literal) ))) )) (compound_statement "{\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }" { (expression_statement "lVar10 = 8;" (assignment_expression "lVar10 = 8" identifier = number_literal) ;) (expression_statement "lVar8 = 0;" (assignment_expression "lVar8 = 0" identifier = number_literal) ;) (expression_statement "lVar9 = 0x10;" (assignment_expression "lVar9 = 0x10" identifier = number_literal) ;) }) (else_clause "else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" else (compound_statement "{\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);" do (compound_statement "{\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      }" { (expression_statement "iVar3 = (int)uVar6;" (assignment_expression "iVar3 = (int)uVar6" identifier = (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = (ulong)(iVar3 + 1);" (assignment_expression "uVar6 = (ulong)(iVar3 + 1)" identifier = (call_expression "(ulong)(iVar3 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "lVar8 = uVar6 * 8;" (assignment_expression "lVar8 = uVar6 * 8" identifier = (binary_expression "uVar6 * 8" identifier * number_literal)) ;) }) while (parenthesized_expression "(plVar2[uVar6] != 0)" ( (binary_expression "plVar2[uVar6] != 0" (subscript_expression "plVar2[uVar6]" identifier [ identifier ]) != number_literal) )) ;) (expression_statement "lVar10 = (ulong)(iVar3 + 2) << 3;" (assignment_expression "lVar10 = (ulong)(iVar3 + 2) << 3" identifier = (binary_expression "(ulong)(iVar3 + 2) << 3" (call_expression "(ulong)(iVar3 + 2)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar3 + 2)" ( (binary_expression "iVar3 + 2" identifier + number_literal) ))) << number_literal)) ;) (expression_statement "lVar9 = (ulong)(iVar3 + 3) << 3;" (assignment_expression "lVar9 = (ulong)(iVar3 + 3) << 3" identifier = (binary_expression "(ulong)(iVar3 + 3) << 3" (call_expression "(ulong)(iVar3 + 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar3 + 3)" ( (binary_expression "iVar3 + 3" identifier + number_literal) ))) << number_literal)) ;) }))) (expression_statement "lVar7 = xrealloc(plVar2,lVar9);" (assignment_expression "lVar7 = xrealloc(plVar2,lVar9)" identifier = (call_expression "xrealloc(plVar2,lVar9)" identifier (argument_list "(plVar2,lVar9)" ( identifier , identifier )))) ;) (expression_statement "lVar9 = *(long *)((long)p + 0x60);" (assignment_expression "lVar9 = *(long *)((long)p + 0x60)" identifier = (pointer_expression "*(long *)((long)p + 0x60)" * (cast_expression "(long *)((long)p + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x60)" ( (binary_expression "(long)p + 0x60" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "*(char **)(lVar7 + lVar8) = pcVar5;" (assignment_expression "*(char **)(lVar7 + lVar8) = pcVar5" (pointer_expression "*(char **)(lVar7 + lVar8)" * (cast_expression "(char **)(lVar7 + lVar8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar7 + lVar8)" ( (binary_expression "lVar7 + lVar8" identifier + identifier) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar7 + lVar10) = 0;" (assignment_expression "*(undefined8 *)(lVar7 + lVar10) = 0" (pointer_expression "*(undefined8 *)(lVar7 + lVar10)" * (cast_expression "(undefined8 *)(lVar7 + lVar10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + lVar10)" ( (binary_expression "lVar7 + lVar10" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(long *)(lVar9 + 0x28) = lVar7;" (assignment_expression "*(long *)(lVar9 + 0x28) = lVar7" (pointer_expression "*(long *)(lVar9 + 0x28)" * (cast_expression "(long *)(lVar9 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + 0x28)" ( (binary_expression "lVar9 + 0x28" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }" { (expression_statement "*(undefined4 *)(lVar9 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar9 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar9 + 0x1c)" * (cast_expression "(undefined4 *)(lVar9 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + 0x1c)" ( (binary_expression "lVar9 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass")" ( (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_baseclass"" " string_content ") ))) ;) })))
(translation_unit "undefined8 FUN_00118f60(long param_1,undefined8 param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  \n  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);\n  __s = (char *)FUN_00118930();\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (param_3 != 0) + '0';\n  if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",param_2);\n  free(__s);\n  lVar8 = *(long *)(param_1 + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}\n\n" (function_definition "undefined8 FUN_00118f60(long param_1,undefined8 param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  \n  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);\n  __s = (char *)FUN_00118930();\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (param_3 != 0) + '0';\n  if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",param_2);\n  free(__s);\n  lVar8 = *(long *)(param_1 + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}" type_identifier (function_declarator "FUN_00118f60(long param_1,undefined8 param_2,int param_3,int param_4)" identifier (parameter_list "(long param_1,undefined8 param_2,int param_3,int param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  \n  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);\n  __s = (char *)FUN_00118930();\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (param_3 != 0) + '0';\n  if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",param_2);\n  free(__s);\n  lVar8 = *(long *)(param_1 + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (expression_statement "iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);" (assignment_expression "iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c)" identifier = (pointer_expression "*(int *)(*(long *)(param_1 + 0x60) + 0x1c)" * (cast_expression "(int *)(*(long *)(param_1 + 0x60) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x1c)" ( (binary_expression "*(long *)(param_1 + 0x60) + 0x1c" (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "__s = (char *)FUN_00118930();" (assignment_expression "__s = (char *)FUN_00118930()" identifier = (cast_expression "(char *)FUN_00118930()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00118930()" identifier (argument_list "()" ( ))))) ;) (expression_statement "sVar4 = strlen(__s);" (assignment_expression "sVar4 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar5 = (char *)xmalloc(sVar4 + 0x19);" (assignment_expression "pcVar5 = (char *)xmalloc(sVar4 + 0x19)" identifier = (cast_expression "(char *)xmalloc(sVar4 + 0x19)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar4 + 0x19)" identifier (argument_list "(sVar4 + 0x19)" ( (binary_expression "sVar4 + 0x19" identifier + number_literal) ))))) ;) (expression_statement "*pcVar5 = (param_3 != 0) + '0';" (assignment_expression "*pcVar5 = (param_3 != 0) + '0'" (pointer_expression "*pcVar5" * identifier) = (binary_expression "(param_3 != 0) + '0'" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) + (char_literal "'0'" ' character '))) ;) (if_statement "if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }" if (parenthesized_expression "(param_4 == 1)" ( (binary_expression "param_4 == 1" identifier == number_literal) )) (compound_statement "{\n    pcVar5[1] = '1';\n  }" { (expression_statement "pcVar5[1] = '1';" (assignment_expression "pcVar5[1] = '1'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (char_literal "'1'" ' character ')) ;) }) (else_clause "else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }" else (if_statement "if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar5[1] = '2';\n  }" { (expression_statement "pcVar5[1] = '2';" (assignment_expression "pcVar5[1] = '2'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (char_literal "'2'" ' character ')) ;) }) (else_clause "else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }" else (compound_statement "{\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }" { (if_statement "if (param_4 != 2) {\n                    \n      abort();\n    }" if (parenthesized_expression "(param_4 != 2)" ( (binary_expression "param_4 != 2" identifier != number_literal) )) (compound_statement "{\n                    \n      abort();\n    }" { (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar5[1] = '0';" (assignment_expression "pcVar5[1] = '0'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (char_literal "'0'" ' character ')) ;) }))))) (expression_statement "sprintf(pcVar5 + 2,"%ld,%s;",param_2);" (call_expression "sprintf(pcVar5 + 2,"%ld,%s;",param_2)" identifier (argument_list "(pcVar5 + 2,"%ld,%s;",param_2)" ( (binary_expression "pcVar5 + 2" identifier + number_literal) , (string_literal ""%ld,%s;"" " string_content ") , identifier ))) ;) (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (expression_statement "lVar8 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar8 = *(long *)(param_1 + 0x60)" identifier = (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }" if (parenthesized_expression "((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0))" ( (binary_expression "(lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)" (parenthesized_expression "(lVar8 != 0)" ( (binary_expression "lVar8 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(long *)(lVar8 + 0x20) != 0)" ( (binary_expression "*(long *)(lVar8 + 0x20) != 0" (pointer_expression "*(long *)(lVar8 + 0x20)" * (cast_expression "(long *)(lVar8 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x20)" ( (binary_expression "lVar8 + 0x20" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }" { (expression_statement "plVar2 = *(long **)(lVar8 + 0x28);" (assignment_expression "plVar2 = *(long **)(lVar8 + 0x28)" identifier = (pointer_expression "*(long **)(lVar8 + 0x28)" * (cast_expression "(long **)(lVar8 + 0x28)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar8 + 0x28)" ( (binary_expression "lVar8 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" if (parenthesized_expression "((plVar2 == (long *)0x0) || (*plVar2 == 0))" ( (binary_expression "(plVar2 == (long *)0x0) || (*plVar2 == 0)" (parenthesized_expression "(plVar2 == (long *)0x0)" ( (binary_expression "plVar2 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*plVar2 == 0)" ( (binary_expression "*plVar2 == 0" (pointer_expression "*plVar2" * identifier) == number_literal) ))) )) (compound_statement "{\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }" { (expression_statement "lVar10 = 8;" (assignment_expression "lVar10 = 8" identifier = number_literal) ;) (expression_statement "lVar8 = 0;" (assignment_expression "lVar8 = 0" identifier = number_literal) ;) (expression_statement "lVar9 = 0x10;" (assignment_expression "lVar9 = 0x10" identifier = number_literal) ;) }) (else_clause "else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" else (compound_statement "{\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);" do (compound_statement "{\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      }" { (expression_statement "iVar3 = (int)uVar6;" (assignment_expression "iVar3 = (int)uVar6" identifier = (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = (ulong)(iVar3 + 1);" (assignment_expression "uVar6 = (ulong)(iVar3 + 1)" identifier = (call_expression "(ulong)(iVar3 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "lVar8 = uVar6 * 8;" (assignment_expression "lVar8 = uVar6 * 8" identifier = (binary_expression "uVar6 * 8" identifier * number_literal)) ;) }) while (parenthesized_expression "(plVar2[uVar6] != 0)" ( (binary_expression "plVar2[uVar6] != 0" (subscript_expression "plVar2[uVar6]" identifier [ identifier ]) != number_literal) )) ;) (expression_statement "lVar10 = (ulong)(iVar3 + 2) << 3;" (assignment_expression "lVar10 = (ulong)(iVar3 + 2) << 3" identifier = (binary_expression "(ulong)(iVar3 + 2) << 3" (call_expression "(ulong)(iVar3 + 2)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar3 + 2)" ( (binary_expression "iVar3 + 2" identifier + number_literal) ))) << number_literal)) ;) (expression_statement "lVar9 = (ulong)(iVar3 + 3) << 3;" (assignment_expression "lVar9 = (ulong)(iVar3 + 3) << 3" identifier = (binary_expression "(ulong)(iVar3 + 3) << 3" (call_expression "(ulong)(iVar3 + 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar3 + 3)" ( (binary_expression "iVar3 + 3" identifier + number_literal) ))) << number_literal)) ;) }))) (expression_statement "lVar7 = xrealloc(plVar2,lVar9);" (assignment_expression "lVar7 = xrealloc(plVar2,lVar9)" identifier = (call_expression "xrealloc(plVar2,lVar9)" identifier (argument_list "(plVar2,lVar9)" ( identifier , identifier )))) ;) (expression_statement "lVar9 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar9 = *(long *)(param_1 + 0x60)" identifier = (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "*(char **)(lVar7 + lVar8) = pcVar5;" (assignment_expression "*(char **)(lVar7 + lVar8) = pcVar5" (pointer_expression "*(char **)(lVar7 + lVar8)" * (cast_expression "(char **)(lVar7 + lVar8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar7 + lVar8)" ( (binary_expression "lVar7 + lVar8" identifier + identifier) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar7 + lVar10) = 0;" (assignment_expression "*(undefined8 *)(lVar7 + lVar10) = 0" (pointer_expression "*(undefined8 *)(lVar7 + lVar10)" * (cast_expression "(undefined8 *)(lVar7 + lVar10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + lVar10)" ( (binary_expression "lVar7 + lVar10" identifier + identifier) )))) = number_literal) ;) (expression_statement "*(long *)(lVar9 + 0x28) = lVar7;" (assignment_expression "*(long *)(lVar9 + 0x28) = lVar7" (pointer_expression "*(long *)(lVar9 + 0x28)" * (cast_expression "(long *)(lVar9 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + 0x28)" ( (binary_expression "lVar9 + 0x28" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }" { (expression_statement "*(undefined4 *)(lVar9 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar9 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar9 + 0x1c)" * (cast_expression "(undefined4 *)(lVar9 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + 0x1c)" ( (binary_expression "lVar9 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return 1;" return number_literal ;) })) (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass")" identifier (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass")" ( (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_baseclass"" " string_content ") ))) ;) })))
(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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) + (char_literal ' character '))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) }))))) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (string_literal " string_content ") , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) << LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined8 FUN_00118f60(long param_1,undefined8 param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  \n  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);\n  __s = (char *)FUN_00118930();\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (param_3 != 0) + '0';\n  if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",param_2);\n  free(__s);\n  lVar8 = *(long *)(param_1 + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}" (type_identifier "undefined8") (function_declarator "FUN_00118f60(long param_1,undefined8 param_2,int param_3,int param_4)" (identifier "FUN_00118f60") (parameter_list "(long param_1,undefined8 param_2,int param_3,int param_4)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  long *plVar2;\n  int iVar3;\n  char *__s;\n  size_t sVar4;\n  char *pcVar5;\n  ulong uVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  \n  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);\n  __s = (char *)FUN_00118930();\n  sVar4 = strlen(__s);\n  pcVar5 = (char *)xmalloc(sVar4 + 0x19);\n  *pcVar5 = (param_3 != 0) + '0';\n  if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }\n  sprintf(pcVar5 + 2,"%ld,%s;",param_2);\n  free(__s);\n  lVar8 = *(long *)(param_1 + 0x60);\n  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }\n                    \n  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "ulong uVar6;" (type_identifier "ulong") (identifier "uVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "long lVar8;" (sized_type_specifier "long" (long "long")) (identifier "lVar8") (; ";")) (declaration "long lVar9;" (sized_type_specifier "long" (long "long")) (identifier "lVar9") (; ";")) (declaration "long lVar10;" (sized_type_specifier "long" (long "long")) (identifier "lVar10") (; ";")) (expression_statement "iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);" (assignment_expression "iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(long *)(param_1 + 0x60) + 0x1c)" (* "*") (cast_expression "(int *)(*(long *)(param_1 + 0x60) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x1c)" (( "(") (binary_expression "*(long *)(param_1 + 0x60) + 0x1c" (pointer_expression "*(long *)(param_1 + 0x60)" (* "*") (cast_expression "(long *)(param_1 + 0x60)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "__s = (char *)FUN_00118930();" (assignment_expression "__s = (char *)FUN_00118930()" (identifier "__s") (= "=") (cast_expression "(char *)FUN_00118930()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00118930()" (identifier "FUN_00118930") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "sVar4 = strlen(__s);" (assignment_expression "sVar4 = strlen(__s)" (identifier "sVar4") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "pcVar5 = (char *)xmalloc(sVar4 + 0x19);" (assignment_expression "pcVar5 = (char *)xmalloc(sVar4 + 0x19)" (identifier "pcVar5") (= "=") (cast_expression "(char *)xmalloc(sVar4 + 0x19)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar4 + 0x19)" (identifier "xmalloc") (argument_list "(sVar4 + 0x19)" (( "(") (binary_expression "sVar4 + 0x19" (identifier "sVar4") (+ "+") (number_literal "0x19")) () ")"))))) (; ";")) (expression_statement "*pcVar5 = (param_3 != 0) + '0';" (assignment_expression "*pcVar5 = (param_3 != 0) + '0'" (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) (= "=") (binary_expression "(param_3 != 0) + '0'" (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (+ "+") (char_literal "'0'" (' "'") (character "0") (' "'")))) (; ";")) (if_statement "if (param_4 == 1) {\n    pcVar5[1] = '1';\n  }\n  else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }" (if "if") (parenthesized_expression "(param_4 == 1)" (( "(") (binary_expression "param_4 == 1" (identifier "param_4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    pcVar5[1] = '1';\n  }" ({ "{") (expression_statement "pcVar5[1] = '1';" (assignment_expression "pcVar5[1] = '1'" (subscript_expression "pcVar5[1]" (identifier "pcVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'1'" (' "'") (character "1") (' "'"))) (; ";")) (} "}")) (else_clause "else if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }" (else "else") (if_statement "if (param_4 == 0) {\n    pcVar5[1] = '2';\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar5[1] = '2';\n  }" ({ "{") (expression_statement "pcVar5[1] = '2';" (assignment_expression "pcVar5[1] = '2'" (subscript_expression "pcVar5[1]" (identifier "pcVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'2'" (' "'") (character "2") (' "'"))) (; ";")) (} "}")) (else_clause "else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }" (else "else") (compound_statement "{\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar5[1] = '0';\n  }" ({ "{") (if_statement "if (param_4 != 2) {\n                    \n      abort();\n    }" (if "if") (parenthesized_expression "(param_4 != 2)" (( "(") (binary_expression "param_4 != 2" (identifier "param_4") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n                    \n      abort();\n    }" ({ "{") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar5[1] = '0';" (assignment_expression "pcVar5[1] = '0'" (subscript_expression "pcVar5[1]" (identifier "pcVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'0'" (' "'") (character "0") (' "'"))) (; ";")) (} "}")))))) (expression_statement "sprintf(pcVar5 + 2,"%ld,%s;",param_2);" (call_expression "sprintf(pcVar5 + 2,"%ld,%s;",param_2)" (identifier "sprintf") (argument_list "(pcVar5 + 2,"%ld,%s;",param_2)" (( "(") (binary_expression "pcVar5 + 2" (identifier "pcVar5") (+ "+") (number_literal "2")) (, ",") (string_literal ""%ld,%s;"" (" """) (string_content "%ld,%s;") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "free(__s);" (call_expression "free(__s)" (identifier "free") (argument_list "(__s)" (( "(") (identifier "__s") () ")"))) (; ";")) (expression_statement "lVar8 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar8 = *(long *)(param_1 + 0x60)" (identifier "lVar8") (= "=") (pointer_expression "*(long *)(param_1 + 0x60)" (* "*") (cast_expression "(long *)(param_1 + 0x60)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (if_statement "if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }" (if "if") (parenthesized_expression "((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0))" (( "(") (binary_expression "(lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)" (parenthesized_expression "(lVar8 != 0)" (( "(") (binary_expression "lVar8 != 0" (identifier "lVar8") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(long *)(lVar8 + 0x20) != 0)" (( "(") (binary_expression "*(long *)(lVar8 + 0x20) != 0" (pointer_expression "*(long *)(lVar8 + 0x20)" (* "*") (cast_expression "(long *)(lVar8 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x20)" (( "(") (binary_expression "lVar8 + 0x20" (identifier "lVar8") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    plVar2 = *(long **)(lVar8 + 0x28);\n    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }\n    lVar7 = xrealloc(plVar2,lVar9);\n    lVar9 = *(long *)(param_1 + 0x60);\n    *(char **)(lVar7 + lVar8) = pcVar5;\n    *(undefined8 *)(lVar7 + lVar10) = 0;\n    *(long *)(lVar9 + 0x28) = lVar7;\n    if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }\n    return 1;\n  }" ({ "{") (expression_statement "plVar2 = *(long **)(lVar8 + 0x28);" (assignment_expression "plVar2 = *(long **)(lVar8 + 0x28)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(lVar8 + 0x28)" (* "*") (cast_expression "(long **)(lVar8 + 0x28)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar8 + 0x28)" (( "(") (binary_expression "lVar8 + 0x28" (identifier "lVar8") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }\n    else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" (if "if") (parenthesized_expression "((plVar2 == (long *)0x0) || (*plVar2 == 0))" (( "(") (binary_expression "(plVar2 == (long *)0x0) || (*plVar2 == 0)" (parenthesized_expression "(plVar2 == (long *)0x0)" (( "(") (binary_expression "plVar2 == (long *)0x0" (identifier "plVar2") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*plVar2 == 0)" (( "(") (binary_expression "*plVar2 == 0" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      lVar10 = 8;\n      lVar8 = 0;\n      lVar9 = 0x10;\n    }" ({ "{") (expression_statement "lVar10 = 8;" (assignment_expression "lVar10 = 8" (identifier "lVar10") (= "=") (number_literal "8")) (; ";")) (expression_statement "lVar8 = 0;" (assignment_expression "lVar8 = 0" (identifier "lVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar9 = 0x10;" (assignment_expression "lVar9 = 0x10" (identifier "lVar9") (= "=") (number_literal "0x10")) (; ";")) (} "}")) (else_clause "else {\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" (else "else") (compound_statement "{\n      uVar6 = 0;\n      do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);\n      lVar10 = (ulong)(iVar3 + 2) << 3;\n      lVar9 = (ulong)(iVar3 + 3) << 3;\n    }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      } while (plVar2[uVar6] != 0);" (do "do") (compound_statement "{\n        iVar3 = (int)uVar6;\n        uVar6 = (ulong)(iVar3 + 1);\n        lVar8 = uVar6 * 8;\n      }" ({ "{") (expression_statement "iVar3 = (int)uVar6;" (assignment_expression "iVar3 = (int)uVar6" (identifier "iVar3") (= "=") (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "uVar6 = (ulong)(iVar3 + 1);" (assignment_expression "uVar6 = (ulong)(iVar3 + 1)" (identifier "uVar6") (= "=") (call_expression "(ulong)(iVar3 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(iVar3 + 1)" (( "(") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "lVar8 = uVar6 * 8;" (assignment_expression "lVar8 = uVar6 * 8" (identifier "lVar8") (= "=") (binary_expression "uVar6 * 8" (identifier "uVar6") (* "*") (number_literal "8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(plVar2[uVar6] != 0)" (( "(") (binary_expression "plVar2[uVar6] != 0" (subscript_expression "plVar2[uVar6]" (identifier "plVar2") ([ "[") (identifier "uVar6") (] "]")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "lVar10 = (ulong)(iVar3 + 2) << 3;" (assignment_expression "lVar10 = (ulong)(iVar3 + 2) << 3" (identifier "lVar10") (= "=") (binary_expression "(ulong)(iVar3 + 2) << 3" (call_expression "(ulong)(iVar3 + 2)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(iVar3 + 2)" (( "(") (binary_expression "iVar3 + 2" (identifier "iVar3") (+ "+") (number_literal "2")) () ")"))) (<< "<<") (number_literal "3"))) (; ";")) (expression_statement "lVar9 = (ulong)(iVar3 + 3) << 3;" (assignment_expression "lVar9 = (ulong)(iVar3 + 3) << 3" (identifier "lVar9") (= "=") (binary_expression "(ulong)(iVar3 + 3) << 3" (call_expression "(ulong)(iVar3 + 3)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(iVar3 + 3)" (( "(") (binary_expression "iVar3 + 3" (identifier "iVar3") (+ "+") (number_literal "3")) () ")"))) (<< "<<") (number_literal "3"))) (; ";")) (} "}")))) (expression_statement "lVar7 = xrealloc(plVar2,lVar9);" (assignment_expression "lVar7 = xrealloc(plVar2,lVar9)" (identifier "lVar7") (= "=") (call_expression "xrealloc(plVar2,lVar9)" (identifier "xrealloc") (argument_list "(plVar2,lVar9)" (( "(") (identifier "plVar2") (, ",") (identifier "lVar9") () ")")))) (; ";")) (expression_statement "lVar9 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar9 = *(long *)(param_1 + 0x60)" (identifier "lVar9") (= "=") (pointer_expression "*(long *)(param_1 + 0x60)" (* "*") (cast_expression "(long *)(param_1 + 0x60)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (expression_statement "*(char **)(lVar7 + lVar8) = pcVar5;" (assignment_expression "*(char **)(lVar7 + lVar8) = pcVar5" (pointer_expression "*(char **)(lVar7 + lVar8)" (* "*") (cast_expression "(char **)(lVar7 + lVar8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar7 + lVar8)" (( "(") (binary_expression "lVar7 + lVar8" (identifier "lVar7") (+ "+") (identifier "lVar8")) () ")")))) (= "=") (identifier "pcVar5")) (; ";")) (expression_statement "*(undefined8 *)(lVar7 + lVar10) = 0;" (assignment_expression "*(undefined8 *)(lVar7 + lVar10) = 0" (pointer_expression "*(undefined8 *)(lVar7 + lVar10)" (* "*") (cast_expression "(undefined8 *)(lVar7 + lVar10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + lVar10)" (( "(") (binary_expression "lVar7 + lVar10" (identifier "lVar7") (+ "+") (identifier "lVar10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(long *)(lVar9 + 0x28) = lVar7;" (assignment_expression "*(long *)(lVar9 + 0x28) = lVar7" (pointer_expression "*(long *)(lVar9 + 0x28)" (* "*") (cast_expression "(long *)(lVar9 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar9 + 0x28)" (( "(") (binary_expression "lVar9 + 0x28" (identifier "lVar9") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "lVar7")) (; ";")) (if_statement "if (iVar1 != 0) {\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(lVar9 + 0x1c) = 1;\n    }" ({ "{") (expression_statement "*(undefined4 *)(lVar9 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar9 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar9 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(lVar9 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar9 + 0x1c)" (( "(") (binary_expression "lVar9 + 0x1c" (identifier "lVar9") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");" (call_expression "__assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass")" (identifier "__assert_fail") (argument_list "("info->type_stack != NULL && info->type_stack->fields != NULL",\n                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass")" (( "(") (string_literal ""info->type_stack != NULL && info->type_stack->fields != NULL"" (" """) (string_content "info->type_stack != NULL && info->type_stack->fields != NULL") (" """)) (, ",") (string_literal ""../../binutils/wrstabs.c"" (" """) (string_content "../../binutils/wrstabs.c") (" """)) (, ",") (number_literal "0x632") (, ",") (string_literal ""stab_class_baseclass"" (" """) (string_content "stab_class_baseclass") (" """)) () ")"))) (; ";")) (} "}")))

type_1
function_1(void *p,type_2 bitpos,type_1 var_5,type_3 var_6)

{
  int var_22;
  long *var_15;
  int var_16;
  char *__s;
  size_t var_4;
  char *var_12;
  type_4 var_17;
  long var_19;
  long var_14;
  long var_21;
  type_5 *info;
  long var_20;
  
  var_22 = *(int *)((long)&((type_5 *)((long)p + 0x60))->abfd->iovec + 4);
  __s = var_1((type_5 *)((long)p + 0x60));
  var_4 = var_2(__s);
  var_12 = (char *)var_3(var_4 + 0x19);
  *var_12 = (var_5 != 0) + '0';
  if (var_6 == var_7) {
    var_12[1] = '1';
  }
  else if (var_6 == var_8) {
    var_12[1] = '2';
  }
  else {
    if (var_6 != var_9) {
                    /* WARNING: Subroutine does not return */
      var_10();
    }
    var_12[1] = '0';
  }
  var_11(var_12 + 2,"%ld,%s;",bitpos);
  var_13(__s);
  var_14 = *(long *)((long)p + 0x60);
  if ((var_14 != 0) && (*(long *)(var_14 + 0x20) != 0)) {
    var_15 = *(long **)(var_14 + 0x28);
    if ((var_15 == (long *)0x0) || (*var_15 == 0)) {
      var_20 = 8;
      var_14 = 0;
      var_21 = 0x10;
    }
    else {
      var_17 = 0;
      do {
        var_16 = (int)var_17;
        var_17 = (type_4)(var_16 + 1);
        var_14 = var_17 * 8;
      } while (var_15[var_17] != 0);
      var_20 = (type_4)(var_16 + 2) << 3;
      var_21 = (type_4)(var_16 + 3) << 3;
    }
    var_19 = var_18(var_15,var_21);
    var_21 = *(long *)((long)p + 0x60);
    *(char **)(var_19 + var_14) = var_12;
    *(type_6 *)(var_19 + var_20) = 0;
    *(long *)(var_21 + 0x28) = var_19;
    if (var_22 != 0) {
      *(type_7 *)(var_21 + 0x1c) = 1;
    }
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  var_23("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");
}


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

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

{
  int iVar1;
  long *plVar2;
  int iVar3;
  char *__s;
  size_t sVar4;
  char *pcVar5;
  ulong uVar6;
  long lVar7;
  long lVar8;
  long lVar9;
  long lVar10;
  
  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);
  __s = (char *)FUN_00118930();
  sVar4 = strlen(__s);
  pcVar5 = (char *)xmalloc(sVar4 + 0x19);
  *pcVar5 = (param_3 != 0) + '0';
  if (param_4 == 1) {
    pcVar5[1] = '1';
  }
  else if (param_4 == 0) {
    pcVar5[1] = '2';
  }
  else {
    if (param_4 != 2) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar5[1] = '0';
  }
  sprintf(pcVar5 + 2,"%ld,%s;",param_2);
  free(__s);
  lVar8 = *(long *)(param_1 + 0x60);
  if ((lVar8 != 0) && (*(long *)(lVar8 + 0x20) != 0)) {
    plVar2 = *(long **)(lVar8 + 0x28);
    if ((plVar2 == (long *)0x0) || (*plVar2 == 0)) {
      lVar10 = 8;
      lVar8 = 0;
      lVar9 = 0x10;
    }
    else {
      uVar6 = 0;
      do {
        iVar3 = (int)uVar6;
        uVar6 = (ulong)(iVar3 + 1);
        lVar8 = uVar6 * 8;
      } while (plVar2[uVar6] != 0);
      lVar10 = (ulong)(iVar3 + 2) << 3;
      lVar9 = (ulong)(iVar3 + 3) << 3;
    }
    lVar7 = xrealloc(plVar2,lVar9);
    lVar9 = *(long *)(param_1 + 0x60);
    *(char **)(lVar7 + lVar8) = pcVar5;
    *(undefined8 *)(lVar7 + lVar10) = 0;
    *(long *)(lVar9 + 0x28) = lVar7;
    if (iVar1 != 0) {
      *(undefined4 *)(lVar9 + 0x1c) = 1;
    }
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("info->type_stack != NULL && info->type_stack->fields != NULL",
                "../../binutils/wrstabs.c",0x632,"stab_class_baseclass");
}

