
tm * localtime_rz(timezone_t tz,time_t *t,tm *tm)

{
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  timezone_t tz_00;
  int iVar1;
  _Bool _Var3;
  tm *ptVar2;
  
  if (tz == (timezone_t)0x0) {
    ptVar2 = (tm *)(*(code *)PTR_gmtime_r_000494c8)(t,tm);
    return ptVar2;
  }
  tz_00 = set_tz(tz);
  if (tz_00 != (timezone_t)0x0) {
    iVar1 = (*(code *)PTR_localtime_r_000495cc)(t,tm);
    if ((iVar1 == 0) || (_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0)) {
      if (tz_00 != (timezone_t)0x1) {
        revert_tz(tz_00);
      }
    }
    else if ((tz_00 == (timezone_t)0x1) ||
            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)) {
      return tm;
    }
  }
  return (tm *)0x0;
}



undefined4 localtime_rz(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  
  if (param_1 == 0) {
    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);
    return uVar3;
  }
  iVar1 = FUN_0002f034();
  if (iVar1 != 0) {
    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);
    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {
      if (iVar1 != 1) {
        FUN_0002f188(iVar1);
      }
    }
    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {
      return param_3;
    }
  }
  return 0;
}


lui gp,0x2
addiu gp,gp,0x1f94
addu gp,gp,t9
addiu sp,sp,-0x30
sw gp,0x10(sp)
sw s2,0x24(sp)
or s2,a1,zero
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s1,0x20(sp)
beq a0,zero,0x0002f330
_sw s0,0x1c(sp)
lw t9,-0x7fc8(gp)
or s1,a0,zero
addiu t9,t9,-0xfcc
bal 0x0002f034
_or s0,a2,zero
lw gp,0x10(sp)
beq v0,zero,0x0002f310
_or s3,v0,zero
lw t9,-0x7c14(gp)
or a1,s0,zero
jalr t9
_or a0,s2,zero
beq v0,zero,0x0002f2f8
_lw gp,0x10(sp)
lw t9,-0x7fc8(gp)
or a1,s0,zero
addiu t9,t9,-0x1210
bal 0x0002edf0
_or a0,s1,zero
beq v0,zero,0x0002f2f8
_lw gp,0x10(sp)
li v0,0x1
bne s3,v0,0x0002f358
_or v0,s0,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
li v0,0x1
beq s3,v0,0x0002f310
_lw t9,-0x7fc8(gp)
addiu t9,t9,-0xe78
bal 0x0002f188
_or a0,s3,zero
lw ra,0x2c(sp)
or v0,zero,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw ra,0x2c(sp)
or a0,s2,zero
lw s3,0x28(sp)
or a1,a2,zero
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7d18(gp)
jr t9
_addiu sp,sp,0x30
lw t9,-0x7fc8(gp)
addiu t9,t9,-0xe78
bal 0x0002f188
_or a0,s3,zero
beq v0,zero,0x0002f310
_or v0,s0,zero
b 0x0002f2e0
_lw ra,0x2c(sp)
(translation_unit "undefined4 localtime_rz(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }\n  iVar1 = FUN_0002f034();\n  if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 localtime_rz(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }\n  iVar1 = FUN_0002f034();\n  if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "localtime_rz(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }\n  iVar1 = FUN_0002f034();\n  if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }" { (expression_statement "uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);" (assignment_expression "uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3)" identifier = (call_expression "(*(code *)PTR_gmtime_r_000494c8)(param_2,param_3)" (parenthesized_expression "(*(code *)PTR_gmtime_r_000494c8)" ( (pointer_expression "*(code *)PTR_gmtime_r_000494c8" * (cast_expression "(code *)PTR_gmtime_r_000494c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "iVar1 = FUN_0002f034();" (assignment_expression "iVar1 = FUN_0002f034()" identifier = (call_expression "FUN_0002f034()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);" (assignment_expression "iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3)" identifier = (call_expression "(*(code *)PTR_localtime_r_000495cc)(param_2,param_3)" (parenthesized_expression "(*(code *)PTR_localtime_r_000495cc)" ( (pointer_expression "*(code *)PTR_localtime_r_000495cc" * (cast_expression "(code *)PTR_localtime_r_000495cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }" if (parenthesized_expression "((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0))" ( (binary_expression "(iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0" (assignment_expression "iVar2 = FUN_0002edf0(param_1,param_3)" identifier = (call_expression "FUN_0002edf0(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }" { (if_statement "if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\n        FUN_0002f188(iVar1);\n      }" { (expression_statement "FUN_0002f188(iVar1);" (call_expression "FUN_0002f188(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) }) (else_clause "else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }" else (if_statement "if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }" if (parenthesized_expression "((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0))" ( (binary_expression "(iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)" (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) || (parenthesized_expression "(iVar1 = FUN_0002f188(iVar1), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_0002f188(iVar1), iVar1 != 0" (assignment_expression "iVar1 = FUN_0002f188(iVar1)" identifier = (call_expression "FUN_0002f188(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      return param_3;\n    }" { (return_statement "return param_3;" return identifier ;) })))) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "tm * localtime_rz(timezone_t tz,time_t *t,tm *tm)\n\n{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  timezone_t tz_00;\n  int iVar1;\n  _Bool _Var3;\n  tm *ptVar2;\n  \n  if (tz == (timezone_t)0x0) {\n    ptVar2 = (tm *)(*(code *)PTR_gmtime_r_000494c8)(t,tm);\n    return ptVar2;\n  }\n  tz_00 = set_tz(tz);\n  if (tz_00 != (timezone_t)0x0) {\n    iVar1 = (*(code *)PTR_localtime_r_000495cc)(t,tm);\n    if ((iVar1 == 0) || (_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0)) {\n      if (tz_00 != (timezone_t)0x1) {\n        revert_tz(tz_00);\n      }\n    }\n    else if ((tz_00 == (timezone_t)0x1) ||\n            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)) {\n      return tm;\n    }\n  }\n  return (tm *)0x0;\n}\n\n" (function_definition "tm * localtime_rz(timezone_t tz,time_t *t,tm *tm)\n\n{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  timezone_t tz_00;\n  int iVar1;\n  _Bool _Var3;\n  tm *ptVar2;\n  \n  if (tz == (timezone_t)0x0) {\n    ptVar2 = (tm *)(*(code *)PTR_gmtime_r_000494c8)(t,tm);\n    return ptVar2;\n  }\n  tz_00 = set_tz(tz);\n  if (tz_00 != (timezone_t)0x0) {\n    iVar1 = (*(code *)PTR_localtime_r_000495cc)(t,tm);\n    if ((iVar1 == 0) || (_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0)) {\n      if (tz_00 != (timezone_t)0x1) {\n        revert_tz(tz_00);\n      }\n    }\n    else if ((tz_00 == (timezone_t)0x1) ||\n            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)) {\n      return tm;\n    }\n  }\n  return (tm *)0x0;\n}" type_identifier (pointer_declarator "* localtime_rz(timezone_t tz,time_t *t,tm *tm)" * (function_declarator "localtime_rz(timezone_t tz,time_t *t,tm *tm)" identifier (parameter_list "(timezone_t tz,time_t *t,tm *tm)" ( (parameter_declaration "timezone_t tz" type_identifier identifier) , (parameter_declaration "time_t *t" type_identifier (pointer_declarator "*t" * identifier)) , (parameter_declaration "tm *tm" type_identifier (pointer_declarator "*tm" * identifier)) )))) (compound_statement "{\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  timezone_t tz_00;\n  int iVar1;\n  _Bool _Var3;\n  tm *ptVar2;\n  \n  if (tz == (timezone_t)0x0) {\n    ptVar2 = (tm *)(*(code *)PTR_gmtime_r_000494c8)(t,tm);\n    return ptVar2;\n  }\n  tz_00 = set_tz(tz);\n  if (tz_00 != (timezone_t)0x0) {\n    iVar1 = (*(code *)PTR_localtime_r_000495cc)(t,tm);\n    if ((iVar1 == 0) || (_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0)) {\n      if (tz_00 != (timezone_t)0x1) {\n        revert_tz(tz_00);\n      }\n    }\n    else if ((tz_00 == (timezone_t)0x1) ||\n            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)) {\n      return tm;\n    }\n  }\n  return (tm *)0x0;\n}" { (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "timezone_t tz_00;" type_identifier identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "_Bool _Var3;" type_identifier identifier ;) (declaration "tm *ptVar2;" type_identifier (pointer_declarator "*ptVar2" * identifier) ;) (if_statement "if (tz == (timezone_t)0x0) {\n    ptVar2 = (tm *)(*(code *)PTR_gmtime_r_000494c8)(t,tm);\n    return ptVar2;\n  }" if (parenthesized_expression "(tz == (timezone_t)0x0)" ( (binary_expression "tz == (timezone_t)0x0" identifier == (cast_expression "(timezone_t)0x0" ( (type_descriptor "timezone_t" type_identifier) ) number_literal)) )) (compound_statement "{\n    ptVar2 = (tm *)(*(code *)PTR_gmtime_r_000494c8)(t,tm);\n    return ptVar2;\n  }" { (expression_statement "ptVar2 = (tm *)(*(code *)PTR_gmtime_r_000494c8)(t,tm);" (assignment_expression "ptVar2 = (tm *)(*(code *)PTR_gmtime_r_000494c8)(t,tm)" identifier = (cast_expression "(tm *)(*(code *)PTR_gmtime_r_000494c8)(t,tm)" ( (type_descriptor "tm *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gmtime_r_000494c8)(t,tm)" (parenthesized_expression "(*(code *)PTR_gmtime_r_000494c8)" ( (pointer_expression "*(code *)PTR_gmtime_r_000494c8" * (cast_expression "(code *)PTR_gmtime_r_000494c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(t,tm)" ( identifier , identifier ))))) ;) (return_statement "return ptVar2;" return identifier ;) })) (expression_statement "tz_00 = set_tz(tz);" (assignment_expression "tz_00 = set_tz(tz)" identifier = (call_expression "set_tz(tz)" identifier (argument_list "(tz)" ( identifier )))) ;) (if_statement "if (tz_00 != (timezone_t)0x0) {\n    iVar1 = (*(code *)PTR_localtime_r_000495cc)(t,tm);\n    if ((iVar1 == 0) || (_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0)) {\n      if (tz_00 != (timezone_t)0x1) {\n        revert_tz(tz_00);\n      }\n    }\n    else if ((tz_00 == (timezone_t)0x1) ||\n            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)) {\n      return tm;\n    }\n  }" if (parenthesized_expression "(tz_00 != (timezone_t)0x0)" ( (binary_expression "tz_00 != (timezone_t)0x0" identifier != (cast_expression "(timezone_t)0x0" ( (type_descriptor "timezone_t" type_identifier) ) number_literal)) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_localtime_r_000495cc)(t,tm);\n    if ((iVar1 == 0) || (_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0)) {\n      if (tz_00 != (timezone_t)0x1) {\n        revert_tz(tz_00);\n      }\n    }\n    else if ((tz_00 == (timezone_t)0x1) ||\n            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)) {\n      return tm;\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_localtime_r_000495cc)(t,tm);" (assignment_expression "iVar1 = (*(code *)PTR_localtime_r_000495cc)(t,tm)" identifier = (call_expression "(*(code *)PTR_localtime_r_000495cc)(t,tm)" (parenthesized_expression "(*(code *)PTR_localtime_r_000495cc)" ( (pointer_expression "*(code *)PTR_localtime_r_000495cc" * (cast_expression "(code *)PTR_localtime_r_000495cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(t,tm)" ( identifier , identifier )))) ;) (if_statement "if ((iVar1 == 0) || (_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0)) {\n      if (tz_00 != (timezone_t)0x1) {\n        revert_tz(tz_00);\n      }\n    }\n    else if ((tz_00 == (timezone_t)0x1) ||\n            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)) {\n      return tm;\n    }" if (parenthesized_expression "((iVar1 == 0) || (_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0))" ( (binary_expression "(iVar1 == 0) || (_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0)" ( (comma_expression "_Var3 = save_abbr(tz,tm), CONCAT31(extraout_var,_Var3) == 0" (assignment_expression "_Var3 = save_abbr(tz,tm)" identifier = (call_expression "save_abbr(tz,tm)" identifier (argument_list "(tz,tm)" ( identifier , identifier )))) , (binary_expression "CONCAT31(extraout_var,_Var3) == 0" (call_expression "CONCAT31(extraout_var,_Var3)" identifier (argument_list "(extraout_var,_Var3)" ( identifier , identifier ))) == number_literal)) ))) )) (compound_statement "{\n      if (tz_00 != (timezone_t)0x1) {\n        revert_tz(tz_00);\n      }\n    }" { (if_statement "if (tz_00 != (timezone_t)0x1) {\n        revert_tz(tz_00);\n      }" if (parenthesized_expression "(tz_00 != (timezone_t)0x1)" ( (binary_expression "tz_00 != (timezone_t)0x1" identifier != (cast_expression "(timezone_t)0x1" ( (type_descriptor "timezone_t" type_identifier) ) number_literal)) )) (compound_statement "{\n        revert_tz(tz_00);\n      }" { (expression_statement "revert_tz(tz_00);" (call_expression "revert_tz(tz_00)" identifier (argument_list "(tz_00)" ( identifier ))) ;) })) }) (else_clause "else if ((tz_00 == (timezone_t)0x1) ||\n            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)) {\n      return tm;\n    }" else (if_statement "if ((tz_00 == (timezone_t)0x1) ||\n            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)) {\n      return tm;\n    }" if (parenthesized_expression "((tz_00 == (timezone_t)0x1) ||\n            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0))" ( (binary_expression "(tz_00 == (timezone_t)0x1) ||\n            (_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)" (parenthesized_expression "(tz_00 == (timezone_t)0x1)" ( (binary_expression "tz_00 == (timezone_t)0x1" identifier == (cast_expression "(timezone_t)0x1" ( (type_descriptor "timezone_t" type_identifier) ) number_literal)) )) || (parenthesized_expression "(_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0)" ( (comma_expression "_Var3 = revert_tz(tz_00), CONCAT31(extraout_var_00,_Var3) != 0" (assignment_expression "_Var3 = revert_tz(tz_00)" identifier = (call_expression "revert_tz(tz_00)" identifier (argument_list "(tz_00)" ( identifier )))) , (binary_expression "CONCAT31(extraout_var_00,_Var3) != 0" (call_expression "CONCAT31(extraout_var_00,_Var3)" identifier (argument_list "(extraout_var_00,_Var3)" ( identifier , identifier ))) != number_literal)) ))) )) (compound_statement "{\n      return tm;\n    }" { (return_statement "return tm;" return identifier ;) })))) })) (return_statement "return (tm *)0x0;" return (cast_expression "(tm *)0x0" ( (type_descriptor "tm *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 localtime_rz(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }\n  iVar1 = FUN_0002f034();\n  if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 localtime_rz(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }\n  iVar1 = FUN_0002f034();\n  if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "localtime_rz(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }\n  iVar1 = FUN_0002f034();\n  if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }" { (expression_statement "uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);" (assignment_expression "uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3)" identifier = (call_expression "(*(code *)PTR_gmtime_r_000494c8)(param_2,param_3)" (parenthesized_expression "(*(code *)PTR_gmtime_r_000494c8)" ( (pointer_expression "*(code *)PTR_gmtime_r_000494c8" * (cast_expression "(code *)PTR_gmtime_r_000494c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (return_statement "return uVar3;" return identifier ;) })) (expression_statement "iVar1 = FUN_0002f034();" (assignment_expression "iVar1 = FUN_0002f034()" identifier = (call_expression "FUN_0002f034()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);" (assignment_expression "iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3)" identifier = (call_expression "(*(code *)PTR_localtime_r_000495cc)(param_2,param_3)" (parenthesized_expression "(*(code *)PTR_localtime_r_000495cc)" ( (pointer_expression "*(code *)PTR_localtime_r_000495cc" * (cast_expression "(code *)PTR_localtime_r_000495cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }" if (parenthesized_expression "((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0))" ( (binary_expression "(iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0" (assignment_expression "iVar2 = FUN_0002edf0(param_1,param_3)" identifier = (call_expression "FUN_0002edf0(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }" { (if_statement "if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\n        FUN_0002f188(iVar1);\n      }" { (expression_statement "FUN_0002f188(iVar1);" (call_expression "FUN_0002f188(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) }) (else_clause "else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }" else (if_statement "if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }" if (parenthesized_expression "((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0))" ( (binary_expression "(iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)" (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) || (parenthesized_expression "(iVar1 = FUN_0002f188(iVar1), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_0002f188(iVar1), iVar1 != 0" (assignment_expression "iVar1 = FUN_0002f188(iVar1)" identifier = (call_expression "FUN_0002f188(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      return param_3;\n    }" { (return_statement "return param_3;" return identifier ;) })))) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return IDENT ;) })))) })) (return_statement return LIT ;) })))
(function_definition "undefined4 localtime_rz(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }\n  iVar1 = FUN_0002f034();\n  if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "localtime_rz(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "localtime_rz") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }\n  iVar1 = FUN_0002f034();\n  if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (if_statement "if (param_1 == 0) {\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);\n    return uVar3;\n  }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);" (assignment_expression "uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_gmtime_r_000494c8)(param_2,param_3)" (parenthesized_expression "(*(code *)PTR_gmtime_r_000494c8)" (( "(") (pointer_expression "*(code *)PTR_gmtime_r_000494c8" (* "*") (cast_expression "(code *)PTR_gmtime_r_000494c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gmtime_r_000494c8"))) () ")")) (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_0002f034();" (assignment_expression "iVar1 = FUN_0002f034()" (identifier "iVar1") (= "=") (call_expression "FUN_0002f034()" (identifier "FUN_0002f034") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);\n    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);" (assignment_expression "iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_localtime_r_000495cc)(param_2,param_3)" (parenthesized_expression "(*(code *)PTR_localtime_r_000495cc)" (( "(") (pointer_expression "*(code *)PTR_localtime_r_000495cc" (* "*") (cast_expression "(code *)PTR_localtime_r_000495cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_localtime_r_000495cc"))) () ")")) (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }\n    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }" (if "if") (parenthesized_expression "((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0))" (( "(") (binary_expression "(iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)" (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0" (assignment_expression "iVar2 = FUN_0002edf0(param_1,param_3)" (identifier "iVar2") (= "=") (call_expression "FUN_0002edf0(param_1,param_3)" (identifier "FUN_0002edf0") (argument_list "(param_1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }\n    }" ({ "{") (if_statement "if (iVar1 != 1) {\n        FUN_0002f188(iVar1);\n      }" (if "if") (parenthesized_expression "(iVar1 != 1)" (( "(") (binary_expression "iVar1 != 1" (identifier "iVar1") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        FUN_0002f188(iVar1);\n      }" ({ "{") (expression_statement "FUN_0002f188(iVar1);" (call_expression "FUN_0002f188(iVar1)" (identifier "FUN_0002f188") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }" (else "else") (if_statement "if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {\n      return param_3;\n    }" (if "if") (parenthesized_expression "((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0))" (( "(") (binary_expression "(iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)" (parenthesized_expression "(iVar1 == 1)" (( "(") (binary_expression "iVar1 == 1" (identifier "iVar1") (== "==") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(iVar1 = FUN_0002f188(iVar1), iVar1 != 0)" (( "(") (comma_expression "iVar1 = FUN_0002f188(iVar1), iVar1 != 0" (assignment_expression "iVar1 = FUN_0002f188(iVar1)" (identifier "iVar1") (= "=") (call_expression "FUN_0002f188(iVar1)" (identifier "FUN_0002f188") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      return param_3;\n    }" ({ "{") (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}"))))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (return_statement (identifier)))))))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  
  if (param_1 == 0) {
    uVar3 = (*(code *)PTR_gmtime_r_000494c8)(param_2,param_3);
    return uVar3;
  }
  iVar1 = FUN_0002f034();
  if (iVar1 != 0) {
    iVar2 = (*(code *)PTR_localtime_r_000495cc)(param_2,param_3);
    if ((iVar2 == 0) || (iVar2 = FUN_0002edf0(param_1,param_3), iVar2 == 0)) {
      if (iVar1 != 1) {
        FUN_0002f188(iVar1);
      }
    }
    else if ((iVar1 == 1) || (iVar1 = FUN_0002f188(iVar1), iVar1 != 0)) {
      return param_3;
    }
  }
  return 0;
}

