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

int same_file(char *path1,char *path2,stat *stp1,stat *stp2)

{
  int iVar1;
  int iVar2;
  int in_GS_OFFSET;
  stat st1;
  stat st2;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (stp1 == (stat *)0x0) {
    stp1 = &st1;
    iVar2 = __xstat64(3,path1,(stat64 *)stp1);
    if (iVar2 == 0) goto joined_r0x000418d9;
  }
  else {
joined_r0x000418d9:
    if (stp2 == (stat *)0x0) {
      stp2 = &st2;
      iVar2 = __xstat64(3,path2,(stat64 *)stp2);
      if (iVar2 != 0) goto LAB_00041887;
    }
    if ((*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==
         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&
         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev) &&
       (iVar2 = 1,
       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)
       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino)) goto LAB_00041889;
  }
LAB_00041887:
  iVar2 = 0;
LAB_00041889:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return iVar2;
}



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

undefined4 same_file(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)

{
  undefined4 uVar1;
  int iVar2;
  int in_GS_OFFSET;
  stat64 local_e0;
  stat64 local_80;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x41839;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_3 == (stat64 *)0x0) {
    param_3 = &local_e0;
    iVar2 = __xstat64(3,param_1,param_3);
    if (iVar2 == 0) goto joined_r0x000418d9;
  }
  else {
joined_r0x000418d9:
    if (param_4 == (stat64 *)0x0) {
      param_4 = &local_80;
      iVar2 = __xstat64(3,param_2,param_4);
      if (iVar2 != 0) goto LAB_00041887;
    }
    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&
         (int)param_3->st_dev == (int)param_4->st_dev) &&
       (uVar1 = 1,
       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&
       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;
  }
LAB_00041887:
  uVar1 = 0;
LAB_00041889:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000ecc40();
  }
  return uVar1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00031ed0
