
/* WARNING: Unknown calling convention */

int files_are_same(char *path,SRCFILE *src)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  stat st;
  
  puVar1 = PTR___stack_chk_guard_004b238c;
  iVar2 = *(int *)PTR___stack_chk_guard_004b238c;
  iVar3 = (*(code *)PTR___xstat64_004b2190)(3,path,&st);
  if (iVar3 == 0) {
    uVar4 = 0;
    if (st.st_dev == (src->sbuf).st_dev) {
      uVar4 = (uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&
                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino);
    }
  }
  else {
    uVar4 = 0;
  }
  if (iVar2 == *(int *)puVar1) {
    return uVar4;
  }
  iVar2 = (*(code *)PTR___stack_chk_fail_004b2348)();
  return iVar2;
}



uint files_are_same(undefined4 param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  uint uVar3;
  int local_b8 [4];
  int local_a8;
  int local_a4;
  int local_14;
  
  puVar1 = PTR___stack_chk_guard_004b238c;
  local_14 = *(int *)PTR___stack_chk_guard_004b238c;
  iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);
  if (iVar2 == 0) {
    uVar3 = 0;
    if (local_b8[0] == *(int *)(param_2 + 0x18)) {
      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));
    }
  }
  else {
    uVar3 = 0;
  }
  if (local_14 == *(int *)puVar1) {
    return uVar3;
  }
  uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();
  return uVar3;
}


