
char * bfd_get_archive_filename(bfd *abfd)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  bfd *pbVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  undefined4 uVar8;
  uint uVar9;
  char *pcVar10;
  char *pcVar11;
  
  puVar1 = PTR_DAT_0002a248;
  if (abfd == (bfd *)0x0) {
    pcVar10 = (char *)(*(code *)PTR___assert_fail_0002a2b8)
                                (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,
                                 PTR_DAT_0002a25c + -0x6e50);
    return pcVar10;
  }
  pbVar4 = abfd->my_archive;
  pcVar10 = abfd->filename;
  if ((pbVar4 != (bfd *)0x0) && (-1 < *(int *)&pbVar4->field_0x2c)) {
    pcVar11 = pbVar4->filename;
    iVar5 = (*(code *)PTR_strlen_0002a370)(pcVar11);
    iVar6 = (*(code *)PTR_strlen_0002a370)(pcVar10);
    puVar2 = PTR_DAT_0002a248;
    uVar7 = *(uint *)(puVar1 + -0x5b1c);
    uVar9 = iVar5 + iVar6 + 3;
    if (uVar9 <= uVar7) {
      (*(code *)PTR_sprintf_0002a300)
                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,
                 pcVar10);
      return *(char **)(puVar2 + -0x5b20);
    }
    if (uVar7 != 0) {
      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));
    }
    puVar3 = PTR_xmalloc_0002a3b4;
    iVar5 = (uVar9 >> 1) + uVar9;
    *(int *)(puVar1 + -0x5b1c) = iVar5;
    uVar8 = (*(code *)puVar3)(iVar5);
    pbVar4 = abfd->my_archive;
    pcVar10 = abfd->filename;
    *(undefined4 *)(puVar2 + -0x5b20) = uVar8;
    (*(code *)PTR_sprintf_0002a300)(uVar8,PTR_DAT_0002a25c + -0x6e78,pbVar4->filename,pcVar10);
    pcVar10 = *(char **)(puVar2 + -0x5b20);
  }
  return pcVar10;
}



undefined4 bfd_get_archive_filename(undefined4 *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  
  puVar1 = PTR_DAT_0002a248;
  if (param_1 == (undefined4 *)0x0) {
    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)
                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,
                       PTR_DAT_0002a25c + -0x6e50);
    return uVar9;
  }
  puVar4 = (undefined4 *)param_1[0x25];
  uVar9 = *param_1;
  if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {
    uVar10 = *puVar4;
    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);
    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);
    puVar2 = PTR_DAT_0002a248;
    uVar7 = *(uint *)(puVar1 + -0x5b1c);
    uVar8 = iVar5 + iVar6 + 3;
    if (uVar8 <= uVar7) {
      (*(code *)PTR_sprintf_0002a300)
                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9
                );
      return *(undefined4 *)(puVar2 + -0x5b20);
    }
    if (uVar7 != 0) {
      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));
    }
    puVar3 = PTR_xmalloc_0002a3b4;
    iVar5 = (uVar8 >> 1) + uVar8;
    *(int *)(puVar1 + -0x5b1c) = iVar5;
    uVar9 = (*(code *)puVar3)(iVar5);
    puVar4 = (undefined4 *)param_1[0x25];
    uVar10 = *param_1;
    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;
    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);
    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);
  }
  return uVar9;
}