ADD EBX,0x1087c7
SUB ESP,0xdc
MOV ESI,dword ptr [ESP + 0xf8]
MOV EAX,dword ptr [ESP + 0xf0]
MOV ECX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0xcc],ECX
XOR ECX,ECX
MOV EBP,dword ptr [ESP + 0xf4]
MOV EDI,dword ptr [ESP + 0xfc]
TEST ESI,ESI
JZ 0x000418c0
TEST EDI,EDI
JZ 0x000418e0
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [ESI + 0x4]
XOR EAX,dword ptr [EDI]
XOR EDX,dword ptr [EDI + 0x4]
OR EDX,EAX
JZ 0x000418a8
XOR EAX,EAX
MOV EBX,dword ptr [ESP + 0xcc]
XOR EBX,dword ptr GS:[0x14]
JNZ 0x000418f9
ADD ESP,0xdc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESI + 0x58]
MOV ECX,dword ptr [ESI + 0x5c]
MOV EAX,0x1
XOR EDX,dword ptr [EDI + 0x58]
XOR ECX,dword ptr [EDI + 0x5c]
OR ECX,EDX
JNZ 0x00041887
JMP 0x00041889
SUB ESP,0x4
LEA ESI,[ESP + 0x10]
PUSH ESI
PUSH EAX
PUSH 0x3
CALL 0x0002fc90
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00041887
TEST EDI,EDI
JNZ 0x00041879
LEA ESI,[ESI]
NOP
SUB ESP,0x4
LEA EDI,[ESP + 0x70]
PUSH EDI
PUSH EBP
PUSH 0x3
CALL 0x0002fc90
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00041879
JMP 0x00041887
CALL 0x000ecc40
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 same_file(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat64 local_e0;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x41839;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  uVar1 = 0;\nLAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 same_file(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat64 local_e0;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x41839;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  uVar1 = 0;\nLAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }\n  return uVar1;\n}" type_identifier (function_declarator "same_file(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)" identifier (parameter_list "(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "stat64 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "stat64 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat64 local_e0;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x41839;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  uVar1 = 0;\nLAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "stat64 local_e0;" type_identifier identifier ;) (declaration "stat64 local_80;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x41839;" (assignment_expression "uStack_14 = 0x41839" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }" if (parenthesized_expression "(param_3 == (stat64 *)0x0)" ( (binary_expression "param_3 == (stat64 *)0x0" identifier == (cast_expression "(stat64 *)0x0" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }" { (expression_statement "param_3 = &local_e0;" (assignment_expression "param_3 = &local_e0" identifier = (pointer_expression "&local_e0" & identifier)) ;) (expression_statement "iVar2 = __xstat64(3,param_1,param_3);" (assignment_expression "iVar2 = __xstat64(3,param_1,param_3)" identifier = (call_expression "__xstat64(3,param_1,param_3)" identifier (argument_list "(3,param_1,param_3)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) goto joined_r0x000418d9;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto joined_r0x000418d9;" goto statement_identifier ;)) }) (else_clause "else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }" else (compound_statement "{\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }" { (labeled_statement "joined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" statement_identifier : (if_statement "if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" if (parenthesized_expression "(param_4 == (stat64 *)0x0)" ( (binary_expression "param_4 == (stat64 *)0x0" identifier == (cast_expression "(stat64 *)0x0" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" { (expression_statement "param_4 = &local_80;" (assignment_expression "param_4 = &local_80" identifier = (pointer_expression "&local_80" & identifier)) ;) (expression_statement "iVar2 = __xstat64(3,param_2,param_4);" (assignment_expression "iVar2 = __xstat64(3,param_2,param_4)" identifier = (call_expression "__xstat64(3,param_2,param_4)" identifier (argument_list "(3,param_2,param_4)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00041887;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00041887;" goto statement_identifier ;)) }))) (if_statement "if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;" if (parenthesized_expression "((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino))" ( (binary_expression "(*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)" (parenthesized_expression "(*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev)" ( (binary_expression "*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev" (binary_expression "*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4)" (pointer_expression "*(int *)((int)&param_3->st_dev + 4)" * (cast_expression "(int *)((int)&param_3->st_dev + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_3->st_dev + 4)" ( (binary_expression "(int)&param_3->st_dev + 4" (cast_expression "(int)&param_3->st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_3->st_dev" & (field_expression "param_3->st_dev" identifier -> field_identifier))) + number_literal) )))) == (pointer_expression "*(int *)((int)&param_4->st_dev + 4)" * (cast_expression "(int *)((int)&param_4->st_dev + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_4->st_dev + 4)" ( (binary_expression "(int)&param_4->st_dev + 4" (cast_expression "(int)&param_4->st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_4->st_dev" & (field_expression "param_4->st_dev" identifier -> field_identifier))) + number_literal) ))))) && (binary_expression "(int)param_3->st_dev == (int)param_4->st_dev" (cast_expression "(int)param_3->st_dev" ( (type_descriptor "int" primitive_type) ) (field_expression "param_3->st_dev" identifier -> field_identifier)) == (cast_expression "(int)param_4->st_dev" ( (type_descriptor "int" primitive_type) ) (field_expression "param_4->st_dev" identifier -> field_identifier)))) )) && (parenthesized_expression "(uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)" ( (comma_expression "uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino" (assignment_expression "uVar1 = 1" identifier = number_literal) , (binary_expression "*(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino" (binary_expression "*(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4)" (pointer_expression "*(int *)((int)&param_3->st_ino + 4)" * (cast_expression "(int *)((int)&param_3->st_ino + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_3->st_ino + 4)" ( (binary_expression "(int)&param_3->st_ino + 4" (cast_expression "(int)&param_3->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_3->st_ino" & (field_expression "param_3->st_ino" identifier -> field_identifier))) + number_literal) )))) == (pointer_expression "*(int *)((int)&param_4->st_ino + 4)" * (cast_expression "(int *)((int)&param_4->st_ino + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_4->st_ino + 4)" ( (binary_expression "(int)&param_4->st_ino + 4" (cast_expression "(int)&param_4->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_4->st_ino" & (field_expression "param_4->st_ino" identifier -> field_identifier))) + number_literal) ))))) && (binary_expression "(int)param_3->st_ino == (int)param_4->st_ino" (cast_expression "(int)param_3->st_ino" ( (type_descriptor "int" primitive_type) ) (field_expression "param_3->st_ino" identifier -> field_identifier)) == (cast_expression "(int)param_4->st_ino" ( (type_descriptor "int" primitive_type) ) (field_expression "param_4->st_ino" identifier -> field_identifier))))) ))) )) (goto_statement "goto LAB_00041889;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00041887:\n  uVar1 = 0;" statement_identifier : (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000ecc40();\n  }" { comment (expression_statement "FUN_000ecc40();" (call_expression "FUN_000ecc40()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint same_file(char *path1,char *path2,stat *stp1,stat *stp2)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat st1;\n  stat st2;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (stp1 == (stat *)0x0) {\n    stp1 = &st1;\n    iVar2 = __xstat64(3,path1,(stat64 *)stp1);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (stp2 == (stat *)0x0) {\n      stp2 = &st2;\n      iVar2 = __xstat64(3,path2,(stat64 *)stp2);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev) &&\n       (iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  iVar2 = 0;\nLAB_00041889:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar2;\n}\n\n" comment (function_definition "int same_file(char *path1,char *path2,stat *stp1,stat *stp2)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat st1;\n  stat st2;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (stp1 == (stat *)0x0) {\n    stp1 = &st1;\n    iVar2 = __xstat64(3,path1,(stat64 *)stp1);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (stp2 == (stat *)0x0) {\n      stp2 = &st2;\n      iVar2 = __xstat64(3,path2,(stat64 *)stp2);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev) &&\n       (iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  iVar2 = 0;\nLAB_00041889:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar2;\n}" primitive_type (function_declarator "same_file(char *path1,char *path2,stat *stp1,stat *stp2)" identifier (parameter_list "(char *path1,char *path2,stat *stp1,stat *stp2)" ( (parameter_declaration "char *path1" primitive_type (pointer_declarator "*path1" * identifier)) , (parameter_declaration "char *path2" primitive_type (pointer_declarator "*path2" * identifier)) , (parameter_declaration "stat *stp1" type_identifier (pointer_declarator "*stp1" * identifier)) , (parameter_declaration "stat *stp2" type_identifier (pointer_declarator "*stp2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat st1;\n  stat st2;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (stp1 == (stat *)0x0) {\n    stp1 = &st1;\n    iVar2 = __xstat64(3,path1,(stat64 *)stp1);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (stp2 == (stat *)0x0) {\n      stp2 = &st2;\n      iVar2 = __xstat64(3,path2,(stat64 *)stp2);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev) &&\n       (iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  iVar2 = 0;\nLAB_00041889:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "stat st1;" type_identifier identifier ;) (declaration "stat st2;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (stp1 == (stat *)0x0) {\n    stp1 = &st1;\n    iVar2 = __xstat64(3,path1,(stat64 *)stp1);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (stp2 == (stat *)0x0) {\n      stp2 = &st2;\n      iVar2 = __xstat64(3,path2,(stat64 *)stp2);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev) &&\n       (iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino)) goto LAB_00041889;\n  }" if (parenthesized_expression "(stp1 == (stat *)0x0)" ( (binary_expression "stp1 == (stat *)0x0" identifier == (cast_expression "(stat *)0x0" ( (type_descriptor "stat *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    stp1 = &st1;\n    iVar2 = __xstat64(3,path1,(stat64 *)stp1);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }" { (expression_statement "stp1 = &st1;" (assignment_expression "stp1 = &st1" identifier = (pointer_expression "&st1" & identifier)) ;) (expression_statement "iVar2 = __xstat64(3,path1,(stat64 *)stp1);" (assignment_expression "iVar2 = __xstat64(3,path1,(stat64 *)stp1)" identifier = (call_expression "__xstat64(3,path1,(stat64 *)stp1)" identifier (argument_list "(3,path1,(stat64 *)stp1)" ( number_literal , identifier , (cast_expression "(stat64 *)stp1" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar2 == 0) goto joined_r0x000418d9;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto joined_r0x000418d9;" goto statement_identifier ;)) }) (else_clause "else {\njoined_r0x000418d9:\n    if (stp2 == (stat *)0x0) {\n      stp2 = &st2;\n      iVar2 = __xstat64(3,path2,(stat64 *)stp2);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev) &&\n       (iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino)) goto LAB_00041889;\n  }" else (compound_statement "{\njoined_r0x000418d9:\n    if (stp2 == (stat *)0x0) {\n      stp2 = &st2;\n      iVar2 = __xstat64(3,path2,(stat64 *)stp2);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev) &&\n       (iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino)) goto LAB_00041889;\n  }" { (labeled_statement "joined_r0x000418d9:\n    if (stp2 == (stat *)0x0) {\n      stp2 = &st2;\n      iVar2 = __xstat64(3,path2,(stat64 *)stp2);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" statement_identifier : (if_statement "if (stp2 == (stat *)0x0) {\n      stp2 = &st2;\n      iVar2 = __xstat64(3,path2,(stat64 *)stp2);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" if (parenthesized_expression "(stp2 == (stat *)0x0)" ( (binary_expression "stp2 == (stat *)0x0" identifier == (cast_expression "(stat *)0x0" ( (type_descriptor "stat *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      stp2 = &st2;\n      iVar2 = __xstat64(3,path2,(stat64 *)stp2);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" { (expression_statement "stp2 = &st2;" (assignment_expression "stp2 = &st2" identifier = (pointer_expression "&st2" & identifier)) ;) (expression_statement "iVar2 = __xstat64(3,path2,(stat64 *)stp2);" (assignment_expression "iVar2 = __xstat64(3,path2,(stat64 *)stp2)" identifier = (call_expression "__xstat64(3,path2,(stat64 *)stp2)" identifier (argument_list "(3,path2,(stat64 *)stp2)" ( number_literal , identifier , (cast_expression "(stat64 *)stp2" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00041887;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00041887;" goto statement_identifier ;)) }))) (if_statement "if ((*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev) &&\n       (iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino)) goto LAB_00041889;" if (parenthesized_expression "((*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev) &&\n       (iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino))" ( (binary_expression "(*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev) &&\n       (iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino)" (parenthesized_expression "(*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev)" ( (binary_expression "*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4) &&\n         (int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev" (binary_expression "*(int *)((int)&((stat64 *)stp1)->st_dev + 4) ==\n         *(int *)((int)&((stat64 *)stp2)->st_dev + 4)" (pointer_expression "*(int *)((int)&((stat64 *)stp1)->st_dev + 4)" * (cast_expression "(int *)((int)&((stat64 *)stp1)->st_dev + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&((stat64 *)stp1)->st_dev + 4)" ( (binary_expression "(int)&((stat64 *)stp1)->st_dev + 4" (cast_expression "(int)&((stat64 *)stp1)->st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&((stat64 *)stp1)->st_dev" & (field_expression "((stat64 *)stp1)->st_dev" (parenthesized_expression "((stat64 *)stp1)" ( (cast_expression "(stat64 *)stp1" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier))) + number_literal) )))) == (pointer_expression "*(int *)((int)&((stat64 *)stp2)->st_dev + 4)" * (cast_expression "(int *)((int)&((stat64 *)stp2)->st_dev + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&((stat64 *)stp2)->st_dev + 4)" ( (binary_expression "(int)&((stat64 *)stp2)->st_dev + 4" (cast_expression "(int)&((stat64 *)stp2)->st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&((stat64 *)stp2)->st_dev" & (field_expression "((stat64 *)stp2)->st_dev" (parenthesized_expression "((stat64 *)stp2)" ( (cast_expression "(stat64 *)stp2" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier))) + number_literal) ))))) && (binary_expression "(int)((stat64 *)stp1)->st_dev == (int)((stat64 *)stp2)->st_dev" (cast_expression "(int)((stat64 *)stp1)->st_dev" ( (type_descriptor "int" primitive_type) ) (field_expression "((stat64 *)stp1)->st_dev" (parenthesized_expression "((stat64 *)stp1)" ( (cast_expression "(stat64 *)stp1" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)) == (cast_expression "(int)((stat64 *)stp2)->st_dev" ( (type_descriptor "int" primitive_type) ) (field_expression "((stat64 *)stp2)->st_dev" (parenthesized_expression "((stat64 *)stp2)" ( (cast_expression "(stat64 *)stp2" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)))) )) && (parenthesized_expression "(iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino)" ( (comma_expression "iVar2 = 1,\n       *(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino" (assignment_expression "iVar2 = 1" identifier = number_literal) , (binary_expression "*(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)\n       && (int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino" (binary_expression "*(int *)((int)&((stat64 *)stp1)->st_ino + 4) == *(int *)((int)&((stat64 *)stp2)->st_ino + 4)" (pointer_expression "*(int *)((int)&((stat64 *)stp1)->st_ino + 4)" * (cast_expression "(int *)((int)&((stat64 *)stp1)->st_ino + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&((stat64 *)stp1)->st_ino + 4)" ( (binary_expression "(int)&((stat64 *)stp1)->st_ino + 4" (cast_expression "(int)&((stat64 *)stp1)->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&((stat64 *)stp1)->st_ino" & (field_expression "((stat64 *)stp1)->st_ino" (parenthesized_expression "((stat64 *)stp1)" ( (cast_expression "(stat64 *)stp1" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier))) + number_literal) )))) == (pointer_expression "*(int *)((int)&((stat64 *)stp2)->st_ino + 4)" * (cast_expression "(int *)((int)&((stat64 *)stp2)->st_ino + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&((stat64 *)stp2)->st_ino + 4)" ( (binary_expression "(int)&((stat64 *)stp2)->st_ino + 4" (cast_expression "(int)&((stat64 *)stp2)->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&((stat64 *)stp2)->st_ino" & (field_expression "((stat64 *)stp2)->st_ino" (parenthesized_expression "((stat64 *)stp2)" ( (cast_expression "(stat64 *)stp2" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier))) + number_literal) ))))) && (binary_expression "(int)((stat64 *)stp1)->st_ino == (int)((stat64 *)stp2)->st_ino" (cast_expression "(int)((stat64 *)stp1)->st_ino" ( (type_descriptor "int" primitive_type) ) (field_expression "((stat64 *)stp1)->st_ino" (parenthesized_expression "((stat64 *)stp1)" ( (cast_expression "(stat64 *)stp1" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)) == (cast_expression "(int)((stat64 *)stp2)->st_ino" ( (type_descriptor "int" primitive_type) ) (field_expression "((stat64 *)stp2)->st_ino" (parenthesized_expression "((stat64 *)stp2)" ( (cast_expression "(stat64 *)stp2" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier))))) ))) )) (goto_statement "goto LAB_00041889;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00041887:\n  iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00041889:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 same_file(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat64 local_e0;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x41839;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  uVar1 = 0;\nLAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 same_file(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat64 local_e0;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x41839;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  uVar1 = 0;\nLAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return uVar1;\n}" type_identifier (function_declarator "same_file(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)" identifier (parameter_list "(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "stat64 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "stat64 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat64 local_e0;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x41839;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  uVar1 = 0;\nLAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "stat64 local_e0;" type_identifier identifier ;) (declaration "stat64 local_80;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x41839;" (assignment_expression "uStack_14 = 0x41839" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }" if (parenthesized_expression "(param_3 == (stat64 *)0x0)" ( (binary_expression "param_3 == (stat64 *)0x0" identifier == (cast_expression "(stat64 *)0x0" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }" { (expression_statement "param_3 = &local_e0;" (assignment_expression "param_3 = &local_e0" identifier = (pointer_expression "&local_e0" & identifier)) ;) (expression_statement "iVar2 = __xstat64(3,param_1,param_3);" (assignment_expression "iVar2 = __xstat64(3,param_1,param_3)" identifier = (call_expression "__xstat64(3,param_1,param_3)" identifier (argument_list "(3,param_1,param_3)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) goto joined_r0x000418d9;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto joined_r0x000418d9;" goto statement_identifier ;)) }) (else_clause "else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }" else (compound_statement "{\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }" { (labeled_statement "joined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" statement_identifier : (if_statement "if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" if (parenthesized_expression "(param_4 == (stat64 *)0x0)" ( (binary_expression "param_4 == (stat64 *)0x0" identifier == (cast_expression "(stat64 *)0x0" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" { (expression_statement "param_4 = &local_80;" (assignment_expression "param_4 = &local_80" identifier = (pointer_expression "&local_80" & identifier)) ;) (expression_statement "iVar2 = __xstat64(3,param_2,param_4);" (assignment_expression "iVar2 = __xstat64(3,param_2,param_4)" identifier = (call_expression "__xstat64(3,param_2,param_4)" identifier (argument_list "(3,param_2,param_4)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00041887;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00041887;" goto statement_identifier ;)) }))) (if_statement "if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;" if (parenthesized_expression "((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino))" ( (binary_expression "(*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)" (parenthesized_expression "(*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev)" ( (binary_expression "*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev" (binary_expression "*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4)" (pointer_expression "*(int *)((int)&param_3->st_dev + 4)" * (cast_expression "(int *)((int)&param_3->st_dev + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_3->st_dev + 4)" ( (binary_expression "(int)&param_3->st_dev + 4" (cast_expression "(int)&param_3->st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_3->st_dev" & (field_expression "param_3->st_dev" identifier -> field_identifier))) + number_literal) )))) == (pointer_expression "*(int *)((int)&param_4->st_dev + 4)" * (cast_expression "(int *)((int)&param_4->st_dev + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_4->st_dev + 4)" ( (binary_expression "(int)&param_4->st_dev + 4" (cast_expression "(int)&param_4->st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_4->st_dev" & (field_expression "param_4->st_dev" identifier -> field_identifier))) + number_literal) ))))) && (binary_expression "(int)param_3->st_dev == (int)param_4->st_dev" (cast_expression "(int)param_3->st_dev" ( (type_descriptor "int" primitive_type) ) (field_expression "param_3->st_dev" identifier -> field_identifier)) == (cast_expression "(int)param_4->st_dev" ( (type_descriptor "int" primitive_type) ) (field_expression "param_4->st_dev" identifier -> field_identifier)))) )) && (parenthesized_expression "(uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)" ( (comma_expression "uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino" (assignment_expression "uVar1 = 1" identifier = number_literal) , (binary_expression "*(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino" (binary_expression "*(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4)" (pointer_expression "*(int *)((int)&param_3->st_ino + 4)" * (cast_expression "(int *)((int)&param_3->st_ino + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_3->st_ino + 4)" ( (binary_expression "(int)&param_3->st_ino + 4" (cast_expression "(int)&param_3->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_3->st_ino" & (field_expression "param_3->st_ino" identifier -> field_identifier))) + number_literal) )))) == (pointer_expression "*(int *)((int)&param_4->st_ino + 4)" * (cast_expression "(int *)((int)&param_4->st_ino + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&param_4->st_ino + 4)" ( (binary_expression "(int)&param_4->st_ino + 4" (cast_expression "(int)&param_4->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&param_4->st_ino" & (field_expression "param_4->st_ino" identifier -> field_identifier))) + number_literal) ))))) && (binary_expression "(int)param_3->st_ino == (int)param_4->st_ino" (cast_expression "(int)param_3->st_ino" ( (type_descriptor "int" primitive_type) ) (field_expression "param_3->st_ino" identifier -> field_identifier)) == (cast_expression "(int)param_4->st_ino" ( (type_descriptor "int" primitive_type) ) (field_expression "param_4->st_ino" identifier -> field_identifier))))) ))) )) (goto_statement "goto LAB_00041889;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00041887:\n  uVar1 = 0;" statement_identifier : (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_000ecc40();\n  }" { (expression_statement "FUN_000ecc40();" (call_expression "FUN_000ecc40()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & (field_expression IDENT -> field_identifier))) + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & (field_expression IDENT -> field_identifier))) + LIT) ))))) && (binary_expression (cast_expression ( (type_descriptor TYPE) ) (field_expression IDENT -> field_identifier)) == (cast_expression ( (type_descriptor TYPE) ) (field_expression IDENT -> field_identifier)))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & (field_expression IDENT -> field_identifier))) + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & (field_expression IDENT -> field_identifier))) + LIT) ))))) && (binary_expression (cast_expression ( (type_descriptor TYPE) ) (field_expression IDENT -> field_identifier)) == (cast_expression ( (type_descriptor TYPE) ) (field_expression IDENT -> field_identifier))))) ))) )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 same_file(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat64 local_e0;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x41839;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  uVar1 = 0;\nLAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "same_file(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)" (identifier "same_file") (parameter_list "(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "stat64 *param_3" (type_identifier "stat64") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "stat64 *param_4" (type_identifier "stat64") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  stat64 local_e0;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x41839;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }\nLAB_00041887:\n  uVar1 = 0;\nLAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "stat64 local_e0;" (type_identifier "stat64") (identifier "local_e0") (; ";")) (declaration "stat64 local_80;" (type_identifier "stat64") (identifier "local_80") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x41839;" (assignment_expression "uStack_14 = 0x41839" (identifier "uStack_14") (= "=") (number_literal "0x41839")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_3 == (stat64 *)0x0) {\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }\n  else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }" (if "if") (parenthesized_expression "(param_3 == (stat64 *)0x0)" (( "(") (binary_expression "param_3 == (stat64 *)0x0" (identifier "param_3") (== "==") (cast_expression "(stat64 *)0x0" (( "(") (type_descriptor "stat64 *" (type_identifier "stat64") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_3 = &local_e0;\n    iVar2 = __xstat64(3,param_1,param_3);\n    if (iVar2 == 0) goto joined_r0x000418d9;\n  }" ({ "{") (expression_statement "param_3 = &local_e0;" (assignment_expression "param_3 = &local_e0" (identifier "param_3") (= "=") (pointer_expression "&local_e0" (& "&") (identifier "local_e0"))) (; ";")) (expression_statement "iVar2 = __xstat64(3,param_1,param_3);" (assignment_expression "iVar2 = __xstat64(3,param_1,param_3)" (identifier "iVar2") (= "=") (call_expression "__xstat64(3,param_1,param_3)" (identifier "__xstat64") (argument_list "(3,param_1,param_3)" (( "(") (number_literal "3") (, ",") (identifier "param_1") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) goto joined_r0x000418d9;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto joined_r0x000418d9;" (goto "goto") (statement_identifier "joined_r0x000418d9") (; ";"))) (} "}")) (else_clause "else {\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }" (else "else") (compound_statement "{\njoined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }\n    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;\n  }" ({ "{") (labeled_statement "joined_r0x000418d9:\n    if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" (statement_identifier "joined_r0x000418d9") (: ":") (if_statement "if (param_4 == (stat64 *)0x0) {\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" (if "if") (parenthesized_expression "(param_4 == (stat64 *)0x0)" (( "(") (binary_expression "param_4 == (stat64 *)0x0" (identifier "param_4") (== "==") (cast_expression "(stat64 *)0x0" (( "(") (type_descriptor "stat64 *" (type_identifier "stat64") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      param_4 = &local_80;\n      iVar2 = __xstat64(3,param_2,param_4);\n      if (iVar2 != 0) goto LAB_00041887;\n    }" ({ "{") (expression_statement "param_4 = &local_80;" (assignment_expression "param_4 = &local_80" (identifier "param_4") (= "=") (pointer_expression "&local_80" (& "&") (identifier "local_80"))) (; ";")) (expression_statement "iVar2 = __xstat64(3,param_2,param_4);" (assignment_expression "iVar2 = __xstat64(3,param_2,param_4)" (identifier "iVar2") (= "=") (call_expression "__xstat64(3,param_2,param_4)" (identifier "__xstat64") (argument_list "(3,param_2,param_4)" (( "(") (number_literal "3") (, ",") (identifier "param_2") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_00041887;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00041887;" (goto "goto") (statement_identifier "LAB_00041887") (; ";"))) (} "}")))) (if_statement "if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;" (if "if") (parenthesized_expression "((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino))" (( "(") (binary_expression "(*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev) &&\n       (uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)" (parenthesized_expression "(*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev)" (( "(") (binary_expression "*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&\n         (int)param_3->st_dev == (int)param_4->st_dev" (binary_expression "*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4)" (pointer_expression "*(int *)((int)&param_3->st_dev + 4)" (* "*") (cast_expression "(int *)((int)&param_3->st_dev + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&param_3->st_dev + 4)" (( "(") (binary_expression "(int)&param_3->st_dev + 4" (cast_expression "(int)&param_3->st_dev" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&param_3->st_dev" (& "&") (field_expression "param_3->st_dev" (identifier "param_3") (-> "->") (field_identifier "st_dev")))) (+ "+") (number_literal "4")) () ")")))) (== "==") (pointer_expression "*(int *)((int)&param_4->st_dev + 4)" (* "*") (cast_expression "(int *)((int)&param_4->st_dev + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&param_4->st_dev + 4)" (( "(") (binary_expression "(int)&param_4->st_dev + 4" (cast_expression "(int)&param_4->st_dev" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&param_4->st_dev" (& "&") (field_expression "param_4->st_dev" (identifier "param_4") (-> "->") (field_identifier "st_dev")))) (+ "+") (number_literal "4")) () ")"))))) (&& "&&") (binary_expression "(int)param_3->st_dev == (int)param_4->st_dev" (cast_expression "(int)param_3->st_dev" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (field_expression "param_3->st_dev" (identifier "param_3") (-> "->") (field_identifier "st_dev"))) (== "==") (cast_expression "(int)param_4->st_dev" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (field_expression "param_4->st_dev" (identifier "param_4") (-> "->") (field_identifier "st_dev"))))) () ")")) (&& "&&") (parenthesized_expression "(uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino)" (( "(") (comma_expression "uVar1 = 1,\n       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (, ",") (binary_expression "*(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&\n       (int)param_3->st_ino == (int)param_4->st_ino" (binary_expression "*(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4)" (pointer_expression "*(int *)((int)&param_3->st_ino + 4)" (* "*") (cast_expression "(int *)((int)&param_3->st_ino + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&param_3->st_ino + 4)" (( "(") (binary_expression "(int)&param_3->st_ino + 4" (cast_expression "(int)&param_3->st_ino" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&param_3->st_ino" (& "&") (field_expression "param_3->st_ino" (identifier "param_3") (-> "->") (field_identifier "st_ino")))) (+ "+") (number_literal "4")) () ")")))) (== "==") (pointer_expression "*(int *)((int)&param_4->st_ino + 4)" (* "*") (cast_expression "(int *)((int)&param_4->st_ino + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&param_4->st_ino + 4)" (( "(") (binary_expression "(int)&param_4->st_ino + 4" (cast_expression "(int)&param_4->st_ino" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&param_4->st_ino" (& "&") (field_expression "param_4->st_ino" (identifier "param_4") (-> "->") (field_identifier "st_ino")))) (+ "+") (number_literal "4")) () ")"))))) (&& "&&") (binary_expression "(int)param_3->st_ino == (int)param_4->st_ino" (cast_expression "(int)param_3->st_ino" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (field_expression "param_3->st_ino" (identifier "param_3") (-> "->") (field_identifier "st_ino"))) (== "==") (cast_expression "(int)param_4->st_ino" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (field_expression "param_4->st_ino" (identifier "param_4") (-> "->") (field_identifier "st_ino")))))) () ")"))) () ")")) (goto_statement "goto LAB_00041889;" (goto "goto") (statement_identifier "LAB_00041889") (; ";"))) (} "}")))) (labeled_statement "LAB_00041887:\n  uVar1 = 0;" (statement_identifier "LAB_00041887") (: ":") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_00041889:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }" (statement_identifier "LAB_00041889") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000ecc40();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_000ecc40();\n  }" ({ "{") (expression_statement "FUN_000ecc40();" (call_expression "FUN_000ecc40()" (identifier "FUN_000ecc40") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

int function_1(char *path1,char *path2,type_1 *var_2,type_1 *var_5)

{
  int var_6;
  int var_4;
  int var_1;
  type_1 st1;
  type_1 st2;
  
  var_6 = *(int *)(var_1 + 0x14);
  if (var_2 == (type_1 *)0x0) {
    var_2 = &st1;
    var_4 = var_3(3,path1,(type_2 *)var_2);
    if (var_4 == 0) goto joined_r0x000418d9;
  }
  else {
joined_r0x000418d9:
    if (var_5 == (type_1 *)0x0) {
      var_5 = &st2;
      var_4 = var_3(3,path2,(type_2 *)var_5);
      if (var_4 != 0) goto LAB_00041887;
    }
    if ((*(int *)((int)&((type_2 *)var_2)->st_dev + 4) ==
         *(int *)((int)&((type_2 *)var_5)->st_dev + 4) &&
         (int)((type_2 *)var_2)->st_dev == (int)((type_2 *)var_5)->st_dev) &&
       (var_4 = 1,
       *(int *)((int)&((type_2 *)var_2)->st_ino + 4) == *(int *)((int)&((type_2 *)var_5)->st_ino + 4)
       && (int)((type_2 *)var_2)->st_ino == (int)((type_2 *)var_5)->st_ino)) goto LAB_00041889;
  }
LAB_00041887:
  var_4 = 0;
LAB_00041889:
  if (var_6 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_7();
  }
  return var_4;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) 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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (field_expression argument: (identifier) field: (field_identifier)))) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (field_expression argument: (identifier) field: (field_identifier)))) right: (number_literal)))))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (field_expression argument: (identifier) field: (field_identifier))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (field_expression argument: (identifier) field: (field_identifier)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (field_expression argument: (identifier) field: (field_identifier)))) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (field_expression argument: (identifier) field: (field_identifier)))) right: (number_literal)))))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (field_expression argument: (identifier) field: (field_identifier))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (field_expression argument: (identifier) field: (field_identifier))))))))) consequence: (goto_statement label: (statement_identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement (identifier)))))

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

undefined4 MASKED(char *param_1,char *param_2,stat64 *param_3,stat64 *param_4)

{
  undefined4 uVar1;
  int iVar2;
  int in_GS_OFFSET;
  stat64 local_e0;
  stat64 local_80;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x41839;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_3 == (stat64 *)0x0) {
    param_3 = &local_e0;
    iVar2 = __xstat64(3,param_1,param_3);
    if (iVar2 == 0) goto joined_r0x000418d9;
  }
  else {
joined_r0x000418d9:
    if (param_4 == (stat64 *)0x0) {
      param_4 = &local_80;
      iVar2 = __xstat64(3,param_2,param_4);
      if (iVar2 != 0) goto LAB_00041887;
    }
    if ((*(int *)((int)&param_3->st_dev + 4) == *(int *)((int)&param_4->st_dev + 4) &&
         (int)param_3->st_dev == (int)param_4->st_dev) &&
       (uVar1 = 1,
       *(int *)((int)&param_3->st_ino + 4) == *(int *)((int)&param_4->st_ino + 4) &&
       (int)param_3->st_ino == (int)param_4->st_ino)) goto LAB_00041889;
  }
LAB_00041887:
  uVar1 = 0;
LAB_00041889:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000ecc40();
  }
  return uVar1;
}

