
off_t get_file_size(char *file_name)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  char *pcVar4;
  undefined *puVar5;
  stat statbuf;
  
  if (file_name == (char *)0x0) {
    return -1;
  }
  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,file_name,&statbuf);
  if (iVar1 < 0) {
    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();
    if (*piVar2 != 2) {
      pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);
      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);
      non_fatal(pcVar4,file_name,uVar3);
      return -1;
    }
    puVar5 = PTR_DAT_0002f0d8 + -0x2214;
  }
  else if ((statbuf.st_mode & 0xf000) == 0x4000) {
    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;
  }
  else if ((statbuf.st_mode & 0xf000) == 0x8000) {
    if (-1 < statbuf.st_size._0_4_) {
      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);
    }
    puVar5 = PTR_DAT_0002f0d8 + -0x218c;
  }
  else {
    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;
  }
  pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);
  non_fatal(pcVar4,file_name);
  return -1;
}



undefined8 get_file_size(int param_1)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined1 auStack_b0 [24];
  uint local_98;
  int local_78;
  undefined4 local_74;
  
  if (param_1 == 0) {
    return 0xffffffffffffffff;
  }
  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);
  if (iVar1 < 0) {
    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();
    if (*piVar2 != 2) {
      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);
      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);
      non_fatal(uVar4,param_1,uVar3);
      return 0xffffffffffffffff;
    }
    puVar5 = PTR_DAT_0002f0d8 + -0x2214;
  }
  else if ((local_98 & 0xf000) == 0x4000) {
    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;
  }
  else if ((local_98 & 0xf000) == 0x8000) {
    if (-1 < local_78) {
      return CONCAT44(local_78,local_74);
    }
    puVar5 = PTR_DAT_0002f0d8 + -0x218c;
  }
  else {
    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;
  }
  uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);
  non_fatal(uVar4,param_1);
  return 0xffffffffffffffff;
}


