
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

char * bfd_get_archive_filename(bfd *abfd)

{
  uint uVar1;
  bfd *pbVar2;
  size_t sVar3;
  size_t sVar4;
  char *__s;
  char *__s_00;
  
  if (abfd == (bfd *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");
  }
  pbVar2 = abfd->my_archive;
  __s_00 = abfd->filename;
  if ((pbVar2 != (bfd *)0x0) && ((pbVar2->field_0x2c & 1) == 0)) {
    __s = pbVar2->filename;
    sVar3 = strlen(__s);
    sVar4 = strlen(__s_00);
    uVar1 = sVar3 + 3 + sVar4;
    if (bfd_get_archive_filename::curr < uVar1) {
      if (bfd_get_archive_filename::curr != 0) {
        free(bfd_get_archive_filename::buf);
      }
      bfd_get_archive_filename::curr = uVar1 + (uVar1 >> 1);
      bfd_get_archive_filename::buf = (char *)xmalloc(bfd_get_archive_filename::curr);
      __s_00 = abfd->filename;
      __s = abfd->my_archive->filename;
    }
    sprintf(bfd_get_archive_filename::buf,"%s(%s)",__s,__s_00);
    __s_00 = bfd_get_archive_filename::buf;
  }
  return __s_00;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * FUN_000188b0(undefined4 *param_1)

{
  uint uVar1;
  undefined4 *puVar2;
  size_t sVar3;
  size_t sVar4;
  char *__s;
  char *__s_00;
  
  if (param_1 == (undefined4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");
  }
  puVar2 = (undefined4 *)param_1[0x23];
  __s_00 = (char *)*param_1;
  if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {
    __s = (char *)*puVar2;
    sVar3 = strlen(__s);
    sVar4 = strlen(__s_00);
    uVar1 = sVar3 + 3 + sVar4;
    if (DAT_000212ec < uVar1) {
      if (DAT_000212ec != 0) {
        free(DAT_000212e8);
      }
      DAT_000212ec = uVar1 + (uVar1 >> 1);
      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);
      __s_00 = (char *)*param_1;
      __s = *(char **)param_1[0x23];
    }
    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);
    __s_00 = DAT_000212e8;
  }
  return __s_00;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013710
ADD EBX,0x8747
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
TEST ESI,ESI
JZ 0x0001898b
MOV EAX,dword ptr [ESI + 0x8c]
MOV EDI,dword ptr [ESI]
TEST EAX,EAX
JZ 0x0001892a
TEST byte ptr [EAX + 0x2c],0x1
JNZ 0x0001892a
MOV EBP,dword ptr [EAX]
SUB ESP,0xc
PUSH EBP
CALL 0x00012360
MOV dword ptr [ESP],EDI
MOV dword ptr [ESP + 0x1c],EAX
CALL 0x00012360
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
LEA EAX,[EDX + EAX*0x1 + 0x3]
MOV EDX,dword ptr [EBX + 0x2ec]
CMP EDX,EAX
JC 0x00018938
MOV EAX,dword ptr [EBX + 0x2e8]
LEA EDX,[EBX + 0xffffb39b]
PUSH EDI
PUSH EBP
PUSH EDX
PUSH EAX
CALL 0x00012500
MOV EDI,dword ptr [EBX + 0x2e8]
ADD ESP,0x10
ADD ESP,0x1c
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EDX,EDX
JNZ 0x00018970
MOV EDX,EAX
SUB ESP,0xc
SHR EDX,0x1
ADD EAX,EDX
PUSH EAX
MOV dword ptr [EBX + 0x2ec],EAX
CALL 0x00012220
MOV EDX,dword ptr [ESI + 0x8c]
MOV EDI,dword ptr [ESI]
ADD ESP,0x10
MOV dword ptr [EBX + 0x2e8],EAX
MOV EBP,dword ptr [EDX]
JMP 0x00018912
MOV dword ptr [ESP + 0xc],EAX
SUB ESP,0xc
PUSH dword ptr [EBX + 0x2e8]
CALL 0x00012100
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
JMP 0x0001893c
LEA EAX,[EBX + 0xffffb490]
PUSH EAX
LEA EAX,[EBX + 0xffffb376]
PUSH 0x279
PUSH EAX
LEA EAX,[EBX + 0xffffb38e]
PUSH EAX
CALL 0x000125f0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * FUN_000188b0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  puVar2 = (undefined4 *)param_1[0x23];\n  __s_00 = (char *)*param_1;\n  if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }\n  return __s_00;\n}\n\n" comment (function_definition "char * FUN_000188b0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  puVar2 = (undefined4 *)param_1[0x23];\n  __s_00 = (char *)*param_1;\n  if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }\n  return __s_00;\n}" primitive_type (pointer_declarator "* FUN_000188b0(undefined4 *param_1)" * (function_declarator "FUN_000188b0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  uint uVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  puVar2 = (undefined4 *)param_1[0x23];\n  __s_00 = (char *)*param_1;\n  if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }\n  return __s_00;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }" { comment (expression_statement "__assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");" (call_expression "__assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename")" identifier (argument_list "("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename")" ( (string_literal ""abfd != NULL"" " string_content ") , (string_literal ""../../binutils/bucomm.c"" " string_content ") , number_literal , (string_literal ""bfd_get_archive_filename"" " string_content ") ))) ;) })) (expression_statement "puVar2 = (undefined4 *)param_1[0x23];" (assignment_expression "puVar2 = (undefined4 *)param_1[0x23]" identifier = (cast_expression "(undefined4 *)param_1[0x23]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x23]" identifier [ number_literal ]))) ;) (expression_statement "__s_00 = (char *)*param_1;" (assignment_expression "__s_00 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }" if (parenthesized_expression "((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0))" ( (binary_expression "(puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)" (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((*(byte *)(puVar2 + 0xb) & 1) == 0)" ( (binary_expression "(*(byte *)(puVar2 + 0xb) & 1) == 0" (parenthesized_expression "(*(byte *)(puVar2 + 0xb) & 1)" ( (binary_expression "*(byte *)(puVar2 + 0xb) & 1" (pointer_expression "*(byte *)(puVar2 + 0xb)" * (cast_expression "(byte *)(puVar2 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0xb)" ( (binary_expression "puVar2 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }" { (expression_statement "__s = (char *)*puVar2;" (assignment_expression "__s = (char *)*puVar2" identifier = (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "sVar4 = strlen(__s_00);" (assignment_expression "sVar4 = strlen(__s_00)" identifier = (call_expression "strlen(__s_00)" identifier (argument_list "(__s_00)" ( identifier )))) ;) (expression_statement "uVar1 = sVar3 + 3 + sVar4;" (assignment_expression "uVar1 = sVar3 + 3 + sVar4" identifier = (binary_expression "sVar3 + 3 + sVar4" (binary_expression "sVar3 + 3" identifier + number_literal) + identifier)) ;) (if_statement "if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }" if (parenthesized_expression "(DAT_000212ec < uVar1)" ( (binary_expression "DAT_000212ec < uVar1" identifier < identifier) )) (compound_statement "{\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }" { (if_statement "if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }" if (parenthesized_expression "(DAT_000212ec != 0)" ( (binary_expression "DAT_000212ec != 0" identifier != number_literal) )) (compound_statement "{\n        free(DAT_000212e8);\n      }" { (expression_statement "free(DAT_000212e8);" (call_expression "free(DAT_000212e8)" identifier (argument_list "(DAT_000212e8)" ( identifier ))) ;) })) (expression_statement "DAT_000212ec = uVar1 + (uVar1 >> 1);" (assignment_expression "DAT_000212ec = uVar1 + (uVar1 >> 1)" identifier = (binary_expression "uVar1 + (uVar1 >> 1)" identifier + (parenthesized_expression "(uVar1 >> 1)" ( (binary_expression "uVar1 >> 1" identifier >> number_literal) )))) ;) (expression_statement "DAT_000212e8 = (char *)xmalloc(DAT_000212ec);" (assignment_expression "DAT_000212e8 = (char *)xmalloc(DAT_000212ec)" identifier = (cast_expression "(char *)xmalloc(DAT_000212ec)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(DAT_000212ec)" identifier (argument_list "(DAT_000212ec)" ( identifier ))))) ;) (expression_statement "__s_00 = (char *)*param_1;" (assignment_expression "__s_00 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "__s = *(char **)param_1[0x23];" (assignment_expression "__s = *(char **)param_1[0x23]" identifier = (pointer_expression "*(char **)param_1[0x23]" * (cast_expression "(char **)param_1[0x23]" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[0x23]" identifier [ number_literal ])))) ;) })) (expression_statement "sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);" (call_expression "sprintf(DAT_000212e8,"%s(%s)",__s,__s_00)" identifier (argument_list "(DAT_000212e8,"%s(%s)",__s,__s_00)" ( identifier , (string_literal ""%s(%s)"" " string_content ") , identifier , identifier ))) ;) (expression_statement "__s_00 = DAT_000212e8;" (assignment_expression "__s_00 = DAT_000212e8" identifier = identifier) ;) })) (return_statement "return __s_00;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar * bfd_get_archive_filename(bfd *abfd)\n\n{\n  uint uVar1;\n  bfd *pbVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (abfd == (bfd *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  pbVar2 = abfd->my_archive;\n  __s_00 = abfd->filename;\n  if ((pbVar2 != (bfd *)0x0) && ((pbVar2->field_0x2c & 1) == 0)) {\n    __s = pbVar2->filename;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (bfd_get_archive_filename::curr < uVar1) {\n      if (bfd_get_archive_filename::curr != 0) {\n        free(bfd_get_archive_filename::buf);\n      }\n      bfd_get_archive_filename::curr = uVar1 + (uVar1 >> 1);\n      bfd_get_archive_filename::buf = (char *)xmalloc(bfd_get_archive_filename::curr);\n      __s_00 = abfd->filename;\n      __s = abfd->my_archive->filename;\n    }\n    sprintf(bfd_get_archive_filename::buf,"%s(%s)",__s,__s_00);\n    __s_00 = bfd_get_archive_filename::buf;\n  }\n  return __s_00;\n}\n\n" comment comment (function_definition "char * bfd_get_archive_filename(bfd *abfd)\n\n{\n  uint uVar1;\n  bfd *pbVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (abfd == (bfd *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  pbVar2 = abfd->my_archive;\n  __s_00 = abfd->filename;\n  if ((pbVar2 != (bfd *)0x0) && ((pbVar2->field_0x2c & 1) == 0)) {\n    __s = pbVar2->filename;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (bfd_get_archive_filename::curr < uVar1) {\n      if (bfd_get_archive_filename::curr != 0) {\n        free(bfd_get_archive_filename::buf);\n      }\n      bfd_get_archive_filename::curr = uVar1 + (uVar1 >> 1);\n      bfd_get_archive_filename::buf = (char *)xmalloc(bfd_get_archive_filename::curr);\n      __s_00 = abfd->filename;\n      __s = abfd->my_archive->filename;\n    }\n    sprintf(bfd_get_archive_filename::buf,"%s(%s)",__s,__s_00);\n    __s_00 = bfd_get_archive_filename::buf;\n  }\n  return __s_00;\n}" primitive_type (pointer_declarator "* bfd_get_archive_filename(bfd *abfd)" * (function_declarator "bfd_get_archive_filename(bfd *abfd)" identifier (parameter_list "(bfd *abfd)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) )))) (compound_statement "{\n  uint uVar1;\n  bfd *pbVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (abfd == (bfd *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  pbVar2 = abfd->my_archive;\n  __s_00 = abfd->filename;\n  if ((pbVar2 != (bfd *)0x0) && ((pbVar2->field_0x2c & 1) == 0)) {\n    __s = pbVar2->filename;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (bfd_get_archive_filename::curr < uVar1) {\n      if (bfd_get_archive_filename::curr != 0) {\n        free(bfd_get_archive_filename::buf);\n      }\n      bfd_get_archive_filename::curr = uVar1 + (uVar1 >> 1);\n      bfd_get_archive_filename::buf = (char *)xmalloc(bfd_get_archive_filename::curr);\n      __s_00 = abfd->filename;\n      __s = abfd->my_archive->filename;\n    }\n    sprintf(bfd_get_archive_filename::buf,"%s(%s)",__s,__s_00);\n    __s_00 = bfd_get_archive_filename::buf;\n  }\n  return __s_00;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "bfd *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (if_statement "if (abfd == (bfd *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }" if (parenthesized_expression "(abfd == (bfd *)0x0)" ( (binary_expression "abfd == (bfd *)0x0" identifier == (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }" { comment (expression_statement "__assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");" (call_expression "__assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename")" identifier (argument_list "("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename")" ( (string_literal ""abfd != NULL"" " string_content ") , (string_literal ""../../binutils/bucomm.c"" " string_content ") , number_literal , (string_literal ""bfd_get_archive_filename"" " string_content ") ))) ;) })) (expression_statement "pbVar2 = abfd->my_archive;" (assignment_expression "pbVar2 = abfd->my_archive" identifier = (field_expression "abfd->my_archive" identifier -> field_identifier)) ;) (expression_statement "__s_00 = abfd->filename;" (assignment_expression "__s_00 = abfd->filename" identifier = (field_expression "abfd->filename" identifier -> field_identifier)) ;) (if_statement "if ((pbVar2 != (bfd *)0x0) && ((pbVar2->field_0x2c & 1) == 0)) {\n    __s = pbVar2->filename;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (bfd_get_archive_filename::curr < uVar1) {\n      if (bfd_get_archive_filename::curr != 0) {\n        free(bfd_get_archive_filename::buf);\n      }\n      bfd_get_archive_filename::curr = uVar1 + (uVar1 >> 1);\n      bfd_get_archive_filename::buf = (char *)xmalloc(bfd_get_archive_filename::curr);\n      __s_00 = abfd->filename;\n      __s = abfd->my_archive->filename;\n    }\n    sprintf(bfd_get_archive_filename::buf,"%s(%s)",__s,__s_00);\n    __s_00 = bfd_get_archive_filename::buf;\n  }" if (parenthesized_expression "((pbVar2 != (bfd *)0x0) && ((pbVar2->field_0x2c & 1) == 0))" ( (binary_expression "(pbVar2 != (bfd *)0x0) && ((pbVar2->field_0x2c & 1) == 0)" (parenthesized_expression "(pbVar2 != (bfd *)0x0)" ( (binary_expression "pbVar2 != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((pbVar2->field_0x2c & 1) == 0)" ( (binary_expression "(pbVar2->field_0x2c & 1) == 0" (parenthesized_expression "(pbVar2->field_0x2c & 1)" ( (binary_expression "pbVar2->field_0x2c & 1" (field_expression "pbVar2->field_0x2c" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    __s = pbVar2->filename;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (bfd_get_archive_filename::curr < uVar1) {\n      if (bfd_get_archive_filename::curr != 0) {\n        free(bfd_get_archive_filename::buf);\n      }\n      bfd_get_archive_filename::curr = uVar1 + (uVar1 >> 1);\n      bfd_get_archive_filename::buf = (char *)xmalloc(bfd_get_archive_filename::curr);\n      __s_00 = abfd->filename;\n      __s = abfd->my_archive->filename;\n    }\n    sprintf(bfd_get_archive_filename::buf,"%s(%s)",__s,__s_00);\n    __s_00 = bfd_get_archive_filename::buf;\n  }" { (expression_statement "__s = pbVar2->filename;" (assignment_expression "__s = pbVar2->filename" identifier = (field_expression "pbVar2->filename" identifier -> field_identifier)) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "sVar4 = strlen(__s_00);" (assignment_expression "sVar4 = strlen(__s_00)" identifier = (call_expression "strlen(__s_00)" identifier (argument_list "(__s_00)" ( identifier )))) ;) (expression_statement "uVar1 = sVar3 + 3 + sVar4;" (assignment_expression "uVar1 = sVar3 + 3 + sVar4" identifier = (binary_expression "sVar3 + 3 + sVar4" (binary_expression "sVar3 + 3" identifier + number_literal) + identifier)) ;) (if_statement "if (bfd_get_archive_filename::curr < uVar1) {\n      if (bfd_get_archive_filename::curr != 0) {\n        free(bfd_get_archive_filename::buf);\n      }\n      bfd_get_archive_filename::curr = uVar1 + (uVar1 >> 1);\n      bfd_get_archive_filename::buf = (char *)xmalloc(bfd_get_archive_filename::curr);\n      __s_00 = abfd->filename;\n      __s = abfd->my_archive->filename;\n    }" if (parenthesized_expression "(bfd_get_archive_filename::curr < uVar1)" ( (binary_expression "bfd_get_archive_filename::curr < uVar1" identifier (ERROR "::curr" : : identifier) < identifier) )) (compound_statement "{\n      if (bfd_get_archive_filename::curr != 0) {\n        free(bfd_get_archive_filename::buf);\n      }\n      bfd_get_archive_filename::curr = uVar1 + (uVar1 >> 1);\n      bfd_get_archive_filename::buf = (char *)xmalloc(bfd_get_archive_filename::curr);\n      __s_00 = abfd->filename;\n      __s = abfd->my_archive->filename;\n    }" { (if_statement "if (bfd_get_archive_filename::curr != 0) {\n        free(bfd_get_archive_filename::buf);\n      }" if (parenthesized_expression "(bfd_get_archive_filename::curr != 0)" ( (binary_expression "bfd_get_archive_filename::curr != 0" identifier (ERROR "::curr" : : identifier) != number_literal) )) (compound_statement "{\n        free(bfd_get_archive_filename::buf);\n      }" { (labeled_statement "free(bfd_get_archive_filename::buf);" statement_identifier (ERROR "(bfd_get_archive_filename:" ( (type_descriptor "bfd_get_archive_filename" type_identifier) :) : (expression_statement "buf);" identifier (ERROR ")" )) ;)) })) (labeled_statement "bfd_get_archive_filename::curr = uVar1 + (uVar1 >> 1);" statement_identifier : (ERROR ":" :) (expression_statement "curr = uVar1 + (uVar1 >> 1);" (assignment_expression "curr = uVar1 + (uVar1 >> 1)" identifier = (binary_expression "uVar1 + (uVar1 >> 1)" identifier + (parenthesized_expression "(uVar1 >> 1)" ( (binary_expression "uVar1 >> 1" identifier >> number_literal) )))) ;)) (labeled_statement "bfd_get_archive_filename::buf = (char *)xmalloc(bfd_get_archive_filename::curr);" statement_identifier : (ERROR ":" :) (expression_statement "buf = (char *)xmalloc(bfd_get_archive_filename::curr);" (assignment_expression "buf = (char *)xmalloc(bfd_get_archive_filename::curr)" identifier = (cast_expression "(char *)xmalloc(bfd_get_archive_filename::curr)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(bfd_get_archive_filename::curr)" identifier (argument_list "(bfd_get_archive_filename::curr)" ( identifier (ERROR "::curr" : : identifier) ))))) ;)) (expression_statement "__s_00 = abfd->filename;" (assignment_expression "__s_00 = abfd->filename" identifier = (field_expression "abfd->filename" identifier -> field_identifier)) ;) (expression_statement "__s = abfd->my_archive->filename;" (assignment_expression "__s = abfd->my_archive->filename" identifier = (field_expression "abfd->my_archive->filename" (field_expression "abfd->my_archive" identifier -> field_identifier) -> field_identifier)) ;) })) (labeled_statement "sprintf(bfd_get_archive_filename::buf,"%s(%s)",__s,__s_00);" statement_identifier (ERROR "(bfd_get_archive_filename:" ( (type_descriptor "bfd_get_archive_filename" type_identifier) :) : (expression_statement "buf,"%s(%s)",__s,__s_00);" (comma_expression "buf,"%s(%s)",__s,__s_00" identifier , (comma_expression ""%s(%s)",__s,__s_00" (string_literal ""%s(%s)"" " string_content ") , (comma_expression "__s,__s_00" identifier , identifier))) (ERROR ")" )) ;)) (expression_statement "__s_00 = bfd_get_archive_filename::buf;" (assignment_expression "__s_00 = bfd_get_archive_filename" identifier = identifier) (ERROR "::buf" : : identifier) ;) })) (return_statement "return __s_00;" return identifier ;) })))
(translation_unit "char * FUN_000188b0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  puVar2 = (undefined4 *)param_1[0x23];\n  __s_00 = (char *)*param_1;\n  if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }\n  return __s_00;\n}\n\n" (function_definition "char * FUN_000188b0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  puVar2 = (undefined4 *)param_1[0x23];\n  __s_00 = (char *)*param_1;\n  if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }\n  return __s_00;\n}" primitive_type (pointer_declarator "* FUN_000188b0(undefined4 *param_1)" * (function_declarator "FUN_000188b0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  uint uVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  puVar2 = (undefined4 *)param_1[0x23];\n  __s_00 = (char *)*param_1;\n  if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }\n  return __s_00;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }" { (expression_statement "__assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");" (call_expression "__assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename")" identifier (argument_list "("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename")" ( (string_literal ""abfd != NULL"" " string_content ") , (string_literal ""../../binutils/bucomm.c"" " string_content ") , number_literal , (string_literal ""bfd_get_archive_filename"" " string_content ") ))) ;) })) (expression_statement "puVar2 = (undefined4 *)param_1[0x23];" (assignment_expression "puVar2 = (undefined4 *)param_1[0x23]" identifier = (cast_expression "(undefined4 *)param_1[0x23]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x23]" identifier [ number_literal ]))) ;) (expression_statement "__s_00 = (char *)*param_1;" (assignment_expression "__s_00 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }" if (parenthesized_expression "((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0))" ( (binary_expression "(puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)" (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" ( (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((*(byte *)(puVar2 + 0xb) & 1) == 0)" ( (binary_expression "(*(byte *)(puVar2 + 0xb) & 1) == 0" (parenthesized_expression "(*(byte *)(puVar2 + 0xb) & 1)" ( (binary_expression "*(byte *)(puVar2 + 0xb) & 1" (pointer_expression "*(byte *)(puVar2 + 0xb)" * (cast_expression "(byte *)(puVar2 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0xb)" ( (binary_expression "puVar2 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }" { (expression_statement "__s = (char *)*puVar2;" (assignment_expression "__s = (char *)*puVar2" identifier = (cast_expression "(char *)*puVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "sVar4 = strlen(__s_00);" (assignment_expression "sVar4 = strlen(__s_00)" identifier = (call_expression "strlen(__s_00)" identifier (argument_list "(__s_00)" ( identifier )))) ;) (expression_statement "uVar1 = sVar3 + 3 + sVar4;" (assignment_expression "uVar1 = sVar3 + 3 + sVar4" identifier = (binary_expression "sVar3 + 3 + sVar4" (binary_expression "sVar3 + 3" identifier + number_literal) + identifier)) ;) (if_statement "if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }" if (parenthesized_expression "(DAT_000212ec < uVar1)" ( (binary_expression "DAT_000212ec < uVar1" identifier < identifier) )) (compound_statement "{\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }" { (if_statement "if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }" if (parenthesized_expression "(DAT_000212ec != 0)" ( (binary_expression "DAT_000212ec != 0" identifier != number_literal) )) (compound_statement "{\n        free(DAT_000212e8);\n      }" { (expression_statement "free(DAT_000212e8);" (call_expression "free(DAT_000212e8)" identifier (argument_list "(DAT_000212e8)" ( identifier ))) ;) })) (expression_statement "DAT_000212ec = uVar1 + (uVar1 >> 1);" (assignment_expression "DAT_000212ec = uVar1 + (uVar1 >> 1)" identifier = (binary_expression "uVar1 + (uVar1 >> 1)" identifier + (parenthesized_expression "(uVar1 >> 1)" ( (binary_expression "uVar1 >> 1" identifier >> number_literal) )))) ;) (expression_statement "DAT_000212e8 = (char *)xmalloc(DAT_000212ec);" (assignment_expression "DAT_000212e8 = (char *)xmalloc(DAT_000212ec)" identifier = (cast_expression "(char *)xmalloc(DAT_000212ec)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(DAT_000212ec)" identifier (argument_list "(DAT_000212ec)" ( identifier ))))) ;) (expression_statement "__s_00 = (char *)*param_1;" (assignment_expression "__s_00 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "__s = *(char **)param_1[0x23];" (assignment_expression "__s = *(char **)param_1[0x23]" identifier = (pointer_expression "*(char **)param_1[0x23]" * (cast_expression "(char **)param_1[0x23]" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "param_1[0x23]" identifier [ number_literal ])))) ;) })) (expression_statement "sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);" (call_expression "sprintf(DAT_000212e8,"%s(%s)",__s,__s_00)" identifier (argument_list "(DAT_000212e8,"%s(%s)",__s,__s_00)" ( identifier , (string_literal ""%s(%s)"" " string_content ") , identifier , identifier ))) ;) (expression_statement "__s_00 = DAT_000212e8;" (assignment_expression "__s_00 = DAT_000212e8" identifier = identifier) ;) })) (return_statement "return __s_00;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return IDENT ;) })))
(function_definition "char * FUN_000188b0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  puVar2 = (undefined4 *)param_1[0x23];\n  __s_00 = (char *)*param_1;\n  if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }\n  return __s_00;\n}" (primitive_type "char") (pointer_declarator "* FUN_000188b0(undefined4 *param_1)" (* "*") (function_declarator "FUN_000188b0(undefined4 *param_1)" (identifier "FUN_000188b0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  uint uVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s;\n  char *__s_00;\n  \n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }\n  puVar2 = (undefined4 *)param_1[0x23];\n  __s_00 = (char *)*param_1;\n  if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }\n  return __s_00;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "char *__s_00;" (primitive_type "char") (pointer_declarator "*__s_00" (* "*") (identifier "__s_00")) (; ";")) (if_statement "if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }" (if "if") (parenthesized_expression "(param_1 == (undefined4 *)0x0)" (( "(") (binary_expression "param_1 == (undefined4 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");\n  }" ({ "{") (expression_statement "__assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");" (call_expression "__assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename")" (identifier "__assert_fail") (argument_list "("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename")" (( "(") (string_literal ""abfd != NULL"" (" """) (string_content "abfd != NULL") (" """)) (, ",") (string_literal ""../../binutils/bucomm.c"" (" """) (string_content "../../binutils/bucomm.c") (" """)) (, ",") (number_literal "0x279") (, ",") (string_literal ""bfd_get_archive_filename"" (" """) (string_content "bfd_get_archive_filename") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)param_1[0x23];" (assignment_expression "puVar2 = (undefined4 *)param_1[0x23]" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)param_1[0x23]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")))) (; ";")) (expression_statement "__s_00 = (char *)*param_1;" (assignment_expression "__s_00 = (char *)*param_1" (identifier "__s_00") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }" (if "if") (parenthesized_expression "((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0))" (( "(") (binary_expression "(puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)" (parenthesized_expression "(puVar2 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(puVar2 + 0xb) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(puVar2 + 0xb) & 1) == 0" (parenthesized_expression "(*(byte *)(puVar2 + 0xb) & 1)" (( "(") (binary_expression "*(byte *)(puVar2 + 0xb) & 1" (pointer_expression "*(byte *)(puVar2 + 0xb)" (* "*") (cast_expression "(byte *)(puVar2 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0xb)" (( "(") (binary_expression "puVar2 + 0xb" (identifier "puVar2") (+ "+") (number_literal "0xb")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    __s = (char *)*puVar2;\n    sVar3 = strlen(__s);\n    sVar4 = strlen(__s_00);\n    uVar1 = sVar3 + 3 + sVar4;\n    if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }\n    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);\n    __s_00 = DAT_000212e8;\n  }" ({ "{") (expression_statement "__s = (char *)*puVar2;" (assignment_expression "__s = (char *)*puVar2" (identifier "__s") (= "=") (cast_expression "(char *)*puVar2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" (identifier "sVar3") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "sVar4 = strlen(__s_00);" (assignment_expression "sVar4 = strlen(__s_00)" (identifier "sVar4") (= "=") (call_expression "strlen(__s_00)" (identifier "strlen") (argument_list "(__s_00)" (( "(") (identifier "__s_00") () ")")))) (; ";")) (expression_statement "uVar1 = sVar3 + 3 + sVar4;" (assignment_expression "uVar1 = sVar3 + 3 + sVar4" (identifier "uVar1") (= "=") (binary_expression "sVar3 + 3 + sVar4" (binary_expression "sVar3 + 3" (identifier "sVar3") (+ "+") (number_literal "3")) (+ "+") (identifier "sVar4"))) (; ";")) (if_statement "if (DAT_000212ec < uVar1) {\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }" (if "if") (parenthesized_expression "(DAT_000212ec < uVar1)" (( "(") (binary_expression "DAT_000212ec < uVar1" (identifier "DAT_000212ec") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n      if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }\n      DAT_000212ec = uVar1 + (uVar1 >> 1);\n      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);\n      __s_00 = (char *)*param_1;\n      __s = *(char **)param_1[0x23];\n    }" ({ "{") (if_statement "if (DAT_000212ec != 0) {\n        free(DAT_000212e8);\n      }" (if "if") (parenthesized_expression "(DAT_000212ec != 0)" (( "(") (binary_expression "DAT_000212ec != 0" (identifier "DAT_000212ec") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        free(DAT_000212e8);\n      }" ({ "{") (expression_statement "free(DAT_000212e8);" (call_expression "free(DAT_000212e8)" (identifier "free") (argument_list "(DAT_000212e8)" (( "(") (identifier "DAT_000212e8") () ")"))) (; ";")) (} "}"))) (expression_statement "DAT_000212ec = uVar1 + (uVar1 >> 1);" (assignment_expression "DAT_000212ec = uVar1 + (uVar1 >> 1)" (identifier "DAT_000212ec") (= "=") (binary_expression "uVar1 + (uVar1 >> 1)" (identifier "uVar1") (+ "+") (parenthesized_expression "(uVar1 >> 1)" (( "(") (binary_expression "uVar1 >> 1" (identifier "uVar1") (>> ">>") (number_literal "1")) () ")")))) (; ";")) (expression_statement "DAT_000212e8 = (char *)xmalloc(DAT_000212ec);" (assignment_expression "DAT_000212e8 = (char *)xmalloc(DAT_000212ec)" (identifier "DAT_000212e8") (= "=") (cast_expression "(char *)xmalloc(DAT_000212ec)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(DAT_000212ec)" (identifier "xmalloc") (argument_list "(DAT_000212ec)" (( "(") (identifier "DAT_000212ec") () ")"))))) (; ";")) (expression_statement "__s_00 = (char *)*param_1;" (assignment_expression "__s_00 = (char *)*param_1" (identifier "__s_00") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "__s = *(char **)param_1[0x23];" (assignment_expression "__s = *(char **)param_1[0x23]" (identifier "__s") (= "=") (pointer_expression "*(char **)param_1[0x23]" (* "*") (cast_expression "(char **)param_1[0x23]" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]"))))) (; ";")) (} "}"))) (expression_statement "sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);" (call_expression "sprintf(DAT_000212e8,"%s(%s)",__s,__s_00)" (identifier "sprintf") (argument_list "(DAT_000212e8,"%s(%s)",__s,__s_00)" (( "(") (identifier "DAT_000212e8") (, ",") (string_literal ""%s(%s)"" (" """) (string_content "%s(%s)") (" """)) (, ",") (identifier "__s") (, ",") (identifier "__s_00") () ")"))) (; ";")) (expression_statement "__s_00 = DAT_000212e8;" (assignment_expression "__s_00 = DAT_000212e8" (identifier "__s_00") (= "=") (identifier "DAT_000212e8")) (; ";")) (} "}"))) (return_statement "return __s_00;" (return "return") (identifier "__s_00") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

char * function_1(type_1 *var_1)

{
  type_2 var_7;
  type_1 *var_3;
  size_t var_5;
  size_t var_6;
  char *__s;
  char *__s_00;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");
  }
  var_3 = var_1->my_archive;
  __s_00 = var_1->filename;
  if ((var_3 != (type_1 *)0x0) && ((var_3->field_0x2c & 1) == 0)) {
    __s = var_3->filename;
    var_5 = var_4(__s);
    var_6 = var_4(__s_00);
    var_7 = var_5 + 3 + var_6;
    if (function_1::curr < var_7) {
      if (function_1::curr != 0) {
        free(function_1::buf);
      }
      bfd_get_archive_filename::curr = var_7 + (var_7 >> 1);
      bfd_get_archive_filename::buf = (char *)var_8(function_1::curr);
      __s_00 = var_1->filename;
      __s = var_1->my_archive->filename;
    }
    sprintf(function_1::buf,"%s(%s)",__s,__s_00);
    __s_00 = function_1::buf;
  }
  return __s_00;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) 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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (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 (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * MASKED(undefined4 *param_1)

{
  uint uVar1;
  undefined4 *puVar2;
  size_t sVar3;
  size_t sVar4;
  char *__s;
  char *__s_00;
  
  if (param_1 == (undefined4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("abfd != NULL","../../binutils/bucomm.c",0x279,"bfd_get_archive_filename");
  }
  puVar2 = (undefined4 *)param_1[0x23];
  __s_00 = (char *)*param_1;
  if ((puVar2 != (undefined4 *)0x0) && ((*(byte *)(puVar2 + 0xb) & 1) == 0)) {
    __s = (char *)*puVar2;
    sVar3 = strlen(__s);
    sVar4 = strlen(__s_00);
    uVar1 = sVar3 + 3 + sVar4;
    if (DAT_000212ec < uVar1) {
      if (DAT_000212ec != 0) {
        free(DAT_000212e8);
      }
      DAT_000212ec = uVar1 + (uVar1 >> 1);
      DAT_000212e8 = (char *)xmalloc(DAT_000212ec);
      __s_00 = (char *)*param_1;
      __s = *(char **)param_1[0x23];
    }
    sprintf(DAT_000212e8,"%s(%s)",__s,__s_00);
    __s_00 = DAT_000212e8;
  }
  return __s_00;
}

