
bfd_boolean
stab_struct_field(void *p,char *name,bfd_vma bitpos,bfd_vma bitsize,debug_visibility visibility)

{
  int iVar1;
  int iVar2;
  bfd *pbVar3;
  long lVar4;
  undefined8 uVar5;
  char *__s;
  size_t sVar6;
  size_t sVar7;
  size_t sVar8;
  char *pcVar9;
  char *format;
  stab_write_handle *info;
  char *pcVar10;
  uint uVar11;
  
  pbVar3 = ((stab_write_handle *)((long)p + 0x60))->abfd;
  iVar1 = *(int *)((long)&pbVar3->iovec + 4);
  iVar2 = *(int *)&pbVar3->iovec;
  __s = stab_pop_type((stab_write_handle *)((long)p + 0x60));
  pcVar9 = *(char **)(*(long *)((long)p + 0x60) + 0x20);
  if (pcVar9 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,
                  "stab_struct_field");
  }
  sVar6 = strlen(pcVar9);
  sVar7 = strlen(name);
  sVar8 = strlen(__s);
  pcVar9 = (char *)xmalloc(sVar6 + 0x32 + sVar7 + sVar8);
  if (visibility == DEBUG_VISIBILITY_PROTECTED) {
    pcVar10 = "/1";
  }
  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {
    pcVar10 = "";
  }
  else {
    if (visibility != DEBUG_VISIBILITY_PRIVATE) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar10 = "/0";
  }
  if ((bitsize == 0) && (uVar11 = iVar2 << 3, bitsize = (bfd_vma)uVar11, uVar11 == 0)) {
                    /* WARNING: Load size is inaccurate */
    uVar5 = **p;
    format = (char *)dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);
    bitsize = 0;
    non_fatal(format,uVar5,name);
  }
  sprintf(pcVar9,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar10
          ,__s,bitpos,bitsize);
  free(*(void **)(*(long *)((long)p + 0x60) + 0x20));
  lVar4 = *(long *)((long)p + 0x60);
  *(char **)(lVar4 + 0x20) = pcVar9;
  if (iVar1 != 0) {
    *(undefined4 *)(lVar4 + 0x1c) = 1;
  }
  return 1;
}



undefined1  [16]
FUN_00118ac0(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)

{
  int iVar1;
  int iVar2;
  long lVar3;
  undefined8 uVar4;
  char *__s;
  size_t sVar5;
  size_t sVar6;
  size_t sVar7;
  char *__s_00;
  undefined8 uVar8;
  char *pcVar9;
  uint uVar10;
  undefined1 auVar11 [16];
  
  iVar1 = *(int *)(param_1[0xc] + 0x1c);
  iVar2 = *(int *)(param_1[0xc] + 0x18);
  __s = (char *)FUN_00118930();
  if (*(char **)(param_1[0xc] + 0x20) == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,
                  "stab_struct_field");
  }
  sVar5 = strlen(*(char **)(param_1[0xc] + 0x20));
  sVar6 = strlen(param_2);
  sVar7 = strlen(__s);
  __s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7);
  if (param_5 == 1) {
    pcVar9 = "/1";
  }
  else if (param_5 == 0) {
    pcVar9 = "";
  }
  else {
    if (param_5 != 2) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar9 = "/0";
  }
  if ((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)) {
    uVar4 = *(undefined8 *)*param_1;
    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);
    param_4 = 0;
    FUN_0011b660(uVar8,uVar4,param_2);
  }
  sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,
          param_3,param_4);
  free(*(void **)(param_1[0xc] + 0x20));
  lVar3 = param_1[0xc];
  *(char **)(lVar3 + 0x20) = __s_00;
  if (iVar1 != 0) {
    *(undefined4 *)(lVar3 + 0x1c) = 1;
  }
  auVar11._8_8_ = param_3;
  auVar11._0_8_ = 1;
  return auVar11;
}


