
/* WARNING: Unknown calling convention */

tm * ltime(void)

{
  undefined *puVar1;
  int *piVar2;
  int iVar3;
  tm *ptVar4;
  int *piVar5;
  int *piVar6;
  tm *in_a0;
  tm *ptVar7;
  int iVar8;
  int iVar9;
  time_t t;
  undefined1 *local_14;
  
  puVar1 = PTR___stack_chk_guard_000b0c9c;
  local_14 = *(undefined1 **)PTR___stack_chk_guard_000b0c9c;
  (*(code *)PTR_time_000b0c8c)(&t);
  if (t == -1) {
    ptVar4 = (tm *)(*(code *)PTR___assert_fail_000b0ac0)
                             (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,
                              PTR_DAT_000b01d0 + -0x37e0);
    return ptVar4;
  }
  piVar2 = (int *)(*(code *)PTR_localtime_000b0bfc)(&t);
  piVar6 = piVar2;
  ptVar4 = in_a0;
  do {
    ptVar7 = ptVar4;
    piVar5 = piVar6;
    piVar6 = piVar5 + 4;
    ptVar4 = (tm *)&ptVar7->tm_mon;
    iVar9 = piVar5[1];
    iVar8 = piVar5[2];
    iVar3 = piVar5[3];
    ptVar7->tm_sec = *piVar5;
    ptVar7->tm_min = iVar9;
    ptVar7->tm_hour = iVar8;
    ptVar7->tm_mday = iVar3;
  } while (piVar6 != piVar2 + 8);
  iVar8 = piVar5[5];
  iVar3 = piVar5[6];
  *(int *)ptVar4 = *piVar6;
  ptVar7->tm_year = iVar8;
  ptVar7->tm_wday = iVar3;
  if (local_14 == *(undefined1 **)puVar1) {
    return in_a0;
  }
  (*(code *)PTR___stack_chk_fail_000b0c70)();
  if (local_14 <= ptVar4) {
    return (tm *)(uint)(local_14 < ptVar4);
  }
  return (tm *)0xffffffff;
}



undefined4 * ltime(undefined4 *param_1)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  undefined4 *puVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  int local_18;
  undefined4 *local_14;
  
  puVar1 = PTR___stack_chk_guard_000b0c9c;
  local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;
  (*(code *)PTR_time_000b0c8c)(&local_18);
  if (local_18 == -1) {
    puVar4 = (undefined4 *)
             (*(code *)PTR___assert_fail_000b0ac0)
                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,
                        PTR_DAT_000b01d0 + -0x37e0);
    return puVar4;
  }
  puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);
  puVar4 = puVar2;
  puVar7 = param_1;
  do {
    puVar6 = puVar7;
    puVar5 = puVar4;
    puVar4 = puVar5 + 4;
    puVar7 = puVar6 + 4;
    uVar9 = puVar5[1];
    uVar8 = puVar5[2];
    uVar3 = puVar5[3];
    *puVar6 = *puVar5;
    puVar6[1] = uVar9;
    puVar6[2] = uVar8;
    puVar6[3] = uVar3;
  } while (puVar4 != puVar2 + 8);
  uVar8 = puVar5[5];
  uVar3 = puVar5[6];
  *puVar7 = *puVar4;
  puVar6[5] = uVar8;
  puVar6[6] = uVar3;
  if (local_14 == *(undefined4 **)puVar1) {
    return param_1;
  }
  (*(code *)PTR___stack_chk_fail_000b0c70)();
  if (local_14 <= puVar7) {
    return (undefined4 *)(uint)(local_14 < puVar7);
  }
  return (undefined4 *)0xffffffff;
}


