
bfd_boolean stab_class_static_member(void *p,char *name,char *physname,debug_visibility visibility)

{
  int iVar1;
  long lVar2;
  char *__s;
  size_t sVar3;
  size_t sVar4;
  size_t sVar5;
  size_t sVar6;
  char *pcVar7;
  stab_write_handle *info;
  char *pcVar8;
  
  iVar1 = *(int *)((long)&((stab_write_handle *)((long)p + 0x60))->abfd->iovec + 4);
  __s = stab_pop_type((stab_write_handle *)((long)p + 0x60));
  pcVar7 = *(char **)(*(long *)((long)p + 0x60) + 0x20);
  if (pcVar7 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,
                  "stab_class_static_member");
  }
  sVar3 = strlen(pcVar7);
  sVar4 = strlen(name);
  sVar5 = strlen(__s);
  sVar6 = strlen(physname);
  pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);
  if (visibility == DEBUG_VISIBILITY_PROTECTED) {
    pcVar8 = "/1";
  }
  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {
    pcVar8 = "";
  }
  else {
    if (visibility != DEBUG_VISIBILITY_PRIVATE) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar8 = "/0";
  }
  sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar8,__s,
          physname);
  free(*(void **)(*(long *)((long)p + 0x60) + 0x20));
  lVar2 = *(long *)((long)p + 0x60);
  *(char **)(lVar2 + 0x20) = pcVar7;
  if (iVar1 != 0) {
    *(undefined4 *)(lVar2 + 0x1c) = 1;
  }
  return 1;
}



undefined1  [16] FUN_00118970(long param_1,char *param_2,char *param_3,int param_4)

{
  int iVar1;
  long lVar2;
  char *__s;
  size_t sVar3;
  size_t sVar4;
  size_t sVar5;
  size_t sVar6;
  char *pcVar7;
  char *pcVar8;
  undefined1 auVar9 [16];
  
  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);
  __s = (char *)FUN_00118930();
  pcVar7 = *(char **)(*(long *)(param_1 + 0x60) + 0x20);
  if (pcVar7 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,
                  "stab_class_static_member");
  }
  sVar3 = strlen(pcVar7);
  sVar4 = strlen(param_2);
  sVar5 = strlen(__s);
  sVar6 = strlen(param_3);
  pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);
  if (param_4 == 1) {
    pcVar8 = "/1";
  }
  else if (param_4 == 0) {
    pcVar8 = "";
  }
  else {
    if (param_4 != 2) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar8 = "/0";
  }
  sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,
          __s);
  free(*(void **)(*(long *)(param_1 + 0x60) + 0x20));
  lVar2 = *(long *)(param_1 + 0x60);
  *(char **)(lVar2 + 0x20) = pcVar7;
  if (iVar1 != 0) {
    *(undefined4 *)(lVar2 + 0x1c) = 1;
  }
  auVar9._8_8_ = param_3;
  auVar9._0_8_ = 1;
  return auVar9;
}


