
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

int settime(timespec *ts)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  undefined4 uVar4;
  timespec *ptVar5;
  undefined *puVar6;
  uint uStack_24;
  timeval tv;
  
  puVar6 = PTR___stack_chk_guard_0003b34c;
  iVar1 = *(int *)PTR___stack_chk_guard_0003b34c;
  ptVar5 = ts;
  iVar2 = (*(code *)PTR_clock_settime_0003b2b4)(0);
  if (iVar2 != 0) {
    piVar3 = (int *)(*(code *)PTR___errno_location_0003b2b8)();
    if (*piVar3 != 1) {
      tv.tv_sec = ts->tv_sec;
      ptVar5 = (timespec *)0x0;
      tv.tv_usec = ts->tv_nsec / 1000;
      iVar2 = (*(code *)PTR_settimeofday_0003b254)(&tv);
    }
  }
  if (iVar1 == *(int *)puVar6) {
    return iVar2;
  }
  puVar6 = PTR___stack_chk_fail_0003b330;
  (*(code *)PTR___stack_chk_fail_0003b330)();
  if (ptVar5 == (timespec *)0x0) {
    (**(code **)(puVar6 + 0x1b560))();
  }
  else {
    (**(code **)(puVar6 + 0x1b560))();
  }
  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fac,5);
  (**(code **)(puVar6 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar6 + 0x1b4f0),uVar4,0x7e2);
  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fa8,5);
  (**(code **)(puVar6 + 0x1b668))(uVar4,iVar1);
  if (uStack_24 < 10) {
                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +
                                0x233d0))();
    return iVar1;
  }
  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5d9c,5);
  iVar1 = (**(code **)(puVar6 + 0x1b560))
                    (iVar1,1,uVar4,__gp,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,
                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);
  return iVar1;
}



/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

int settime(undefined4 *param_1)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  uint uStack_24;
  undefined4 local_1c;
  int local_18;
  int local_14;
  
  puVar5 = PTR___stack_chk_guard_0003b34c;
  local_14 = *(int *)PTR___stack_chk_guard_0003b34c;
  puVar4 = param_1;
  iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);
  if (iVar1 != 0) {
    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();
    if (*piVar2 != 1) {
      local_1c = *param_1;
      puVar4 = (undefined4 *)0x0;
      local_18 = (int)param_1[1] / 1000;
      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);
    }
  }
  if (local_14 == *(int *)puVar5) {
    return iVar1;
  }
  iVar1 = local_14;
  puVar5 = PTR___stack_chk_fail_0003b330;
  (*(code *)PTR___stack_chk_fail_0003b330)();
  if (puVar4 == (undefined4 *)0x0) {
    (**(code **)(puVar5 + 0x1b560))();
  }
  else {
    (**(code **)(puVar5 + 0x1b560))();
  }
  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);
  (**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);
  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);
  (**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);
  if (uStack_24 < 10) {
                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +
                                0x233d0))();
    return iVar1;
  }
  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);
  iVar1 = (**(code **)(puVar5 + 0x1b560))
                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,
                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);
  return iVar1;
}