lui gp,0x4
addiu gp,gp,-0x46f0
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x74c4(gp)
sw s0,0x20(sp)
lw s0,-0x74b4(gp)
sw s2,0x28(sp)
addiu s2,sp,0x18
sw gp,0x10(sp)
sw s1,0x24(sp)
or s1,a0,zero
sw ra,0x2c(sp)
or a0,s2,zero
lw v0,0x0(s0)
sw v0,0x1c(sp)
jalr t9
_nop
li v0,-0x1
lw v1,0x18(sp)
beq v1,v0,0x0007c920
_lw gp,0x10(sp)
lw t9,-0x7554(gp)
jalr t9
_or a0,s2,zero
or a0,s1,zero
lw gp,0x10(sp)
addiu t0,v0,0x20
or v1,v0,zero
lw a3,0x0(v1)
addiu v1,v1,0x10
addiu a0,a0,0x10
lw a2,-0xc(v1)
lw a1,-0x8(v1)
lw v0,-0x4(v1)
sw a3,-0x10(a0)
sw a2,-0xc(a0)
sw a1,-0x8(a0)
bne v1,t0,0x0007c8b4
_sw v0,-0x4(a0)
lw a3,0x0(v1)
or v0,s1,zero
lw a2,0x4(v1)
lw v1,0x8(v1)
lw a1,0x1c(sp)
sw a3,0x0(a0)
sw a2,0x4(a0)
sw v1,0x8(a0)
lw v1,0x0(s0)
bne a1,v1,0x0007c944
_lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
lw a3,-0x7f80(gp)
li a2,0xe
lw a1,-0x7f80(gp)
lw a0,-0x7f80(gp)
lw t9,-0x7690(gp)
addiu a3,a3,-0x37e0
addiu a1,a1,-0x3800
jalr t9
_addiu a0,a0,-0x37f8
lw t9,-0x74e0(gp)
jalr t9
_nop
sltu v0,a0,a1
bne v0,zero,0x0007c964
_nop
jr ra
_sltu v0,a1,a0
jr ra
_li v0,-0x1
(translation_unit "undefined4 * ltime(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int local_18;\n  undefined4 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&local_18);\n  if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);\n  puVar4 = puVar2;\n  puVar7 = param_1;\n  do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);\n  uVar8 = puVar5[5];\n  uVar3 = puVar5[6];\n  *puVar7 = *puVar4;\n  puVar6[5] = uVar8;\n  puVar6[6] = uVar3;\n  if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }\n  return (undefined4 *)0xffffffff;\n}\n\n" (function_definition "undefined4 * ltime(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int local_18;\n  undefined4 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&local_18);\n  if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);\n  puVar4 = puVar2;\n  puVar7 = param_1;\n  do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);\n  uVar8 = puVar5[5];\n  uVar3 = puVar5[6];\n  *puVar7 = *puVar4;\n  puVar6[5] = uVar8;\n  puVar6[6] = uVar3;\n  if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }\n  return (undefined4 *)0xffffffff;\n}" type_identifier (pointer_declarator "* ltime(undefined4 *param_1)" * (function_declarator "ltime(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int local_18;\n  undefined4 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&local_18);\n  if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);\n  puVar4 = puVar2;\n  puVar7 = param_1;\n  do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);\n  uVar8 = puVar5[5];\n  uVar3 = puVar5[6];\n  *puVar7 = *puVar4;\n  puVar6[5] = uVar8;\n  puVar6[6] = uVar3;\n  if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }\n  return (undefined4 *)0xffffffff;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "undefined4 *local_14;" type_identifier (pointer_declarator "*local_14" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*(code *)PTR_time_000b0c8c)(&local_18);" (call_expression "(*(code *)PTR_time_000b0c8c)(&local_18)" (parenthesized_expression "(*(code *)PTR_time_000b0c8c)" ( (pointer_expression "*(code *)PTR_time_000b0c8c" * (cast_expression "(code *)PTR_time_000b0c8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_18)" ( (pointer_expression "&local_18" & identifier) ))) ;) (if_statement "if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }" if (parenthesized_expression "(local_18 == -1)" ( (binary_expression "local_18 == -1" identifier == number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }" { (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" ( (binary_expression "PTR_DAT_000b01d0 + -0x37f8" identifier + number_literal) , (binary_expression "PTR_DAT_000b01d0 + -0x3800" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000b01d0 + -0x37e0" identifier + number_literal) ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_localtime_000b0bfc)(&local_18)" (parenthesized_expression "(*(code *)PTR_localtime_000b0bfc)" ( (pointer_expression "*(code *)PTR_localtime_000b0bfc" * (cast_expression "(code *)PTR_localtime_000b0bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_18)" ( (pointer_expression "&local_18" & identifier) ))))) ;) (expression_statement "puVar4 = puVar2;" (assignment_expression "puVar4 = puVar2" identifier = identifier) ;) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (do_statement "do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);" do (compound_statement "{\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  }" { (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" identifier = identifier) ;) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (expression_statement "puVar4 = puVar5 + 4;" (assignment_expression "puVar4 = puVar5 + 4" identifier = (binary_expression "puVar5 + 4" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar6 + 4;" (assignment_expression "puVar7 = puVar6 + 4" identifier = (binary_expression "puVar6 + 4" identifier + number_literal)) ;) (expression_statement "uVar9 = puVar5[1];" (assignment_expression "uVar9 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar5[2];" (assignment_expression "uVar8 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = puVar5[3];" (assignment_expression "uVar3 = puVar5[3]" identifier = (subscript_expression "puVar5[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar6 = *puVar5;" (assignment_expression "*puVar6 = *puVar5" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar6[1] = uVar9;" (assignment_expression "puVar6[1] = uVar9" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[2] = uVar8;" (assignment_expression "puVar6[2] = uVar8" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[3] = uVar3;" (assignment_expression "puVar6[3] = uVar3" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(puVar4 != puVar2 + 8)" ( (binary_expression "puVar4 != puVar2 + 8" identifier != (binary_expression "puVar2 + 8" identifier + number_literal)) )) ;) (expression_statement "uVar8 = puVar5[5];" (assignment_expression "uVar8 = puVar5[5]" identifier = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = puVar5[6];" (assignment_expression "uVar3 = puVar5[6]" identifier = (subscript_expression "puVar5[6]" identifier [ number_literal ])) ;) (expression_statement "*puVar7 = *puVar4;" (assignment_expression "*puVar7 = *puVar4" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar6[5] = uVar8;" (assignment_expression "puVar6[5] = uVar8" (subscript_expression "puVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[6] = uVar3;" (assignment_expression "puVar6[6] = uVar3" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }" if (parenthesized_expression "(local_14 == *(undefined4 **)puVar1)" ( (binary_expression "local_14 == *(undefined4 **)puVar1" identifier == (pointer_expression "*(undefined4 **)puVar1" * (cast_expression "(undefined4 **)puVar1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }" if (parenthesized_expression "(local_14 <= puVar7)" ( (binary_expression "local_14 <= puVar7" identifier <= identifier) )) (compound_statement "{\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }" { (return_statement "return (undefined4 *)(uint)(local_14 < puVar7);" return (cast_expression "(undefined4 *)(uint)(local_14 < puVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(local_14 < puVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_14 < puVar7)" ( (binary_expression "local_14 < puVar7" identifier < identifier) )))) ;) })) (return_statement "return (undefined4 *)0xffffffff;" return (cast_expression "(undefined4 *)0xffffffff" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\ntm * ltime(void)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  tm *ptVar4;\n  int *piVar5;\n  int *piVar6;\n  tm *in_a0;\n  tm *ptVar7;\n  int iVar8;\n  int iVar9;\n  time_t t;\n  undefined1 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined1 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&t);\n  if (t == -1) {\n    ptVar4 = (tm *)(*(code *)PTR___assert_fail_000b0ac0)\n                             (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                              PTR_DAT_000b01d0 + -0x37e0);\n    return ptVar4;\n  }\n  piVar2 = (int *)(*(code *)PTR_localtime_000b0bfc)(&t);\n  piVar6 = piVar2;\n  ptVar4 = in_a0;\n  do {\n    ptVar7 = ptVar4;\n    piVar5 = piVar6;\n    piVar6 = piVar5 + 4;\n    ptVar4 = (tm *)&ptVar7->tm_mon;\n    iVar9 = piVar5[1];\n    iVar8 = piVar5[2];\n    iVar3 = piVar5[3];\n    ptVar7->tm_sec = *piVar5;\n    ptVar7->tm_min = iVar9;\n    ptVar7->tm_hour = iVar8;\n    ptVar7->tm_mday = iVar3;\n  } while (piVar6 != piVar2 + 8);\n  iVar8 = piVar5[5];\n  iVar3 = piVar5[6];\n  *(int *)ptVar4 = *piVar6;\n  ptVar7->tm_year = iVar8;\n  ptVar7->tm_wday = iVar3;\n  if (local_14 == *(undefined1 **)puVar1) {\n    return in_a0;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= ptVar4) {\n    return (tm *)(uint)(local_14 < ptVar4);\n  }\n  return (tm *)0xffffffff;\n}\n\n" comment (function_definition "tm * ltime(void)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  tm *ptVar4;\n  int *piVar5;\n  int *piVar6;\n  tm *in_a0;\n  tm *ptVar7;\n  int iVar8;\n  int iVar9;\n  time_t t;\n  undefined1 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined1 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&t);\n  if (t == -1) {\n    ptVar4 = (tm *)(*(code *)PTR___assert_fail_000b0ac0)\n                             (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                              PTR_DAT_000b01d0 + -0x37e0);\n    return ptVar4;\n  }\n  piVar2 = (int *)(*(code *)PTR_localtime_000b0bfc)(&t);\n  piVar6 = piVar2;\n  ptVar4 = in_a0;\n  do {\n    ptVar7 = ptVar4;\n    piVar5 = piVar6;\n    piVar6 = piVar5 + 4;\n    ptVar4 = (tm *)&ptVar7->tm_mon;\n    iVar9 = piVar5[1];\n    iVar8 = piVar5[2];\n    iVar3 = piVar5[3];\n    ptVar7->tm_sec = *piVar5;\n    ptVar7->tm_min = iVar9;\n    ptVar7->tm_hour = iVar8;\n    ptVar7->tm_mday = iVar3;\n  } while (piVar6 != piVar2 + 8);\n  iVar8 = piVar5[5];\n  iVar3 = piVar5[6];\n  *(int *)ptVar4 = *piVar6;\n  ptVar7->tm_year = iVar8;\n  ptVar7->tm_wday = iVar3;\n  if (local_14 == *(undefined1 **)puVar1) {\n    return in_a0;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= ptVar4) {\n    return (tm *)(uint)(local_14 < ptVar4);\n  }\n  return (tm *)0xffffffff;\n}" type_identifier (pointer_declarator "* ltime(void)" * (function_declarator "ltime(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  tm *ptVar4;\n  int *piVar5;\n  int *piVar6;\n  tm *in_a0;\n  tm *ptVar7;\n  int iVar8;\n  int iVar9;\n  time_t t;\n  undefined1 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined1 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&t);\n  if (t == -1) {\n    ptVar4 = (tm *)(*(code *)PTR___assert_fail_000b0ac0)\n                             (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                              PTR_DAT_000b01d0 + -0x37e0);\n    return ptVar4;\n  }\n  piVar2 = (int *)(*(code *)PTR_localtime_000b0bfc)(&t);\n  piVar6 = piVar2;\n  ptVar4 = in_a0;\n  do {\n    ptVar7 = ptVar4;\n    piVar5 = piVar6;\n    piVar6 = piVar5 + 4;\n    ptVar4 = (tm *)&ptVar7->tm_mon;\n    iVar9 = piVar5[1];\n    iVar8 = piVar5[2];\n    iVar3 = piVar5[3];\n    ptVar7->tm_sec = *piVar5;\n    ptVar7->tm_min = iVar9;\n    ptVar7->tm_hour = iVar8;\n    ptVar7->tm_mday = iVar3;\n  } while (piVar6 != piVar2 + 8);\n  iVar8 = piVar5[5];\n  iVar3 = piVar5[6];\n  *(int *)ptVar4 = *piVar6;\n  ptVar7->tm_year = iVar8;\n  ptVar7->tm_wday = iVar3;\n  if (local_14 == *(undefined1 **)puVar1) {\n    return in_a0;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= ptVar4) {\n    return (tm *)(uint)(local_14 < ptVar4);\n  }\n  return (tm *)0xffffffff;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "tm *ptVar4;" type_identifier (pointer_declarator "*ptVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "tm *in_a0;" type_identifier (pointer_declarator "*in_a0" * identifier) ;) (declaration "tm *ptVar7;" type_identifier (pointer_declarator "*ptVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "time_t t;" type_identifier identifier ;) (declaration "undefined1 *local_14;" type_identifier (pointer_declarator "*local_14" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "local_14 = *(undefined1 **)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_14 = *(undefined1 **)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(undefined1 **)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(undefined1 **)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*(code *)PTR_time_000b0c8c)(&t);" (call_expression "(*(code *)PTR_time_000b0c8c)(&t)" (parenthesized_expression "(*(code *)PTR_time_000b0c8c)" ( (pointer_expression "*(code *)PTR_time_000b0c8c" * (cast_expression "(code *)PTR_time_000b0c8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&t)" ( (pointer_expression "&t" & identifier) ))) ;) (if_statement "if (t == -1) {\n    ptVar4 = (tm *)(*(code *)PTR___assert_fail_000b0ac0)\n                             (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                              PTR_DAT_000b01d0 + -0x37e0);\n    return ptVar4;\n  }" if (parenthesized_expression "(t == -1)" ( (binary_expression "t == -1" identifier == number_literal) )) (compound_statement "{\n    ptVar4 = (tm *)(*(code *)PTR___assert_fail_000b0ac0)\n                             (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                              PTR_DAT_000b01d0 + -0x37e0);\n    return ptVar4;\n  }" { (expression_statement "ptVar4 = (tm *)(*(code *)PTR___assert_fail_000b0ac0)\n                             (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                              PTR_DAT_000b01d0 + -0x37e0);" (assignment_expression "ptVar4 = (tm *)(*(code *)PTR___assert_fail_000b0ac0)\n                             (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                              PTR_DAT_000b01d0 + -0x37e0)" identifier = (cast_expression "(tm *)(*(code *)PTR___assert_fail_000b0ac0)\n                             (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                              PTR_DAT_000b01d0 + -0x37e0)" ( (type_descriptor "tm *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n                             (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                              PTR_DAT_000b01d0 + -0x37e0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                              PTR_DAT_000b01d0 + -0x37e0)" ( (binary_expression "PTR_DAT_000b01d0 + -0x37f8" identifier + number_literal) , (binary_expression "PTR_DAT_000b01d0 + -0x3800" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000b01d0 + -0x37e0" identifier + number_literal) ))))) ;) (return_statement "return ptVar4;" return identifier ;) })) (expression_statement "piVar2 = (int *)(*(code *)PTR_localtime_000b0bfc)(&t);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_localtime_000b0bfc)(&t)" identifier = (cast_expression "(int *)(*(code *)PTR_localtime_000b0bfc)(&t)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_localtime_000b0bfc)(&t)" (parenthesized_expression "(*(code *)PTR_localtime_000b0bfc)" ( (pointer_expression "*(code *)PTR_localtime_000b0bfc" * (cast_expression "(code *)PTR_localtime_000b0bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&t)" ( (pointer_expression "&t" & identifier) ))))) ;) (expression_statement "piVar6 = piVar2;" (assignment_expression "piVar6 = piVar2" identifier = identifier) ;) (expression_statement "ptVar4 = in_a0;" (assignment_expression "ptVar4 = in_a0" identifier = identifier) ;) (do_statement "do {\n    ptVar7 = ptVar4;\n    piVar5 = piVar6;\n    piVar6 = piVar5 + 4;\n    ptVar4 = (tm *)&ptVar7->tm_mon;\n    iVar9 = piVar5[1];\n    iVar8 = piVar5[2];\n    iVar3 = piVar5[3];\n    ptVar7->tm_sec = *piVar5;\n    ptVar7->tm_min = iVar9;\n    ptVar7->tm_hour = iVar8;\n    ptVar7->tm_mday = iVar3;\n  } while (piVar6 != piVar2 + 8);" do (compound_statement "{\n    ptVar7 = ptVar4;\n    piVar5 = piVar6;\n    piVar6 = piVar5 + 4;\n    ptVar4 = (tm *)&ptVar7->tm_mon;\n    iVar9 = piVar5[1];\n    iVar8 = piVar5[2];\n    iVar3 = piVar5[3];\n    ptVar7->tm_sec = *piVar5;\n    ptVar7->tm_min = iVar9;\n    ptVar7->tm_hour = iVar8;\n    ptVar7->tm_mday = iVar3;\n  }" { (expression_statement "ptVar7 = ptVar4;" (assignment_expression "ptVar7 = ptVar4" identifier = identifier) ;) (expression_statement "piVar5 = piVar6;" (assignment_expression "piVar5 = piVar6" identifier = identifier) ;) (expression_statement "piVar6 = piVar5 + 4;" (assignment_expression "piVar6 = piVar5 + 4" identifier = (binary_expression "piVar5 + 4" identifier + number_literal)) ;) (expression_statement "ptVar4 = (tm *)&ptVar7->tm_mon;" (assignment_expression "ptVar4 = (tm *)&ptVar7->tm_mon" identifier = (cast_expression "(tm *)&ptVar7->tm_mon" ( (type_descriptor "tm *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&ptVar7->tm_mon" & (field_expression "ptVar7->tm_mon" identifier -> field_identifier)))) ;) (expression_statement "iVar9 = piVar5[1];" (assignment_expression "iVar9 = piVar5[1]" identifier = (subscript_expression "piVar5[1]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = piVar5[2];" (assignment_expression "iVar8 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = piVar5[3];" (assignment_expression "iVar3 = piVar5[3]" identifier = (subscript_expression "piVar5[3]" identifier [ number_literal ])) ;) (expression_statement "ptVar7->tm_sec = *piVar5;" (assignment_expression "ptVar7->tm_sec = *piVar5" (field_expression "ptVar7->tm_sec" identifier -> field_identifier) = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "ptVar7->tm_min = iVar9;" (assignment_expression "ptVar7->tm_min = iVar9" (field_expression "ptVar7->tm_min" identifier -> field_identifier) = identifier) ;) (expression_statement "ptVar7->tm_hour = iVar8;" (assignment_expression "ptVar7->tm_hour = iVar8" (field_expression "ptVar7->tm_hour" identifier -> field_identifier) = identifier) ;) (expression_statement "ptVar7->tm_mday = iVar3;" (assignment_expression "ptVar7->tm_mday = iVar3" (field_expression "ptVar7->tm_mday" identifier -> field_identifier) = identifier) ;) }) while (parenthesized_expression "(piVar6 != piVar2 + 8)" ( (binary_expression "piVar6 != piVar2 + 8" identifier != (binary_expression "piVar2 + 8" identifier + number_literal)) )) ;) (expression_statement "iVar8 = piVar5[5];" (assignment_expression "iVar8 = piVar5[5]" identifier = (subscript_expression "piVar5[5]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = piVar5[6];" (assignment_expression "iVar3 = piVar5[6]" identifier = (subscript_expression "piVar5[6]" identifier [ number_literal ])) ;) (expression_statement "*(int *)ptVar4 = *piVar6;" (assignment_expression "*(int *)ptVar4 = *piVar6" (pointer_expression "*(int *)ptVar4" * (cast_expression "(int *)ptVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "ptVar7->tm_year = iVar8;" (assignment_expression "ptVar7->tm_year = iVar8" (field_expression "ptVar7->tm_year" identifier -> field_identifier) = identifier) ;) (expression_statement "ptVar7->tm_wday = iVar3;" (assignment_expression "ptVar7->tm_wday = iVar3" (field_expression "ptVar7->tm_wday" identifier -> field_identifier) = identifier) ;) (if_statement "if (local_14 == *(undefined1 **)puVar1) {\n    return in_a0;\n  }" if (parenthesized_expression "(local_14 == *(undefined1 **)puVar1)" ( (binary_expression "local_14 == *(undefined1 **)puVar1" identifier == (pointer_expression "*(undefined1 **)puVar1" * (cast_expression "(undefined1 **)puVar1" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return in_a0;\n  }" { (return_statement "return in_a0;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (local_14 <= ptVar4) {\n    return (tm *)(uint)(local_14 < ptVar4);\n  }" if (parenthesized_expression "(local_14 <= ptVar4)" ( (binary_expression "local_14 <= ptVar4" identifier <= identifier) )) (compound_statement "{\n    return (tm *)(uint)(local_14 < ptVar4);\n  }" { (return_statement "return (tm *)(uint)(local_14 < ptVar4);" return (cast_expression "(tm *)(uint)(local_14 < ptVar4)" ( (type_descriptor "tm *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(local_14 < ptVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_14 < ptVar4)" ( (binary_expression "local_14 < ptVar4" identifier < identifier) )))) ;) })) (return_statement "return (tm *)0xffffffff;" return (cast_expression "(tm *)0xffffffff" ( (type_descriptor "tm *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 * ltime(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int local_18;\n  undefined4 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&local_18);\n  if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);\n  puVar4 = puVar2;\n  puVar7 = param_1;\n  do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);\n  uVar8 = puVar5[5];\n  uVar3 = puVar5[6];\n  *puVar7 = *puVar4;\n  puVar6[5] = uVar8;\n  puVar6[6] = uVar3;\n  if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }\n  return (undefined4 *)0xffffffff;\n}\n\n" (function_definition "undefined4 * ltime(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int local_18;\n  undefined4 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&local_18);\n  if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);\n  puVar4 = puVar2;\n  puVar7 = param_1;\n  do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);\n  uVar8 = puVar5[5];\n  uVar3 = puVar5[6];\n  *puVar7 = *puVar4;\n  puVar6[5] = uVar8;\n  puVar6[6] = uVar3;\n  if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }\n  return (undefined4 *)0xffffffff;\n}" type_identifier (pointer_declarator "* ltime(undefined4 *param_1)" * (function_declarator "ltime(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int local_18;\n  undefined4 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&local_18);\n  if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);\n  puVar4 = puVar2;\n  puVar7 = param_1;\n  do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);\n  uVar8 = puVar5[5];\n  uVar3 = puVar5[6];\n  *puVar7 = *puVar4;\n  puVar6[5] = uVar8;\n  puVar6[6] = uVar3;\n  if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }\n  return (undefined4 *)0xffffffff;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "undefined4 *local_14;" type_identifier (pointer_declarator "*local_14" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(undefined4 **)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*(code *)PTR_time_000b0c8c)(&local_18);" (call_expression "(*(code *)PTR_time_000b0c8c)(&local_18)" (parenthesized_expression "(*(code *)PTR_time_000b0c8c)" ( (pointer_expression "*(code *)PTR_time_000b0c8c" * (cast_expression "(code *)PTR_time_000b0c8c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_18)" ( (pointer_expression "&local_18" & identifier) ))) ;) (if_statement "if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }" if (parenthesized_expression "(local_18 == -1)" ( (binary_expression "local_18 == -1" identifier == number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }" { (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" ( (binary_expression "PTR_DAT_000b01d0 + -0x37f8" identifier + number_literal) , (binary_expression "PTR_DAT_000b01d0 + -0x3800" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_000b01d0 + -0x37e0" identifier + number_literal) ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_localtime_000b0bfc)(&local_18)" (parenthesized_expression "(*(code *)PTR_localtime_000b0bfc)" ( (pointer_expression "*(code *)PTR_localtime_000b0bfc" * (cast_expression "(code *)PTR_localtime_000b0bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_18)" ( (pointer_expression "&local_18" & identifier) ))))) ;) (expression_statement "puVar4 = puVar2;" (assignment_expression "puVar4 = puVar2" identifier = identifier) ;) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" identifier = identifier) ;) (do_statement "do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);" do (compound_statement "{\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  }" { (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" identifier = identifier) ;) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (expression_statement "puVar4 = puVar5 + 4;" (assignment_expression "puVar4 = puVar5 + 4" identifier = (binary_expression "puVar5 + 4" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar6 + 4;" (assignment_expression "puVar7 = puVar6 + 4" identifier = (binary_expression "puVar6 + 4" identifier + number_literal)) ;) (expression_statement "uVar9 = puVar5[1];" (assignment_expression "uVar9 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar5[2];" (assignment_expression "uVar8 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = puVar5[3];" (assignment_expression "uVar3 = puVar5[3]" identifier = (subscript_expression "puVar5[3]" identifier [ number_literal ])) ;) (expression_statement "*puVar6 = *puVar5;" (assignment_expression "*puVar6 = *puVar5" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar6[1] = uVar9;" (assignment_expression "puVar6[1] = uVar9" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[2] = uVar8;" (assignment_expression "puVar6[2] = uVar8" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[3] = uVar3;" (assignment_expression "puVar6[3] = uVar3" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(puVar4 != puVar2 + 8)" ( (binary_expression "puVar4 != puVar2 + 8" identifier != (binary_expression "puVar2 + 8" identifier + number_literal)) )) ;) (expression_statement "uVar8 = puVar5[5];" (assignment_expression "uVar8 = puVar5[5]" identifier = (subscript_expression "puVar5[5]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = puVar5[6];" (assignment_expression "uVar3 = puVar5[6]" identifier = (subscript_expression "puVar5[6]" identifier [ number_literal ])) ;) (expression_statement "*puVar7 = *puVar4;" (assignment_expression "*puVar7 = *puVar4" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar6[5] = uVar8;" (assignment_expression "puVar6[5] = uVar8" (subscript_expression "puVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[6] = uVar3;" (assignment_expression "puVar6[6] = uVar3" (subscript_expression "puVar6[6]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }" if (parenthesized_expression "(local_14 == *(undefined4 **)puVar1)" ( (binary_expression "local_14 == *(undefined4 **)puVar1" identifier == (pointer_expression "*(undefined4 **)puVar1" * (cast_expression "(undefined4 **)puVar1" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }" if (parenthesized_expression "(local_14 <= puVar7)" ( (binary_expression "local_14 <= puVar7" identifier <= identifier) )) (compound_statement "{\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }" { (return_statement "return (undefined4 *)(uint)(local_14 < puVar7);" return (cast_expression "(undefined4 *)(uint)(local_14 < puVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(local_14 < puVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_14 < puVar7)" ( (binary_expression "local_14 < puVar7" identifier < identifier) )))) ;) })) (return_statement "return (undefined4 *)0xffffffff;" return (cast_expression "(undefined4 *)0xffffffff" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "undefined4 * ltime(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int local_18;\n  undefined4 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&local_18);\n  if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);\n  puVar4 = puVar2;\n  puVar7 = param_1;\n  do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);\n  uVar8 = puVar5[5];\n  uVar3 = puVar5[6];\n  *puVar7 = *puVar4;\n  puVar6[5] = uVar8;\n  puVar6[6] = uVar3;\n  if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }\n  return (undefined4 *)0xffffffff;\n}" (type_identifier "undefined4") (pointer_declarator "* ltime(undefined4 *param_1)" (* "*") (function_declarator "ltime(undefined4 *param_1)" (identifier "ltime") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int local_18;\n  undefined4 *local_14;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;\n  (*(code *)PTR_time_000b0c8c)(&local_18);\n  if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);\n  puVar4 = puVar2;\n  puVar7 = param_1;\n  do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);\n  uVar8 = puVar5[5];\n  uVar3 = puVar5[6];\n  *puVar7 = *puVar4;\n  puVar6[5] = uVar8;\n  puVar6[6] = uVar3;\n  if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }\n  return (undefined4 *)0xffffffff;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (declaration "undefined4 *local_14;" (type_identifier "undefined4") (pointer_declarator "*local_14" (* "*") (identifier "local_14")) (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b0c9c" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_000b0c9c")) (; ";")) (expression_statement "local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c" (identifier "local_14") (= "=") (pointer_expression "*(undefined4 **)PTR___stack_chk_guard_000b0c9c" (* "*") (cast_expression "(undefined4 **)PTR___stack_chk_guard_000b0c9c" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_000b0c9c")))) (; ";")) (expression_statement "(*(code *)PTR_time_000b0c8c)(&local_18);" (call_expression "(*(code *)PTR_time_000b0c8c)(&local_18)" (parenthesized_expression "(*(code *)PTR_time_000b0c8c)" (( "(") (pointer_expression "*(code *)PTR_time_000b0c8c" (* "*") (cast_expression "(code *)PTR_time_000b0c8c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_time_000b0c8c"))) () ")")) (argument_list "(&local_18)" (( "(") (pointer_expression "&local_18" (& "&") (identifier "local_18")) () ")"))) (; ";")) (if_statement "if (local_18 == -1) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }" (if "if") (parenthesized_expression "(local_18 == -1)" (( "(") (binary_expression "local_18 == -1" (identifier "local_18") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);\n    return puVar4;\n  }" ({ "{") (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" (* "*") (cast_expression "(code *)PTR___assert_fail_000b0ac0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000b0ac0"))) () ")")) (argument_list "(PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,\n                        PTR_DAT_000b01d0 + -0x37e0)" (( "(") (binary_expression "PTR_DAT_000b01d0 + -0x37f8" (identifier "PTR_DAT_000b01d0") (+ "+") (number_literal "-0x37f8")) (, ",") (binary_expression "PTR_DAT_000b01d0 + -0x3800" (identifier "PTR_DAT_000b01d0") (+ "+") (number_literal "-0x3800")) (, ",") (number_literal "0xe") (, ",") (binary_expression "PTR_DAT_000b01d0 + -0x37e0" (identifier "PTR_DAT_000b01d0") (+ "+") (number_literal "-0x37e0")) () ")"))))) (; ";")) (return_statement "return puVar4;" (return "return") (identifier "puVar4") (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_localtime_000b0bfc)(&local_18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_localtime_000b0bfc)(&local_18)" (parenthesized_expression "(*(code *)PTR_localtime_000b0bfc)" (( "(") (pointer_expression "*(code *)PTR_localtime_000b0bfc" (* "*") (cast_expression "(code *)PTR_localtime_000b0bfc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_localtime_000b0bfc"))) () ")")) (argument_list "(&local_18)" (( "(") (pointer_expression "&local_18" (& "&") (identifier "local_18")) () ")"))))) (; ";")) (expression_statement "puVar4 = puVar2;" (assignment_expression "puVar4 = puVar2" (identifier "puVar4") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar7 = param_1;" (assignment_expression "puVar7 = param_1" (identifier "puVar7") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  } while (puVar4 != puVar2 + 8);" (do "do") (compound_statement "{\n    puVar6 = puVar7;\n    puVar5 = puVar4;\n    puVar4 = puVar5 + 4;\n    puVar7 = puVar6 + 4;\n    uVar9 = puVar5[1];\n    uVar8 = puVar5[2];\n    uVar3 = puVar5[3];\n    *puVar6 = *puVar5;\n    puVar6[1] = uVar9;\n    puVar6[2] = uVar8;\n    puVar6[3] = uVar3;\n  }" ({ "{") (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" (identifier "puVar6") (= "=") (identifier "puVar7")) (; ";")) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" (identifier "puVar5") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "puVar4 = puVar5 + 4;" (assignment_expression "puVar4 = puVar5 + 4" (identifier "puVar4") (= "=") (binary_expression "puVar5 + 4" (identifier "puVar5") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puVar7 = puVar6 + 4;" (assignment_expression "puVar7 = puVar6 + 4" (identifier "puVar7") (= "=") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uVar9 = puVar5[1];" (assignment_expression "uVar9 = puVar5[1]" (identifier "uVar9") (= "=") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar8 = puVar5[2];" (assignment_expression "uVar8 = puVar5[2]" (identifier "uVar8") (= "=") (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar3 = puVar5[3];" (assignment_expression "uVar3 = puVar5[3]" (identifier "uVar3") (= "=") (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*puVar6 = *puVar5;" (assignment_expression "*puVar6 = *puVar5" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar6[1] = uVar9;" (assignment_expression "puVar6[1] = uVar9" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "puVar6[2] = uVar8;" (assignment_expression "puVar6[2] = uVar8" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "puVar6[3] = uVar3;" (assignment_expression "puVar6[3] = uVar3" (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != puVar2 + 8)" (( "(") (binary_expression "puVar4 != puVar2 + 8" (identifier "puVar4") (!= "!=") (binary_expression "puVar2 + 8" (identifier "puVar2") (+ "+") (number_literal "8"))) () ")")) (; ";")) (expression_statement "uVar8 = puVar5[5];" (assignment_expression "uVar8 = puVar5[5]" (identifier "uVar8") (= "=") (subscript_expression "puVar5[5]" (identifier "puVar5") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "uVar3 = puVar5[6];" (assignment_expression "uVar3 = puVar5[6]" (identifier "uVar3") (= "=") (subscript_expression "puVar5[6]" (identifier "puVar5") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "*puVar7 = *puVar4;" (assignment_expression "*puVar7 = *puVar4" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar6[5] = uVar8;" (assignment_expression "puVar6[5] = uVar8" (subscript_expression "puVar6[5]" (identifier "puVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "puVar6[6] = uVar3;" (assignment_expression "puVar6[6] = uVar3" (subscript_expression "puVar6[6]" (identifier "puVar6") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (local_14 == *(undefined4 **)puVar1) {\n    return param_1;\n  }" (if "if") (parenthesized_expression "(local_14 == *(undefined4 **)puVar1)" (( "(") (binary_expression "local_14 == *(undefined4 **)puVar1" (identifier "local_14") (== "==") (pointer_expression "*(undefined4 **)puVar1" (* "*") (cast_expression "(undefined4 **)puVar1" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return param_1;\n  }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b0c70"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (local_14 <= puVar7) {\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }" (if "if") (parenthesized_expression "(local_14 <= puVar7)" (( "(") (binary_expression "local_14 <= puVar7" (identifier "local_14") (<= "<=") (identifier "puVar7")) () ")")) (compound_statement "{\n    return (undefined4 *)(uint)(local_14 < puVar7);\n  }" ({ "{") (return_statement "return (undefined4 *)(uint)(local_14 < puVar7);" (return "return") (cast_expression "(undefined4 *)(uint)(local_14 < puVar7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(uint)(local_14 < puVar7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_14 < puVar7)" (( "(") (binary_expression "local_14 < puVar7" (identifier "local_14") (< "<") (identifier "puVar7")) () ")")))) (; ";")) (} "}"))) (return_statement "return (undefined4 *)0xffffffff;" (return "return") (cast_expression "(undefined4 *)0xffffffff" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 * function_1(void)

{
  type_2 *puVar1;
  int *var_5;
  int iVar3;
  type_1 *var_7;
  int *var_3;
  int *var_4;
  type_1 *in_a0;
  type_1 *ptVar7;
  int iVar8;
  int iVar9;
  type_3 var_1;
  type_4 *var_6;
  
  puVar1 = PTR___stack_chk_guard_000b0c9c;
  var_6 = *(type_4 **)PTR___stack_chk_guard_000b0c9c;
  (*(type_5 *)PTR_time_000b0c8c)(&var_1);
  if (var_1 == -1) {
    var_7 = (type_1 *)(*(type_5 *)PTR___assert_fail_000b0ac0)
                             (var_2 + -0x37f8,var_2 + -0x3800,0xe,
                              var_2 + -0x37e0);
    return var_7;
  }
  var_5 = (int *)(*(type_5 *)PTR_localtime_000b0bfc)(&var_1);
  var_4 = var_5;
  var_7 = in_a0;
  do {
    ptVar7 = var_7;
    var_3 = var_4;
    var_4 = var_3 + 4;
    var_7 = (type_1 *)&ptVar7->tm_mon;
    iVar9 = var_3[1];
    iVar8 = var_3[2];
    iVar3 = var_3[3];
    ptVar7->tm_sec = *var_3;
    ptVar7->tm_min = iVar9;
    ptVar7->tm_hour = iVar8;
    ptVar7->tm_mday = iVar3;
  } while (var_4 != var_5 + 8);
  iVar8 = var_3[5];
  iVar3 = var_3[6];
  *(int *)var_7 = *var_4;
  ptVar7->tm_year = iVar8;
  ptVar7->tm_wday = iVar3;
  if (var_6 == *(type_4 **)puVar1) {
    return in_a0;
  }
  (*(type_5 *)PTR___stack_chk_fail_000b0c70)();
  if (var_6 <= var_7) {
    return (type_1 *)(uint)(var_6 < var_7);
  }
  return (type_1 *)0xffffffff;
}


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

undefined4 * MASKED(undefined4 *param_1)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  undefined4 *puVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  int local_18;
  undefined4 *local_14;
  
  puVar1 = PTR___stack_chk_guard_000b0c9c;
  local_14 = *(undefined4 **)PTR___stack_chk_guard_000b0c9c;
  (*(code *)PTR_time_000b0c8c)(&local_18);
  if (local_18 == -1) {
    puVar4 = (undefined4 *)
             (*(code *)PTR___assert_fail_000b0ac0)
                       (PTR_DAT_000b01d0 + -0x37f8,PTR_DAT_000b01d0 + -0x3800,0xe,
                        PTR_DAT_000b01d0 + -0x37e0);
    return puVar4;
  }
  puVar2 = (undefined4 *)(*(code *)PTR_locaMASKED_000b0bfc)(&local_18);
  puVar4 = puVar2;
  puVar7 = param_1;
  do {
    puVar6 = puVar7;
    puVar5 = puVar4;
    puVar4 = puVar5 + 4;
    puVar7 = puVar6 + 4;
    uVar9 = puVar5[1];
    uVar8 = puVar5[2];
    uVar3 = puVar5[3];
    *puVar6 = *puVar5;
    puVar6[1] = uVar9;
    puVar6[2] = uVar8;
    puVar6[3] = uVar3;
  } while (puVar4 != puVar2 + 8);
  uVar8 = puVar5[5];
  uVar3 = puVar5[6];
  *puVar7 = *puVar4;
  puVar6[5] = uVar8;
  puVar6[6] = uVar3;
  if (local_14 == *(undefined4 **)puVar1) {
    return param_1;
  }
  (*(code *)PTR___stack_chk_fail_000b0c70)();
  if (local_14 <= puVar7) {
    return (undefined4 *)(uint)(local_14 < puVar7);
  }
  return (undefined4 *)0xffffffff;
}