PUSH R15
PUSH R14
MOV R14D,ECX
PUSH R13
MOV R13,RDX
PUSH R12
PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RDI
ADD RDI,0x60
SUB RSP,0x28
MOV RAX,qword ptr [RDI]
MOV EAX,dword ptr [RAX + 0x1c]
MOV dword ptr [RSP + 0xc],EAX
CALL 0x00118930
MOV R12,RAX
MOV RAX,qword ptr [RBX + 0x60]
MOV RDI,qword ptr [RAX + 0x20]
TEST RDI,RDI
JZ 0x00118a99
CALL 0x00104260
MOV RDI,RBP
MOV qword ptr [RSP + 0x18],RAX
CALL 0x00104260
MOV RDI,R12
MOV R15,RAX
CALL 0x00104260
MOV RDI,R13
MOV qword ptr [RSP + 0x10],RAX
CALL 0x00104260
MOV RSI,qword ptr [RSP + 0x18]
LEA RDX,[RSI + R15*0x1 + 0xa]
MOV R15,qword ptr [RSP + 0x10]
ADD R15,RDX
LEA RDI,[R15 + RAX*0x1]
CALL 0x00104370
MOV R15,RAX
CMP R14D,0x1
JZ 0x00118a90
TEST R14D,R14D
JZ 0x00118a80
CMP R14D,0x2
JNZ 0x00118ab8
LEA R8,[0x123f79]
MOV RAX,qword ptr [RBX + 0x60]
SUB RSP,0x8
MOV RCX,RBP
MOV R9,R12
LEA RSI,[0x123f7c]
MOV RDI,R15
MOV RDX,qword ptr [RAX + 0x20]
PUSH R13
XOR EAX,EAX
CALL 0x00104820
MOV RAX,qword ptr [RBX + 0x60]
MOV RDI,qword ptr [RAX + 0x20]
CALL 0x00104920
MOV RAX,qword ptr [RBX + 0x60]
MOV qword ptr [RAX + 0x20],R15
POP RDX
POP RCX
MOV ESI,dword ptr [RSP + 0xc]
TEST ESI,ESI
JZ 0x00118a64
MOV dword ptr [RAX + 0x1c],0x1
ADD RSP,0x28
MOV EAX,0x1
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
LEA R8,[0x123227]
JMP 0x00118a19
LEA R8,[0x123f76]
JMP 0x00118a19
LEA RCX,[0x1243c0]
MOV EDX,0x5e2
LEA RSI,[0x123f18]
LEA RDI,[0x124180]
CALL 0x001042e0
CALL 0x00104090
(translation_unit "undefined1  [16] FUN_00118970(long param_1,char *param_2,char *param_3,int param_4)\n\n{\n  int iVar1;\n  long lVar2;\n  char *__s;\n  size_t sVar3;\n  size_t sVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  char *pcVar8;\n  undefined1 auVar9 [16];\n  \n  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);\n  __s = (char *)FUN_00118930();\n  pcVar7 = *(char **)(*(long *)(param_1 + 0x60) + 0x20);\n  if (pcVar7 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }\n  sVar3 = strlen(pcVar7);\n  sVar4 = strlen(param_2);\n  sVar5 = strlen(__s);\n  sVar6 = strlen(param_3);\n  pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);\n  if (param_4 == 1) {\n    pcVar8 = "/1";\n  }\n  else if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }\n  sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s);\n  free(*(void **)(*(long *)(param_1 + 0x60) + 0x20));\n  lVar2 = *(long *)(param_1 + 0x60);\n  *(char **)(lVar2 + 0x20) = pcVar7;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }\n  auVar9._8_8_ = param_3;\n  auVar9._0_8_ = 1;\n  return auVar9;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (declaration "FUN_00118970(long param_1,char *param_2,char *param_3,int param_4)\n\n{\n  int iVar1;" type_identifier (ERROR "(long param_1,char" ( (type_descriptor "long param_1" (sized_type_specifier "long param_1" long type_identifier)) , primitive_type) (pointer_declarator "*param_2" * identifier) , (ERROR "char" identifier) (pointer_declarator "*param_3" * identifier) , (ERROR "int param_4)\n\n{\n  int" identifier identifier ) { primitive_type) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "undefined1 auVar9 [16];" type_identifier (array_declarator "auVar9 [16]" identifier [ number_literal ]) ;) (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 "pcVar7 = *(char **)(*(long *)(param_1 + 0x60) + 0x20);" (assignment_expression "pcVar7 = *(char **)(*(long *)(param_1 + 0x60) + 0x20)" identifier = (pointer_expression "*(char **)(*(long *)(param_1 + 0x60) + 0x20)" * (cast_expression "(char **)(*(long *)(param_1 + 0x60) + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x20)" ( (binary_expression "*(long *)(param_1 + 0x60) + 0x20" (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) ))))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }" { comment (expression_statement "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");" (call_expression "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member")" identifier (argument_list "("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member")" ( (string_literal ""info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_static_member"" " string_content ") ))) ;) })) (expression_statement "sVar3 = strlen(pcVar7);" (assignment_expression "sVar3 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "sVar4 = strlen(param_2);" (assignment_expression "sVar4 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "sVar6 = strlen(param_3);" (assignment_expression "sVar6 = strlen(param_3)" identifier = (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);" (assignment_expression "pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" identifier = (cast_expression "(char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" identifier (argument_list "(sVar5 + sVar3 + 10 + sVar4 + sVar6)" ( (binary_expression "sVar5 + sVar3 + 10 + sVar4 + sVar6" (binary_expression "sVar5 + sVar3 + 10 + sVar4" (binary_expression "sVar5 + sVar3 + 10" (binary_expression "sVar5 + sVar3" identifier + identifier) + number_literal) + identifier) + identifier) ))))) ;) (if_statement "if (param_4 == 1) {\n    pcVar8 = "/1";\n  }\n  else if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }" if (parenthesized_expression "(param_4 == 1)" ( (binary_expression "param_4 == 1" identifier == number_literal) )) (compound_statement "{\n    pcVar8 = "/1";\n  }" { (expression_statement "pcVar8 = "/1";" (assignment_expression "pcVar8 = "/1"" identifier = (string_literal ""/1"" " string_content ")) ;) }) (else_clause "else if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }" else (if_statement "if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar8 = "";\n  }" { (expression_statement "pcVar8 = "";" (assignment_expression "pcVar8 = """ identifier = (string_literal """" " ")) ;) }) (else_clause "else {\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }" else (compound_statement "{\n    if (param_4 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/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 "pcVar8 = "/0";" (assignment_expression "pcVar8 = "/0"" identifier = (string_literal ""/0"" " string_content ")) ;) }))))) (expression_statement "sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s);" (call_expression "sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s)" identifier (argument_list "(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s)" ( identifier , (string_literal ""%s%s:%s%s:%s;"" " string_content ") , (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20)" * (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x20)" ( (binary_expression "*(long *)(param_1 + 0x60) + 0x20" (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) + number_literal) )))) , identifier , identifier , identifier ))) ;) (expression_statement "free(*(void **)(*(long *)(param_1 + 0x60) + 0x20));" (call_expression "free(*(void **)(*(long *)(param_1 + 0x60) + 0x20))" identifier (argument_list "(*(void **)(*(long *)(param_1 + 0x60) + 0x20))" ( (pointer_expression "*(void **)(*(long *)(param_1 + 0x60) + 0x20)" * (cast_expression "(void **)(*(long *)(param_1 + 0x60) + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x20)" ( (binary_expression "*(long *)(param_1 + 0x60) + 0x20" (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 "lVar2 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar2 = *(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 **)(lVar2 + 0x20) = pcVar7;" (assignment_expression "*(char **)(lVar2 + 0x20) = pcVar7" (pointer_expression "*(char **)(lVar2 + 0x20)" * (cast_expression "(char **)(lVar2 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }" { (expression_statement "*(undefined4 *)(lVar2 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar2 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar2 + 0x1c)" * (cast_expression "(undefined4 *)(lVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x1c)" ( (binary_expression "lVar2 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "auVar9._8_8_ = param_3;" (assignment_expression "auVar9._8_8_ = param_3" (field_expression "auVar9._8_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar9._0_8_ = 1;" (assignment_expression "auVar9._0_8_ = 1" (field_expression "auVar9._0_8_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar9;" return identifier ;) (ERROR "}" }))
(translation_unit "bfd_boolean stab_class_static_member(void *p,char *name,char *physname,debug_visibility visibility)\n\n{\n  int iVar1;\n  long lVar2;\n  char *__s;\n  size_t sVar3;\n  size_t sVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  stab_write_handle *info;\n  char *pcVar8;\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  pcVar7 = *(char **)(*(long *)((long)p + 0x60) + 0x20);\n  if (pcVar7 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }\n  sVar3 = strlen(pcVar7);\n  sVar4 = strlen(name);\n  sVar5 = strlen(__s);\n  sVar6 = strlen(physname);\n  pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);\n  if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar8 = "/1";\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar8 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }\n  sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar8,__s,\n          physname);\n  free(*(void **)(*(long *)((long)p + 0x60) + 0x20));\n  lVar2 = *(long *)((long)p + 0x60);\n  *(char **)(lVar2 + 0x20) = pcVar7;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }\n  return 1;\n}\n\n" (function_definition "bfd_boolean stab_class_static_member(void *p,char *name,char *physname,debug_visibility visibility)\n\n{\n  int iVar1;\n  long lVar2;\n  char *__s;\n  size_t sVar3;\n  size_t sVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  stab_write_handle *info;\n  char *pcVar8;\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  pcVar7 = *(char **)(*(long *)((long)p + 0x60) + 0x20);\n  if (pcVar7 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }\n  sVar3 = strlen(pcVar7);\n  sVar4 = strlen(name);\n  sVar5 = strlen(__s);\n  sVar6 = strlen(physname);\n  pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);\n  if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar8 = "/1";\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar8 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }\n  sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar8,__s,\n          physname);\n  free(*(void **)(*(long *)((long)p + 0x60) + 0x20));\n  lVar2 = *(long *)((long)p + 0x60);\n  *(char **)(lVar2 + 0x20) = pcVar7;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }\n  return 1;\n}" type_identifier (function_declarator "stab_class_static_member(void *p,char *name,char *physname,debug_visibility visibility)" identifier (parameter_list "(void *p,char *name,char *physname,debug_visibility visibility)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "char *physname" primitive_type (pointer_declarator "*physname" * identifier)) , (parameter_declaration "debug_visibility visibility" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  long lVar2;\n  char *__s;\n  size_t sVar3;\n  size_t sVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  stab_write_handle *info;\n  char *pcVar8;\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  pcVar7 = *(char **)(*(long *)((long)p + 0x60) + 0x20);\n  if (pcVar7 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }\n  sVar3 = strlen(pcVar7);\n  sVar4 = strlen(name);\n  sVar5 = strlen(__s);\n  sVar6 = strlen(physname);\n  pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);\n  if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar8 = "/1";\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar8 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }\n  sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar8,__s,\n          physname);\n  free(*(void **)(*(long *)((long)p + 0x60) + 0x20));\n  lVar2 = *(long *)((long)p + 0x60);\n  *(char **)(lVar2 + 0x20) = pcVar7;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "stab_write_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * 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 "pcVar7 = *(char **)(*(long *)((long)p + 0x60) + 0x20);" (assignment_expression "pcVar7 = *(char **)(*(long *)((long)p + 0x60) + 0x20)" identifier = (pointer_expression "*(char **)(*(long *)((long)p + 0x60) + 0x20)" * (cast_expression "(char **)(*(long *)((long)p + 0x60) + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)((long)p + 0x60) + 0x20)" ( (binary_expression "*(long *)((long)p + 0x60) + 0x20" (pointer_expression "*(long *)((long)p + 0x60)" * (cast_expression "(long *)((long)p + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x60)" ( (binary_expression "(long)p + 0x60" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }" { comment (expression_statement "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");" (call_expression "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member")" identifier (argument_list "("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member")" ( (string_literal ""info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_static_member"" " string_content ") ))) ;) })) (expression_statement "sVar3 = strlen(pcVar7);" (assignment_expression "sVar3 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "sVar4 = strlen(name);" (assignment_expression "sVar4 = strlen(name)" identifier = (call_expression "strlen(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "sVar6 = strlen(physname);" (assignment_expression "sVar6 = strlen(physname)" identifier = (call_expression "strlen(physname)" identifier (argument_list "(physname)" ( identifier )))) ;) (expression_statement "pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);" (assignment_expression "pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" identifier = (cast_expression "(char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" identifier (argument_list "(sVar5 + sVar3 + 10 + sVar4 + sVar6)" ( (binary_expression "sVar5 + sVar3 + 10 + sVar4 + sVar6" (binary_expression "sVar5 + sVar3 + 10 + sVar4" (binary_expression "sVar5 + sVar3 + 10" (binary_expression "sVar5 + sVar3" identifier + identifier) + number_literal) + identifier) + identifier) ))))) ;) (if_statement "if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar8 = "/1";\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar8 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }" if (parenthesized_expression "(visibility == DEBUG_VISIBILITY_PROTECTED)" ( (binary_expression "visibility == DEBUG_VISIBILITY_PROTECTED" identifier == identifier) )) (compound_statement "{\n    pcVar8 = "/1";\n  }" { (expression_statement "pcVar8 = "/1";" (assignment_expression "pcVar8 = "/1"" identifier = (string_literal ""/1"" " string_content ")) ;) }) (else_clause "else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar8 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }" else (if_statement "if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar8 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }" if (parenthesized_expression "(visibility == DEBUG_VISIBILITY_PUBLIC)" ( (binary_expression "visibility == DEBUG_VISIBILITY_PUBLIC" identifier == identifier) )) (compound_statement "{\n    pcVar8 = "";\n  }" { (expression_statement "pcVar8 = "";" (assignment_expression "pcVar8 = """ identifier = (string_literal """" " ")) ;) }) (else_clause "else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/0";\n  }" else (compound_statement "{\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar8 = "/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 "pcVar8 = "/0";" (assignment_expression "pcVar8 = "/0"" identifier = (string_literal ""/0"" " string_content ")) ;) }))))) (expression_statement "sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar8,__s,\n          physname);" (call_expression "sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar8,__s,\n          physname)" identifier (argument_list "(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar8,__s,\n          physname)" ( identifier , (string_literal ""%s%s:%s%s:%s;"" " string_content ") , (pointer_expression "*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20)" * (cast_expression "(undefined8 *)(*(long *)((long)p + 0x60) + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((long)p + 0x60) + 0x20)" ( (binary_expression "*(long *)((long)p + 0x60) + 0x20" (pointer_expression "*(long *)((long)p + 0x60)" * (cast_expression "(long *)((long)p + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x60)" ( (binary_expression "(long)p + 0x60" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) )))) , identifier , identifier , identifier , identifier ))) ;) (expression_statement "free(*(void **)(*(long *)((long)p + 0x60) + 0x20));" (call_expression "free(*(void **)(*(long *)((long)p + 0x60) + 0x20))" identifier (argument_list "(*(void **)(*(long *)((long)p + 0x60) + 0x20))" ( (pointer_expression "*(void **)(*(long *)((long)p + 0x60) + 0x20)" * (cast_expression "(void **)(*(long *)((long)p + 0x60) + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)((long)p + 0x60) + 0x20)" ( (binary_expression "*(long *)((long)p + 0x60) + 0x20" (pointer_expression "*(long *)((long)p + 0x60)" * (cast_expression "(long *)((long)p + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p + 0x60)" ( (binary_expression "(long)p + 0x60" (cast_expression "(long)p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "lVar2 = *(long *)((long)p + 0x60);" (assignment_expression "lVar2 = *(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 **)(lVar2 + 0x20) = pcVar7;" (assignment_expression "*(char **)(lVar2 + 0x20) = pcVar7" (pointer_expression "*(char **)(lVar2 + 0x20)" * (cast_expression "(char **)(lVar2 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }" { (expression_statement "*(undefined4 *)(lVar2 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar2 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar2 + 0x1c)" * (cast_expression "(undefined4 *)(lVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x1c)" ( (binary_expression "lVar2 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined1  [16] FUN_00118970(long param_1,char *param_2,char *param_3,int param_4)\n\n{\n  int iVar1;\n  long lVar2;\n  char *__s;\n  size_t sVar3;\n  size_t sVar4;\n  size_t sVar5;\n  size_t sVar6;\n  char *pcVar7;\n  char *pcVar8;\n  undefined1 auVar9 [16];\n  \n  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);\n  __s = (char *)FUN_00118930();\n  pcVar7 = *(char **)(*(long *)(param_1 + 0x60) + 0x20);\n  if (pcVar7 == (char *)0x0) {\n                    \n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }\n  sVar3 = strlen(pcVar7);\n  sVar4 = strlen(param_2);\n  sVar5 = strlen(__s);\n  sVar6 = strlen(param_3);\n  pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);\n  if (param_4 == 1) {\n    pcVar8 = "/1";\n  }\n  else if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/0";\n  }\n  sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s);\n  free(*(void **)(*(long *)(param_1 + 0x60) + 0x20));\n  lVar2 = *(long *)(param_1 + 0x60);\n  *(char **)(lVar2 + 0x20) = pcVar7;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }\n  auVar9._8_8_ = param_3;\n  auVar9._0_8_ = 1;\n  return auVar9;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (declaration "FUN_00118970(long param_1,char *param_2,char *param_3,int param_4)\n\n{\n  int iVar1;" type_identifier (ERROR "(long param_1,char" ( (type_descriptor "long param_1" (sized_type_specifier "long param_1" long type_identifier)) , primitive_type) (pointer_declarator "*param_2" * identifier) , (ERROR "char" identifier) (pointer_declarator "*param_3" * identifier) , (ERROR "int param_4)\n\n{\n  int" identifier identifier ) { primitive_type) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "undefined1 auVar9 [16];" type_identifier (array_declarator "auVar9 [16]" identifier [ number_literal ]) ;) (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 "pcVar7 = *(char **)(*(long *)(param_1 + 0x60) + 0x20);" (assignment_expression "pcVar7 = *(char **)(*(long *)(param_1 + 0x60) + 0x20)" identifier = (pointer_expression "*(char **)(*(long *)(param_1 + 0x60) + 0x20)" * (cast_expression "(char **)(*(long *)(param_1 + 0x60) + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x20)" ( (binary_expression "*(long *)(param_1 + 0x60) + 0x20" (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) ))))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n                    \n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }" { (expression_statement "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");" (call_expression "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member")" identifier (argument_list "("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member")" ( (string_literal ""info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_class_static_member"" " string_content ") ))) ;) })) (expression_statement "sVar3 = strlen(pcVar7);" (assignment_expression "sVar3 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "sVar4 = strlen(param_2);" (assignment_expression "sVar4 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "sVar6 = strlen(param_3);" (assignment_expression "sVar6 = strlen(param_3)" identifier = (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);" (assignment_expression "pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" identifier = (cast_expression "(char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" identifier (argument_list "(sVar5 + sVar3 + 10 + sVar4 + sVar6)" ( (binary_expression "sVar5 + sVar3 + 10 + sVar4 + sVar6" (binary_expression "sVar5 + sVar3 + 10 + sVar4" (binary_expression "sVar5 + sVar3 + 10" (binary_expression "sVar5 + sVar3" identifier + identifier) + number_literal) + identifier) + identifier) ))))) ;) (if_statement "if (param_4 == 1) {\n    pcVar8 = "/1";\n  }\n  else if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/0";\n  }" if (parenthesized_expression "(param_4 == 1)" ( (binary_expression "param_4 == 1" identifier == number_literal) )) (compound_statement "{\n    pcVar8 = "/1";\n  }" { (expression_statement "pcVar8 = "/1";" (assignment_expression "pcVar8 = "/1"" identifier = (string_literal ""/1"" " string_content ")) ;) }) (else_clause "else if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/0";\n  }" else (if_statement "if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/0";\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar8 = "";\n  }" { (expression_statement "pcVar8 = "";" (assignment_expression "pcVar8 = """ identifier = (string_literal """" " ")) ;) }) (else_clause "else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/0";\n  }" else (compound_statement "{\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/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 "pcVar8 = "/0";" (assignment_expression "pcVar8 = "/0"" identifier = (string_literal ""/0"" " string_content ")) ;) }))))) (expression_statement "sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s);" (call_expression "sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s)" identifier (argument_list "(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s)" ( identifier , (string_literal ""%s%s:%s%s:%s;"" " string_content ") , (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20)" * (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x20)" ( (binary_expression "*(long *)(param_1 + 0x60) + 0x20" (pointer_expression "*(long *)(param_1 + 0x60)" * (cast_expression "(long *)(param_1 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) + number_literal) )))) , identifier , identifier , identifier ))) ;) (expression_statement "free(*(void **)(*(long *)(param_1 + 0x60) + 0x20));" (call_expression "free(*(void **)(*(long *)(param_1 + 0x60) + 0x20))" identifier (argument_list "(*(void **)(*(long *)(param_1 + 0x60) + 0x20))" ( (pointer_expression "*(void **)(*(long *)(param_1 + 0x60) + 0x20)" * (cast_expression "(void **)(*(long *)(param_1 + 0x60) + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x20)" ( (binary_expression "*(long *)(param_1 + 0x60) + 0x20" (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 "lVar2 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar2 = *(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 **)(lVar2 + 0x20) = pcVar7;" (assignment_expression "*(char **)(lVar2 + 0x20) = pcVar7" (pointer_expression "*(char **)(lVar2 + 0x20)" * (cast_expression "(char **)(lVar2 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }" { (expression_statement "*(undefined4 *)(lVar2 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar2 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar2 + 0x1c)" * (cast_expression "(undefined4 *)(lVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x1c)" ( (binary_expression "lVar2 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "auVar9._8_8_ = param_3;" (assignment_expression "auVar9._8_8_ = param_3" (field_expression "auVar9._8_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar9._0_8_ = 1;" (assignment_expression "auVar9._0_8_ = 1" (field_expression "auVar9._0_8_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar9;" return identifier ;) (ERROR "}" }))
(translation_unit (expression_statement (subscript_expression IDENT [ LIT ]) ;) (declaration TYPE (ERROR ( (type_descriptor (sized_type_specifier long TYPE)) , TYPE) (pointer_declarator * IDENT) , (ERROR IDENT) (pointer_declarator * IDENT) , (ERROR IDENT IDENT ) { TYPE) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (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 (binary_expression (binary_expression (binary_expression IDENT + IDENT) + LIT) + IDENT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " ")) ;) }) (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 IDENT = (string_literal " string_content ")) ;) }))))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (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) )))) , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ))) ;) (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 + 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) ;) })) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (return_statement return IDENT ;) (ERROR }))
(expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" (identifier "undefined1") ([ "[") (number_literal "16") (] "]")) (; "")) (declaration "FUN_00118970(long param_1,char *param_2,char *param_3,int param_4)\n\n{\n  int iVar1;" (type_identifier "FUN_00118970") (ERROR "(long param_1,char" (( "(") (type_descriptor "long param_1" (sized_type_specifier "long param_1" (long "long") (type_identifier "param_1"))) (, ",") (primitive_type "char")) (pointer_declarator "*param_2" (* "*") (identifier "param_2")) (, ",") (ERROR "char" (identifier "char")) (pointer_declarator "*param_3" (* "*") (identifier "param_3")) (, ",") (ERROR "int param_4)\n\n{\n  int" (identifier "int") (identifier "param_4") () ")") ({ "{") (primitive_type "int")) (identifier "iVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "size_t sVar6;" (primitive_type "size_t") (identifier "sVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "undefined1 auVar9 [16];" (type_identifier "undefined1") (array_declarator "auVar9 [16]" (identifier "auVar9") ([ "[") (number_literal "16") (] "]")) (; ";")) (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 "pcVar7 = *(char **)(*(long *)(param_1 + 0x60) + 0x20);" (assignment_expression "pcVar7 = *(char **)(*(long *)(param_1 + 0x60) + 0x20)" (identifier "pcVar7") (= "=") (pointer_expression "*(char **)(*(long *)(param_1 + 0x60) + 0x20)" (* "*") (cast_expression "(char **)(*(long *)(param_1 + 0x60) + 0x20)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x20)" (( "(") (binary_expression "*(long *)(param_1 + 0x60) + 0x20" (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 "0x20")) () ")"))))) (; ";")) (if_statement "if (pcVar7 == (char *)0x0) {\n                    \n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }" (if "if") (parenthesized_expression "(pcVar7 == (char *)0x0)" (( "(") (binary_expression "pcVar7 == (char *)0x0" (identifier "pcVar7") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");\n  }" ({ "{") (expression_statement "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member");" (call_expression "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member")" (identifier "__assert_fail") (argument_list "("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,\n                  "stab_class_static_member")" (( "(") (string_literal ""info->type_stack->fields != NULL"" (" """) (string_content "info->type_stack->fields != NULL") (" """)) (, ",") (string_literal ""../../binutils/wrstabs.c"" (" """) (string_content "../../binutils/wrstabs.c") (" """)) (, ",") (number_literal "0x5e2") (, ",") (string_literal ""stab_class_static_member"" (" """) (string_content "stab_class_static_member") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "sVar3 = strlen(pcVar7);" (assignment_expression "sVar3 = strlen(pcVar7)" (identifier "sVar3") (= "=") (call_expression "strlen(pcVar7)" (identifier "strlen") (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")")))) (; ";")) (expression_statement "sVar4 = strlen(param_2);" (assignment_expression "sVar4 = strlen(param_2)" (identifier "sVar4") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "sVar5 = strlen(__s);" (assignment_expression "sVar5 = strlen(__s)" (identifier "sVar5") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "sVar6 = strlen(param_3);" (assignment_expression "sVar6 = strlen(param_3)" (identifier "sVar6") (= "=") (call_expression "strlen(param_3)" (identifier "strlen") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);" (assignment_expression "pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" (identifier "pcVar7") (= "=") (cast_expression "(char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6)" (identifier "xmalloc") (argument_list "(sVar5 + sVar3 + 10 + sVar4 + sVar6)" (( "(") (binary_expression "sVar5 + sVar3 + 10 + sVar4 + sVar6" (binary_expression "sVar5 + sVar3 + 10 + sVar4" (binary_expression "sVar5 + sVar3 + 10" (binary_expression "sVar5 + sVar3" (identifier "sVar5") (+ "+") (identifier "sVar3")) (+ "+") (number_literal "10")) (+ "+") (identifier "sVar4")) (+ "+") (identifier "sVar6")) () ")"))))) (; ";")) (if_statement "if (param_4 == 1) {\n    pcVar8 = "/1";\n  }\n  else if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/0";\n  }" (if "if") (parenthesized_expression "(param_4 == 1)" (( "(") (binary_expression "param_4 == 1" (identifier "param_4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    pcVar8 = "/1";\n  }" ({ "{") (expression_statement "pcVar8 = "/1";" (assignment_expression "pcVar8 = "/1"" (identifier "pcVar8") (= "=") (string_literal ""/1"" (" """) (string_content "/1") (" """))) (; ";")) (} "}")) (else_clause "else if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/0";\n  }" (else "else") (if_statement "if (param_4 == 0) {\n    pcVar8 = "";\n  }\n  else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/0";\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar8 = "";\n  }" ({ "{") (expression_statement "pcVar8 = "";" (assignment_expression "pcVar8 = """ (identifier "pcVar8") (= "=") (string_literal """" (" """) (" """))) (; ";")) (} "}")) (else_clause "else {\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/0";\n  }" (else "else") (compound_statement "{\n    if (param_4 != 2) {\n                    \n      abort();\n    }\n    pcVar8 = "/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 "pcVar8 = "/0";" (assignment_expression "pcVar8 = "/0"" (identifier "pcVar8") (= "=") (string_literal ""/0"" (" """) (string_content "/0") (" """))) (; ";")) (} "}")))))) (expression_statement "sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s);" (call_expression "sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s)" (identifier "sprintf") (argument_list "(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,\n          __s)" (( "(") (identifier "pcVar7") (, ",") (string_literal ""%s%s:%s%s:%s;"" (" """) (string_content "%s%s:%s%s:%s;") (" """)) (, ",") (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20)" (* "*") (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x20)" (( "(") (binary_expression "*(long *)(param_1 + 0x60) + 0x20" (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 "0x20")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "pcVar8") (, ",") (identifier "__s") () ")"))) (; ";")) (expression_statement "free(*(void **)(*(long *)(param_1 + 0x60) + 0x20));" (call_expression "free(*(void **)(*(long *)(param_1 + 0x60) + 0x20))" (identifier "free") (argument_list "(*(void **)(*(long *)(param_1 + 0x60) + 0x20))" (( "(") (pointer_expression "*(void **)(*(long *)(param_1 + 0x60) + 0x20)" (* "*") (cast_expression "(void **)(*(long *)(param_1 + 0x60) + 0x20)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x60) + 0x20)" (( "(") (binary_expression "*(long *)(param_1 + 0x60) + 0x20" (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 "0x20")) () ")")))) () ")"))) (; ";")) (expression_statement "lVar2 = *(long *)(param_1 + 0x60);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x60)" (identifier "lVar2") (= "=") (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 **)(lVar2 + 0x20) = pcVar7;" (assignment_expression "*(char **)(lVar2 + 0x20) = pcVar7" (pointer_expression "*(char **)(lVar2 + 0x20)" (* "*") (cast_expression "(char **)(lVar2 + 0x20)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar2 + 0x20)" (( "(") (binary_expression "lVar2 + 0x20" (identifier "lVar2") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "pcVar7")) (; ";")) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(lVar2 + 0x1c) = 1;\n  }" ({ "{") (expression_statement "*(undefined4 *)(lVar2 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar2 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(lVar2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x1c)" (( "(") (binary_expression "lVar2 + 0x1c" (identifier "lVar2") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "auVar9._8_8_ = param_3;" (assignment_expression "auVar9._8_8_ = param_3" (field_expression "auVar9._8_8_" (identifier "auVar9") (. ".") (field_identifier "_8_8_")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "auVar9._0_8_ = 1;" (assignment_expression "auVar9._0_8_ = 1" (field_expression "auVar9._0_8_" (identifier "auVar9") (. ".") (field_identifier "_0_8_")) (= "=") (number_literal "1")) (; ";")) (return_statement "return auVar9;" (return "return") (identifier "auVar9") (; ";")) (ERROR "}" (} "}"))

type_1 function_1(void *p,char *name,char *physname,type_2 var_10)

{
  int var_18;
  long var_17;
  char *__s;
  size_t var_7;
  size_t var_8;
  size_t var_6;
  size_t var_9;
  char *var_2;
  type_3 *info;
  char *pcVar8;
  
  var_18 = *(int *)((long)&((type_3 *)((long)p + 0x60))->abfd->iovec + 4);
  __s = var_1((type_3 *)((long)p + 0x60));
  var_2 = *(char **)(*(long *)((long)p + 0x60) + 0x20);
  if (var_2 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,
                  "stab_class_static_member");
  }
  var_7 = var_4(var_2);
  var_8 = var_4(name);
  var_6 = var_4(__s);
  var_9 = var_4(physname);
  var_2 = (char *)var_5(var_6 + var_7 + 10 + var_8 + var_9);
  if (var_10 == var_11) {
    pcVar8 = "/1";
  }
  else if (var_10 == var_12) {
    pcVar8 = "";
  }
  else {
    if (var_10 != var_13) {
                    /* WARNING: Subroutine does not return */
      var_14();
    }
    pcVar8 = "/0";
  }
  var_15(var_2,"%s%s:%s%s:%s;",*(type_4 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar8,__s,
          physname);
  var_16(*(void **)(*(long *)((long)p + 0x60) + 0x20));
  var_17 = *(long *)((long)p + 0x60);
  *(char **)(var_17 + 0x20) = var_2;
  if (var_18 != 0) {
    *(type_5 *)(var_17 + 0x1c) = 1;
  }
  return 1;
}


(translation_unit (expression_statement (subscript_expression argument: (identifier) index: (number_literal)) (MISSING ";")) (declaration type: (type_identifier) (ERROR (type_descriptor type: (sized_type_specifier type: (type_identifier))) (primitive_type)) declarator: (pointer_declarator declarator: (identifier)) (ERROR (identifier)) declarator: (pointer_declarator declarator: (identifier)) (ERROR (identifier) (identifier) (primitive_type)) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (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: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)) right: (identifier)) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal)))) 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: (identifier) right: (string_literal (string_content))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) 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))))) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))) (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: (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))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (identifier))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (return_statement (identifier)) (ERROR))

undefined1  [16] MASKED(long param_1,char *param_2,char *param_3,int param_4)

{
  int iVar1;
  long lVar2;
  char *__s;
  size_t sVar3;
  size_t sVar4;
  size_t sVar5;
  size_t sVar6;
  char *pcVar7;
  char *pcVar8;
  undefined1 auVar9 [16];
  
  iVar1 = *(int *)(*(long *)(param_1 + 0x60) + 0x1c);
  __s = (char *)FUN_00118930();
  pcVar7 = *(char **)(*(long *)(param_1 + 0x60) + 0x20);
  if (pcVar7 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x5e2,
                  "stab_class_static_member");
  }
  sVar3 = strlen(pcVar7);
  sVar4 = strlen(param_2);
  sVar5 = strlen(__s);
  sVar6 = strlen(param_3);
  pcVar7 = (char *)xmalloc(sVar5 + sVar3 + 10 + sVar4 + sVar6);
  if (param_4 == 1) {
    pcVar8 = "/1";
  }
  else if (param_4 == 0) {
    pcVar8 = "";
  }
  else {
    if (param_4 != 2) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar8 = "/0";
  }
  sprintf(pcVar7,"%s%s:%s%s:%s;",*(undefined8 *)(*(long *)(param_1 + 0x60) + 0x20),param_2,pcVar8,
          __s);
  free(*(void **)(*(long *)(param_1 + 0x60) + 0x20));
  lVar2 = *(long *)(param_1 + 0x60);
  *(char **)(lVar2 + 0x20) = pcVar7;
  if (iVar1 != 0) {
    *(undefined4 *)(lVar2 + 0x1c) = 1;
  }
  auVar9._8_8_ = param_3;
  auVar9._0_8_ = 1;
  return auVar9;
}