lui gp,0x2
addiu gp,gp,-0x2b5c
addu gp,gp,t9
beq a0,zero,0x00019d54
_li v0,-0x1
addiu sp,sp,-0xc8
lw t9,-0x7e58(gp)
addiu a2,sp,0x18
sw s0,0xbc(sp)
or s0,a0,zero
li a0,0x3
sw gp,0x10(sp)
sw ra,0xc4(sp)
or a1,s0,zero
jalr t9
_sw s1,0xc0(sp)
bltz v0,0x00019c7c
_lw gp,0x10(sp)
lw v0,0x30(sp)
li v1,0x4000
andi v0,v0,0xf000
beq v0,v1,0x00019d74
_ori v1,zero,0x8000
bne v0,v1,0x00019d3c
_lw v0,0x50(sp)
bltz v0,0x00019d5c
_lw v1,0x54(sp)
lw ra,0xc4(sp)
lw s1,0xc0(sp)
lw s0,0xbc(sp)
jr ra
_addiu sp,sp,0xc8
lw t9,-0x7ddc(gp)
jalr t9
_nop
li v1,0x2
lw gp,0x10(sp)
or s1,v0,zero
lw v0,0x0(v0)
li a2,0x5
or a0,zero,zero
beq v0,v1,0x00019cfc
_lw t9,-0x7d2c(gp)
lw a1,-0x7fc8(gp)
jalr t9
_addiu a1,a1,-0x2200
lw gp,0x10(sp)
lw a0,0x0(s1)
lw t9,-0x7d88(gp)
jalr t9
_or s1,v0,zero
or a1,s0,zero
lw gp,0x10(sp)
or a2,v0,zero
lw t9,-0x7f80(gp)
bal 0x000190d8
_or a0,s1,zero
li v0,-0x1
lw ra,0xc4(sp)
li v1,-0x1
lw s1,0xc0(sp)
lw s0,0xbc(sp)
jr ra
_addiu sp,sp,0xc8
lw a1,-0x7fc8(gp)
addiu a1,a1,-0x2214
jalr t9
_nop
or a1,s0,zero
lw gp,0x10(sp)
lw t9,-0x7f80(gp)
bal 0x000190d8
_or a0,v0,zero
li v0,-0x1
lw ra,0xc4(sp)
li v1,-0x1
lw s1,0xc0(sp)
lw s0,0xbc(sp)
jr ra
_addiu sp,sp,0xc8
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7d2c(gp)
or a0,zero,zero
b 0x00019d04
_addiu a1,a1,-0x21b4
jr ra
_li v1,-0x1
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7d2c(gp)
or a0,zero,zero
b 0x00019d04
_addiu a1,a1,-0x218c
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7d2c(gp)
or a0,zero,zero
b 0x00019d04
_addiu a1,a1,-0x21d4
(translation_unit "undefined8 get_file_size(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 auStack_b0 [24];\n  uint local_98;\n  int local_78;\n  undefined4 local_74;\n  \n  if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(uVar4,param_1);\n  return 0xffffffffffffffff;\n}\n\n" (function_definition "undefined8 get_file_size(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 auStack_b0 [24];\n  uint local_98;\n  int local_78;\n  undefined4 local_74;\n  \n  if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(uVar4,param_1);\n  return 0xffffffffffffffff;\n}" type_identifier (function_declarator "get_file_size(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 auStack_b0 [24];\n  uint local_98;\n  int local_78;\n  undefined4 local_74;\n  \n  if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(uVar4,param_1);\n  return 0xffffffffffffffff;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 auStack_b0 [24];" type_identifier (array_declarator "auStack_b0 [24]" identifier [ number_literal ]) ;) (declaration "uint local_98;" type_identifier identifier ;) (declaration "int local_78;" primitive_type identifier ;) (declaration "undefined4 local_74;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0xffffffffffffffff;\n  }" { (return_statement "return 0xffffffffffffffff;" return number_literal ;) })) (expression_statement "iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);" (assignment_expression "iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0)" identifier = (call_expression "(*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0)" (parenthesized_expression "(*(code *)PTR___xstat64_0002f248)" ( (pointer_expression "*(code *)PTR___xstat64_0002f248" * (cast_expression "(code *)PTR___xstat64_0002f248" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_1,auStack_b0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0002f2c4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002f2c4)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002f2c4)" ( (pointer_expression "*(code *)PTR___errno_location_0002f2c4" * (cast_expression "(code *)PTR___errno_location_0002f2c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }" if (parenthesized_expression "(*piVar2 != 2)" ( (binary_expression "*piVar2 != 2" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }" { (expression_statement "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002f374)" ( (pointer_expression "*(code *)PTR_dcgettext_0002f374" * (cast_expression "(code *)PTR_dcgettext_0002f374" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002f0d8 + -0x2200,5)" ( number_literal , (binary_expression "PTR_DAT_0002f0d8 + -0x2200" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);" (assignment_expression "uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2)" identifier = (call_expression "(*(code *)PTR_strerror_0002f318)(*piVar2)" (parenthesized_expression "(*(code *)PTR_strerror_0002f318)" ( (pointer_expression "*(code *)PTR_strerror_0002f318" * (cast_expression "(code *)PTR_strerror_0002f318" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*piVar2)" ( (pointer_expression "*piVar2" * identifier) )))) ;) (expression_statement "non_fatal(uVar4,param_1,uVar3);" (call_expression "non_fatal(uVar4,param_1,uVar3)" identifier (argument_list "(uVar4,param_1,uVar3)" ( identifier , identifier , identifier ))) ;) (return_statement "return 0xffffffffffffffff;" return number_literal ;) })) (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x2214;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x2214" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x2214" identifier + number_literal)) ;) }) (else_clause "else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" else (if_statement "if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" if (parenthesized_expression "((local_98 & 0xf000) == 0x4000)" ( (binary_expression "(local_98 & 0xf000) == 0x4000" (parenthesized_expression "(local_98 & 0xf000)" ( (binary_expression "local_98 & 0xf000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }" { (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x21d4;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x21d4" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x21d4" identifier + number_literal)) ;) }) (else_clause "else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" else (if_statement "if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" if (parenthesized_expression "((local_98 & 0xf000) == 0x8000)" ( (binary_expression "(local_98 & 0xf000) == 0x8000" (parenthesized_expression "(local_98 & 0xf000)" ( (binary_expression "local_98 & 0xf000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }" { (if_statement "if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }" if (parenthesized_expression "(-1 < local_78)" ( (binary_expression "-1 < local_78" number_literal < identifier) )) (compound_statement "{\n      return CONCAT44(local_78,local_74);\n    }" { (return_statement "return CONCAT44(local_78,local_74);" return (call_expression "CONCAT44(local_78,local_74)" identifier (argument_list "(local_78,local_74)" ( identifier , identifier ))) ;) })) (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x218c;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x218c" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x218c" identifier + number_literal)) ;) }) (else_clause "else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" else (compound_statement "{\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" { (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x21b4;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x21b4" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x21b4" identifier + number_literal)) ;) }))))))) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002f374)" ( (pointer_expression "*(code *)PTR_dcgettext_0002f374" * (cast_expression "(code *)PTR_dcgettext_0002f374" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar5,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "non_fatal(uVar4,param_1);" (call_expression "non_fatal(uVar4,param_1)" identifier (argument_list "(uVar4,param_1)" ( identifier , identifier ))) ;) (return_statement "return 0xffffffffffffffff;" return number_literal ;) })))
(translation_unit "off_t get_file_size(char *file_name)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  stat statbuf;\n  \n  if (file_name == (char *)0x0) {\n    return -1;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,file_name,&statbuf);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(pcVar4,file_name,uVar3);\n      return -1;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((statbuf.st_mode & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((statbuf.st_mode & 0xf000) == 0x8000) {\n    if (-1 < statbuf.st_size._0_4_) {\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(pcVar4,file_name);\n  return -1;\n}\n\n" (function_definition "off_t get_file_size(char *file_name)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  stat statbuf;\n  \n  if (file_name == (char *)0x0) {\n    return -1;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,file_name,&statbuf);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(pcVar4,file_name,uVar3);\n      return -1;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((statbuf.st_mode & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((statbuf.st_mode & 0xf000) == 0x8000) {\n    if (-1 < statbuf.st_size._0_4_) {\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(pcVar4,file_name);\n  return -1;\n}" type_identifier (function_declarator "get_file_size(char *file_name)" identifier (parameter_list "(char *file_name)" ( (parameter_declaration "char *file_name" primitive_type (pointer_declarator "*file_name" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  stat statbuf;\n  \n  if (file_name == (char *)0x0) {\n    return -1;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,file_name,&statbuf);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(pcVar4,file_name,uVar3);\n      return -1;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((statbuf.st_mode & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((statbuf.st_mode & 0xf000) == 0x8000) {\n    if (-1 < statbuf.st_size._0_4_) {\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(pcVar4,file_name);\n  return -1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "stat statbuf;" type_identifier identifier ;) (if_statement "if (file_name == (char *)0x0) {\n    return -1;\n  }" if (parenthesized_expression "(file_name == (char *)0x0)" ( (binary_expression "file_name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return -1;\n  }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar1 = (*(code *)PTR___xstat64_0002f248)(3,file_name,&statbuf);" (assignment_expression "iVar1 = (*(code *)PTR___xstat64_0002f248)(3,file_name,&statbuf)" identifier = (call_expression "(*(code *)PTR___xstat64_0002f248)(3,file_name,&statbuf)" (parenthesized_expression "(*(code *)PTR___xstat64_0002f248)" ( (pointer_expression "*(code *)PTR___xstat64_0002f248" * (cast_expression "(code *)PTR___xstat64_0002f248" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,file_name,&statbuf)" ( number_literal , identifier , (pointer_expression "&statbuf" & identifier) )))) ;) (if_statement "if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(pcVar4,file_name,uVar3);\n      return -1;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((statbuf.st_mode & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((statbuf.st_mode & 0xf000) == 0x8000) {\n    if (-1 < statbuf.st_size._0_4_) {\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(pcVar4,file_name,uVar3);\n      return -1;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0002f2c4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002f2c4)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002f2c4)" ( (pointer_expression "*(code *)PTR___errno_location_0002f2c4" * (cast_expression "(code *)PTR___errno_location_0002f2c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar2 != 2) {\n      pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(pcVar4,file_name,uVar3);\n      return -1;\n    }" if (parenthesized_expression "(*piVar2 != 2)" ( (binary_expression "*piVar2 != 2" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n      pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(pcVar4,file_name,uVar3);\n      return -1;\n    }" { (expression_statement "pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002f374)" ( (pointer_expression "*(code *)PTR_dcgettext_0002f374" * (cast_expression "(code *)PTR_dcgettext_0002f374" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002f0d8 + -0x2200,5)" ( number_literal , (binary_expression "PTR_DAT_0002f0d8 + -0x2200" identifier + number_literal) , number_literal ))))) ;) (expression_statement "uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);" (assignment_expression "uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2)" identifier = (call_expression "(*(code *)PTR_strerror_0002f318)(*piVar2)" (parenthesized_expression "(*(code *)PTR_strerror_0002f318)" ( (pointer_expression "*(code *)PTR_strerror_0002f318" * (cast_expression "(code *)PTR_strerror_0002f318" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*piVar2)" ( (pointer_expression "*piVar2" * identifier) )))) ;) (expression_statement "non_fatal(pcVar4,file_name,uVar3);" (call_expression "non_fatal(pcVar4,file_name,uVar3)" identifier (argument_list "(pcVar4,file_name,uVar3)" ( identifier , identifier , identifier ))) ;) (return_statement "return -1;" return number_literal ;) })) (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x2214;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x2214" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x2214" identifier + number_literal)) ;) }) (else_clause "else if ((statbuf.st_mode & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((statbuf.st_mode & 0xf000) == 0x8000) {\n    if (-1 < statbuf.st_size._0_4_) {\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" else (if_statement "if ((statbuf.st_mode & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((statbuf.st_mode & 0xf000) == 0x8000) {\n    if (-1 < statbuf.st_size._0_4_) {\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" if (parenthesized_expression "((statbuf.st_mode & 0xf000) == 0x4000)" ( (binary_expression "(statbuf.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(statbuf.st_mode & 0xf000)" ( (binary_expression "statbuf.st_mode & 0xf000" (field_expression "statbuf.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }" { (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x21d4;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x21d4" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x21d4" identifier + number_literal)) ;) }) (else_clause "else if ((statbuf.st_mode & 0xf000) == 0x8000) {\n    if (-1 < statbuf.st_size._0_4_) {\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" else (if_statement "if ((statbuf.st_mode & 0xf000) == 0x8000) {\n    if (-1 < statbuf.st_size._0_4_) {\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" if (parenthesized_expression "((statbuf.st_mode & 0xf000) == 0x8000)" ( (binary_expression "(statbuf.st_mode & 0xf000) == 0x8000" (parenthesized_expression "(statbuf.st_mode & 0xf000)" ( (binary_expression "statbuf.st_mode & 0xf000" (field_expression "statbuf.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (-1 < statbuf.st_size._0_4_) {\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }" { (if_statement "if (-1 < statbuf.st_size._0_4_) {\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }" if (parenthesized_expression "(-1 < statbuf.st_size._0_4_)" ( (binary_expression "-1 < statbuf.st_size._0_4_" number_literal < (field_expression "statbuf.st_size._0_4_" (field_expression "statbuf.st_size" identifier . field_identifier) . field_identifier)) )) (compound_statement "{\n      return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);\n    }" { (return_statement "return CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_);" return (call_expression "CONCAT44(statbuf.st_size._0_4_,statbuf.st_size._4_4_)" identifier (argument_list "(statbuf.st_size._0_4_,statbuf.st_size._4_4_)" ( (field_expression "statbuf.st_size._0_4_" (field_expression "statbuf.st_size" identifier . field_identifier) . field_identifier) , (field_expression "statbuf.st_size._4_4_" (field_expression "statbuf.st_size" identifier . field_identifier) . field_identifier) ))) ;) })) (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x218c;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x218c" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x218c" identifier + number_literal)) ;) }) (else_clause "else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" else (compound_statement "{\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" { (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x21b4;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x21b4" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x21b4" identifier + number_literal)) ;) }))))))) (expression_statement "pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);" (assignment_expression "pcVar4 = (char *)(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5)" identifier = (cast_expression "(char *)(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002f374)" ( (pointer_expression "*(code *)PTR_dcgettext_0002f374" * (cast_expression "(code *)PTR_dcgettext_0002f374" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar5,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "non_fatal(pcVar4,file_name);" (call_expression "non_fatal(pcVar4,file_name)" identifier (argument_list "(pcVar4,file_name)" ( identifier , identifier ))) ;) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "undefined8 get_file_size(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 auStack_b0 [24];\n  uint local_98;\n  int local_78;\n  undefined4 local_74;\n  \n  if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(uVar4,param_1);\n  return 0xffffffffffffffff;\n}\n\n" (function_definition "undefined8 get_file_size(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 auStack_b0 [24];\n  uint local_98;\n  int local_78;\n  undefined4 local_74;\n  \n  if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(uVar4,param_1);\n  return 0xffffffffffffffff;\n}" type_identifier (function_declarator "get_file_size(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 auStack_b0 [24];\n  uint local_98;\n  int local_78;\n  undefined4 local_74;\n  \n  if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(uVar4,param_1);\n  return 0xffffffffffffffff;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 auStack_b0 [24];" type_identifier (array_declarator "auStack_b0 [24]" identifier [ number_literal ]) ;) (declaration "uint local_98;" type_identifier identifier ;) (declaration "int local_78;" primitive_type identifier ;) (declaration "undefined4 local_74;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0xffffffffffffffff;\n  }" { (return_statement "return 0xffffffffffffffff;" return number_literal ;) })) (expression_statement "iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);" (assignment_expression "iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0)" identifier = (call_expression "(*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0)" (parenthesized_expression "(*(code *)PTR___xstat64_0002f248)" ( (pointer_expression "*(code *)PTR___xstat64_0002f248" * (cast_expression "(code *)PTR___xstat64_0002f248" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_1,auStack_b0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0002f2c4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0002f2c4)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002f2c4)" ( (pointer_expression "*(code *)PTR___errno_location_0002f2c4" * (cast_expression "(code *)PTR___errno_location_0002f2c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }" if (parenthesized_expression "(*piVar2 != 2)" ( (binary_expression "*piVar2 != 2" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }" { (expression_statement "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002f374)" ( (pointer_expression "*(code *)PTR_dcgettext_0002f374" * (cast_expression "(code *)PTR_dcgettext_0002f374" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_DAT_0002f0d8 + -0x2200,5)" ( number_literal , (binary_expression "PTR_DAT_0002f0d8 + -0x2200" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);" (assignment_expression "uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2)" identifier = (call_expression "(*(code *)PTR_strerror_0002f318)(*piVar2)" (parenthesized_expression "(*(code *)PTR_strerror_0002f318)" ( (pointer_expression "*(code *)PTR_strerror_0002f318" * (cast_expression "(code *)PTR_strerror_0002f318" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*piVar2)" ( (pointer_expression "*piVar2" * identifier) )))) ;) (expression_statement "non_fatal(uVar4,param_1,uVar3);" (call_expression "non_fatal(uVar4,param_1,uVar3)" identifier (argument_list "(uVar4,param_1,uVar3)" ( identifier , identifier , identifier ))) ;) (return_statement "return 0xffffffffffffffff;" return number_literal ;) })) (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x2214;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x2214" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x2214" identifier + number_literal)) ;) }) (else_clause "else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" else (if_statement "if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" if (parenthesized_expression "((local_98 & 0xf000) == 0x4000)" ( (binary_expression "(local_98 & 0xf000) == 0x4000" (parenthesized_expression "(local_98 & 0xf000)" ( (binary_expression "local_98 & 0xf000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }" { (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x21d4;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x21d4" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x21d4" identifier + number_literal)) ;) }) (else_clause "else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" else (if_statement "if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" if (parenthesized_expression "((local_98 & 0xf000) == 0x8000)" ( (binary_expression "(local_98 & 0xf000) == 0x8000" (parenthesized_expression "(local_98 & 0xf000)" ( (binary_expression "local_98 & 0xf000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }" { (if_statement "if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }" if (parenthesized_expression "(-1 < local_78)" ( (binary_expression "-1 < local_78" number_literal < identifier) )) (compound_statement "{\n      return CONCAT44(local_78,local_74);\n    }" { (return_statement "return CONCAT44(local_78,local_74);" return (call_expression "CONCAT44(local_78,local_74)" identifier (argument_list "(local_78,local_74)" ( identifier , identifier ))) ;) })) (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x218c;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x218c" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x218c" identifier + number_literal)) ;) }) (else_clause "else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" else (compound_statement "{\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" { (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x21b4;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x21b4" identifier = (binary_expression "PTR_DAT_0002f0d8 + -0x21b4" identifier + number_literal)) ;) }))))))) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002f374)" ( (pointer_expression "*(code *)PTR_dcgettext_0002f374" * (cast_expression "(code *)PTR_dcgettext_0002f374" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar5,5)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "non_fatal(uVar4,param_1);" (call_expression "non_fatal(uVar4,param_1)" identifier (argument_list "(uVar4,param_1)" ( identifier , identifier ))) ;) (return_statement "return 0xffffffffffffffff;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != 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 ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (return_statement return (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))))))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 get_file_size(int param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 auStack_b0 [24];\n  uint local_98;\n  int local_78;\n  undefined4 local_74;\n  \n  if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(uVar4,param_1);\n  return 0xffffffffffffffff;\n}" (type_identifier "undefined8") (function_declarator "get_file_size(int param_1)" (identifier "get_file_size") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined1 auStack_b0 [24];\n  uint local_98;\n  int local_78;\n  undefined4 local_74;\n  \n  if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }\n  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);\n  if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }\n  uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);\n  non_fatal(uVar4,param_1);\n  return 0xffffffffffffffff;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined1 auStack_b0 [24];" (type_identifier "undefined1") (array_declarator "auStack_b0 [24]" (identifier "auStack_b0") ([ "[") (number_literal "24") (] "]")) (; ";")) (declaration "uint local_98;" (type_identifier "uint") (identifier "local_98") (; ";")) (declaration "int local_78;" (primitive_type "int") (identifier "local_78") (; ";")) (declaration "undefined4 local_74;" (type_identifier "undefined4") (identifier "local_74") (; ";")) (if_statement "if (param_1 == 0) {\n    return 0xffffffffffffffff;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0xffffffffffffffff;\n  }" ({ "{") (return_statement "return 0xffffffffffffffff;" (return "return") (number_literal "0xffffffffffffffff") (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);" (assignment_expression "iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0)" (parenthesized_expression "(*(code *)PTR___xstat64_0002f248)" (( "(") (pointer_expression "*(code *)PTR___xstat64_0002f248" (* "*") (cast_expression "(code *)PTR___xstat64_0002f248" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___xstat64_0002f248"))) () ")")) (argument_list "(3,param_1,auStack_b0)" (( "(") (number_literal "3") (, ",") (identifier "param_1") (, ",") (identifier "auStack_b0") () ")")))) (; ";")) (if_statement "if (iVar1 < 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }\n  else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();\n    if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x2214;\n  }" ({ "{") (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)()" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR___errno_location_0002f2c4)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_0002f2c4)()" (parenthesized_expression "(*(code *)PTR___errno_location_0002f2c4)" (( "(") (pointer_expression "*(code *)PTR___errno_location_0002f2c4" (* "*") (cast_expression "(code *)PTR___errno_location_0002f2c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_0002f2c4"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (*piVar2 != 2) {\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }" (if "if") (parenthesized_expression "(*piVar2 != 2)" (( "(") (binary_expression "*piVar2 != 2" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);\n      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);\n      non_fatal(uVar4,param_1,uVar3);\n      return 0xffffffffffffffff;\n    }" ({ "{") (expression_statement "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002f374)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0002f374" (* "*") (cast_expression "(code *)PTR_dcgettext_0002f374" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0002f374"))) () ")")) (argument_list "(0,PTR_DAT_0002f0d8 + -0x2200,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_DAT_0002f0d8 + -0x2200" (identifier "PTR_DAT_0002f0d8") (+ "+") (number_literal "-0x2200")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);" (assignment_expression "uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_strerror_0002f318)(*piVar2)" (parenthesized_expression "(*(code *)PTR_strerror_0002f318)" (( "(") (pointer_expression "*(code *)PTR_strerror_0002f318" (* "*") (cast_expression "(code *)PTR_strerror_0002f318" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strerror_0002f318"))) () ")")) (argument_list "(*piVar2)" (( "(") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) () ")")))) (; ";")) (expression_statement "non_fatal(uVar4,param_1,uVar3);" (call_expression "non_fatal(uVar4,param_1,uVar3)" (identifier "non_fatal") (argument_list "(uVar4,param_1,uVar3)" (( "(") (identifier "uVar4") (, ",") (identifier "param_1") (, ",") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return 0xffffffffffffffff;" (return "return") (number_literal "0xffffffffffffffff") (; ";")) (} "}"))) (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x2214;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x2214" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_0002f0d8 + -0x2214" (identifier "PTR_DAT_0002f0d8") (+ "+") (number_literal "-0x2214"))) (; ";")) (} "}")) (else_clause "else if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" (else "else") (if_statement "if ((local_98 & 0xf000) == 0x4000) {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }\n  else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" (if "if") (parenthesized_expression "((local_98 & 0xf000) == 0x4000)" (( "(") (binary_expression "(local_98 & 0xf000) == 0x4000" (parenthesized_expression "(local_98 & 0xf000)" (( "(") (binary_expression "local_98 & 0xf000" (identifier "local_98") (& "&") (number_literal "0xf000")) () ")")) (== "==") (number_literal "0x4000")) () ")")) (compound_statement "{\n    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;\n  }" ({ "{") (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x21d4;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x21d4" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_0002f0d8 + -0x21d4" (identifier "PTR_DAT_0002f0d8") (+ "+") (number_literal "-0x21d4"))) (; ";")) (} "}")) (else_clause "else if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" (else "else") (if_statement "if ((local_98 & 0xf000) == 0x8000) {\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }\n  else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" (if "if") (parenthesized_expression "((local_98 & 0xf000) == 0x8000)" (( "(") (binary_expression "(local_98 & 0xf000) == 0x8000" (parenthesized_expression "(local_98 & 0xf000)" (( "(") (binary_expression "local_98 & 0xf000" (identifier "local_98") (& "&") (number_literal "0xf000")) () ")")) (== "==") (number_literal "0x8000")) () ")")) (compound_statement "{\n    if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }\n    puVar5 = PTR_DAT_0002f0d8 + -0x218c;\n  }" ({ "{") (if_statement "if (-1 < local_78) {\n      return CONCAT44(local_78,local_74);\n    }" (if "if") (parenthesized_expression "(-1 < local_78)" (( "(") (binary_expression "-1 < local_78" (number_literal "-1") (< "<") (identifier "local_78")) () ")")) (compound_statement "{\n      return CONCAT44(local_78,local_74);\n    }" ({ "{") (return_statement "return CONCAT44(local_78,local_74);" (return "return") (call_expression "CONCAT44(local_78,local_74)" (identifier "CONCAT44") (argument_list "(local_78,local_74)" (( "(") (identifier "local_78") (, ",") (identifier "local_74") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x218c;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x218c" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_0002f0d8 + -0x218c" (identifier "PTR_DAT_0002f0d8") (+ "+") (number_literal "-0x218c"))) (; ";")) (} "}")) (else_clause "else {\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" (else "else") (compound_statement "{\n    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;\n  }" ({ "{") (expression_statement "puVar5 = PTR_DAT_0002f0d8 + -0x21b4;" (assignment_expression "puVar5 = PTR_DAT_0002f0d8 + -0x21b4" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_0002f0d8 + -0x21b4" (identifier "PTR_DAT_0002f0d8") (+ "+") (number_literal "-0x21b4"))) (; ";")) (} "}")))))))) (expression_statement "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);" (assignment_expression "uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_dcgettext_0002f374)(0,puVar5,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0002f374)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0002f374" (* "*") (cast_expression "(code *)PTR_dcgettext_0002f374" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0002f374"))) () ")")) (argument_list "(0,puVar5,5)" (( "(") (number_literal "0") (, ",") (identifier "puVar5") (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "non_fatal(uVar4,param_1);" (call_expression "non_fatal(uVar4,param_1)" (identifier "non_fatal") (argument_list "(uVar4,param_1)" (( "(") (identifier "uVar4") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return 0xffffffffffffffff;" (return "return") (number_literal "0xffffffffffffffff") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (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 (number_literal) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (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 (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (return_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))))))) (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 (number_literal) (identifier) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement (number_literal)))))

undefined8 MASKED(int param_1)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined1 auStack_b0 [24];
  uint local_98;
  int local_78;
  undefined4 local_74;
  
  if (param_1 == 0) {
    return 0xffffffffffffffff;
  }
  iVar1 = (*(code *)PTR___xstat64_0002f248)(3,param_1,auStack_b0);
  if (iVar1 < 0) {
    piVar2 = (int *)(*(code *)PTR___errno_location_0002f2c4)();
    if (*piVar2 != 2) {
      uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,PTR_DAT_0002f0d8 + -0x2200,5);
      uVar3 = (*(code *)PTR_strerror_0002f318)(*piVar2);
      non_fatal(uVar4,param_1,uVar3);
      return 0xffffffffffffffff;
    }
    puVar5 = PTR_DAT_0002f0d8 + -0x2214;
  }
  else if ((local_98 & 0xf000) == 0x4000) {
    puVar5 = PTR_DAT_0002f0d8 + -0x21d4;
  }
  else if ((local_98 & 0xf000) == 0x8000) {
    if (-1 < local_78) {
      return CONCAT44(local_78,local_74);
    }
    puVar5 = PTR_DAT_0002f0d8 + -0x218c;
  }
  else {
    puVar5 = PTR_DAT_0002f0d8 + -0x21b4;
  }
  uVar4 = (*(code *)PTR_dcgettext_0002f374)(0,puVar5,5);
  non_fatal(uVar4,param_1);
  return 0xffffffffffffffff;
}