lui gp,0x2
addiu gp,gp,-0x3e7c
addu gp,gp,t9
addiu sp,sp,-0x38
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s5,0x30(sp)
sw s4,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
beq a0,zero,0x00016200
_sw s0,0x1c(sp)
lw v0,0x94(a0)
or s0,a0,zero
beq v0,zero,0x00016180
_lw s2,0x0(a0)
lw v1,0x2c(v0)
bltz v1,0x00016180
_lw t9,-0x7eb0(gp)
lw s3,0x0(v0)
lw s5,-0x7fd8(gp)
jalr t9
_or a0,s3,zero
or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7eb0(gp)
jalr t9
_or s1,v0,zero
addu s1,s1,v0
lw gp,0x10(sp)
lw v0,-0x5b1c(s5)
addiu s1,s1,0x3
sltu v1,v0,s1
beq v1,zero,0x000161a8
_lw s4,-0x7fd8(gp)
bne v0,zero,0x000161f0
_lw t9,-0x7e2c(gp)
srl v0,s1,0x1
lw t9,-0x7e6c(gp)
addu s1,v0,s1
or a0,s1,zero
jalr t9
_sw s1,-0x5b1c(s5)
lw gp,0x10(sp)
or a0,v0,zero
lw v1,0x94(s0)
lw s2,0x0(s0)
sw v0,-0x5b20(s4)
lw a1,-0x7fc4(gp)
lw s3,0x0(v1)
or a3,s2,zero
lw t9,-0x7f20(gp)
addiu a1,a1,-0x6e78
jalr t9
_or a2,s3,zero
lw s2,-0x5b20(s4)
lw ra,0x34(sp)
or v0,s2,zero
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x38
lw a1,-0x7fc4(gp)
or a3,s2,zero
lw a0,-0x5b20(s4)
or a2,s3,zero
lw t9,-0x7f20(gp)
jalr t9
_addiu a1,a1,-0x6e78
lw s2,-0x5b20(s4)
lw ra,0x34(sp)
lw s5,0x30(sp)
or v0,s2,zero
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x38
jalr t9
_lw a0,-0x5b20(s4)
b 0x00016134
_lw gp,0x10(sp)
lw a3,-0x7fc4(gp)
li a2,0x279
lw a1,-0x7fc4(gp)
lw a0,-0x7fc4(gp)
lw t9,-0x7f68(gp)
addiu a3,a3,-0x6e50
addiu a1,a1,-0x6ea0
jalr t9
_addiu a0,a0,-0x6e88
(translation_unit "undefined4 bfd_get_archive_filename(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }\n  puVar4 = (undefined4 *)param_1[0x25];\n  uVar9 = *param_1;\n  if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }\n  return uVar9;\n}\n\n" (function_definition "undefined4 bfd_get_archive_filename(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }\n  puVar4 = (undefined4 *)param_1[0x25];\n  uVar9 = *param_1;\n  if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }\n  return uVar9;\n}" type_identifier (function_declarator "bfd_get_archive_filename(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }\n  puVar4 = (undefined4 *)param_1[0x25];\n  uVar9 = *param_1;\n  if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }\n  return uVar9;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_0002a248;" (assignment_expression "puVar1 = PTR_DAT_0002a248" identifier = identifier) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\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    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }" { (expression_statement "uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);" (assignment_expression "uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50)" identifier = (call_expression "(*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50)" (parenthesized_expression "(*(code *)PTR___assert_fail_0002a2b8)" ( (pointer_expression "*(code *)PTR___assert_fail_0002a2b8" * (cast_expression "(code *)PTR___assert_fail_0002a2b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50)" ( (binary_expression "PTR_DAT_0002a25c + -0x6e88" identifier + number_literal) , (binary_expression "PTR_DAT_0002a25c + -0x6ea0" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0002a25c + -0x6e50" identifier + number_literal) )))) ;) (return_statement "return uVar9;" return identifier ;) })) (expression_statement "puVar4 = (undefined4 *)param_1[0x25];" (assignment_expression "puVar4 = (undefined4 *)param_1[0x25]" identifier = (cast_expression "(undefined4 *)param_1[0x25]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x25]" identifier [ number_literal ]))) ;) (expression_statement "uVar9 = *param_1;" (assignment_expression "uVar9 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }" if (parenthesized_expression "((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb]))" ( (binary_expression "(puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])" (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(-1 < (int)puVar4[0xb])" ( (binary_expression "-1 < (int)puVar4[0xb]" number_literal < (cast_expression "(int)puVar4[0xb]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[0xb]" identifier [ number_literal ]))) ))) )) (compound_statement "{\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }" { (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);" (assignment_expression "iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10)" identifier = (call_expression "(*(code *)PTR_strlen_0002a370)(uVar10)" (parenthesized_expression "(*(code *)PTR_strlen_0002a370)" ( (pointer_expression "*(code *)PTR_strlen_0002a370" * (cast_expression "(code *)PTR_strlen_0002a370" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar10)" ( identifier )))) ;) (expression_statement "iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9)" identifier = (call_expression "(*(code *)PTR_strlen_0002a370)(uVar9)" (parenthesized_expression "(*(code *)PTR_strlen_0002a370)" ( (pointer_expression "*(code *)PTR_strlen_0002a370" * (cast_expression "(code *)PTR_strlen_0002a370" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9)" ( identifier )))) ;) (expression_statement "puVar2 = PTR_DAT_0002a248;" (assignment_expression "puVar2 = PTR_DAT_0002a248" identifier = identifier) ;) (expression_statement "uVar7 = *(uint *)(puVar1 + -0x5b1c);" (assignment_expression "uVar7 = *(uint *)(puVar1 + -0x5b1c)" identifier = (pointer_expression "*(uint *)(puVar1 + -0x5b1c)" * (cast_expression "(uint *)(puVar1 + -0x5b1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b1c)" ( (binary_expression "puVar1 + -0x5b1c" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar5 + iVar6 + 3;" (assignment_expression "uVar8 = iVar5 + iVar6 + 3" identifier = (binary_expression "iVar5 + iVar6 + 3" (binary_expression "iVar5 + iVar6" identifier + identifier) + number_literal)) ;) (if_statement "if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }" if (parenthesized_expression "(uVar8 <= uVar7)" ( (binary_expression "uVar8 <= uVar7" identifier <= identifier) )) (compound_statement "{\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }" { (expression_statement "(*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );" (call_expression "(*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                )" (parenthesized_expression "(*(code *)PTR_sprintf_0002a300)" ( (pointer_expression "*(code *)PTR_sprintf_0002a300" * (cast_expression "(code *)PTR_sprintf_0002a300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                )" ( (pointer_expression "*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a248 + -0x5b20)" ( (binary_expression "PTR_DAT_0002a248 + -0x5b20" identifier + number_literal) )))) , (binary_expression "PTR_DAT_0002a25c + -0x6e78" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return *(undefined4 *)(puVar2 + -0x5b20);" return (pointer_expression "*(undefined4 *)(puVar2 + -0x5b20)" * (cast_expression "(undefined4 *)(puVar2 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5b20)" ( (binary_expression "puVar2 + -0x5b20" identifier + number_literal) )))) ;) })) (if_statement "if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }" { (expression_statement "(*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));" (call_expression "(*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20))" (parenthesized_expression "(*(code *)PTR_free_0002a3f4)" ( (pointer_expression "*(code *)PTR_free_0002a3f4" * (cast_expression "(code *)PTR_free_0002a3f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a248 + -0x5b20)" ( (binary_expression "PTR_DAT_0002a248 + -0x5b20" identifier + number_literal) )))) ))) ;) })) (expression_statement "puVar3 = PTR_xmalloc_0002a3b4;" (assignment_expression "puVar3 = PTR_xmalloc_0002a3b4" identifier = identifier) ;) (expression_statement "iVar5 = (uVar8 >> 1) + uVar8;" (assignment_expression "iVar5 = (uVar8 >> 1) + uVar8" identifier = (binary_expression "(uVar8 >> 1) + uVar8" (parenthesized_expression "(uVar8 >> 1)" ( (binary_expression "uVar8 >> 1" identifier >> number_literal) )) + identifier)) ;) (expression_statement "*(int *)(puVar1 + -0x5b1c) = iVar5;" (assignment_expression "*(int *)(puVar1 + -0x5b1c) = iVar5" (pointer_expression "*(int *)(puVar1 + -0x5b1c)" * (cast_expression "(int *)(puVar1 + -0x5b1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b1c)" ( (binary_expression "puVar1 + -0x5b1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar9 = (*(code *)puVar3)(iVar5);" (assignment_expression "uVar9 = (*(code *)puVar3)(iVar5)" identifier = (call_expression "(*(code *)puVar3)(iVar5)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier )))) ;) (expression_statement "puVar4 = (undefined4 *)param_1[0x25];" (assignment_expression "puVar4 = (undefined4 *)param_1[0x25]" identifier = (cast_expression "(undefined4 *)param_1[0x25]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x25]" identifier [ number_literal ]))) ;) (expression_statement "uVar10 = *param_1;" (assignment_expression "uVar10 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x5b20) = uVar9;" (assignment_expression "*(undefined4 *)(puVar2 + -0x5b20) = uVar9" (pointer_expression "*(undefined4 *)(puVar2 + -0x5b20)" * (cast_expression "(undefined4 *)(puVar2 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5b20)" ( (binary_expression "puVar2 + -0x5b20" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);" (call_expression "(*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10)" (parenthesized_expression "(*(code *)PTR_sprintf_0002a300)" ( (pointer_expression "*(code *)PTR_sprintf_0002a300" * (cast_expression "(code *)PTR_sprintf_0002a300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10)" ( identifier , (binary_expression "PTR_DAT_0002a25c + -0x6e78" identifier + number_literal) , (pointer_expression "*puVar4" * identifier) , identifier ))) ;) (expression_statement "uVar9 = *(undefined4 *)(puVar2 + -0x5b20);" (assignment_expression "uVar9 = *(undefined4 *)(puVar2 + -0x5b20)" identifier = (pointer_expression "*(undefined4 *)(puVar2 + -0x5b20)" * (cast_expression "(undefined4 *)(puVar2 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5b20)" ( (binary_expression "puVar2 + -0x5b20" identifier + number_literal) ))))) ;) })) (return_statement "return uVar9;" return identifier ;) })))
(translation_unit "char * bfd_get_archive_filename(bfd *abfd)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  bfd *pbVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (abfd == (bfd *)0x0) {\n    pcVar10 = (char *)(*(code *)PTR___assert_fail_0002a2b8)\n                                (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                                 PTR_DAT_0002a25c + -0x6e50);\n    return pcVar10;\n  }\n  pbVar4 = abfd->my_archive;\n  pcVar10 = abfd->filename;\n  if ((pbVar4 != (bfd *)0x0) && (-1 < *(int *)&pbVar4->field_0x2c)) {\n    pcVar11 = pbVar4->filename;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(pcVar11);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(pcVar10);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar9 = iVar5 + iVar6 + 3;\n    if (uVar9 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,\n                 pcVar10);\n      return *(char **)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar9 >> 1) + uVar9;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar8 = (*(code *)puVar3)(iVar5);\n    pbVar4 = abfd->my_archive;\n    pcVar10 = abfd->filename;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar8;\n    (*(code *)PTR_sprintf_0002a300)(uVar8,PTR_DAT_0002a25c + -0x6e78,pbVar4->filename,pcVar10);\n    pcVar10 = *(char **)(puVar2 + -0x5b20);\n  }\n  return pcVar10;\n}\n\n" (function_definition "char * bfd_get_archive_filename(bfd *abfd)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  bfd *pbVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (abfd == (bfd *)0x0) {\n    pcVar10 = (char *)(*(code *)PTR___assert_fail_0002a2b8)\n                                (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                                 PTR_DAT_0002a25c + -0x6e50);\n    return pcVar10;\n  }\n  pbVar4 = abfd->my_archive;\n  pcVar10 = abfd->filename;\n  if ((pbVar4 != (bfd *)0x0) && (-1 < *(int *)&pbVar4->field_0x2c)) {\n    pcVar11 = pbVar4->filename;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(pcVar11);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(pcVar10);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar9 = iVar5 + iVar6 + 3;\n    if (uVar9 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,\n                 pcVar10);\n      return *(char **)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar9 >> 1) + uVar9;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar8 = (*(code *)puVar3)(iVar5);\n    pbVar4 = abfd->my_archive;\n    pcVar10 = abfd->filename;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar8;\n    (*(code *)PTR_sprintf_0002a300)(uVar8,PTR_DAT_0002a25c + -0x6e78,pbVar4->filename,pcVar10);\n    pcVar10 = *(char **)(puVar2 + -0x5b20);\n  }\n  return pcVar10;\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  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  bfd *pbVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  char *pcVar10;\n  char *pcVar11;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (abfd == (bfd *)0x0) {\n    pcVar10 = (char *)(*(code *)PTR___assert_fail_0002a2b8)\n                                (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                                 PTR_DAT_0002a25c + -0x6e50);\n    return pcVar10;\n  }\n  pbVar4 = abfd->my_archive;\n  pcVar10 = abfd->filename;\n  if ((pbVar4 != (bfd *)0x0) && (-1 < *(int *)&pbVar4->field_0x2c)) {\n    pcVar11 = pbVar4->filename;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(pcVar11);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(pcVar10);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar9 = iVar5 + iVar6 + 3;\n    if (uVar9 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,\n                 pcVar10);\n      return *(char **)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar9 >> 1) + uVar9;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar8 = (*(code *)puVar3)(iVar5);\n    pbVar4 = abfd->my_archive;\n    pcVar10 = abfd->filename;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar8;\n    (*(code *)PTR_sprintf_0002a300)(uVar8,PTR_DAT_0002a25c + -0x6e78,pbVar4->filename,pcVar10);\n    pcVar10 = *(char **)(puVar2 + -0x5b20);\n  }\n  return pcVar10;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "bfd *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_0002a248;" (assignment_expression "puVar1 = PTR_DAT_0002a248" identifier = identifier) ;) (if_statement "if (abfd == (bfd *)0x0) {\n    pcVar10 = (char *)(*(code *)PTR___assert_fail_0002a2b8)\n                                (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                                 PTR_DAT_0002a25c + -0x6e50);\n    return pcVar10;\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    pcVar10 = (char *)(*(code *)PTR___assert_fail_0002a2b8)\n                                (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                                 PTR_DAT_0002a25c + -0x6e50);\n    return pcVar10;\n  }" { (expression_statement "pcVar10 = (char *)(*(code *)PTR___assert_fail_0002a2b8)\n                                (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                                 PTR_DAT_0002a25c + -0x6e50);" (assignment_expression "pcVar10 = (char *)(*(code *)PTR___assert_fail_0002a2b8)\n                                (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                                 PTR_DAT_0002a25c + -0x6e50)" identifier = (cast_expression "(char *)(*(code *)PTR___assert_fail_0002a2b8)\n                                (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                                 PTR_DAT_0002a25c + -0x6e50)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_0002a2b8)\n                                (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                                 PTR_DAT_0002a25c + -0x6e50)" (parenthesized_expression "(*(code *)PTR___assert_fail_0002a2b8)" ( (pointer_expression "*(code *)PTR___assert_fail_0002a2b8" * (cast_expression "(code *)PTR___assert_fail_0002a2b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                                 PTR_DAT_0002a25c + -0x6e50)" ( (binary_expression "PTR_DAT_0002a25c + -0x6e88" identifier + number_literal) , (binary_expression "PTR_DAT_0002a25c + -0x6ea0" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0002a25c + -0x6e50" identifier + number_literal) ))))) ;) (return_statement "return pcVar10;" return identifier ;) })) (expression_statement "pbVar4 = abfd->my_archive;" (assignment_expression "pbVar4 = abfd->my_archive" identifier = (field_expression "abfd->my_archive" identifier -> field_identifier)) ;) (expression_statement "pcVar10 = abfd->filename;" (assignment_expression "pcVar10 = abfd->filename" identifier = (field_expression "abfd->filename" identifier -> field_identifier)) ;) (if_statement "if ((pbVar4 != (bfd *)0x0) && (-1 < *(int *)&pbVar4->field_0x2c)) {\n    pcVar11 = pbVar4->filename;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(pcVar11);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(pcVar10);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar9 = iVar5 + iVar6 + 3;\n    if (uVar9 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,\n                 pcVar10);\n      return *(char **)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar9 >> 1) + uVar9;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar8 = (*(code *)puVar3)(iVar5);\n    pbVar4 = abfd->my_archive;\n    pcVar10 = abfd->filename;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar8;\n    (*(code *)PTR_sprintf_0002a300)(uVar8,PTR_DAT_0002a25c + -0x6e78,pbVar4->filename,pcVar10);\n    pcVar10 = *(char **)(puVar2 + -0x5b20);\n  }" if (parenthesized_expression "((pbVar4 != (bfd *)0x0) && (-1 < *(int *)&pbVar4->field_0x2c))" ( (binary_expression "(pbVar4 != (bfd *)0x0) && (-1 < *(int *)&pbVar4->field_0x2c)" (parenthesized_expression "(pbVar4 != (bfd *)0x0)" ( (binary_expression "pbVar4 != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(-1 < *(int *)&pbVar4->field_0x2c)" ( (binary_expression "-1 < *(int *)&pbVar4->field_0x2c" number_literal < (pointer_expression "*(int *)&pbVar4->field_0x2c" * (cast_expression "(int *)&pbVar4->field_0x2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pbVar4->field_0x2c" & (field_expression "pbVar4->field_0x2c" identifier -> field_identifier))))) ))) )) (compound_statement "{\n    pcVar11 = pbVar4->filename;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(pcVar11);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(pcVar10);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar9 = iVar5 + iVar6 + 3;\n    if (uVar9 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,\n                 pcVar10);\n      return *(char **)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar9 >> 1) + uVar9;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar8 = (*(code *)puVar3)(iVar5);\n    pbVar4 = abfd->my_archive;\n    pcVar10 = abfd->filename;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar8;\n    (*(code *)PTR_sprintf_0002a300)(uVar8,PTR_DAT_0002a25c + -0x6e78,pbVar4->filename,pcVar10);\n    pcVar10 = *(char **)(puVar2 + -0x5b20);\n  }" { (expression_statement "pcVar11 = pbVar4->filename;" (assignment_expression "pcVar11 = pbVar4->filename" identifier = (field_expression "pbVar4->filename" identifier -> field_identifier)) ;) (expression_statement "iVar5 = (*(code *)PTR_strlen_0002a370)(pcVar11);" (assignment_expression "iVar5 = (*(code *)PTR_strlen_0002a370)(pcVar11)" identifier = (call_expression "(*(code *)PTR_strlen_0002a370)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_0002a370)" ( (pointer_expression "*(code *)PTR_strlen_0002a370" * (cast_expression "(code *)PTR_strlen_0002a370" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11)" ( identifier )))) ;) (expression_statement "iVar6 = (*(code *)PTR_strlen_0002a370)(pcVar10);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_0002a370)(pcVar10)" identifier = (call_expression "(*(code *)PTR_strlen_0002a370)(pcVar10)" (parenthesized_expression "(*(code *)PTR_strlen_0002a370)" ( (pointer_expression "*(code *)PTR_strlen_0002a370" * (cast_expression "(code *)PTR_strlen_0002a370" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar10)" ( identifier )))) ;) (expression_statement "puVar2 = PTR_DAT_0002a248;" (assignment_expression "puVar2 = PTR_DAT_0002a248" identifier = identifier) ;) (expression_statement "uVar7 = *(uint *)(puVar1 + -0x5b1c);" (assignment_expression "uVar7 = *(uint *)(puVar1 + -0x5b1c)" identifier = (pointer_expression "*(uint *)(puVar1 + -0x5b1c)" * (cast_expression "(uint *)(puVar1 + -0x5b1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b1c)" ( (binary_expression "puVar1 + -0x5b1c" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = iVar5 + iVar6 + 3;" (assignment_expression "uVar9 = iVar5 + iVar6 + 3" identifier = (binary_expression "iVar5 + iVar6 + 3" (binary_expression "iVar5 + iVar6" identifier + identifier) + number_literal)) ;) (if_statement "if (uVar9 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,\n                 pcVar10);\n      return *(char **)(puVar2 + -0x5b20);\n    }" if (parenthesized_expression "(uVar9 <= uVar7)" ( (binary_expression "uVar9 <= uVar7" identifier <= identifier) )) (compound_statement "{\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,\n                 pcVar10);\n      return *(char **)(puVar2 + -0x5b20);\n    }" { (expression_statement "(*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,\n                 pcVar10);" (call_expression "(*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,\n                 pcVar10)" (parenthesized_expression "(*(code *)PTR_sprintf_0002a300)" ( (pointer_expression "*(code *)PTR_sprintf_0002a300" * (cast_expression "(code *)PTR_sprintf_0002a300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,pcVar11,\n                 pcVar10)" ( (pointer_expression "*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a248 + -0x5b20)" ( (binary_expression "PTR_DAT_0002a248 + -0x5b20" identifier + number_literal) )))) , (binary_expression "PTR_DAT_0002a25c + -0x6e78" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return *(char **)(puVar2 + -0x5b20);" return (pointer_expression "*(char **)(puVar2 + -0x5b20)" * (cast_expression "(char **)(puVar2 + -0x5b20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + -0x5b20)" ( (binary_expression "puVar2 + -0x5b20" identifier + number_literal) )))) ;) })) (if_statement "if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }" { (expression_statement "(*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));" (call_expression "(*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20))" (parenthesized_expression "(*(code *)PTR_free_0002a3f4)" ( (pointer_expression "*(code *)PTR_free_0002a3f4" * (cast_expression "(code *)PTR_free_0002a3f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a248 + -0x5b20)" ( (binary_expression "PTR_DAT_0002a248 + -0x5b20" identifier + number_literal) )))) ))) ;) })) (expression_statement "puVar3 = PTR_xmalloc_0002a3b4;" (assignment_expression "puVar3 = PTR_xmalloc_0002a3b4" identifier = identifier) ;) (expression_statement "iVar5 = (uVar9 >> 1) + uVar9;" (assignment_expression "iVar5 = (uVar9 >> 1) + uVar9" identifier = (binary_expression "(uVar9 >> 1) + uVar9" (parenthesized_expression "(uVar9 >> 1)" ( (binary_expression "uVar9 >> 1" identifier >> number_literal) )) + identifier)) ;) (expression_statement "*(int *)(puVar1 + -0x5b1c) = iVar5;" (assignment_expression "*(int *)(puVar1 + -0x5b1c) = iVar5" (pointer_expression "*(int *)(puVar1 + -0x5b1c)" * (cast_expression "(int *)(puVar1 + -0x5b1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b1c)" ( (binary_expression "puVar1 + -0x5b1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar8 = (*(code *)puVar3)(iVar5);" (assignment_expression "uVar8 = (*(code *)puVar3)(iVar5)" identifier = (call_expression "(*(code *)puVar3)(iVar5)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier )))) ;) (expression_statement "pbVar4 = abfd->my_archive;" (assignment_expression "pbVar4 = abfd->my_archive" identifier = (field_expression "abfd->my_archive" identifier -> field_identifier)) ;) (expression_statement "pcVar10 = abfd->filename;" (assignment_expression "pcVar10 = abfd->filename" identifier = (field_expression "abfd->filename" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x5b20) = uVar8;" (assignment_expression "*(undefined4 *)(puVar2 + -0x5b20) = uVar8" (pointer_expression "*(undefined4 *)(puVar2 + -0x5b20)" * (cast_expression "(undefined4 *)(puVar2 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5b20)" ( (binary_expression "puVar2 + -0x5b20" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)PTR_sprintf_0002a300)(uVar8,PTR_DAT_0002a25c + -0x6e78,pbVar4->filename,pcVar10);" (call_expression "(*(code *)PTR_sprintf_0002a300)(uVar8,PTR_DAT_0002a25c + -0x6e78,pbVar4->filename,pcVar10)" (parenthesized_expression "(*(code *)PTR_sprintf_0002a300)" ( (pointer_expression "*(code *)PTR_sprintf_0002a300" * (cast_expression "(code *)PTR_sprintf_0002a300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,PTR_DAT_0002a25c + -0x6e78,pbVar4->filename,pcVar10)" ( identifier , (binary_expression "PTR_DAT_0002a25c + -0x6e78" identifier + number_literal) , (field_expression "pbVar4->filename" identifier -> field_identifier) , identifier ))) ;) (expression_statement "pcVar10 = *(char **)(puVar2 + -0x5b20);" (assignment_expression "pcVar10 = *(char **)(puVar2 + -0x5b20)" identifier = (pointer_expression "*(char **)(puVar2 + -0x5b20)" * (cast_expression "(char **)(puVar2 + -0x5b20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + -0x5b20)" ( (binary_expression "puVar2 + -0x5b20" identifier + number_literal) ))))) ;) })) (return_statement "return pcVar10;" return identifier ;) })))
(translation_unit "undefined4 bfd_get_archive_filename(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }\n  puVar4 = (undefined4 *)param_1[0x25];\n  uVar9 = *param_1;\n  if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }\n  return uVar9;\n}\n\n" (function_definition "undefined4 bfd_get_archive_filename(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }\n  puVar4 = (undefined4 *)param_1[0x25];\n  uVar9 = *param_1;\n  if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }\n  return uVar9;\n}" type_identifier (function_declarator "bfd_get_archive_filename(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }\n  puVar4 = (undefined4 *)param_1[0x25];\n  uVar9 = *param_1;\n  if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }\n  return uVar9;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_DAT_0002a248;" (assignment_expression "puVar1 = PTR_DAT_0002a248" identifier = identifier) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\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    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }" { (expression_statement "uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);" (assignment_expression "uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50)" identifier = (call_expression "(*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50)" (parenthesized_expression "(*(code *)PTR___assert_fail_0002a2b8)" ( (pointer_expression "*(code *)PTR___assert_fail_0002a2b8" * (cast_expression "(code *)PTR___assert_fail_0002a2b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50)" ( (binary_expression "PTR_DAT_0002a25c + -0x6e88" identifier + number_literal) , (binary_expression "PTR_DAT_0002a25c + -0x6ea0" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0002a25c + -0x6e50" identifier + number_literal) )))) ;) (return_statement "return uVar9;" return identifier ;) })) (expression_statement "puVar4 = (undefined4 *)param_1[0x25];" (assignment_expression "puVar4 = (undefined4 *)param_1[0x25]" identifier = (cast_expression "(undefined4 *)param_1[0x25]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x25]" identifier [ number_literal ]))) ;) (expression_statement "uVar9 = *param_1;" (assignment_expression "uVar9 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }" if (parenthesized_expression "((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb]))" ( (binary_expression "(puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])" (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(-1 < (int)puVar4[0xb])" ( (binary_expression "-1 < (int)puVar4[0xb]" number_literal < (cast_expression "(int)puVar4[0xb]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[0xb]" identifier [ number_literal ]))) ))) )) (compound_statement "{\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }" { (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);" (assignment_expression "iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10)" identifier = (call_expression "(*(code *)PTR_strlen_0002a370)(uVar10)" (parenthesized_expression "(*(code *)PTR_strlen_0002a370)" ( (pointer_expression "*(code *)PTR_strlen_0002a370" * (cast_expression "(code *)PTR_strlen_0002a370" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar10)" ( identifier )))) ;) (expression_statement "iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9)" identifier = (call_expression "(*(code *)PTR_strlen_0002a370)(uVar9)" (parenthesized_expression "(*(code *)PTR_strlen_0002a370)" ( (pointer_expression "*(code *)PTR_strlen_0002a370" * (cast_expression "(code *)PTR_strlen_0002a370" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9)" ( identifier )))) ;) (expression_statement "puVar2 = PTR_DAT_0002a248;" (assignment_expression "puVar2 = PTR_DAT_0002a248" identifier = identifier) ;) (expression_statement "uVar7 = *(uint *)(puVar1 + -0x5b1c);" (assignment_expression "uVar7 = *(uint *)(puVar1 + -0x5b1c)" identifier = (pointer_expression "*(uint *)(puVar1 + -0x5b1c)" * (cast_expression "(uint *)(puVar1 + -0x5b1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b1c)" ( (binary_expression "puVar1 + -0x5b1c" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = iVar5 + iVar6 + 3;" (assignment_expression "uVar8 = iVar5 + iVar6 + 3" identifier = (binary_expression "iVar5 + iVar6 + 3" (binary_expression "iVar5 + iVar6" identifier + identifier) + number_literal)) ;) (if_statement "if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }" if (parenthesized_expression "(uVar8 <= uVar7)" ( (binary_expression "uVar8 <= uVar7" identifier <= identifier) )) (compound_statement "{\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }" { (expression_statement "(*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );" (call_expression "(*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                )" (parenthesized_expression "(*(code *)PTR_sprintf_0002a300)" ( (pointer_expression "*(code *)PTR_sprintf_0002a300" * (cast_expression "(code *)PTR_sprintf_0002a300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                )" ( (pointer_expression "*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a248 + -0x5b20)" ( (binary_expression "PTR_DAT_0002a248 + -0x5b20" identifier + number_literal) )))) , (binary_expression "PTR_DAT_0002a25c + -0x6e78" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return *(undefined4 *)(puVar2 + -0x5b20);" return (pointer_expression "*(undefined4 *)(puVar2 + -0x5b20)" * (cast_expression "(undefined4 *)(puVar2 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5b20)" ( (binary_expression "puVar2 + -0x5b20" identifier + number_literal) )))) ;) })) (if_statement "if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }" { (expression_statement "(*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));" (call_expression "(*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20))" (parenthesized_expression "(*(code *)PTR_free_0002a3f4)" ( (pointer_expression "*(code *)PTR_free_0002a3f4" * (cast_expression "(code *)PTR_free_0002a3f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20))" ( (pointer_expression "*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" * (cast_expression "(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002a248 + -0x5b20)" ( (binary_expression "PTR_DAT_0002a248 + -0x5b20" identifier + number_literal) )))) ))) ;) })) (expression_statement "puVar3 = PTR_xmalloc_0002a3b4;" (assignment_expression "puVar3 = PTR_xmalloc_0002a3b4" identifier = identifier) ;) (expression_statement "iVar5 = (uVar8 >> 1) + uVar8;" (assignment_expression "iVar5 = (uVar8 >> 1) + uVar8" identifier = (binary_expression "(uVar8 >> 1) + uVar8" (parenthesized_expression "(uVar8 >> 1)" ( (binary_expression "uVar8 >> 1" identifier >> number_literal) )) + identifier)) ;) (expression_statement "*(int *)(puVar1 + -0x5b1c) = iVar5;" (assignment_expression "*(int *)(puVar1 + -0x5b1c) = iVar5" (pointer_expression "*(int *)(puVar1 + -0x5b1c)" * (cast_expression "(int *)(puVar1 + -0x5b1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x5b1c)" ( (binary_expression "puVar1 + -0x5b1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar9 = (*(code *)puVar3)(iVar5);" (assignment_expression "uVar9 = (*(code *)puVar3)(iVar5)" identifier = (call_expression "(*(code *)puVar3)(iVar5)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier )))) ;) (expression_statement "puVar4 = (undefined4 *)param_1[0x25];" (assignment_expression "puVar4 = (undefined4 *)param_1[0x25]" identifier = (cast_expression "(undefined4 *)param_1[0x25]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x25]" identifier [ number_literal ]))) ;) (expression_statement "uVar10 = *param_1;" (assignment_expression "uVar10 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x5b20) = uVar9;" (assignment_expression "*(undefined4 *)(puVar2 + -0x5b20) = uVar9" (pointer_expression "*(undefined4 *)(puVar2 + -0x5b20)" * (cast_expression "(undefined4 *)(puVar2 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5b20)" ( (binary_expression "puVar2 + -0x5b20" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);" (call_expression "(*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10)" (parenthesized_expression "(*(code *)PTR_sprintf_0002a300)" ( (pointer_expression "*(code *)PTR_sprintf_0002a300" * (cast_expression "(code *)PTR_sprintf_0002a300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10)" ( identifier , (binary_expression "PTR_DAT_0002a25c + -0x6e78" identifier + number_literal) , (pointer_expression "*puVar4" * identifier) , identifier ))) ;) (expression_statement "uVar9 = *(undefined4 *)(puVar2 + -0x5b20);" (assignment_expression "uVar9 = *(undefined4 *)(puVar2 + -0x5b20)" identifier = (pointer_expression "*(undefined4 *)(puVar2 + -0x5b20)" * (cast_expression "(undefined4 *)(puVar2 + -0x5b20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x5b20)" ( (binary_expression "puVar2 + -0x5b20" identifier + number_literal) ))))) ;) })) (return_statement "return uVar9;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (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 LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 bfd_get_archive_filename(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }\n  puVar4 = (undefined4 *)param_1[0x25];\n  uVar9 = *param_1;\n  if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }\n  return uVar9;\n}" (type_identifier "undefined4") (function_declarator "bfd_get_archive_filename(undefined4 *param_1)" (identifier "bfd_get_archive_filename") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  undefined4 uVar9;\n  undefined4 uVar10;\n  \n  puVar1 = PTR_DAT_0002a248;\n  if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }\n  puVar4 = (undefined4 *)param_1[0x25];\n  uVar9 = *param_1;\n  if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }\n  return uVar9;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (expression_statement "puVar1 = PTR_DAT_0002a248;" (assignment_expression "puVar1 = PTR_DAT_0002a248" (identifier "puVar1") (= "=") (identifier "PTR_DAT_0002a248")) (; ";")) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\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    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);\n    return uVar9;\n  }" ({ "{") (expression_statement "uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50);" (assignment_expression "uVar9 = (*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50)" (identifier "uVar9") (= "=") (call_expression "(*(code *)PTR___assert_fail_0002a2b8)\n                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50)" (parenthesized_expression "(*(code *)PTR___assert_fail_0002a2b8)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_0002a2b8" (* "*") (cast_expression "(code *)PTR___assert_fail_0002a2b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_0002a2b8"))) () ")")) (argument_list "(PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,\n                       PTR_DAT_0002a25c + -0x6e50)" (( "(") (binary_expression "PTR_DAT_0002a25c + -0x6e88" (identifier "PTR_DAT_0002a25c") (+ "+") (number_literal "-0x6e88")) (, ",") (binary_expression "PTR_DAT_0002a25c + -0x6ea0" (identifier "PTR_DAT_0002a25c") (+ "+") (number_literal "-0x6ea0")) (, ",") (number_literal "0x279") (, ",") (binary_expression "PTR_DAT_0002a25c + -0x6e50" (identifier "PTR_DAT_0002a25c") (+ "+") (number_literal "-0x6e50")) () ")")))) (; ";")) (return_statement "return uVar9;" (return "return") (identifier "uVar9") (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)param_1[0x25];" (assignment_expression "puVar4 = (undefined4 *)param_1[0x25]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)param_1[0x25]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x25]" (identifier "param_1") ([ "[") (number_literal "0x25") (] "]")))) (; ";")) (expression_statement "uVar9 = *param_1;" (assignment_expression "uVar9 = *param_1" (identifier "uVar9") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }" (if "if") (parenthesized_expression "((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb]))" (( "(") (binary_expression "(puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])" (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(-1 < (int)puVar4[0xb])" (( "(") (binary_expression "-1 < (int)puVar4[0xb]" (number_literal "-1") (< "<") (cast_expression "(int)puVar4[0xb]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar4[0xb]" (identifier "puVar4") ([ "[") (number_literal "0xb") (] "]")))) () ")"))) () ")")) (compound_statement "{\n    uVar10 = *puVar4;\n    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);\n    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);\n    puVar2 = PTR_DAT_0002a248;\n    uVar7 = *(uint *)(puVar1 + -0x5b1c);\n    uVar8 = iVar5 + iVar6 + 3;\n    if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }\n    if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }\n    puVar3 = PTR_xmalloc_0002a3b4;\n    iVar5 = (uVar8 >> 1) + uVar8;\n    *(int *)(puVar1 + -0x5b1c) = iVar5;\n    uVar9 = (*(code *)puVar3)(iVar5);\n    puVar4 = (undefined4 *)param_1[0x25];\n    uVar10 = *param_1;\n    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;\n    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);\n    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);\n  }" ({ "{") (expression_statement "uVar10 = *puVar4;" (assignment_expression "uVar10 = *puVar4" (identifier "uVar10") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);" (assignment_expression "iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_strlen_0002a370)(uVar10)" (parenthesized_expression "(*(code *)PTR_strlen_0002a370)" (( "(") (pointer_expression "*(code *)PTR_strlen_0002a370" (* "*") (cast_expression "(code *)PTR_strlen_0002a370" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0002a370"))) () ")")) (argument_list "(uVar10)" (( "(") (identifier "uVar10") () ")")))) (; ";")) (expression_statement "iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);" (assignment_expression "iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strlen_0002a370)(uVar9)" (parenthesized_expression "(*(code *)PTR_strlen_0002a370)" (( "(") (pointer_expression "*(code *)PTR_strlen_0002a370" (* "*") (cast_expression "(code *)PTR_strlen_0002a370" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0002a370"))) () ")")) (argument_list "(uVar9)" (( "(") (identifier "uVar9") () ")")))) (; ";")) (expression_statement "puVar2 = PTR_DAT_0002a248;" (assignment_expression "puVar2 = PTR_DAT_0002a248" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0002a248")) (; ";")) (expression_statement "uVar7 = *(uint *)(puVar1 + -0x5b1c);" (assignment_expression "uVar7 = *(uint *)(puVar1 + -0x5b1c)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(puVar1 + -0x5b1c)" (* "*") (cast_expression "(uint *)(puVar1 + -0x5b1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5b1c)" (( "(") (binary_expression "puVar1 + -0x5b1c" (identifier "puVar1") (+ "+") (number_literal "-0x5b1c")) () ")"))))) (; ";")) (expression_statement "uVar8 = iVar5 + iVar6 + 3;" (assignment_expression "uVar8 = iVar5 + iVar6 + 3" (identifier "uVar8") (= "=") (binary_expression "iVar5 + iVar6 + 3" (binary_expression "iVar5 + iVar6" (identifier "iVar5") (+ "+") (identifier "iVar6")) (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (uVar8 <= uVar7) {\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }" (if "if") (parenthesized_expression "(uVar8 <= uVar7)" (( "(") (binary_expression "uVar8 <= uVar7" (identifier "uVar8") (<= "<=") (identifier "uVar7")) () ")")) (compound_statement "{\n      (*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );\n      return *(undefined4 *)(puVar2 + -0x5b20);\n    }" ({ "{") (expression_statement "(*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                );" (call_expression "(*(code *)PTR_sprintf_0002a300)\n                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                )" (parenthesized_expression "(*(code *)PTR_sprintf_0002a300)" (( "(") (pointer_expression "*(code *)PTR_sprintf_0002a300" (* "*") (cast_expression "(code *)PTR_sprintf_0002a300" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sprintf_0002a300"))) () ")")) (argument_list "(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9\n                )" (( "(") (pointer_expression "*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a248 + -0x5b20)" (( "(") (binary_expression "PTR_DAT_0002a248 + -0x5b20" (identifier "PTR_DAT_0002a248") (+ "+") (number_literal "-0x5b20")) () ")")))) (, ",") (binary_expression "PTR_DAT_0002a25c + -0x6e78" (identifier "PTR_DAT_0002a25c") (+ "+") (number_literal "-0x6e78")) (, ",") (identifier "uVar10") (, ",") (identifier "uVar9") () ")"))) (; ";")) (return_statement "return *(undefined4 *)(puVar2 + -0x5b20);" (return "return") (pointer_expression "*(undefined4 *)(puVar2 + -0x5b20)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0x5b20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x5b20)" (( "(") (binary_expression "puVar2 + -0x5b20" (identifier "puVar2") (+ "+") (number_literal "-0x5b20")) () ")")))) (; ";")) (} "}"))) (if_statement "if (uVar7 != 0) {\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }" (if "if") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));\n    }" ({ "{") (expression_statement "(*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));" (call_expression "(*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20))" (parenthesized_expression "(*(code *)PTR_free_0002a3f4)" (( "(") (pointer_expression "*(code *)PTR_free_0002a3f4" (* "*") (cast_expression "(code *)PTR_free_0002a3f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0002a3f4"))) () ")")) (argument_list "(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20))" (( "(") (pointer_expression "*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0002a248 + -0x5b20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002a248 + -0x5b20)" (( "(") (binary_expression "PTR_DAT_0002a248 + -0x5b20" (identifier "PTR_DAT_0002a248") (+ "+") (number_literal "-0x5b20")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar3 = PTR_xmalloc_0002a3b4;" (assignment_expression "puVar3 = PTR_xmalloc_0002a3b4" (identifier "puVar3") (= "=") (identifier "PTR_xmalloc_0002a3b4")) (; ";")) (expression_statement "iVar5 = (uVar8 >> 1) + uVar8;" (assignment_expression "iVar5 = (uVar8 >> 1) + uVar8" (identifier "iVar5") (= "=") (binary_expression "(uVar8 >> 1) + uVar8" (parenthesized_expression "(uVar8 >> 1)" (( "(") (binary_expression "uVar8 >> 1" (identifier "uVar8") (>> ">>") (number_literal "1")) () ")")) (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "*(int *)(puVar1 + -0x5b1c) = iVar5;" (assignment_expression "*(int *)(puVar1 + -0x5b1c) = iVar5" (pointer_expression "*(int *)(puVar1 + -0x5b1c)" (* "*") (cast_expression "(int *)(puVar1 + -0x5b1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x5b1c)" (( "(") (binary_expression "puVar1 + -0x5b1c" (identifier "puVar1") (+ "+") (number_literal "-0x5b1c")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "uVar9 = (*(code *)puVar3)(iVar5);" (assignment_expression "uVar9 = (*(code *)puVar3)(iVar5)" (identifier "uVar9") (= "=") (call_expression "(*(code *)puVar3)(iVar5)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")")))) (; ";")) (expression_statement "puVar4 = (undefined4 *)param_1[0x25];" (assignment_expression "puVar4 = (undefined4 *)param_1[0x25]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)param_1[0x25]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x25]" (identifier "param_1") ([ "[") (number_literal "0x25") (] "]")))) (; ";")) (expression_statement "uVar10 = *param_1;" (assignment_expression "uVar10 = *param_1" (identifier "uVar10") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0x5b20) = uVar9;" (assignment_expression "*(undefined4 *)(puVar2 + -0x5b20) = uVar9" (pointer_expression "*(undefined4 *)(puVar2 + -0x5b20)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0x5b20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x5b20)" (( "(") (binary_expression "puVar2 + -0x5b20" (identifier "puVar2") (+ "+") (number_literal "-0x5b20")) () ")")))) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "(*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);" (call_expression "(*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10)" (parenthesized_expression "(*(code *)PTR_sprintf_0002a300)" (( "(") (pointer_expression "*(code *)PTR_sprintf_0002a300" (* "*") (cast_expression "(code *)PTR_sprintf_0002a300" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sprintf_0002a300"))) () ")")) (argument_list "(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10)" (( "(") (identifier "uVar9") (, ",") (binary_expression "PTR_DAT_0002a25c + -0x6e78" (identifier "PTR_DAT_0002a25c") (+ "+") (number_literal "-0x6e78")) (, ",") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (, ",") (identifier "uVar10") () ")"))) (; ";")) (expression_statement "uVar9 = *(undefined4 *)(puVar2 + -0x5b20);" (assignment_expression "uVar9 = *(undefined4 *)(puVar2 + -0x5b20)" (identifier "uVar9") (= "=") (pointer_expression "*(undefined4 *)(puVar2 + -0x5b20)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0x5b20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x5b20)" (( "(") (binary_expression "puVar2 + -0x5b20" (identifier "puVar2") (+ "+") (number_literal "-0x5b20")) () ")"))))) (; ";")) (} "}"))) (return_statement "return uVar9;" (return "return") (identifier "uVar9") (; ";")) (} "}")))

char * function_1(type_1 *var_1)

{
  type_2 *var_4;
  type_2 *var_10;
  type_2 *puVar3;
  type_1 *var_3;
  int var_5;
  int var_6;
  type_3 var_8;
  type_4 uVar8;
  type_3 var_7;
  char *pcVar10;
  char *pcVar11;
  
  var_4 = var_9;
  if (var_1 == (type_1 *)0x0) {
    pcVar10 = (char *)(*(type_5 *)PTR___assert_fail_0002a2b8)
                                (var_2 + -0x6e88,var_2 + -0x6ea0,0x279,
                                 var_2 + -0x6e50);
    return pcVar10;
  }
  var_3 = var_1->my_archive;
  pcVar10 = var_1->filename;
  if ((var_3 != (type_1 *)0x0) && (-1 < *(int *)&var_3->field_0x2c)) {
    pcVar11 = var_3->filename;
    var_5 = (*(type_5 *)PTR_strlen_0002a370)(pcVar11);
    var_6 = (*(type_5 *)PTR_strlen_0002a370)(pcVar10);
    var_10 = var_9;
    var_8 = *(type_3 *)(var_4 + -0x5b1c);
    var_7 = var_5 + var_6 + 3;
    if (var_7 <= var_8) {
      (*(type_5 *)PTR_sprintf_0002a300)
                (*(type_4 *)(var_9 + -0x5b20),var_2 + -0x6e78,pcVar11,
                 pcVar10);
      return *(char **)(var_10 + -0x5b20);
    }
    if (var_8 != 0) {
      (*(type_5 *)PTR_free_0002a3f4)(*(type_4 *)(var_9 + -0x5b20));
    }
    puVar3 = PTR_xmalloc_0002a3b4;
    var_5 = (var_7 >> 1) + var_7;
    *(int *)(var_4 + -0x5b1c) = var_5;
    uVar8 = (*(type_5 *)puVar3)(var_5);
    var_3 = var_1->my_archive;
    pcVar10 = var_1->filename;
    *(type_4 *)(var_10 + -0x5b20) = uVar8;
    (*(type_5 *)PTR_sprintf_0002a300)(uVar8,var_2 + -0x6e78,var_3->filename,pcVar10);
    pcVar10 = *(char **)(var_10 + -0x5b20);
  }
  return pcVar10;
}


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

undefined4 MASKED(undefined4 *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  undefined4 uVar9;
  undefined4 uVar10;
  
  puVar1 = PTR_DAT_0002a248;
  if (param_1 == (undefined4 *)0x0) {
    uVar9 = (*(code *)PTR___assert_fail_0002a2b8)
                      (PTR_DAT_0002a25c + -0x6e88,PTR_DAT_0002a25c + -0x6ea0,0x279,
                       PTR_DAT_0002a25c + -0x6e50);
    return uVar9;
  }
  puVar4 = (undefined4 *)param_1[0x25];
  uVar9 = *param_1;
  if ((puVar4 != (undefined4 *)0x0) && (-1 < (int)puVar4[0xb])) {
    uVar10 = *puVar4;
    iVar5 = (*(code *)PTR_strlen_0002a370)(uVar10);
    iVar6 = (*(code *)PTR_strlen_0002a370)(uVar9);
    puVar2 = PTR_DAT_0002a248;
    uVar7 = *(uint *)(puVar1 + -0x5b1c);
    uVar8 = iVar5 + iVar6 + 3;
    if (uVar8 <= uVar7) {
      (*(code *)PTR_sprintf_0002a300)
                (*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20),PTR_DAT_0002a25c + -0x6e78,uVar10,uVar9
                );
      return *(undefined4 *)(puVar2 + -0x5b20);
    }
    if (uVar7 != 0) {
      (*(code *)PTR_free_0002a3f4)(*(undefined4 *)(PTR_DAT_0002a248 + -0x5b20));
    }
    puVar3 = PTR_xmalloc_0002a3b4;
    iVar5 = (uVar8 >> 1) + uVar8;
    *(int *)(puVar1 + -0x5b1c) = iVar5;
    uVar9 = (*(code *)puVar3)(iVar5);
    puVar4 = (undefined4 *)param_1[0x25];
    uVar10 = *param_1;
    *(undefined4 *)(puVar2 + -0x5b20) = uVar9;
    (*(code *)PTR_sprintf_0002a300)(uVar9,PTR_DAT_0002a25c + -0x6e78,*puVar4,uVar10);
    uVar9 = *(undefined4 *)(puVar2 + -0x5b20);
  }
  return uVar9;
}