PUSH R15
MOV R15,RDI
ADD RDI,0x60
PUSH R14
PUSH R13
MOV R13D,R8D
PUSH R12
PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RCX
SUB RSP,0x28
MOV RAX,qword ptr [RDI]
MOV qword ptr [RSP + 0x8],RDX
MOV ESI,dword ptr [RAX + 0x1c]
MOV EAX,dword ptr [RAX + 0x18]
MOV dword ptr [RSP + 0x18],ESI
MOV dword ptr [RSP + 0x1c],EAX
CALL 0x00118930
MOV R12,RAX
MOV RAX,qword ptr [R15 + 0x60]
MOV RDI,qword ptr [RAX + 0x20]
TEST RDI,RDI
JZ 0x00118c3a
CALL 0x00104260
MOV RDI,RBP
MOV qword ptr [RSP + 0x10],RAX
CALL 0x00104260
MOV RDI,R12
MOV R14,RAX
CALL 0x00104260
MOV RCX,qword ptr [RSP + 0x10]
LEA RDI,[RCX + R14*0x1 + 0x32]
ADD RDI,RAX
CALL 0x00104370
MOV R14,RAX
CMP R13D,0x1
JZ 0x00118bf0
TEST R13D,R13D
JZ 0x00118be0
CMP R13D,0x2
JNZ 0x00118c59
LEA R8,[0x123f79]
TEST RBX,RBX
JNZ 0x00118b7a
MOV R13D,dword ptr [RSP + 0x1c]
SHL R13D,0x3
MOV EBX,R13D
JZ 0x00118c00
MOV RAX,qword ptr [R15 + 0x60]
MOV RCX,RBP
MOV R9,R12
MOV RDI,R14
LEA RSI,[0x123f8a]
MOV RDX,qword ptr [RAX + 0x20]
PUSH RBX
XOR EAX,EAX
PUSH qword ptr [RSP + 0x10]
CALL 0x00104820
MOV RAX,qword ptr [R15 + 0x60]
MOV RDI,qword ptr [RAX + 0x20]
CALL 0x00104920
MOV RAX,qword ptr [R15 + 0x60]
MOV qword ptr [RAX + 0x20],R14
POP RDX
POP RCX
MOV ESI,dword ptr [RSP + 0x18]
TEST ESI,ESI
JZ 0x00118bc4
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 0x00118b63
LEA R8,[0x123f76]
JMP 0x00118b63
MOV RAX,qword ptr [R15]
MOV EDX,0x5
XOR EDI,EDI
MOV qword ptr [RSP + 0x10],R8
LEA RSI,[0x1241a8]
MOV RBX,qword ptr [RAX]
CALL 0x00104240
MOV RDX,RBP
MOV RSI,RBX
MOV RDI,RAX
XOR EAX,EAX
XOR EBX,EBX
CALL 0x0011b660
MOV R8,qword ptr [RSP + 0x10]
JMP 0x00118b7a
LEA RCX,[0x124360]
MOV EDX,0x554
LEA RSI,[0x123f18]
LEA RDI,[0x124180]
CALL 0x001042e0
CALL 0x00104090
(translation_unit "undefined1  [16]\nFUN_00118ac0(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  char *__s;\n  size_t sVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_00;\n  undefined8 uVar8;\n  char *pcVar9;\n  uint uVar10;\n  undefined1 auVar11 [16];\n  \n  iVar1 = *(int *)(param_1[0xc] + 0x1c);\n  iVar2 = *(int *)(param_1[0xc] + 0x18);\n  __s = (char *)FUN_00118930();\n  if (*(char **)(param_1[0xc] + 0x20) == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }\n  sVar5 = strlen(*(char **)(param_1[0xc] + 0x20));\n  sVar6 = strlen(param_2);\n  sVar7 = strlen(__s);\n  __s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7);\n  if (param_5 == 1) {\n    pcVar9 = "/1";\n  }\n  else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar9 = "/0";\n  }\n  if ((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)) {\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }\n  sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4);\n  free(*(void **)(param_1[0xc] + 0x20));\n  lVar3 = param_1[0xc];\n  *(char **)(lVar3 + 0x20) = __s_00;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }\n  auVar11._8_8_ = param_3;\n  auVar11._0_8_ = 1;\n  return auVar11;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_00118ac0(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)" (call_expression "FUN_00118ac0(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)" identifier (argument_list "(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)" ( (binary_expression "undefined8 *param_1" identifier * identifier) , (binary_expression "char *param_2" identifier * identifier) , identifier (ERROR "param_3" identifier) , (ERROR "ulong" identifier) identifier , (ERROR "int" identifier) identifier ))) ;) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  char *__s;\n  size_t sVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_00;\n  undefined8 uVar8;\n  char *pcVar9;\n  uint uVar10;\n  undefined1 auVar11 [16];\n  \n  iVar1 = *(int *)(param_1[0xc] + 0x1c);\n  iVar2 = *(int *)(param_1[0xc] + 0x18);\n  __s = (char *)FUN_00118930();\n  if (*(char **)(param_1[0xc] + 0x20) == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }\n  sVar5 = strlen(*(char **)(param_1[0xc] + 0x20));\n  sVar6 = strlen(param_2);\n  sVar7 = strlen(__s);\n  __s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7);\n  if (param_5 == 1) {\n    pcVar9 = "/1";\n  }\n  else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar9 = "/0";\n  }\n  if ((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)) {\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }\n  sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4);\n  free(*(void **)(param_1[0xc] + 0x20));\n  lVar3 = param_1[0xc];\n  *(char **)(lVar3 + 0x20) = __s_00;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }\n  auVar11._8_8_ = param_3;\n  auVar11._0_8_ = 1;\n  return auVar11;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "undefined1 auVar11 [16];" type_identifier (array_declarator "auVar11 [16]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)(param_1[0xc] + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_1[0xc] + 0x1c)" identifier = (pointer_expression "*(int *)(param_1[0xc] + 0x1c)" * (cast_expression "(int *)(param_1[0xc] + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + 0x1c)" ( (binary_expression "param_1[0xc] + 0x1c" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_1[0xc] + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1[0xc] + 0x18)" identifier = (pointer_expression "*(int *)(param_1[0xc] + 0x18)" * (cast_expression "(int *)(param_1[0xc] + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + 0x18)" ( (binary_expression "param_1[0xc] + 0x18" (subscript_expression "param_1[0xc]" 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 "()" ( ))))) ;) (if_statement "if (*(char **)(param_1[0xc] + 0x20) == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }" if (parenthesized_expression "(*(char **)(param_1[0xc] + 0x20) == (char *)0x0)" ( (binary_expression "*(char **)(param_1[0xc] + 0x20) == (char *)0x0" (pointer_expression "*(char **)(param_1[0xc] + 0x20)" * (cast_expression "(char **)(param_1[0xc] + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[0xc] + 0x20)" ( (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) )))) == (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",0x554,\n                  "stab_struct_field");\n  }" { comment (expression_statement "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");" (call_expression "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field")" identifier (argument_list "("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field")" ( (string_literal ""info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_struct_field"" " string_content ") ))) ;) })) (expression_statement "sVar5 = strlen(*(char **)(param_1[0xc] + 0x20));" (assignment_expression "sVar5 = strlen(*(char **)(param_1[0xc] + 0x20))" identifier = (call_expression "strlen(*(char **)(param_1[0xc] + 0x20))" identifier (argument_list "(*(char **)(param_1[0xc] + 0x20))" ( (pointer_expression "*(char **)(param_1[0xc] + 0x20)" * (cast_expression "(char **)(param_1[0xc] + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[0xc] + 0x20)" ( (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) )))) )))) ;) (expression_statement "sVar6 = strlen(param_2);" (assignment_expression "sVar6 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "sVar7 = strlen(__s);" (assignment_expression "sVar7 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "__s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7);" (assignment_expression "__s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7)" identifier = (cast_expression "(char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + 0x32 + sVar6 + sVar7)" identifier (argument_list "(sVar5 + 0x32 + sVar6 + sVar7)" ( (binary_expression "sVar5 + 0x32 + sVar6 + sVar7" (binary_expression "sVar5 + 0x32 + sVar6" (binary_expression "sVar5 + 0x32" identifier + number_literal) + identifier) + identifier) ))))) ;) (if_statement "if (param_5 == 1) {\n    pcVar9 = "/1";\n  }\n  else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar9 = "/0";\n  }" if (parenthesized_expression "(param_5 == 1)" ( (binary_expression "param_5 == 1" identifier == number_literal) )) (compound_statement "{\n    pcVar9 = "/1";\n  }" { (expression_statement "pcVar9 = "/1";" (assignment_expression "pcVar9 = "/1"" identifier = (string_literal ""/1"" " string_content ")) ;) }) (else_clause "else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar9 = "/0";\n  }" else (if_statement "if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar9 = "/0";\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar9 = "";\n  }" { (expression_statement "pcVar9 = "";" (assignment_expression "pcVar9 = """ identifier = (string_literal """" " ")) ;) }) (else_clause "else {\n    if (param_5 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar9 = "/0";\n  }" else (compound_statement "{\n    if (param_5 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar9 = "/0";\n  }" { (if_statement "if (param_5 != 2) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" if (parenthesized_expression "(param_5 != 2)" ( (binary_expression "param_5 != 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 "pcVar9 = "/0";" (assignment_expression "pcVar9 = "/0"" identifier = (string_literal ""/0"" " string_content ")) ;) }))))) (if_statement "if ((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)) {\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }" if (parenthesized_expression "((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0))" ( (binary_expression "(param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)" (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)" ( (comma_expression "uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0" (assignment_expression "uVar10 = iVar2 << 3" identifier = (binary_expression "iVar2 << 3" identifier << number_literal)) , (comma_expression "param_4 = (ulong)uVar10, uVar10 == 0" (assignment_expression "param_4 = (ulong)uVar10" identifier = (cast_expression "(ulong)uVar10" ( (type_descriptor "ulong" type_identifier) ) identifier)) , (binary_expression "uVar10 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }" { (expression_statement "uVar4 = *(undefined8 *)*param_1;" (assignment_expression "uVar4 = *(undefined8 *)*param_1" identifier = (pointer_expression "*(undefined8 *)*param_1" * (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)))) ;) (expression_statement "uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);" (assignment_expression "uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5)" identifier = (call_expression "dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5)" identifier (argument_list "(0,"%s: warning: unknown size for field `%s\' in struct",5)" ( number_literal , (string_literal ""%s: warning: unknown size for field `%s\' in struct"" " string_content escape_sequence string_content ") , number_literal )))) ;) (expression_statement "param_4 = 0;" (assignment_expression "param_4 = 0" identifier = number_literal) ;) (expression_statement "FUN_0011b660(uVar8,uVar4,param_2);" (call_expression "FUN_0011b660(uVar8,uVar4,param_2)" identifier (argument_list "(uVar8,uVar4,param_2)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4);" (call_expression "sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4)" identifier (argument_list "(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4)" ( identifier , (string_literal ""%s%s:%s%s,%ld,%ld;"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1[0xc] + 0x20)" * (cast_expression "(undefined8 *)(param_1[0xc] + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + 0x20)" ( (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) )))) , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "free(*(void **)(param_1[0xc] + 0x20));" (call_expression "free(*(void **)(param_1[0xc] + 0x20))" identifier (argument_list "(*(void **)(param_1[0xc] + 0x20))" ( (pointer_expression "*(void **)(param_1[0xc] + 0x20)" * (cast_expression "(void **)(param_1[0xc] + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[0xc] + 0x20)" ( (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) )))) ))) ;) (expression_statement "lVar3 = param_1[0xc];" (assignment_expression "lVar3 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "*(char **)(lVar3 + 0x20) = __s_00;" (assignment_expression "*(char **)(lVar3 + 0x20) = __s_00" (pointer_expression "*(char **)(lVar3 + 0x20)" * (cast_expression "(char **)(lVar3 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }" { (expression_statement "*(undefined4 *)(lVar3 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar3 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar3 + 0x1c)" * (cast_expression "(undefined4 *)(lVar3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x1c)" ( (binary_expression "lVar3 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "auVar11._8_8_ = param_3;" (assignment_expression "auVar11._8_8_ = param_3" (field_expression "auVar11._8_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar11._0_8_ = 1;" (assignment_expression "auVar11._0_8_ = 1" (field_expression "auVar11._0_8_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar11;" return identifier ;) }))
(translation_unit "bfd_boolean\nstab_struct_field(void *p,char *name,bfd_vma bitpos,bfd_vma bitsize,debug_visibility visibility)\n\n{\n  int iVar1;\n  int iVar2;\n  bfd *pbVar3;\n  long lVar4;\n  undefined8 uVar5;\n  char *__s;\n  size_t sVar6;\n  size_t sVar7;\n  size_t sVar8;\n  char *pcVar9;\n  char *format;\n  stab_write_handle *info;\n  char *pcVar10;\n  uint uVar11;\n  \n  pbVar3 = ((stab_write_handle *)((long)p + 0x60))->abfd;\n  iVar1 = *(int *)((long)&pbVar3->iovec + 4);\n  iVar2 = *(int *)&pbVar3->iovec;\n  __s = stab_pop_type((stab_write_handle *)((long)p + 0x60));\n  pcVar9 = *(char **)(*(long *)((long)p + 0x60) + 0x20);\n  if (pcVar9 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }\n  sVar6 = strlen(pcVar9);\n  sVar7 = strlen(name);\n  sVar8 = strlen(__s);\n  pcVar9 = (char *)xmalloc(sVar6 + 0x32 + sVar7 + sVar8);\n  if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar10 = "/1";\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar10 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar10 = "/0";\n  }\n  if ((bitsize == 0) && (uVar11 = iVar2 << 3, bitsize = (bfd_vma)uVar11, uVar11 == 0)) {\n                    /* WARNING: Load size is inaccurate */\n    uVar5 = **p;\n    format = (char *)dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    bitsize = 0;\n    non_fatal(format,uVar5,name);\n  }\n  sprintf(pcVar9,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar10\n          ,__s,bitpos,bitsize);\n  free(*(void **)(*(long *)((long)p + 0x60) + 0x20));\n  lVar4 = *(long *)((long)p + 0x60);\n  *(char **)(lVar4 + 0x20) = pcVar9;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar4 + 0x1c) = 1;\n  }\n  return 1;\n}\n\n" (function_definition "bfd_boolean\nstab_struct_field(void *p,char *name,bfd_vma bitpos,bfd_vma bitsize,debug_visibility visibility)\n\n{\n  int iVar1;\n  int iVar2;\n  bfd *pbVar3;\n  long lVar4;\n  undefined8 uVar5;\n  char *__s;\n  size_t sVar6;\n  size_t sVar7;\n  size_t sVar8;\n  char *pcVar9;\n  char *format;\n  stab_write_handle *info;\n  char *pcVar10;\n  uint uVar11;\n  \n  pbVar3 = ((stab_write_handle *)((long)p + 0x60))->abfd;\n  iVar1 = *(int *)((long)&pbVar3->iovec + 4);\n  iVar2 = *(int *)&pbVar3->iovec;\n  __s = stab_pop_type((stab_write_handle *)((long)p + 0x60));\n  pcVar9 = *(char **)(*(long *)((long)p + 0x60) + 0x20);\n  if (pcVar9 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }\n  sVar6 = strlen(pcVar9);\n  sVar7 = strlen(name);\n  sVar8 = strlen(__s);\n  pcVar9 = (char *)xmalloc(sVar6 + 0x32 + sVar7 + sVar8);\n  if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar10 = "/1";\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar10 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar10 = "/0";\n  }\n  if ((bitsize == 0) && (uVar11 = iVar2 << 3, bitsize = (bfd_vma)uVar11, uVar11 == 0)) {\n                    /* WARNING: Load size is inaccurate */\n    uVar5 = **p;\n    format = (char *)dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    bitsize = 0;\n    non_fatal(format,uVar5,name);\n  }\n  sprintf(pcVar9,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar10\n          ,__s,bitpos,bitsize);\n  free(*(void **)(*(long *)((long)p + 0x60) + 0x20));\n  lVar4 = *(long *)((long)p + 0x60);\n  *(char **)(lVar4 + 0x20) = pcVar9;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar4 + 0x1c) = 1;\n  }\n  return 1;\n}" type_identifier (function_declarator "stab_struct_field(void *p,char *name,bfd_vma bitpos,bfd_vma bitsize,debug_visibility visibility)" identifier (parameter_list "(void *p,char *name,bfd_vma bitpos,bfd_vma bitsize,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 "bfd_vma bitpos" type_identifier identifier) , (parameter_declaration "bfd_vma bitsize" type_identifier identifier) , (parameter_declaration "debug_visibility visibility" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  bfd *pbVar3;\n  long lVar4;\n  undefined8 uVar5;\n  char *__s;\n  size_t sVar6;\n  size_t sVar7;\n  size_t sVar8;\n  char *pcVar9;\n  char *format;\n  stab_write_handle *info;\n  char *pcVar10;\n  uint uVar11;\n  \n  pbVar3 = ((stab_write_handle *)((long)p + 0x60))->abfd;\n  iVar1 = *(int *)((long)&pbVar3->iovec + 4);\n  iVar2 = *(int *)&pbVar3->iovec;\n  __s = stab_pop_type((stab_write_handle *)((long)p + 0x60));\n  pcVar9 = *(char **)(*(long *)((long)p + 0x60) + 0x20);\n  if (pcVar9 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }\n  sVar6 = strlen(pcVar9);\n  sVar7 = strlen(name);\n  sVar8 = strlen(__s);\n  pcVar9 = (char *)xmalloc(sVar6 + 0x32 + sVar7 + sVar8);\n  if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar10 = "/1";\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar10 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar10 = "/0";\n  }\n  if ((bitsize == 0) && (uVar11 = iVar2 << 3, bitsize = (bfd_vma)uVar11, uVar11 == 0)) {\n                    /* WARNING: Load size is inaccurate */\n    uVar5 = **p;\n    format = (char *)dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    bitsize = 0;\n    non_fatal(format,uVar5,name);\n  }\n  sprintf(pcVar9,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar10\n          ,__s,bitpos,bitsize);\n  free(*(void **)(*(long *)((long)p + 0x60) + 0x20));\n  lVar4 = *(long *)((long)p + 0x60);\n  *(char **)(lVar4 + 0x20) = pcVar9;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar4 + 0x1c) = 1;\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bfd *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "size_t sVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "stab_write_handle *info;" type_identifier (pointer_declarator "*info" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (expression_statement "pbVar3 = ((stab_write_handle *)((long)p + 0x60))->abfd;" (assignment_expression "pbVar3 = ((stab_write_handle *)((long)p + 0x60))->abfd" identifier = (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)) ;) (expression_statement "iVar1 = *(int *)((long)&pbVar3->iovec + 4);" (assignment_expression "iVar1 = *(int *)((long)&pbVar3->iovec + 4)" identifier = (pointer_expression "*(int *)((long)&pbVar3->iovec + 4)" * (cast_expression "(int *)((long)&pbVar3->iovec + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pbVar3->iovec + 4)" ( (binary_expression "(long)&pbVar3->iovec + 4" (cast_expression "(long)&pbVar3->iovec" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pbVar3->iovec" & (field_expression "pbVar3->iovec" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)&pbVar3->iovec;" (assignment_expression "iVar2 = *(int *)&pbVar3->iovec" identifier = (pointer_expression "*(int *)&pbVar3->iovec" * (cast_expression "(int *)&pbVar3->iovec" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pbVar3->iovec" & (field_expression "pbVar3->iovec" identifier -> field_identifier))))) ;) (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 "pcVar9 = *(char **)(*(long *)((long)p + 0x60) + 0x20);" (assignment_expression "pcVar9 = *(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 (pcVar9 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (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",0x554,\n                  "stab_struct_field");\n  }" { comment (expression_statement "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");" (call_expression "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field")" identifier (argument_list "("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field")" ( (string_literal ""info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_struct_field"" " string_content ") ))) ;) })) (expression_statement "sVar6 = strlen(pcVar9);" (assignment_expression "sVar6 = strlen(pcVar9)" identifier = (call_expression "strlen(pcVar9)" identifier (argument_list "(pcVar9)" ( identifier )))) ;) (expression_statement "sVar7 = strlen(name);" (assignment_expression "sVar7 = strlen(name)" identifier = (call_expression "strlen(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "sVar8 = strlen(__s);" (assignment_expression "sVar8 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar9 = (char *)xmalloc(sVar6 + 0x32 + sVar7 + sVar8);" (assignment_expression "pcVar9 = (char *)xmalloc(sVar6 + 0x32 + sVar7 + sVar8)" identifier = (cast_expression "(char *)xmalloc(sVar6 + 0x32 + sVar7 + sVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar6 + 0x32 + sVar7 + sVar8)" identifier (argument_list "(sVar6 + 0x32 + sVar7 + sVar8)" ( (binary_expression "sVar6 + 0x32 + sVar7 + sVar8" (binary_expression "sVar6 + 0x32 + sVar7" (binary_expression "sVar6 + 0x32" identifier + number_literal) + identifier) + identifier) ))))) ;) (if_statement "if (visibility == DEBUG_VISIBILITY_PROTECTED) {\n    pcVar10 = "/1";\n  }\n  else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar10 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar10 = "/0";\n  }" if (parenthesized_expression "(visibility == DEBUG_VISIBILITY_PROTECTED)" ( (binary_expression "visibility == DEBUG_VISIBILITY_PROTECTED" identifier == identifier) )) (compound_statement "{\n    pcVar10 = "/1";\n  }" { (expression_statement "pcVar10 = "/1";" (assignment_expression "pcVar10 = "/1"" identifier = (string_literal ""/1"" " string_content ")) ;) }) (else_clause "else if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar10 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar10 = "/0";\n  }" else (if_statement "if (visibility == DEBUG_VISIBILITY_PUBLIC) {\n    pcVar10 = "";\n  }\n  else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar10 = "/0";\n  }" if (parenthesized_expression "(visibility == DEBUG_VISIBILITY_PUBLIC)" ( (binary_expression "visibility == DEBUG_VISIBILITY_PUBLIC" identifier == identifier) )) (compound_statement "{\n    pcVar10 = "";\n  }" { (expression_statement "pcVar10 = "";" (assignment_expression "pcVar10 = """ identifier = (string_literal """" " ")) ;) }) (else_clause "else {\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar10 = "/0";\n  }" else (compound_statement "{\n    if (visibility != DEBUG_VISIBILITY_PRIVATE) {\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    pcVar10 = "/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 "pcVar10 = "/0";" (assignment_expression "pcVar10 = "/0"" identifier = (string_literal ""/0"" " string_content ")) ;) }))))) (if_statement "if ((bitsize == 0) && (uVar11 = iVar2 << 3, bitsize = (bfd_vma)uVar11, uVar11 == 0)) {\n                    /* WARNING: Load size is inaccurate */\n    uVar5 = **p;\n    format = (char *)dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    bitsize = 0;\n    non_fatal(format,uVar5,name);\n  }" if (parenthesized_expression "((bitsize == 0) && (uVar11 = iVar2 << 3, bitsize = (bfd_vma)uVar11, uVar11 == 0))" ( (binary_expression "(bitsize == 0) && (uVar11 = iVar2 << 3, bitsize = (bfd_vma)uVar11, uVar11 == 0)" (parenthesized_expression "(bitsize == 0)" ( (binary_expression "bitsize == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar11 = iVar2 << 3, bitsize = (bfd_vma)uVar11, uVar11 == 0)" ( (comma_expression "uVar11 = iVar2 << 3, bitsize = (bfd_vma)uVar11, uVar11 == 0" (assignment_expression "uVar11 = iVar2 << 3" identifier = (binary_expression "iVar2 << 3" identifier << number_literal)) , (comma_expression "bitsize = (bfd_vma)uVar11, uVar11 == 0" (assignment_expression "bitsize = (bfd_vma)uVar11" identifier = (cast_expression "(bfd_vma)uVar11" ( (type_descriptor "bfd_vma" type_identifier) ) identifier)) , (binary_expression "uVar11 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n    uVar5 = **p;\n    format = (char *)dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    bitsize = 0;\n    non_fatal(format,uVar5,name);\n  }" { comment (expression_statement "uVar5 = **p;" (assignment_expression "uVar5 = **p" identifier = (pointer_expression "**p" * (pointer_expression "*p" * identifier))) ;) (expression_statement "format = (char *)dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);" (assignment_expression "format = (char *)dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5)" identifier = (cast_expression "(char *)dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5)" identifier (argument_list "(0,"%s: warning: unknown size for field `%s\' in struct",5)" ( number_literal , (string_literal ""%s: warning: unknown size for field `%s\' in struct"" " string_content escape_sequence string_content ") , number_literal ))))) ;) (expression_statement "bitsize = 0;" (assignment_expression "bitsize = 0" identifier = number_literal) ;) (expression_statement "non_fatal(format,uVar5,name);" (call_expression "non_fatal(format,uVar5,name)" identifier (argument_list "(format,uVar5,name)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "sprintf(pcVar9,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar10\n          ,__s,bitpos,bitsize);" (call_expression "sprintf(pcVar9,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar10\n          ,__s,bitpos,bitsize)" identifier (argument_list "(pcVar9,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar10\n          ,__s,bitpos,bitsize)" ( identifier , (string_literal ""%s%s:%s%s,%ld,%ld;"" " 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 , 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 "lVar4 = *(long *)((long)p + 0x60);" (assignment_expression "lVar4 = *(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 **)(lVar4 + 0x20) = pcVar9;" (assignment_expression "*(char **)(lVar4 + 0x20) = pcVar9" (pointer_expression "*(char **)(lVar4 + 0x20)" * (cast_expression "(char **)(lVar4 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(lVar4 + 0x1c) = 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(lVar4 + 0x1c) = 1;\n  }" { (expression_statement "*(undefined4 *)(lVar4 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar4 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar4 + 0x1c)" * (cast_expression "(undefined4 *)(lVar4 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x1c)" ( (binary_expression "lVar4 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined1  [16]\nFUN_00118ac0(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)\n\n{\n  int iVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  char *__s;\n  size_t sVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_00;\n  undefined8 uVar8;\n  char *pcVar9;\n  uint uVar10;\n  undefined1 auVar11 [16];\n  \n  iVar1 = *(int *)(param_1[0xc] + 0x1c);\n  iVar2 = *(int *)(param_1[0xc] + 0x18);\n  __s = (char *)FUN_00118930();\n  if (*(char **)(param_1[0xc] + 0x20) == (char *)0x0) {\n                    \n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }\n  sVar5 = strlen(*(char **)(param_1[0xc] + 0x20));\n  sVar6 = strlen(param_2);\n  sVar7 = strlen(__s);\n  __s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7);\n  if (param_5 == 1) {\n    pcVar9 = "/1";\n  }\n  else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }\n  if ((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)) {\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }\n  sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4);\n  free(*(void **)(param_1[0xc] + 0x20));\n  lVar3 = param_1[0xc];\n  *(char **)(lVar3 + 0x20) = __s_00;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }\n  auVar11._8_8_ = param_3;\n  auVar11._0_8_ = 1;\n  return auVar11;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_00118ac0(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)" (call_expression "FUN_00118ac0(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)" identifier (argument_list "(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)" ( (binary_expression "undefined8 *param_1" identifier * identifier) , (binary_expression "char *param_2" identifier * identifier) , identifier (ERROR "param_3" identifier) , (ERROR "ulong" identifier) identifier , (ERROR "int" identifier) identifier ))) ;) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  char *__s;\n  size_t sVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_00;\n  undefined8 uVar8;\n  char *pcVar9;\n  uint uVar10;\n  undefined1 auVar11 [16];\n  \n  iVar1 = *(int *)(param_1[0xc] + 0x1c);\n  iVar2 = *(int *)(param_1[0xc] + 0x18);\n  __s = (char *)FUN_00118930();\n  if (*(char **)(param_1[0xc] + 0x20) == (char *)0x0) {\n                    \n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }\n  sVar5 = strlen(*(char **)(param_1[0xc] + 0x20));\n  sVar6 = strlen(param_2);\n  sVar7 = strlen(__s);\n  __s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7);\n  if (param_5 == 1) {\n    pcVar9 = "/1";\n  }\n  else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }\n  if ((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)) {\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }\n  sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4);\n  free(*(void **)(param_1[0xc] + 0x20));\n  lVar3 = param_1[0xc];\n  *(char **)(lVar3 + 0x20) = __s_00;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }\n  auVar11._8_8_ = param_3;\n  auVar11._0_8_ = 1;\n  return auVar11;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "undefined1 auVar11 [16];" type_identifier (array_declarator "auVar11 [16]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)(param_1[0xc] + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_1[0xc] + 0x1c)" identifier = (pointer_expression "*(int *)(param_1[0xc] + 0x1c)" * (cast_expression "(int *)(param_1[0xc] + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + 0x1c)" ( (binary_expression "param_1[0xc] + 0x1c" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_1[0xc] + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1[0xc] + 0x18)" identifier = (pointer_expression "*(int *)(param_1[0xc] + 0x18)" * (cast_expression "(int *)(param_1[0xc] + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + 0x18)" ( (binary_expression "param_1[0xc] + 0x18" (subscript_expression "param_1[0xc]" 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 "()" ( ))))) ;) (if_statement "if (*(char **)(param_1[0xc] + 0x20) == (char *)0x0) {\n                    \n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }" if (parenthesized_expression "(*(char **)(param_1[0xc] + 0x20) == (char *)0x0)" ( (binary_expression "*(char **)(param_1[0xc] + 0x20) == (char *)0x0" (pointer_expression "*(char **)(param_1[0xc] + 0x20)" * (cast_expression "(char **)(param_1[0xc] + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[0xc] + 0x20)" ( (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) )))) == (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",0x554,\n                  "stab_struct_field");\n  }" { (expression_statement "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");" (call_expression "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field")" identifier (argument_list "("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field")" ( (string_literal ""info->type_stack->fields != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_struct_field"" " string_content ") ))) ;) })) (expression_statement "sVar5 = strlen(*(char **)(param_1[0xc] + 0x20));" (assignment_expression "sVar5 = strlen(*(char **)(param_1[0xc] + 0x20))" identifier = (call_expression "strlen(*(char **)(param_1[0xc] + 0x20))" identifier (argument_list "(*(char **)(param_1[0xc] + 0x20))" ( (pointer_expression "*(char **)(param_1[0xc] + 0x20)" * (cast_expression "(char **)(param_1[0xc] + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[0xc] + 0x20)" ( (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) )))) )))) ;) (expression_statement "sVar6 = strlen(param_2);" (assignment_expression "sVar6 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "sVar7 = strlen(__s);" (assignment_expression "sVar7 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "__s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7);" (assignment_expression "__s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7)" identifier = (cast_expression "(char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + 0x32 + sVar6 + sVar7)" identifier (argument_list "(sVar5 + 0x32 + sVar6 + sVar7)" ( (binary_expression "sVar5 + 0x32 + sVar6 + sVar7" (binary_expression "sVar5 + 0x32 + sVar6" (binary_expression "sVar5 + 0x32" identifier + number_literal) + identifier) + identifier) ))))) ;) (if_statement "if (param_5 == 1) {\n    pcVar9 = "/1";\n  }\n  else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }" if (parenthesized_expression "(param_5 == 1)" ( (binary_expression "param_5 == 1" identifier == number_literal) )) (compound_statement "{\n    pcVar9 = "/1";\n  }" { (expression_statement "pcVar9 = "/1";" (assignment_expression "pcVar9 = "/1"" identifier = (string_literal ""/1"" " string_content ")) ;) }) (else_clause "else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }" else (if_statement "if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar9 = "";\n  }" { (expression_statement "pcVar9 = "";" (assignment_expression "pcVar9 = """ identifier = (string_literal """" " ")) ;) }) (else_clause "else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }" else (compound_statement "{\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }" { (if_statement "if (param_5 != 2) {\n                    \n      abort();\n    }" if (parenthesized_expression "(param_5 != 2)" ( (binary_expression "param_5 != 2" identifier != number_literal) )) (compound_statement "{\n                    \n      abort();\n    }" { (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar9 = "/0";" (assignment_expression "pcVar9 = "/0"" identifier = (string_literal ""/0"" " string_content ")) ;) }))))) (if_statement "if ((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)) {\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }" if (parenthesized_expression "((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0))" ( (binary_expression "(param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)" (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) && (parenthesized_expression "(uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)" ( (comma_expression "uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0" (assignment_expression "uVar10 = iVar2 << 3" identifier = (binary_expression "iVar2 << 3" identifier << number_literal)) , (comma_expression "param_4 = (ulong)uVar10, uVar10 == 0" (assignment_expression "param_4 = (ulong)uVar10" identifier = (cast_expression "(ulong)uVar10" ( (type_descriptor "ulong" type_identifier) ) identifier)) , (binary_expression "uVar10 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }" { (expression_statement "uVar4 = *(undefined8 *)*param_1;" (assignment_expression "uVar4 = *(undefined8 *)*param_1" identifier = (pointer_expression "*(undefined8 *)*param_1" * (cast_expression "(undefined8 *)*param_1" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)))) ;) (expression_statement "uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);" (assignment_expression "uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5)" identifier = (call_expression "dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5)" identifier (argument_list "(0,"%s: warning: unknown size for field `%s\' in struct",5)" ( number_literal , (string_literal ""%s: warning: unknown size for field `%s\' in struct"" " string_content escape_sequence string_content ") , number_literal )))) ;) (expression_statement "param_4 = 0;" (assignment_expression "param_4 = 0" identifier = number_literal) ;) (expression_statement "FUN_0011b660(uVar8,uVar4,param_2);" (call_expression "FUN_0011b660(uVar8,uVar4,param_2)" identifier (argument_list "(uVar8,uVar4,param_2)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4);" (call_expression "sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4)" identifier (argument_list "(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4)" ( identifier , (string_literal ""%s%s:%s%s,%ld,%ld;"" " string_content ") , (pointer_expression "*(undefined8 *)(param_1[0xc] + 0x20)" * (cast_expression "(undefined8 *)(param_1[0xc] + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + 0x20)" ( (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) )))) , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "free(*(void **)(param_1[0xc] + 0x20));" (call_expression "free(*(void **)(param_1[0xc] + 0x20))" identifier (argument_list "(*(void **)(param_1[0xc] + 0x20))" ( (pointer_expression "*(void **)(param_1[0xc] + 0x20)" * (cast_expression "(void **)(param_1[0xc] + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1[0xc] + 0x20)" ( (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) )))) ))) ;) (expression_statement "lVar3 = param_1[0xc];" (assignment_expression "lVar3 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "*(char **)(lVar3 + 0x20) = __s_00;" (assignment_expression "*(char **)(lVar3 + 0x20) = __s_00" (pointer_expression "*(char **)(lVar3 + 0x20)" * (cast_expression "(char **)(lVar3 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }" { (expression_statement "*(undefined4 *)(lVar3 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar3 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar3 + 0x1c)" * (cast_expression "(undefined4 *)(lVar3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x1c)" ( (binary_expression "lVar3 + 0x1c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "auVar11._8_8_ = param_3;" (assignment_expression "auVar11._8_8_ = param_3" (field_expression "auVar11._8_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar11._0_8_ = 1;" (assignment_expression "auVar11._0_8_ = 1" (field_expression "auVar11._0_8_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar11;" return identifier ;) }))
(translation_unit (expression_statement (subscript_expression IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) , (binary_expression IDENT * IDENT) , IDENT (ERROR IDENT) , (ERROR IDENT) IDENT , (ERROR IDENT) IDENT ))) ;) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) == (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) )))) ;) (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 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 ")) ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT << LIT)) , (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) , (binary_expression IDENT == LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (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 (subscript_expression IDENT [ LIT ]) + LIT) )))) , IDENT , IDENT , 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 (subscript_expression IDENT [ LIT ]) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_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 ;) }))
(expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" (identifier "undefined1") ([ "[") (number_literal "16") (] "]")) (; "")) (expression_statement "FUN_00118ac0(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)" (call_expression "FUN_00118ac0(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)" (identifier "FUN_00118ac0") (argument_list "(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)" (( "(") (binary_expression "undefined8 *param_1" (identifier "undefined8") (* "*") (identifier "param_1")) (, ",") (binary_expression "char *param_2" (identifier "char") (* "*") (identifier "param_2")) (, ",") (identifier "undefined8") (ERROR "param_3" (identifier "param_3")) (, ",") (ERROR "ulong" (identifier "ulong")) (identifier "param_4") (, ",") (ERROR "int" (identifier "int")) (identifier "param_5") () ")"))) (; "")) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  long lVar3;\n  undefined8 uVar4;\n  char *__s;\n  size_t sVar5;\n  size_t sVar6;\n  size_t sVar7;\n  char *__s_00;\n  undefined8 uVar8;\n  char *pcVar9;\n  uint uVar10;\n  undefined1 auVar11 [16];\n  \n  iVar1 = *(int *)(param_1[0xc] + 0x1c);\n  iVar2 = *(int *)(param_1[0xc] + 0x18);\n  __s = (char *)FUN_00118930();\n  if (*(char **)(param_1[0xc] + 0x20) == (char *)0x0) {\n                    \n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }\n  sVar5 = strlen(*(char **)(param_1[0xc] + 0x20));\n  sVar6 = strlen(param_2);\n  sVar7 = strlen(__s);\n  __s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7);\n  if (param_5 == 1) {\n    pcVar9 = "/1";\n  }\n  else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }\n  if ((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)) {\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }\n  sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4);\n  free(*(void **)(param_1[0xc] + 0x20));\n  lVar3 = param_1[0xc];\n  *(char **)(lVar3 + 0x20) = __s_00;\n  if (iVar1 != 0) {\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }\n  auVar11._8_8_ = param_3;\n  auVar11._0_8_ = 1;\n  return auVar11;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "size_t sVar6;" (primitive_type "size_t") (identifier "sVar6") (; ";")) (declaration "size_t sVar7;" (primitive_type "size_t") (identifier "sVar7") (; ";")) (declaration "char *__s_00;" (primitive_type "char") (pointer_declarator "*__s_00" (* "*") (identifier "__s_00")) (; ";")) (declaration "undefined8 uVar8;" (type_identifier "undefined8") (identifier "uVar8") (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "undefined1 auVar11 [16];" (type_identifier "undefined1") (array_declarator "auVar11 [16]" (identifier "auVar11") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1[0xc] + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_1[0xc] + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1[0xc] + 0x1c)" (* "*") (cast_expression "(int *)(param_1[0xc] + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[0xc] + 0x1c)" (( "(") (binary_expression "param_1[0xc] + 0x1c" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1[0xc] + 0x18);" (assignment_expression "iVar2 = *(int *)(param_1[0xc] + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1[0xc] + 0x18)" (* "*") (cast_expression "(int *)(param_1[0xc] + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[0xc] + 0x18)" (( "(") (binary_expression "param_1[0xc] + 0x18" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (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 "()" (( "(") () ")"))))) (; ";")) (if_statement "if (*(char **)(param_1[0xc] + 0x20) == (char *)0x0) {\n                    \n    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");\n  }" (if "if") (parenthesized_expression "(*(char **)(param_1[0xc] + 0x20) == (char *)0x0)" (( "(") (binary_expression "*(char **)(param_1[0xc] + 0x20) == (char *)0x0" (pointer_expression "*(char **)(param_1[0xc] + 0x20)" (* "*") (cast_expression "(char **)(param_1[0xc] + 0x20)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1[0xc] + 0x20)" (( "(") (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (+ "+") (number_literal "0x20")) () ")")))) (== "==") (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",0x554,\n                  "stab_struct_field");\n  }" ({ "{") (expression_statement "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field");" (call_expression "__assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field")" (identifier "__assert_fail") (argument_list "("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,\n                  "stab_struct_field")" (( "(") (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 "0x554") (, ",") (string_literal ""stab_struct_field"" (" """) (string_content "stab_struct_field") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "sVar5 = strlen(*(char **)(param_1[0xc] + 0x20));" (assignment_expression "sVar5 = strlen(*(char **)(param_1[0xc] + 0x20))" (identifier "sVar5") (= "=") (call_expression "strlen(*(char **)(param_1[0xc] + 0x20))" (identifier "strlen") (argument_list "(*(char **)(param_1[0xc] + 0x20))" (( "(") (pointer_expression "*(char **)(param_1[0xc] + 0x20)" (* "*") (cast_expression "(char **)(param_1[0xc] + 0x20)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1[0xc] + 0x20)" (( "(") (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (+ "+") (number_literal "0x20")) () ")")))) () ")")))) (; ";")) (expression_statement "sVar6 = strlen(param_2);" (assignment_expression "sVar6 = strlen(param_2)" (identifier "sVar6") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "sVar7 = strlen(__s);" (assignment_expression "sVar7 = strlen(__s)" (identifier "sVar7") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "__s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7);" (assignment_expression "__s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7)" (identifier "__s_00") (= "=") (cast_expression "(char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar5 + 0x32 + sVar6 + sVar7)" (identifier "xmalloc") (argument_list "(sVar5 + 0x32 + sVar6 + sVar7)" (( "(") (binary_expression "sVar5 + 0x32 + sVar6 + sVar7" (binary_expression "sVar5 + 0x32 + sVar6" (binary_expression "sVar5 + 0x32" (identifier "sVar5") (+ "+") (number_literal "0x32")) (+ "+") (identifier "sVar6")) (+ "+") (identifier "sVar7")) () ")"))))) (; ";")) (if_statement "if (param_5 == 1) {\n    pcVar9 = "/1";\n  }\n  else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }" (if "if") (parenthesized_expression "(param_5 == 1)" (( "(") (binary_expression "param_5 == 1" (identifier "param_5") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    pcVar9 = "/1";\n  }" ({ "{") (expression_statement "pcVar9 = "/1";" (assignment_expression "pcVar9 = "/1"" (identifier "pcVar9") (= "=") (string_literal ""/1"" (" """) (string_content "/1") (" """))) (; ";")) (} "}")) (else_clause "else if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }" (else "else") (if_statement "if (param_5 == 0) {\n    pcVar9 = "";\n  }\n  else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar9 = "";\n  }" ({ "{") (expression_statement "pcVar9 = "";" (assignment_expression "pcVar9 = """ (identifier "pcVar9") (= "=") (string_literal """" (" """) (" """))) (; ";")) (} "}")) (else_clause "else {\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }" (else "else") (compound_statement "{\n    if (param_5 != 2) {\n                    \n      abort();\n    }\n    pcVar9 = "/0";\n  }" ({ "{") (if_statement "if (param_5 != 2) {\n                    \n      abort();\n    }" (if "if") (parenthesized_expression "(param_5 != 2)" (( "(") (binary_expression "param_5 != 2" (identifier "param_5") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n                    \n      abort();\n    }" ({ "{") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar9 = "/0";" (assignment_expression "pcVar9 = "/0"" (identifier "pcVar9") (= "=") (string_literal ""/0"" (" """) (string_content "/0") (" """))) (; ";")) (} "}")))))) (if_statement "if ((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)) {\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }" (if "if") (parenthesized_expression "((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0))" (( "(") (binary_expression "(param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)" (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)" (( "(") (comma_expression "uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0" (assignment_expression "uVar10 = iVar2 << 3" (identifier "uVar10") (= "=") (binary_expression "iVar2 << 3" (identifier "iVar2") (<< "<<") (number_literal "3"))) (, ",") (comma_expression "param_4 = (ulong)uVar10, uVar10 == 0" (assignment_expression "param_4 = (ulong)uVar10" (identifier "param_4") (= "=") (cast_expression "(ulong)uVar10" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar10"))) (, ",") (binary_expression "uVar10 == 0" (identifier "uVar10") (== "==") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n    uVar4 = *(undefined8 *)*param_1;\n    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);\n    param_4 = 0;\n    FUN_0011b660(uVar8,uVar4,param_2);\n  }" ({ "{") (expression_statement "uVar4 = *(undefined8 *)*param_1;" (assignment_expression "uVar4 = *(undefined8 *)*param_1" (identifier "uVar4") (= "=") (pointer_expression "*(undefined8 *)*param_1" (* "*") (cast_expression "(undefined8 *)*param_1" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))))) (; ";")) (expression_statement "uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);" (assignment_expression "uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5)" (identifier "uVar8") (= "=") (call_expression "dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5)" (identifier "dcgettext") (argument_list "(0,"%s: warning: unknown size for field `%s\' in struct",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%s: warning: unknown size for field `%s\' in struct"" (" """) (string_content "%s: warning: unknown size for field `%s") (escape_sequence "\'") (string_content " in struct") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "param_4 = 0;" (assignment_expression "param_4 = 0" (identifier "param_4") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0011b660(uVar8,uVar4,param_2);" (call_expression "FUN_0011b660(uVar8,uVar4,param_2)" (identifier "FUN_0011b660") (argument_list "(uVar8,uVar4,param_2)" (( "(") (identifier "uVar8") (, ",") (identifier "uVar4") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4);" (call_expression "sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4)" (identifier "sprintf") (argument_list "(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,\n          param_3,param_4)" (( "(") (identifier "__s_00") (, ",") (string_literal ""%s%s:%s%s,%ld,%ld;"" (" """) (string_content "%s%s:%s%s,%ld,%ld;") (" """)) (, ",") (pointer_expression "*(undefined8 *)(param_1[0xc] + 0x20)" (* "*") (cast_expression "(undefined8 *)(param_1[0xc] + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[0xc] + 0x20)" (( "(") (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (+ "+") (number_literal "0x20")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "pcVar9") (, ",") (identifier "__s") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "free(*(void **)(param_1[0xc] + 0x20));" (call_expression "free(*(void **)(param_1[0xc] + 0x20))" (identifier "free") (argument_list "(*(void **)(param_1[0xc] + 0x20))" (( "(") (pointer_expression "*(void **)(param_1[0xc] + 0x20)" (* "*") (cast_expression "(void **)(param_1[0xc] + 0x20)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1[0xc] + 0x20)" (( "(") (binary_expression "param_1[0xc] + 0x20" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (expression_statement "lVar3 = param_1[0xc];" (assignment_expression "lVar3 = param_1[0xc]" (identifier "lVar3") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "*(char **)(lVar3 + 0x20) = __s_00;" (assignment_expression "*(char **)(lVar3 + 0x20) = __s_00" (pointer_expression "*(char **)(lVar3 + 0x20)" (* "*") (cast_expression "(char **)(lVar3 + 0x20)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "__s_00")) (; ";")) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(lVar3 + 0x1c) = 1;\n  }" ({ "{") (expression_statement "*(undefined4 *)(lVar3 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar3 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar3 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(lVar3 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x1c)" (( "(") (binary_expression "lVar3 + 0x1c" (identifier "lVar3") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "auVar11._8_8_ = param_3;" (assignment_expression "auVar11._8_8_ = param_3" (field_expression "auVar11._8_8_" (identifier "auVar11") (. ".") (field_identifier "_8_8_")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "auVar11._0_8_ = 1;" (assignment_expression "auVar11._0_8_ = 1" (field_expression "auVar11._0_8_" (identifier "auVar11") (. ".") (field_identifier "_0_8_")) (= "=") (number_literal "1")) (; ";")) (return_statement "return auVar11;" (return "return") (identifier "auVar11") (; ";")) (} "}"))

type_1
function_1(void *p,char *name,type_2 bitpos,type_2 var_14,type_3 var_9)

{
  int var_22;
  int var_15;
  type_4 *pbVar3;
  long var_21;
  type_5 uVar5;
  char *__s;
  size_t var_6;
  size_t var_7;
  size_t var_8;
  char *var_2;
  char *format;
  type_6 *info;
  char *pcVar10;
  type_7 var_16;
  
  pbVar3 = ((type_6 *)((long)p + 0x60))->abfd;
  var_22 = *(int *)((long)&pbVar3->iovec + 4);
  var_15 = *(int *)&pbVar3->iovec;
  __s = var_1((type_6 *)((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",0x554,
                  "stab_struct_field");
  }
  var_6 = var_4(var_2);
  var_7 = var_4(name);
  var_8 = var_4(__s);
  var_2 = (char *)var_5(var_6 + 0x32 + var_7 + var_8);
  if (var_9 == var_10) {
    pcVar10 = "/1";
  }
  else if (var_9 == var_11) {
    pcVar10 = "";
  }
  else {
    if (var_9 != var_12) {
                    /* WARNING: Subroutine does not return */
      var_13();
    }
    pcVar10 = "/0";
  }
  if ((var_14 == 0) && (var_16 = var_15 << 3, var_14 = (type_2)var_16, var_16 == 0)) {
                    /* WARNING: Load size is inaccurate */
    uVar5 = **p;
    format = (char *)var_17(0,"%s: warning: unknown size for field `%s\' in struct",5);
    var_14 = 0;
    var_18(format,uVar5,name);
  }
  var_19(var_2,"%s%s:%s%s,%ld,%ld;",*(type_5 *)(*(long *)((long)p + 0x60) + 0x20),name,pcVar10
          ,__s,bitpos,var_14);
  var_20(*(void **)(*(long *)((long)p + 0x60) + 0x20));
  var_21 = *(long *)((long)p + 0x60);
  *(char **)(var_21 + 0x20) = var_2;
  if (var_22 != 0) {
    *(type_8 *)(var_21 + 0x1c) = 1;
  }
  return 1;
}


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

undefined1  [16]
MASKED(undefined8 *param_1,char *param_2,undefined8 param_3,ulong param_4,int param_5)

{
  int iVar1;
  int iVar2;
  long lVar3;
  undefined8 uVar4;
  char *__s;
  size_t sVar5;
  size_t sVar6;
  size_t sVar7;
  char *__s_00;
  undefined8 uVar8;
  char *pcVar9;
  uint uVar10;
  undefined1 auVar11 [16];
  
  iVar1 = *(int *)(param_1[0xc] + 0x1c);
  iVar2 = *(int *)(param_1[0xc] + 0x18);
  __s = (char *)FUN_00118930();
  if (*(char **)(param_1[0xc] + 0x20) == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("info->type_stack->fields != NULL","../../binutils/wrstabs.c",0x554,
                  "stab_struct_field");
  }
  sVar5 = strlen(*(char **)(param_1[0xc] + 0x20));
  sVar6 = strlen(param_2);
  sVar7 = strlen(__s);
  __s_00 = (char *)xmalloc(sVar5 + 0x32 + sVar6 + sVar7);
  if (param_5 == 1) {
    pcVar9 = "/1";
  }
  else if (param_5 == 0) {
    pcVar9 = "";
  }
  else {
    if (param_5 != 2) {
                    /* WARNING: Subroutine does not return */
      abort();
    }
    pcVar9 = "/0";
  }
  if ((param_4 == 0) && (uVar10 = iVar2 << 3, param_4 = (ulong)uVar10, uVar10 == 0)) {
    uVar4 = *(undefined8 *)*param_1;
    uVar8 = dcgettext(0,"%s: warning: unknown size for field `%s\' in struct",5);
    param_4 = 0;
    FUN_0011b660(uVar8,uVar4,param_2);
  }
  sprintf(__s_00,"%s%s:%s%s,%ld,%ld;",*(undefined8 *)(param_1[0xc] + 0x20),param_2,pcVar9,__s,
          param_3,param_4);
  free(*(void **)(param_1[0xc] + 0x20));
  lVar3 = param_1[0xc];
  *(char **)(lVar3 + 0x20) = __s_00;
  if (iVar1 != 0) {
    *(undefined4 *)(lVar3 + 0x1c) = 1;
  }
  auVar11._8_8_ = param_3;
  auVar11._0_8_ = 1;
  return auVar11;
}