lui gp,0x4c
addiu sp,sp,-0xd0
addiu gp,gp,-0x64e0
addiu a2,sp,0x18
sw s0,0xc4(sp)
lw s0,-0x7794(gp)
lw t9,-0x7990(gp)
sw s1,0xc8(sp)
or s1,a1,zero
or a1,a0,zero
sw gp,0x10(sp)
sw ra,0xcc(sp)
li a0,0x3
lw v0,0x0(s0)
sw v0,0xbc(sp)
jalr t9
_nop
bne v0,zero,0x0045a2b4
_lw gp,0x10(sp)
lw a0,0x18(sp)
lw v1,0x18(s1)
beq a0,v1,0x0045a2bc
_nop
lw a0,0xbc(sp)
lw v1,0x0(s0)
bne a0,v1,0x0045a2e0
_lw ra,0xcc(sp)
lw s1,0xc8(sp)
lw s0,0xc4(sp)
jr ra
_addiu sp,sp,0xd0
b 0x0045a294
_or v0,zero,zero
lw v1,0x28(s1)
lw v0,0x28(sp)
lw a0,0x2c(s1)
xor v0,v0,v1
lw v1,0x2c(sp)
xor v1,v1,a0
or v0,v0,v1
b 0x0045a294
_sltiu v0,v0,0x1
lw t9,-0x77d8(gp)
jalr t9
_nop
(translation_unit "uint files_are_same(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int local_b8 [4];\n  int local_a8;\n  int local_a4;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  local_14 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);\n  if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return uVar3;\n}\n\n" (function_definition "uint files_are_same(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int local_b8 [4];\n  int local_a8;\n  int local_a4;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  local_14 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);\n  if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return uVar3;\n}" type_identifier (function_declarator "files_are_same(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int local_b8 [4];\n  int local_a8;\n  int local_a4;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  local_14 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);\n  if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return uVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int local_b8 [4];" primitive_type (array_declarator "local_b8 [4]" identifier [ number_literal ]) ;) (declaration "int local_a8;" primitive_type identifier ;) (declaration "int local_a4;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_004b238c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_004b238c" identifier = identifier) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_004b238c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_004b238c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_004b238c" * (cast_expression "(int *)PTR___stack_chk_guard_004b238c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);" (assignment_expression "iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8)" identifier = (call_expression "(*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8)" (parenthesized_expression "(*(code *)PTR___xstat64_004b2190)" ( (pointer_expression "*(code *)PTR___xstat64_004b2190" * (cast_expression "(code *)PTR___xstat64_004b2190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_1,local_b8)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }" if (parenthesized_expression "(local_b8[0] == *(int *)(param_2 + 0x18))" ( (binary_expression "local_b8[0] == *(int *)(param_2 + 0x18)" (subscript_expression "local_b8[0]" identifier [ number_literal ]) == (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }" { (expression_statement "uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));" (assignment_expression "uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c))" identifier = (call_expression "(uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c))" ( (binary_expression "local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c)" (binary_expression "local_a8 == *(int *)(param_2 + 0x28)" identifier == (pointer_expression "*(int *)(param_2 + 0x28)" * (cast_expression "(int *)(param_2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) && (binary_expression "local_a4 == *(int *)(param_2 + 0x2c)" identifier == (pointer_expression "*(int *)(param_2 + 0x2c)" * (cast_expression "(int *)(param_2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))))) )))) ;) })) }) (else_clause "else {\n    uVar3 = 0;\n  }" else (compound_statement "{\n    uVar3 = 0;\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }))) (if_statement "if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar1)" ( (binary_expression "local_14 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();" (assignment_expression "uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_004b2348)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_004b2348)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_004b2348" * (cast_expression "(code *)PTR___stack_chk_fail_004b2348" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint files_are_same(char *path,SRCFILE *src)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  stat st;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  iVar2 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar3 = (*(code *)PTR___xstat64_004b2190)(3,path,&st);\n  if (iVar3 == 0) {\n    uVar4 = 0;\n    if (st.st_dev == (src->sbuf).st_dev) {\n      uVar4 = (uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino);\n    }\n  }\n  else {\n    uVar4 = 0;\n  }\n  if (iVar2 == *(int *)puVar1) {\n    return uVar4;\n  }\n  iVar2 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return iVar2;\n}\n\n" comment (function_definition "int files_are_same(char *path,SRCFILE *src)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  stat st;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  iVar2 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar3 = (*(code *)PTR___xstat64_004b2190)(3,path,&st);\n  if (iVar3 == 0) {\n    uVar4 = 0;\n    if (st.st_dev == (src->sbuf).st_dev) {\n      uVar4 = (uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino);\n    }\n  }\n  else {\n    uVar4 = 0;\n  }\n  if (iVar2 == *(int *)puVar1) {\n    return uVar4;\n  }\n  iVar2 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return iVar2;\n}" primitive_type (function_declarator "files_are_same(char *path,SRCFILE *src)" identifier (parameter_list "(char *path,SRCFILE *src)" ( (parameter_declaration "char *path" primitive_type (pointer_declarator "*path" * identifier)) , (parameter_declaration "SRCFILE *src" type_identifier (pointer_declarator "*src" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  stat st;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  iVar2 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar3 = (*(code *)PTR___xstat64_004b2190)(3,path,&st);\n  if (iVar3 == 0) {\n    uVar4 = 0;\n    if (st.st_dev == (src->sbuf).st_dev) {\n      uVar4 = (uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino);\n    }\n  }\n  else {\n    uVar4 = 0;\n  }\n  if (iVar2 == *(int *)puVar1) {\n    return uVar4;\n  }\n  iVar2 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "stat st;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_004b238c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_004b238c" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)PTR___stack_chk_guard_004b238c;" (assignment_expression "iVar2 = *(int *)PTR___stack_chk_guard_004b238c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_004b238c" * (cast_expression "(int *)PTR___stack_chk_guard_004b238c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar3 = (*(code *)PTR___xstat64_004b2190)(3,path,&st);" (assignment_expression "iVar3 = (*(code *)PTR___xstat64_004b2190)(3,path,&st)" identifier = (call_expression "(*(code *)PTR___xstat64_004b2190)(3,path,&st)" (parenthesized_expression "(*(code *)PTR___xstat64_004b2190)" ( (pointer_expression "*(code *)PTR___xstat64_004b2190" * (cast_expression "(code *)PTR___xstat64_004b2190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,path,&st)" ( number_literal , identifier , (pointer_expression "&st" & identifier) )))) ;) (if_statement "if (iVar3 == 0) {\n    uVar4 = 0;\n    if (st.st_dev == (src->sbuf).st_dev) {\n      uVar4 = (uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino);\n    }\n  }\n  else {\n    uVar4 = 0;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = 0;\n    if (st.st_dev == (src->sbuf).st_dev) {\n      uVar4 = (uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino);\n    }\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (if_statement "if (st.st_dev == (src->sbuf).st_dev) {\n      uVar4 = (uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino);\n    }" if (parenthesized_expression "(st.st_dev == (src->sbuf).st_dev)" ( (binary_expression "st.st_dev == (src->sbuf).st_dev" (field_expression "st.st_dev" identifier . field_identifier) == (field_expression "(src->sbuf).st_dev" (parenthesized_expression "(src->sbuf)" ( (field_expression "src->sbuf" identifier -> field_identifier) )) . field_identifier)) )) (compound_statement "{\n      uVar4 = (uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino);\n    }" { (expression_statement "uVar4 = (uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino);" (assignment_expression "uVar4 = (uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino)" identifier = (call_expression "(uint)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino)" ( (binary_expression "st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&\n                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino" (binary_expression "st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino" (field_expression "st.st_ino._0_4_" (field_expression "st.st_ino" identifier . field_identifier) . field_identifier) == (pointer_expression "*(int *)&(src->sbuf).st_ino" * (cast_expression "(int *)&(src->sbuf).st_ino" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(src->sbuf).st_ino" & (field_expression "(src->sbuf).st_ino" (parenthesized_expression "(src->sbuf)" ( (field_expression "src->sbuf" identifier -> field_identifier) )) . field_identifier))))) && (binary_expression "st.st_ino._4_4_ == (int)(src->sbuf).st_ino" (field_expression "st.st_ino._4_4_" (field_expression "st.st_ino" identifier . field_identifier) . field_identifier) == (cast_expression "(int)(src->sbuf).st_ino" ( (type_descriptor "int" primitive_type) ) (field_expression "(src->sbuf).st_ino" (parenthesized_expression "(src->sbuf)" ( (field_expression "src->sbuf" identifier -> field_identifier) )) . field_identifier)))) )))) ;) })) }) (else_clause "else {\n    uVar4 = 0;\n  }" else (compound_statement "{\n    uVar4 = 0;\n  }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }))) (if_statement "if (iVar2 == *(int *)puVar1) {\n    return uVar4;\n  }" if (parenthesized_expression "(iVar2 == *(int *)puVar1)" ( (binary_expression "iVar2 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) })) (expression_statement "iVar2 = (*(code *)PTR___stack_chk_fail_004b2348)();" (assignment_expression "iVar2 = (*(code *)PTR___stack_chk_fail_004b2348)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_004b2348)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_004b2348)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_004b2348" * (cast_expression "(code *)PTR___stack_chk_fail_004b2348" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "uint files_are_same(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int local_b8 [4];\n  int local_a8;\n  int local_a4;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  local_14 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);\n  if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return uVar3;\n}\n\n" (function_definition "uint files_are_same(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int local_b8 [4];\n  int local_a8;\n  int local_a4;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  local_14 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);\n  if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return uVar3;\n}" type_identifier (function_declarator "files_are_same(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int local_b8 [4];\n  int local_a8;\n  int local_a4;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  local_14 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);\n  if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return uVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int local_b8 [4];" primitive_type (array_declarator "local_b8 [4]" identifier [ number_literal ]) ;) (declaration "int local_a8;" primitive_type identifier ;) (declaration "int local_a4;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_004b238c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_004b238c" identifier = identifier) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_004b238c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_004b238c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_004b238c" * (cast_expression "(int *)PTR___stack_chk_guard_004b238c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);" (assignment_expression "iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8)" identifier = (call_expression "(*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8)" (parenthesized_expression "(*(code *)PTR___xstat64_004b2190)" ( (pointer_expression "*(code *)PTR___xstat64_004b2190" * (cast_expression "(code *)PTR___xstat64_004b2190" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,param_1,local_b8)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }" if (parenthesized_expression "(local_b8[0] == *(int *)(param_2 + 0x18))" ( (binary_expression "local_b8[0] == *(int *)(param_2 + 0x18)" (subscript_expression "local_b8[0]" identifier [ number_literal ]) == (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }" { (expression_statement "uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));" (assignment_expression "uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c))" identifier = (call_expression "(uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c))" ( (binary_expression "local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c)" (binary_expression "local_a8 == *(int *)(param_2 + 0x28)" identifier == (pointer_expression "*(int *)(param_2 + 0x28)" * (cast_expression "(int *)(param_2 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) && (binary_expression "local_a4 == *(int *)(param_2 + 0x2c)" identifier == (pointer_expression "*(int *)(param_2 + 0x2c)" * (cast_expression "(int *)(param_2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) )))))) )))) ;) })) }) (else_clause "else {\n    uVar3 = 0;\n  }" else (compound_statement "{\n    uVar3 = 0;\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }))) (if_statement "if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar1)" ( (binary_expression "local_14 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar3;\n  }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();" (assignment_expression "uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_004b2348)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_004b2348)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_004b2348" * (cast_expression "(code *)PTR___stack_chk_fail_004b2348" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (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 = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) && (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "uint files_are_same(undefined4 param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int local_b8 [4];\n  int local_a8;\n  int local_a4;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  local_14 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);\n  if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return uVar3;\n}" (type_identifier "uint") (function_declarator "files_are_same(undefined4 param_1,int param_2)" (identifier "files_are_same") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  int local_b8 [4];\n  int local_a8;\n  int local_a4;\n  int local_14;\n  \n  puVar1 = PTR___stack_chk_guard_004b238c;\n  local_14 = *(int *)PTR___stack_chk_guard_004b238c;\n  iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);\n  if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }\n  if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }\n  uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();\n  return uVar3;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int local_b8 [4];" (primitive_type "int") (array_declarator "local_b8 [4]" (identifier "local_b8") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_a8;" (primitive_type "int") (identifier "local_a8") (; ";")) (declaration "int local_a4;" (primitive_type "int") (identifier "local_a4") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_004b238c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_004b238c" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_004b238c")) (; ";")) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_004b238c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_004b238c" (identifier "local_14") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_004b238c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_004b238c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_004b238c")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);" (assignment_expression "iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8)" (parenthesized_expression "(*(code *)PTR___xstat64_004b2190)" (( "(") (pointer_expression "*(code *)PTR___xstat64_004b2190" (* "*") (cast_expression "(code *)PTR___xstat64_004b2190" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___xstat64_004b2190"))) () ")")) (argument_list "(3,param_1,local_b8)" (( "(") (number_literal "3") (, ",") (identifier "param_1") (, ",") (identifier "local_b8") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }\n  else {\n    uVar3 = 0;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = 0;\n    if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }\n  }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_b8[0] == *(int *)(param_2 + 0x18)) {\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }" (if "if") (parenthesized_expression "(local_b8[0] == *(int *)(param_2 + 0x18))" (( "(") (binary_expression "local_b8[0] == *(int *)(param_2 + 0x18)" (subscript_expression "local_b8[0]" (identifier "local_b8") ([ "[") (number_literal "0") (] "]")) (== "==") (pointer_expression "*(int *)(param_2 + 0x18)" (* "*") (cast_expression "(int *)(param_2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));\n    }" ({ "{") (expression_statement "uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));" (assignment_expression "uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c))" (identifier "uVar3") (= "=") (call_expression "(uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c))" (( "(") (binary_expression "local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c)" (binary_expression "local_a8 == *(int *)(param_2 + 0x28)" (identifier "local_a8") (== "==") (pointer_expression "*(int *)(param_2 + 0x28)" (* "*") (cast_expression "(int *)(param_2 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")"))))) (&& "&&") (binary_expression "local_a4 == *(int *)(param_2 + 0x2c)" (identifier "local_a4") (== "==") (pointer_expression "*(int *)(param_2 + 0x2c)" (* "*") (cast_expression "(int *)(param_2 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")")))))) () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar3 = 0;\n  }" (else "else") (compound_statement "{\n    uVar3 = 0;\n  }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")))) (if_statement "if (local_14 == *(int *)puVar1) {\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(local_14 == *(int *)puVar1)" (( "(") (binary_expression "local_14 == *(int *)puVar1" (identifier "local_14") (== "==") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return uVar3;\n  }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();" (assignment_expression "uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)()" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR___stack_chk_fail_004b2348)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_004b2348)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_004b2348" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_004b2348" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_004b2348"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(char *path,type_1 *src)

{
  type_2 *puVar1;
  int var_2;
  int var_1;
  type_3 uVar4;
  type_4 st;
  
  puVar1 = PTR___stack_chk_guard_004b238c;
  var_2 = *(int *)PTR___stack_chk_guard_004b238c;
  var_1 = (*(type_5 *)PTR___xstat64_004b2190)(3,path,&st);
  if (var_1 == 0) {
    uVar4 = 0;
    if (st.st_dev == (src->sbuf).st_dev) {
      uVar4 = (type_3)(st.st_ino._0_4_ == *(int *)&(src->sbuf).st_ino &&
                    st.st_ino._4_4_ == (int)(src->sbuf).st_ino);
    }
  }
  else {
    uVar4 = 0;
  }
  if (var_2 == *(int *)puVar1) {
    return uVar4;
  }
  var_2 = (*(type_5 *)PTR___stack_chk_fail_004b2348)();
  return var_2;
}


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

uint MASKED(undefined4 param_1,int param_2)

{
  undefined *puVar1;
  int iVar2;
  uint uVar3;
  int local_b8 [4];
  int local_a8;
  int local_a4;
  int local_14;
  
  puVar1 = PTR___stack_chk_guard_004b238c;
  local_14 = *(int *)PTR___stack_chk_guard_004b238c;
  iVar2 = (*(code *)PTR___xstat64_004b2190)(3,param_1,local_b8);
  if (iVar2 == 0) {
    uVar3 = 0;
    if (local_b8[0] == *(int *)(param_2 + 0x18)) {
      uVar3 = (uint)(local_a8 == *(int *)(param_2 + 0x28) && local_a4 == *(int *)(param_2 + 0x2c));
    }
  }
  else {
    uVar3 = 0;
  }
  if (local_14 == *(int *)puVar1) {
    return uVar3;
  }
  uVar3 = (*(code *)PTR___stack_chk_fail_004b2348)();
  return uVar3;
}