lui gp,0x2
addiu gp,gp,0x34c0
addu gp,gp,t9
addiu sp,sp,-0x38
lw t9,-0x7e2c(gp)
sw s1,0x2c(sp)
lw s1,-0x7d94(gp)
sw s2,0x30(sp)
or s2,a0,zero
or a0,zero,zero
sw gp,0x10(sp)
sw s0,0x28(sp)
or a1,s2,zero
sw ra,0x34(sp)
lw v0,0x0(s1)
sw v0,0x24(sp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0001fcd4
_or s0,v0,zero
lw t9,-0x7e28(gp)
jalr t9
_nop
li v1,0x1
lw v0,0x0(v0)
beq v0,v1,0x0001fcd4
_lw gp,0x10(sp)
lui v1,0x1062
lw v0,0x4(s2)
lw a0,0x0(s2)
or a1,zero,zero
addiu v1,v1,0x4dd3
lw t9,-0x7e8c(gp)
sra a2,v0,0x1f
mult v0,v1
sw a0,0x1c(sp)
addiu a0,sp,0x1c
mfhi v0
sra v0,v0,0x6
subu v0,v0,a2
jalr t9
_sw v0,0x20(sp)
lw gp,0x10(sp)
or s0,v0,zero
lw a0,0x24(sp)
or v0,s0,zero
lw v1,0x0(s1)
bne a0,v1,0x0001fcfc
_lw ra,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x38
lw t9,-0x7db0(gp)
jalr t9
_nop
nop
nop
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nint settime(undefined4 *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  uint uStack_24;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar5 = PTR___stack_chk_guard_0003b34c;\n  local_14 = *(int *)PTR___stack_chk_guard_0003b34c;\n  puVar4 = param_1;\n  iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }\n  if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }\n  iVar1 = local_14;\n  puVar5 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);\n  if (uStack_24 < 10) {\n                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}\n\n" comment (function_definition "int settime(undefined4 *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  uint uStack_24;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar5 = PTR___stack_chk_guard_0003b34c;\n  local_14 = *(int *)PTR___stack_chk_guard_0003b34c;\n  puVar4 = param_1;\n  iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }\n  if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }\n  iVar1 = local_14;\n  puVar5 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);\n  if (uStack_24 < 10) {\n                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}" primitive_type (function_declarator "settime(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  uint uStack_24;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar5 = PTR___stack_chk_guard_0003b34c;\n  local_14 = *(int *)PTR___stack_chk_guard_0003b34c;\n  puVar4 = param_1;\n  iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }\n  if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }\n  iVar1 = local_14;\n  puVar5 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);\n  if (uStack_24 < 10) {\n                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uStack_24;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar5 = PTR___stack_chk_guard_0003b34c;" (assignment_expression "puVar5 = PTR___stack_chk_guard_0003b34c" identifier = identifier) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0003b34c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0003b34c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0003b34c" * (cast_expression "(int *)PTR___stack_chk_guard_0003b34c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" identifier = identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);" (assignment_expression "iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0)" identifier = (call_expression "(*(code *)PTR_clock_settime_0003b2b4)(0)" (parenthesized_expression "(*(code *)PTR_clock_settime_0003b2b4)" ( (pointer_expression "*(code *)PTR_clock_settime_0003b2b4" * (cast_expression "(code *)PTR_clock_settime_0003b2b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0003b2b8)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0003b2b8)()" (parenthesized_expression "(*(code *)PTR___errno_location_0003b2b8)" ( (pointer_expression "*(code *)PTR___errno_location_0003b2b8" * (cast_expression "(code *)PTR___errno_location_0003b2b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }" if (parenthesized_expression "(*piVar2 != 1)" ( (binary_expression "*piVar2 != 1" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }" { (expression_statement "local_1c = *param_1;" (assignment_expression "local_1c = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "puVar4 = (undefined4 *)0x0;" (assignment_expression "puVar4 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_18 = (int)param_1[1] / 1000;" (assignment_expression "local_18 = (int)param_1[1] / 1000" identifier = (binary_expression "(int)param_1[1] / 1000" (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) / number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);" (assignment_expression "iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c)" identifier = (call_expression "(*(code *)PTR_settimeofday_0003b254)(&local_1c)" (parenthesized_expression "(*(code *)PTR_settimeofday_0003b254)" ( (pointer_expression "*(code *)PTR_settimeofday_0003b254" * (cast_expression "(code *)PTR_settimeofday_0003b254" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_1c)" ( (pointer_expression "&local_1c" & identifier) )))) ;) })) })) (if_statement "if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar5)" ( (binary_expression "local_14 == *(int *)puVar5" identifier == (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = local_14;" (assignment_expression "iVar1 = local_14" identifier = identifier) ;) (expression_statement "puVar5 = PTR___stack_chk_fail_0003b330;" (assignment_expression "puVar5 = PTR___stack_chk_fail_0003b330" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0003b330)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003b330)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003b330)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003b330" * (cast_expression "(code *)PTR___stack_chk_fail_0003b330" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(puVar5 + 0x1b560))();\n  }" { (expression_statement "(**(code **)(puVar5 + 0x1b560))();" (call_expression "(**(code **)(puVar5 + 0x1b560))()" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" ( (pointer_expression "**(code **)(puVar5 + 0x1b560)" * (pointer_expression "*(code **)(puVar5 + 0x1b560)" * (cast_expression "(code **)(puVar5 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b560)" ( (binary_expression "puVar5 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }" else (compound_statement "{\n    (**(code **)(puVar5 + 0x1b560))();\n  }" { (expression_statement "(**(code **)(puVar5 + 0x1b560))();" (call_expression "(**(code **)(puVar5 + 0x1b560))()" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" ( (pointer_expression "**(code **)(puVar5 + 0x1b560)" * (pointer_expression "*(code **)(puVar5 + 0x1b560)" * (cast_expression "(code **)(puVar5 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b560)" ( (binary_expression "puVar5 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (expression_statement "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);" (assignment_expression "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5)" identifier = (call_expression "(**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b624))" ( (pointer_expression "**(code **)(puVar5 + 0x1b624)" * (pointer_expression "*(code **)(puVar5 + 0x1b624)" * (cast_expression "(code **)(puVar5 + 0x1b624)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b624)" ( (binary_expression "puVar5 + 0x1b624" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5)" ( number_literal , (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5fac" (pointer_expression "*(int *)(puVar5 + 0x1b410)" * (cast_expression "(int *)(puVar5 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1b410)" ( (binary_expression "puVar5 + 0x1b410" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);" (call_expression "(**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" ( (pointer_expression "**(code **)(puVar5 + 0x1b560)" * (pointer_expression "*(code **)(puVar5 + 0x1b560)" * (cast_expression "(code **)(puVar5 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b560)" ( (binary_expression "puVar5 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(puVar5 + 0x1b4f0)" * (cast_expression "(undefined4 *)(puVar5 + 0x1b4f0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1b4f0)" ( (binary_expression "puVar5 + 0x1b4f0" identifier + number_literal) )))) , identifier , number_literal ))) ;) (expression_statement "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);" (assignment_expression "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5)" identifier = (call_expression "(**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b624))" ( (pointer_expression "**(code **)(puVar5 + 0x1b624)" * (pointer_expression "*(code **)(puVar5 + 0x1b624)" * (cast_expression "(code **)(puVar5 + 0x1b624)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b624)" ( (binary_expression "puVar5 + 0x1b624" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5)" ( number_literal , (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5fa8" (pointer_expression "*(int *)(puVar5 + 0x1b410)" * (cast_expression "(int *)(puVar5 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1b410)" ( (binary_expression "puVar5 + 0x1b410" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);" (call_expression "(**(code **)(puVar5 + 0x1b668))(uVar3,iVar1)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b668))" ( (pointer_expression "**(code **)(puVar5 + 0x1b668)" * (pointer_expression "*(code **)(puVar5 + 0x1b668)" * (cast_expression "(code **)(puVar5 + 0x1b668)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b668)" ( (binary_expression "puVar5 + 0x1b668" identifier + number_literal) ))))) )) (argument_list "(uVar3,iVar1)" ( identifier , identifier ))) ;) (if_statement "if (uStack_24 < 10) {\n                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }" if (parenthesized_expression "(uStack_24 < 10)" ( (binary_expression "uStack_24 < 10" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }" { comment comment (expression_statement "iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();" (assignment_expression "iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))()" identifier = (call_expression "(*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))()" (parenthesized_expression "(*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))" ( (pointer_expression "*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" * (cast_expression "(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" ( (binary_expression "puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0" (binary_expression "puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" * (cast_expression "(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" ( (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4" (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5cd0" (pointer_expression "*(int *)(puVar5 + 0x1b410)" * (cast_expression "(int *)(puVar5 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1b410)" ( (binary_expression "puVar5 + 0x1b410" identifier + number_literal) )))) + number_literal) + (binary_expression "uStack_24 * 4" identifier * number_literal)) ))))) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);" (assignment_expression "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5)" identifier = (call_expression "(**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b624))" ( (pointer_expression "**(code **)(puVar5 + 0x1b624)" * (pointer_expression "*(code **)(puVar5 + 0x1b624)" * (cast_expression "(code **)(puVar5 + 0x1b624)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b624)" ( (binary_expression "puVar5 + 0x1b624" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5)" ( number_literal , (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5d9c" (pointer_expression "*(int *)(puVar5 + 0x1b410)" * (cast_expression "(int *)(puVar5 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1b410)" ( (binary_expression "puVar5 + 0x1b410" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);" (assignment_expression "iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" identifier = (call_expression "(**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" ( (pointer_expression "**(code **)(puVar5 + 0x1b560)" * (pointer_expression "*(code **)(puVar5 + 0x1b560)" * (cast_expression "(code **)(puVar5 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b560)" ( (binary_expression "puVar5 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "(iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" ( identifier , number_literal , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nint settime(timespec *ts)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  timespec *ptVar5;\n  undefined *puVar6;\n  uint uStack_24;\n  timeval tv;\n  \n  puVar6 = PTR___stack_chk_guard_0003b34c;\n  iVar1 = *(int *)PTR___stack_chk_guard_0003b34c;\n  ptVar5 = ts;\n  iVar2 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar2 != 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar3 != 1) {\n      tv.tv_sec = ts->tv_sec;\n      ptVar5 = (timespec *)0x0;\n      tv.tv_usec = ts->tv_nsec / 1000;\n      iVar2 = (*(code *)PTR_settimeofday_0003b254)(&tv);\n    }\n  }\n  if (iVar1 == *(int *)puVar6) {\n    return iVar2;\n  }\n  puVar6 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (ptVar5 == (timespec *)0x0) {\n    (**(code **)(puVar6 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar6 + 0x1b560))();\n  }\n  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar6 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar6 + 0x1b4f0),uVar4,0x7e2);\n  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar6 + 0x1b668))(uVar4,iVar1);\n  if (uStack_24 < 10) {\n                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar6 + 0x1b560))\n                    (iVar1,1,uVar4,__gp,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}\n\n" comment (function_definition "int settime(timespec *ts)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  timespec *ptVar5;\n  undefined *puVar6;\n  uint uStack_24;\n  timeval tv;\n  \n  puVar6 = PTR___stack_chk_guard_0003b34c;\n  iVar1 = *(int *)PTR___stack_chk_guard_0003b34c;\n  ptVar5 = ts;\n  iVar2 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar2 != 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar3 != 1) {\n      tv.tv_sec = ts->tv_sec;\n      ptVar5 = (timespec *)0x0;\n      tv.tv_usec = ts->tv_nsec / 1000;\n      iVar2 = (*(code *)PTR_settimeofday_0003b254)(&tv);\n    }\n  }\n  if (iVar1 == *(int *)puVar6) {\n    return iVar2;\n  }\n  puVar6 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (ptVar5 == (timespec *)0x0) {\n    (**(code **)(puVar6 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar6 + 0x1b560))();\n  }\n  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar6 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar6 + 0x1b4f0),uVar4,0x7e2);\n  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar6 + 0x1b668))(uVar4,iVar1);\n  if (uStack_24 < 10) {\n                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar6 + 0x1b560))\n                    (iVar1,1,uVar4,__gp,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}" primitive_type (function_declarator "settime(timespec *ts)" identifier (parameter_list "(timespec *ts)" ( (parameter_declaration "timespec *ts" type_identifier (pointer_declarator "*ts" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  timespec *ptVar5;\n  undefined *puVar6;\n  uint uStack_24;\n  timeval tv;\n  \n  puVar6 = PTR___stack_chk_guard_0003b34c;\n  iVar1 = *(int *)PTR___stack_chk_guard_0003b34c;\n  ptVar5 = ts;\n  iVar2 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar2 != 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar3 != 1) {\n      tv.tv_sec = ts->tv_sec;\n      ptVar5 = (timespec *)0x0;\n      tv.tv_usec = ts->tv_nsec / 1000;\n      iVar2 = (*(code *)PTR_settimeofday_0003b254)(&tv);\n    }\n  }\n  if (iVar1 == *(int *)puVar6) {\n    return iVar2;\n  }\n  puVar6 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (ptVar5 == (timespec *)0x0) {\n    (**(code **)(puVar6 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar6 + 0x1b560))();\n  }\n  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar6 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar6 + 0x1b4f0),uVar4,0x7e2);\n  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar6 + 0x1b668))(uVar4,iVar1);\n  if (uStack_24 < 10) {\n                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar6 + 0x1b560))\n                    (iVar1,1,uVar4,__gp,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "timespec *ptVar5;" type_identifier (pointer_declarator "*ptVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uStack_24;" type_identifier identifier ;) (declaration "timeval tv;" type_identifier identifier ;) (expression_statement "puVar6 = PTR___stack_chk_guard_0003b34c;" (assignment_expression "puVar6 = PTR___stack_chk_guard_0003b34c" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0003b34c;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0003b34c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0003b34c" * (cast_expression "(int *)PTR___stack_chk_guard_0003b34c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "ptVar5 = ts;" (assignment_expression "ptVar5 = ts" identifier = identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_clock_settime_0003b2b4)(0);" (assignment_expression "iVar2 = (*(code *)PTR_clock_settime_0003b2b4)(0)" identifier = (call_expression "(*(code *)PTR_clock_settime_0003b2b4)(0)" (parenthesized_expression "(*(code *)PTR_clock_settime_0003b2b4)" ( (pointer_expression "*(code *)PTR_clock_settime_0003b2b4" * (cast_expression "(code *)PTR_clock_settime_0003b2b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n    piVar3 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar3 != 1) {\n      tv.tv_sec = ts->tv_sec;\n      ptVar5 = (timespec *)0x0;\n      tv.tv_usec = ts->tv_nsec / 1000;\n      iVar2 = (*(code *)PTR_settimeofday_0003b254)(&tv);\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    piVar3 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar3 != 1) {\n      tv.tv_sec = ts->tv_sec;\n      ptVar5 = (timespec *)0x0;\n      tv.tv_usec = ts->tv_nsec / 1000;\n      iVar2 = (*(code *)PTR_settimeofday_0003b254)(&tv);\n    }\n  }" { (expression_statement "piVar3 = (int *)(*(code *)PTR___errno_location_0003b2b8)();" (assignment_expression "piVar3 = (int *)(*(code *)PTR___errno_location_0003b2b8)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0003b2b8)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0003b2b8)()" (parenthesized_expression "(*(code *)PTR___errno_location_0003b2b8)" ( (pointer_expression "*(code *)PTR___errno_location_0003b2b8" * (cast_expression "(code *)PTR___errno_location_0003b2b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar3 != 1) {\n      tv.tv_sec = ts->tv_sec;\n      ptVar5 = (timespec *)0x0;\n      tv.tv_usec = ts->tv_nsec / 1000;\n      iVar2 = (*(code *)PTR_settimeofday_0003b254)(&tv);\n    }" if (parenthesized_expression "(*piVar3 != 1)" ( (binary_expression "*piVar3 != 1" (pointer_expression "*piVar3" * identifier) != number_literal) )) (compound_statement "{\n      tv.tv_sec = ts->tv_sec;\n      ptVar5 = (timespec *)0x0;\n      tv.tv_usec = ts->tv_nsec / 1000;\n      iVar2 = (*(code *)PTR_settimeofday_0003b254)(&tv);\n    }" { (expression_statement "tv.tv_sec = ts->tv_sec;" (assignment_expression "tv.tv_sec = ts->tv_sec" (field_expression "tv.tv_sec" identifier . field_identifier) = (field_expression "ts->tv_sec" identifier -> field_identifier)) ;) (expression_statement "ptVar5 = (timespec *)0x0;" (assignment_expression "ptVar5 = (timespec *)0x0" identifier = (cast_expression "(timespec *)0x0" ( (type_descriptor "timespec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "tv.tv_usec = ts->tv_nsec / 1000;" (assignment_expression "tv.tv_usec = ts->tv_nsec / 1000" (field_expression "tv.tv_usec" identifier . field_identifier) = (binary_expression "ts->tv_nsec / 1000" (field_expression "ts->tv_nsec" identifier -> field_identifier) / number_literal)) ;) (expression_statement "iVar2 = (*(code *)PTR_settimeofday_0003b254)(&tv);" (assignment_expression "iVar2 = (*(code *)PTR_settimeofday_0003b254)(&tv)" identifier = (call_expression "(*(code *)PTR_settimeofday_0003b254)(&tv)" (parenthesized_expression "(*(code *)PTR_settimeofday_0003b254)" ( (pointer_expression "*(code *)PTR_settimeofday_0003b254" * (cast_expression "(code *)PTR_settimeofday_0003b254" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&tv)" ( (pointer_expression "&tv" & identifier) )))) ;) })) })) (if_statement "if (iVar1 == *(int *)puVar6) {\n    return iVar2;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar6)" ( (binary_expression "iVar1 == *(int *)puVar6" identifier == (pointer_expression "*(int *)puVar6" * (cast_expression "(int *)puVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "puVar6 = PTR___stack_chk_fail_0003b330;" (assignment_expression "puVar6 = PTR___stack_chk_fail_0003b330" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0003b330)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003b330)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003b330)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003b330" * (cast_expression "(code *)PTR___stack_chk_fail_0003b330" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (ptVar5 == (timespec *)0x0) {\n    (**(code **)(puVar6 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar6 + 0x1b560))();\n  }" if (parenthesized_expression "(ptVar5 == (timespec *)0x0)" ( (binary_expression "ptVar5 == (timespec *)0x0" identifier == (cast_expression "(timespec *)0x0" ( (type_descriptor "timespec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(puVar6 + 0x1b560))();\n  }" { (expression_statement "(**(code **)(puVar6 + 0x1b560))();" (call_expression "(**(code **)(puVar6 + 0x1b560))()" (parenthesized_expression "(**(code **)(puVar6 + 0x1b560))" ( (pointer_expression "**(code **)(puVar6 + 0x1b560)" * (pointer_expression "*(code **)(puVar6 + 0x1b560)" * (cast_expression "(code **)(puVar6 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1b560)" ( (binary_expression "puVar6 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n    (**(code **)(puVar6 + 0x1b560))();\n  }" else (compound_statement "{\n    (**(code **)(puVar6 + 0x1b560))();\n  }" { (expression_statement "(**(code **)(puVar6 + 0x1b560))();" (call_expression "(**(code **)(puVar6 + 0x1b560))()" (parenthesized_expression "(**(code **)(puVar6 + 0x1b560))" ( (pointer_expression "**(code **)(puVar6 + 0x1b560)" * (pointer_expression "*(code **)(puVar6 + 0x1b560)" * (cast_expression "(code **)(puVar6 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1b560)" ( (binary_expression "puVar6 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (expression_statement "uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fac,5);" (assignment_expression "uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fac,5)" identifier = (call_expression "(**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fac,5)" (parenthesized_expression "(**(code **)(puVar6 + 0x1b624))" ( (pointer_expression "**(code **)(puVar6 + 0x1b624)" * (pointer_expression "*(code **)(puVar6 + 0x1b624)" * (cast_expression "(code **)(puVar6 + 0x1b624)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1b624)" ( (binary_expression "puVar6 + 0x1b624" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar6 + 0x1b410) + -0x5fac,5)" ( number_literal , (binary_expression "*(int *)(puVar6 + 0x1b410) + -0x5fac" (pointer_expression "*(int *)(puVar6 + 0x1b410)" * (cast_expression "(int *)(puVar6 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x1b410)" ( (binary_expression "puVar6 + 0x1b410" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar6 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar6 + 0x1b4f0),uVar4,0x7e2);" (call_expression "(**(code **)(puVar6 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar6 + 0x1b4f0),uVar4,0x7e2)" (parenthesized_expression "(**(code **)(puVar6 + 0x1b560))" ( (pointer_expression "**(code **)(puVar6 + 0x1b560)" * (pointer_expression "*(code **)(puVar6 + 0x1b560)" * (cast_expression "(code **)(puVar6 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1b560)" ( (binary_expression "puVar6 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "(iVar1,1,*(undefined4 *)(puVar6 + 0x1b4f0),uVar4,0x7e2)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(puVar6 + 0x1b4f0)" * (cast_expression "(undefined4 *)(puVar6 + 0x1b4f0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x1b4f0)" ( (binary_expression "puVar6 + 0x1b4f0" identifier + number_literal) )))) , identifier , number_literal ))) ;) (expression_statement "uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fa8,5);" (assignment_expression "uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fa8,5)" identifier = (call_expression "(**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5fa8,5)" (parenthesized_expression "(**(code **)(puVar6 + 0x1b624))" ( (pointer_expression "**(code **)(puVar6 + 0x1b624)" * (pointer_expression "*(code **)(puVar6 + 0x1b624)" * (cast_expression "(code **)(puVar6 + 0x1b624)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1b624)" ( (binary_expression "puVar6 + 0x1b624" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar6 + 0x1b410) + -0x5fa8,5)" ( number_literal , (binary_expression "*(int *)(puVar6 + 0x1b410) + -0x5fa8" (pointer_expression "*(int *)(puVar6 + 0x1b410)" * (cast_expression "(int *)(puVar6 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x1b410)" ( (binary_expression "puVar6 + 0x1b410" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar6 + 0x1b668))(uVar4,iVar1);" (call_expression "(**(code **)(puVar6 + 0x1b668))(uVar4,iVar1)" (parenthesized_expression "(**(code **)(puVar6 + 0x1b668))" ( (pointer_expression "**(code **)(puVar6 + 0x1b668)" * (pointer_expression "*(code **)(puVar6 + 0x1b668)" * (cast_expression "(code **)(puVar6 + 0x1b668)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1b668)" ( (binary_expression "puVar6 + 0x1b668" identifier + number_literal) ))))) )) (argument_list "(uVar4,iVar1)" ( identifier , identifier ))) ;) (if_statement "if (uStack_24 < 10) {\n                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }" if (parenthesized_expression "(uStack_24 < 10)" ( (binary_expression "uStack_24 < 10" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }" { comment comment (expression_statement "iVar1 = (*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();" (assignment_expression "iVar1 = (*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))()" identifier = (call_expression "(*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))()" (parenthesized_expression "(*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))" ( (pointer_expression "*(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" * (cast_expression "(code *)(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" ( (binary_expression "puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0" (binary_expression "puVar6 + *(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" * (cast_expression "(int *)(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" ( (binary_expression "*(int *)(puVar6 + 0x1b410) + -0x5cd0 + uStack_24 * 4" (binary_expression "*(int *)(puVar6 + 0x1b410) + -0x5cd0" (pointer_expression "*(int *)(puVar6 + 0x1b410)" * (cast_expression "(int *)(puVar6 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x1b410)" ( (binary_expression "puVar6 + 0x1b410" identifier + number_literal) )))) + number_literal) + (binary_expression "uStack_24 * 4" identifier * number_literal)) ))))) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5d9c,5);" (assignment_expression "uVar4 = (**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5d9c,5)" identifier = (call_expression "(**(code **)(puVar6 + 0x1b624))(0,*(int *)(puVar6 + 0x1b410) + -0x5d9c,5)" (parenthesized_expression "(**(code **)(puVar6 + 0x1b624))" ( (pointer_expression "**(code **)(puVar6 + 0x1b624)" * (pointer_expression "*(code **)(puVar6 + 0x1b624)" * (cast_expression "(code **)(puVar6 + 0x1b624)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1b624)" ( (binary_expression "puVar6 + 0x1b624" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar6 + 0x1b410) + -0x5d9c,5)" ( number_literal , (binary_expression "*(int *)(puVar6 + 0x1b410) + -0x5d9c" (pointer_expression "*(int *)(puVar6 + 0x1b410)" * (cast_expression "(int *)(puVar6 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x1b410)" ( (binary_expression "puVar6 + 0x1b410" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "iVar1 = (**(code **)(puVar6 + 0x1b560))\n                    (iVar1,1,uVar4,__gp,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);" (assignment_expression "iVar1 = (**(code **)(puVar6 + 0x1b560))\n                    (iVar1,1,uVar4,__gp,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" identifier = (call_expression "(**(code **)(puVar6 + 0x1b560))\n                    (iVar1,1,uVar4,__gp,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" (parenthesized_expression "(**(code **)(puVar6 + 0x1b560))" ( (pointer_expression "**(code **)(puVar6 + 0x1b560)" * (pointer_expression "*(code **)(puVar6 + 0x1b560)" * (cast_expression "(code **)(puVar6 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x1b560)" ( (binary_expression "puVar6 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "(iVar1,1,uVar4,__gp,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" ( identifier , number_literal , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int settime(undefined4 *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  uint uStack_24;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar5 = PTR___stack_chk_guard_0003b34c;\n  local_14 = *(int *)PTR___stack_chk_guard_0003b34c;\n  puVar4 = param_1;\n  iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }\n  if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }\n  iVar1 = local_14;\n  puVar5 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);\n  if (uStack_24 < 10) {\n                    \n                    \n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}\n\n" (function_definition "int settime(undefined4 *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  uint uStack_24;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar5 = PTR___stack_chk_guard_0003b34c;\n  local_14 = *(int *)PTR___stack_chk_guard_0003b34c;\n  puVar4 = param_1;\n  iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }\n  if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }\n  iVar1 = local_14;\n  puVar5 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);\n  if (uStack_24 < 10) {\n                    \n                    \n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}" primitive_type (function_declarator "settime(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  uint uStack_24;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar5 = PTR___stack_chk_guard_0003b34c;\n  local_14 = *(int *)PTR___stack_chk_guard_0003b34c;\n  puVar4 = param_1;\n  iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }\n  if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }\n  iVar1 = local_14;\n  puVar5 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);\n  if (uStack_24 < 10) {\n                    \n                    \n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uStack_24;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "puVar5 = PTR___stack_chk_guard_0003b34c;" (assignment_expression "puVar5 = PTR___stack_chk_guard_0003b34c" identifier = identifier) ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0003b34c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0003b34c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0003b34c" * (cast_expression "(int *)PTR___stack_chk_guard_0003b34c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" identifier = identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);" (assignment_expression "iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0)" identifier = (call_expression "(*(code *)PTR_clock_settime_0003b2b4)(0)" (parenthesized_expression "(*(code *)PTR_clock_settime_0003b2b4)" ( (pointer_expression "*(code *)PTR_clock_settime_0003b2b4" * (cast_expression "(code *)PTR_clock_settime_0003b2b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)()" identifier = (cast_expression "(int *)(*(code *)PTR___errno_location_0003b2b8)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_0003b2b8)()" (parenthesized_expression "(*(code *)PTR___errno_location_0003b2b8)" ( (pointer_expression "*(code *)PTR___errno_location_0003b2b8" * (cast_expression "(code *)PTR___errno_location_0003b2b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }" if (parenthesized_expression "(*piVar2 != 1)" ( (binary_expression "*piVar2 != 1" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }" { (expression_statement "local_1c = *param_1;" (assignment_expression "local_1c = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "puVar4 = (undefined4 *)0x0;" (assignment_expression "puVar4 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_18 = (int)param_1[1] / 1000;" (assignment_expression "local_18 = (int)param_1[1] / 1000" identifier = (binary_expression "(int)param_1[1] / 1000" (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) / number_literal)) ;) (expression_statement "iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);" (assignment_expression "iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c)" identifier = (call_expression "(*(code *)PTR_settimeofday_0003b254)(&local_1c)" (parenthesized_expression "(*(code *)PTR_settimeofday_0003b254)" ( (pointer_expression "*(code *)PTR_settimeofday_0003b254" * (cast_expression "(code *)PTR_settimeofday_0003b254" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_1c)" ( (pointer_expression "&local_1c" & identifier) )))) ;) })) })) (if_statement "if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_14 == *(int *)puVar5)" ( (binary_expression "local_14 == *(int *)puVar5" identifier == (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = local_14;" (assignment_expression "iVar1 = local_14" identifier = identifier) ;) (expression_statement "puVar5 = PTR___stack_chk_fail_0003b330;" (assignment_expression "puVar5 = PTR___stack_chk_fail_0003b330" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0003b330)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003b330)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003b330)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003b330" * (cast_expression "(code *)PTR___stack_chk_fail_0003b330" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(puVar5 + 0x1b560))();\n  }" { (expression_statement "(**(code **)(puVar5 + 0x1b560))();" (call_expression "(**(code **)(puVar5 + 0x1b560))()" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" ( (pointer_expression "**(code **)(puVar5 + 0x1b560)" * (pointer_expression "*(code **)(puVar5 + 0x1b560)" * (cast_expression "(code **)(puVar5 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b560)" ( (binary_expression "puVar5 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }" else (compound_statement "{\n    (**(code **)(puVar5 + 0x1b560))();\n  }" { (expression_statement "(**(code **)(puVar5 + 0x1b560))();" (call_expression "(**(code **)(puVar5 + 0x1b560))()" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" ( (pointer_expression "**(code **)(puVar5 + 0x1b560)" * (pointer_expression "*(code **)(puVar5 + 0x1b560)" * (cast_expression "(code **)(puVar5 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b560)" ( (binary_expression "puVar5 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (expression_statement "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);" (assignment_expression "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5)" identifier = (call_expression "(**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b624))" ( (pointer_expression "**(code **)(puVar5 + 0x1b624)" * (pointer_expression "*(code **)(puVar5 + 0x1b624)" * (cast_expression "(code **)(puVar5 + 0x1b624)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b624)" ( (binary_expression "puVar5 + 0x1b624" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5)" ( number_literal , (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5fac" (pointer_expression "*(int *)(puVar5 + 0x1b410)" * (cast_expression "(int *)(puVar5 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1b410)" ( (binary_expression "puVar5 + 0x1b410" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);" (call_expression "(**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" ( (pointer_expression "**(code **)(puVar5 + 0x1b560)" * (pointer_expression "*(code **)(puVar5 + 0x1b560)" * (cast_expression "(code **)(puVar5 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b560)" ( (binary_expression "puVar5 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(puVar5 + 0x1b4f0)" * (cast_expression "(undefined4 *)(puVar5 + 0x1b4f0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1b4f0)" ( (binary_expression "puVar5 + 0x1b4f0" identifier + number_literal) )))) , identifier , number_literal ))) ;) (expression_statement "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);" (assignment_expression "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5)" identifier = (call_expression "(**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b624))" ( (pointer_expression "**(code **)(puVar5 + 0x1b624)" * (pointer_expression "*(code **)(puVar5 + 0x1b624)" * (cast_expression "(code **)(puVar5 + 0x1b624)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b624)" ( (binary_expression "puVar5 + 0x1b624" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5)" ( number_literal , (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5fa8" (pointer_expression "*(int *)(puVar5 + 0x1b410)" * (cast_expression "(int *)(puVar5 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1b410)" ( (binary_expression "puVar5 + 0x1b410" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);" (call_expression "(**(code **)(puVar5 + 0x1b668))(uVar3,iVar1)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b668))" ( (pointer_expression "**(code **)(puVar5 + 0x1b668)" * (pointer_expression "*(code **)(puVar5 + 0x1b668)" * (cast_expression "(code **)(puVar5 + 0x1b668)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b668)" ( (binary_expression "puVar5 + 0x1b668" identifier + number_literal) ))))) )) (argument_list "(uVar3,iVar1)" ( identifier , identifier ))) ;) (if_statement "if (uStack_24 < 10) {\n                    \n                    \n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }" if (parenthesized_expression "(uStack_24 < 10)" ( (binary_expression "uStack_24 < 10" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();" (assignment_expression "iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))()" identifier = (call_expression "(*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))()" (parenthesized_expression "(*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))" ( (pointer_expression "*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" * (cast_expression "(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" ( (binary_expression "puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0" (binary_expression "puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" * (cast_expression "(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" ( (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4" (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5cd0" (pointer_expression "*(int *)(puVar5 + 0x1b410)" * (cast_expression "(int *)(puVar5 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1b410)" ( (binary_expression "puVar5 + 0x1b410" identifier + number_literal) )))) + number_literal) + (binary_expression "uStack_24 * 4" identifier * number_literal)) ))))) + number_literal) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);" (assignment_expression "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5)" identifier = (call_expression "(**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b624))" ( (pointer_expression "**(code **)(puVar5 + 0x1b624)" * (pointer_expression "*(code **)(puVar5 + 0x1b624)" * (cast_expression "(code **)(puVar5 + 0x1b624)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b624)" ( (binary_expression "puVar5 + 0x1b624" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5)" ( number_literal , (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5d9c" (pointer_expression "*(int *)(puVar5 + 0x1b410)" * (cast_expression "(int *)(puVar5 + 0x1b410)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x1b410)" ( (binary_expression "puVar5 + 0x1b410" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);" (assignment_expression "iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" identifier = (call_expression "(**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" ( (pointer_expression "**(code **)(puVar5 + 0x1b560)" * (pointer_expression "*(code **)(puVar5 + 0x1b560)" * (cast_expression "(code **)(puVar5 + 0x1b560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x1b560)" ( (binary_expression "puVar5 + 0x1b560" identifier + number_literal) ))))) )) (argument_list "(iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" ( identifier , number_literal , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) / LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) )))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = 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 == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , 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 *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression IDENT * LIT)) ))))) + LIT) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })))
(function_definition "int settime(undefined4 *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  uint uStack_24;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar5 = PTR___stack_chk_guard_0003b34c;\n  local_14 = *(int *)PTR___stack_chk_guard_0003b34c;\n  puVar4 = param_1;\n  iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }\n  if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }\n  iVar1 = local_14;\n  puVar5 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);\n  if (uStack_24 < 10) {\n                    \n                    \n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}" (primitive_type "int") (function_declarator "settime(undefined4 *param_1)" (identifier "settime") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  uint uStack_24;\n  undefined4 local_1c;\n  int local_18;\n  int local_14;\n  \n  puVar5 = PTR___stack_chk_guard_0003b34c;\n  local_14 = *(int *)PTR___stack_chk_guard_0003b34c;\n  puVar4 = param_1;\n  iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);\n  if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }\n  if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }\n  iVar1 = local_14;\n  puVar5 = PTR___stack_chk_fail_0003b330;\n  (*(code *)PTR___stack_chk_fail_0003b330)();\n  if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);\n  (**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);\n  (**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);\n  if (uStack_24 < 10) {\n                    \n                    \n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }\n  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);\n  iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint uStack_24;" (type_identifier "uint") (identifier "uStack_24") (; ";")) (declaration "undefined4 local_1c;" (type_identifier "undefined4") (identifier "local_1c") (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (expression_statement "puVar5 = PTR___stack_chk_guard_0003b34c;" (assignment_expression "puVar5 = PTR___stack_chk_guard_0003b34c" (identifier "puVar5") (= "=") (identifier "PTR___stack_chk_guard_0003b34c")) (; ";")) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0003b34c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0003b34c" (identifier "local_14") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0003b34c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0003b34c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0003b34c")))) (; ";")) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" (identifier "puVar4") (= "=") (identifier "param_1")) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0);" (assignment_expression "iVar1 = (*(code *)PTR_clock_settime_0003b2b4)(0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_clock_settime_0003b2b4)(0)" (parenthesized_expression "(*(code *)PTR_clock_settime_0003b2b4)" (( "(") (pointer_expression "*(code *)PTR_clock_settime_0003b2b4" (* "*") (cast_expression "(code *)PTR_clock_settime_0003b2b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_clock_settime_0003b2b4"))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();\n    if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }\n  }" ({ "{") (expression_statement "piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();" (assignment_expression "piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)()" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR___errno_location_0003b2b8)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_0003b2b8)()" (parenthesized_expression "(*(code *)PTR___errno_location_0003b2b8)" (( "(") (pointer_expression "*(code *)PTR___errno_location_0003b2b8" (* "*") (cast_expression "(code *)PTR___errno_location_0003b2b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_0003b2b8"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (*piVar2 != 1) {\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }" (if "if") (parenthesized_expression "(*piVar2 != 1)" (( "(") (binary_expression "*piVar2 != 1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      local_1c = *param_1;\n      puVar4 = (undefined4 *)0x0;\n      local_18 = (int)param_1[1] / 1000;\n      iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);\n    }" ({ "{") (expression_statement "local_1c = *param_1;" (assignment_expression "local_1c = *param_1" (identifier "local_1c") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "puVar4 = (undefined4 *)0x0;" (assignment_expression "puVar4 = (undefined4 *)0x0" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_18 = (int)param_1[1] / 1000;" (assignment_expression "local_18 = (int)param_1[1] / 1000" (identifier "local_18") (= "=") (binary_expression "(int)param_1[1] / 1000" (cast_expression "(int)param_1[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (/ "/") (number_literal "1000"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c);" (assignment_expression "iVar1 = (*(code *)PTR_settimeofday_0003b254)(&local_1c)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_settimeofday_0003b254)(&local_1c)" (parenthesized_expression "(*(code *)PTR_settimeofday_0003b254)" (( "(") (pointer_expression "*(code *)PTR_settimeofday_0003b254" (* "*") (cast_expression "(code *)PTR_settimeofday_0003b254" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_settimeofday_0003b254"))) () ")")) (argument_list "(&local_1c)" (( "(") (pointer_expression "&local_1c" (& "&") (identifier "local_1c")) () ")")))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (local_14 == *(int *)puVar5) {\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(local_14 == *(int *)puVar5)" (( "(") (binary_expression "local_14 == *(int *)puVar5" (identifier "local_14") (== "==") (pointer_expression "*(int *)puVar5" (* "*") (cast_expression "(int *)puVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5")))) () ")")) (compound_statement "{\n    return iVar1;\n  }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "iVar1 = local_14;" (assignment_expression "iVar1 = local_14" (identifier "iVar1") (= "=") (identifier "local_14")) (; ";")) (expression_statement "puVar5 = PTR___stack_chk_fail_0003b330;" (assignment_expression "puVar5 = PTR___stack_chk_fail_0003b330" (identifier "puVar5") (= "=") (identifier "PTR___stack_chk_fail_0003b330")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0003b330)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003b330)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003b330)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0003b330" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0003b330" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0003b330"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (puVar4 == (undefined4 *)0x0) {\n    (**(code **)(puVar5 + 0x1b560))();\n  }\n  else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }" (if "if") (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 == (undefined4 *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)(puVar5 + 0x1b560))();\n  }" ({ "{") (expression_statement "(**(code **)(puVar5 + 0x1b560))();" (call_expression "(**(code **)(puVar5 + 0x1b560))()" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" (( "(") (pointer_expression "**(code **)(puVar5 + 0x1b560)" (* "*") (pointer_expression "*(code **)(puVar5 + 0x1b560)" (* "*") (cast_expression "(code **)(puVar5 + 0x1b560)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x1b560)" (( "(") (binary_expression "puVar5 + 0x1b560" (identifier "puVar5") (+ "+") (number_literal "0x1b560")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    (**(code **)(puVar5 + 0x1b560))();\n  }" (else "else") (compound_statement "{\n    (**(code **)(puVar5 + 0x1b560))();\n  }" ({ "{") (expression_statement "(**(code **)(puVar5 + 0x1b560))();" (call_expression "(**(code **)(puVar5 + 0x1b560))()" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" (( "(") (pointer_expression "**(code **)(puVar5 + 0x1b560)" (* "*") (pointer_expression "*(code **)(puVar5 + 0x1b560)" (* "*") (cast_expression "(code **)(puVar5 + 0x1b560)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x1b560)" (( "(") (binary_expression "puVar5 + 0x1b560" (identifier "puVar5") (+ "+") (number_literal "0x1b560")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);" (assignment_expression "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b624))" (( "(") (pointer_expression "**(code **)(puVar5 + 0x1b624)" (* "*") (pointer_expression "*(code **)(puVar5 + 0x1b624)" (* "*") (cast_expression "(code **)(puVar5 + 0x1b624)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x1b624)" (( "(") (binary_expression "puVar5 + 0x1b624" (identifier "puVar5") (+ "+") (number_literal "0x1b624")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5fac" (pointer_expression "*(int *)(puVar5 + 0x1b410)" (* "*") (cast_expression "(int *)(puVar5 + 0x1b410)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x1b410)" (( "(") (binary_expression "puVar5 + 0x1b410" (identifier "puVar5") (+ "+") (number_literal "0x1b410")) () ")")))) (+ "+") (number_literal "-0x5fac")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);" (call_expression "(**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" (( "(") (pointer_expression "**(code **)(puVar5 + 0x1b560)" (* "*") (pointer_expression "*(code **)(puVar5 + 0x1b560)" (* "*") (cast_expression "(code **)(puVar5 + 0x1b560)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x1b560)" (( "(") (binary_expression "puVar5 + 0x1b560" (identifier "puVar5") (+ "+") (number_literal "0x1b560")) () ")"))))) () ")")) (argument_list "(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2)" (( "(") (identifier "iVar1") (, ",") (number_literal "1") (, ",") (pointer_expression "*(undefined4 *)(puVar5 + 0x1b4f0)" (* "*") (cast_expression "(undefined4 *)(puVar5 + 0x1b4f0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x1b4f0)" (( "(") (binary_expression "puVar5 + 0x1b4f0" (identifier "puVar5") (+ "+") (number_literal "0x1b4f0")) () ")")))) (, ",") (identifier "uVar3") (, ",") (number_literal "0x7e2") () ")"))) (; ";")) (expression_statement "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);" (assignment_expression "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b624))" (( "(") (pointer_expression "**(code **)(puVar5 + 0x1b624)" (* "*") (pointer_expression "*(code **)(puVar5 + 0x1b624)" (* "*") (cast_expression "(code **)(puVar5 + 0x1b624)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x1b624)" (( "(") (binary_expression "puVar5 + 0x1b624" (identifier "puVar5") (+ "+") (number_literal "0x1b624")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5fa8" (pointer_expression "*(int *)(puVar5 + 0x1b410)" (* "*") (cast_expression "(int *)(puVar5 + 0x1b410)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x1b410)" (( "(") (binary_expression "puVar5 + 0x1b410" (identifier "puVar5") (+ "+") (number_literal "0x1b410")) () ")")))) (+ "+") (number_literal "-0x5fa8")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);" (call_expression "(**(code **)(puVar5 + 0x1b668))(uVar3,iVar1)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b668))" (( "(") (pointer_expression "**(code **)(puVar5 + 0x1b668)" (* "*") (pointer_expression "*(code **)(puVar5 + 0x1b668)" (* "*") (cast_expression "(code **)(puVar5 + 0x1b668)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x1b668)" (( "(") (binary_expression "puVar5 + 0x1b668" (identifier "puVar5") (+ "+") (number_literal "0x1b668")) () ")"))))) () ")")) (argument_list "(uVar3,iVar1)" (( "(") (identifier "uVar3") (, ",") (identifier "iVar1") () ")"))) (; ";")) (if_statement "if (uStack_24 < 10) {\n                    \n                    \n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(uStack_24 < 10)" (( "(") (binary_expression "uStack_24 < 10" (identifier "uStack_24") (< "<") (number_literal "10")) () ")")) (compound_statement "{\n                    \n                    \n    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))();" (assignment_expression "iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))()" (identifier "iVar1") (= "=") (call_expression "(*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))()" (parenthesized_expression "(*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0))" (( "(") (pointer_expression "*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" (* "*") (cast_expression "(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0)" (( "(") (binary_expression "puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +\n                                0x233d0" (binary_expression "puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" (identifier "puVar5") (+ "+") (pointer_expression "*(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" (* "*") (cast_expression "(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4)" (( "(") (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4" (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5cd0" (pointer_expression "*(int *)(puVar5 + 0x1b410)" (* "*") (cast_expression "(int *)(puVar5 + 0x1b410)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x1b410)" (( "(") (binary_expression "puVar5 + 0x1b410" (identifier "puVar5") (+ "+") (number_literal "0x1b410")) () ")")))) (+ "+") (number_literal "-0x5cd0")) (+ "+") (binary_expression "uStack_24 * 4" (identifier "uStack_24") (* "*") (number_literal "4"))) () ")"))))) (+ "+") (number_literal "0x233d0")) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);" (assignment_expression "uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b624))" (( "(") (pointer_expression "**(code **)(puVar5 + 0x1b624)" (* "*") (pointer_expression "*(code **)(puVar5 + 0x1b624)" (* "*") (cast_expression "(code **)(puVar5 + 0x1b624)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x1b624)" (( "(") (binary_expression "puVar5 + 0x1b624" (identifier "puVar5") (+ "+") (number_literal "0x1b624")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar5 + 0x1b410) + -0x5d9c" (pointer_expression "*(int *)(puVar5 + 0x1b410)" (* "*") (cast_expression "(int *)(puVar5 + 0x1b410)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x1b410)" (( "(") (binary_expression "puVar5 + 0x1b410" (identifier "puVar5") (+ "+") (number_literal "0x1b410")) () ")")))) (+ "+") (number_literal "-0x5d9c")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);" (assignment_expression "iVar1 = (**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(puVar5 + 0x1b560))\n                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" (parenthesized_expression "(**(code **)(puVar5 + 0x1b560))" (( "(") (pointer_expression "**(code **)(puVar5 + 0x1b560)" (* "*") (pointer_expression "*(code **)(puVar5 + 0x1b560)" (* "*") (cast_expression "(code **)(puVar5 + 0x1b560)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + 0x1b560)" (( "(") (binary_expression "puVar5 + 0x1b560" (identifier "puVar5") (+ "+") (number_literal "0x1b560")) () ")"))))) () ")")) (argument_list "(iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,\n                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100)" (( "(") (identifier "iVar1") (, ",") (number_literal "1") (, ",") (identifier "uVar3") (, ",") (identifier "__gp_1") (, ",") (identifier "_DAT_000430e4") (, ",") (identifier "_DAT_000430e8") (, ",") (identifier "_DAT_000430ec") (, ",") (identifier "_DAT_000430f0") (, ",") (identifier "_DAT_000430f4") (, ",") (identifier "_DAT_000430f8") (, ",") (identifier "_DAT_000430fc") (, ",") (identifier "_DAT_00043100") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (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: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (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: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) right: (number_literal)))))) arguments: (argument_list)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier))))) (return_statement (identifier)))))

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

int MASKED(undefined4 *param_1)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  uint uStack_24;
  undefined4 local_1c;
  int local_18;
  int local_14;
  
  puVar5 = PTR___stack_chk_guard_0003b34c;
  local_14 = *(int *)PTR___stack_chk_guard_0003b34c;
  puVar4 = param_1;
  iVar1 = (*(code *)PTR_clock_MASKED_0003b2b4)(0);
  if (iVar1 != 0) {
    piVar2 = (int *)(*(code *)PTR___errno_location_0003b2b8)();
    if (*piVar2 != 1) {
      local_1c = *param_1;
      puVar4 = (undefined4 *)0x0;
      local_18 = (int)param_1[1] / 1000;
      iVar1 = (*(code *)PTR_MASKEDofday_0003b254)(&local_1c);
    }
  }
  if (local_14 == *(int *)puVar5) {
    return iVar1;
  }
  iVar1 = local_14;
  puVar5 = PTR___stack_chk_fail_0003b330;
  (*(code *)PTR___stack_chk_fail_0003b330)();
  if (puVar4 == (undefined4 *)0x0) {
    (**(code **)(puVar5 + 0x1b560))();
  }
  else {
    (**(code **)(puVar5 + 0x1b560))();
  }
  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fac,5);
  (**(code **)(puVar5 + 0x1b560))(iVar1,1,*(undefined4 *)(puVar5 + 0x1b4f0),uVar3,0x7e2);
  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5fa8,5);
  (**(code **)(puVar5 + 0x1b668))(uVar3,iVar1);
  if (uStack_24 < 10) {
                    /* WARNING: Could not recover jumptable at 0x0001fe04. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*(code *)(puVar5 + *(int *)(*(int *)(puVar5 + 0x1b410) + -0x5cd0 + uStack_24 * 4) +
                                0x233d0))();
    return iVar1;
  }
  uVar3 = (**(code **)(puVar5 + 0x1b624))(0,*(int *)(puVar5 + 0x1b410) + -0x5d9c,5);
  iVar1 = (**(code **)(puVar5 + 0x1b560))
                    (iVar1,1,uVar3,__gp_1,_DAT_000430e4,_DAT_000430e8,_DAT_000430ec,_DAT_000430f0,
                     _DAT_000430f4,_DAT_000430f8,_DAT_000430fc,_DAT_00043100);
  return iVar1;
}

