
/* WARNING: Unknown calling convention */

double physmem_available(void)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  int *piVar5;
  sysinfo *psVar6;
  sysinfo *psVar7;
  undefined *puVar8;
  code *pcVar9;
  double dVar10;
  double extraout_f0_1;
  double extraout_f0_1_00;
  double extraout_f0_1_01;
  double extraout_f0_1_02;
  double dVar11;
  double dVar12;
  sysinfo si;
  
  iVar1 = *(int *)PTR___stack_chk_guard_0002d340;
  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x56);
  iVar3 = (*(code *)PTR_sysconf_0002d328)(0x1e);
  psVar6 = &si;
  if ((iVar2 < 0) || (iVar3 < 0)) {
    iVar2 = (*(code *)PTR_sysinfo_0002d2f0)();
    if (iVar2 == 0) {
      dVar10 = (double)(int)si.freeram;
      if ((int)si.freeram < 0) {
        dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);
      }
      dVar11 = (double)(int)si.bufferram;
      if ((int)si.bufferram < 0) {
        dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);
      }
      dVar12 = (double)(int)si.mem_unit;
      if ((int)si.mem_unit < 0) {
        dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);
      }
      dVar12 = (dVar10 + dVar11) * dVar12;
    }
    else {
      dVar12 = physmem_total();
      dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0);
    }
  }
  else {
    dVar12 = (double)iVar2 * (double)iVar3;
  }
  if (iVar1 == *(int *)PTR___stack_chk_guard_0002d340) {
    return dVar12;
  }
  puVar8 = PTR___stack_chk_fail_0002d32c;
  (*(code *)PTR___stack_chk_fail_0002d32c)();
  if (psVar6 == (sysinfo *)0x0) {
    iVar1 = 1;
    piVar4 = (int *)(*(int *)(puVar8 + 0x18278) + -0x4298);
    (**(code **)(puVar8 + 0x18478))(piVar4,1,0x37,**(undefined4 **)(puVar8 + 0x184b4));
    pcVar9 = *(code **)(puVar8 + 0x183b4);
    dVar12 = (double)(*pcVar9)();
    *piVar4 = 0;
    piVar4[1] = 0;
    piVar4[2] = 0;
    piVar4[3] = 0;
    piVar4[4] = 0;
    piVar4[5] = 0;
    piVar4[6] = 0;
    piVar4[7] = 0;
    piVar4[8] = 0;
    piVar4[9] = 0;
    piVar4[10] = 0;
    piVar4[0xb] = 0;
    if (iVar1 == 10) {
      pcVar9 = *(code **)(pcVar9 + 0x182a4);
      (*pcVar9)();
      piVar5 = (int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5);
      dVar12 = extraout_f0_1_02;
      if (piVar4 == piVar5) {
        locale_charset();
      }
      return dVar12;
    }
    *piVar4 = iVar1;
    return dVar12;
  }
  iVar1 = (**(code **)(puVar8 + 0x183e8))();
  dVar12 = extraout_f0_1;
  if ((iVar1 != 0) && (psVar7 = (sysinfo *)(iVar1 + 1), 6 < (int)psVar7 - (int)psVar6)) {
    iVar2 = (**(code **)(puVar8 + 0x183b8))(iVar1 + -6,*(int *)(puVar8 + 0x18278) + -0x4260,7);
    piVar4 = *(int **)(puVar8 + 0x18298);
    dVar12 = extraout_f0_1_00;
    if (iVar2 != 0) goto LAB_00014f58;
    iVar2 = (**(code **)(puVar8 + 0x183b8))(psVar7,*(int *)(puVar8 + 0x18278) + -0x4258,3);
    psVar6 = psVar7;
    dVar12 = extraout_f0_1_01;
    if (iVar2 == 0) {
      psVar6 = (sysinfo *)(iVar1 + 4);
      **(int **)(puVar8 + 0x183cc) = (int)psVar6;
    }
  }
  piVar4 = *(int **)(puVar8 + 0x18298);
LAB_00014f58:
  *piVar4 = (int)psVar6;
  **(int **)(puVar8 + 0x183f4) = (int)psVar6;
  return dVar12;
}



double physmem_available(void)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  undefined *puVar6;
  double dVar7;
  double extraout_f0_1;
  double extraout_f0_1_00;
  double extraout_f0_1_01;
  double dVar8;
  double dVar9;
  undefined1 auStack_4c [20];
  int local_38;
  int local_30;
  int local_18;
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_0002d340;
  iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);
  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);
  puVar4 = auStack_4c;
  if ((iVar1 < 0) || (iVar2 < 0)) {
    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();
    if (iVar1 == 0) {
      dVar7 = (double)local_38;
      if (local_38 < 0) {
        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);
      }
      dVar8 = (double)local_30;
      if (local_30 < 0) {
        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);
      }
      dVar9 = (double)local_18;
      if (local_18 < 0) {
        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);
      }
      dVar9 = (dVar7 + dVar8) * dVar9;
    }
    else {
      dVar9 = (double)physmem_total();
      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);
    }
  }
  else {
    dVar9 = (double)iVar1 * (double)iVar2;
  }
  if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {
    return dVar9;
  }
  puVar6 = PTR___stack_chk_fail_0002d32c;
  (*(code *)PTR___stack_chk_fail_0002d32c)();
  if (puVar4 == (undefined1 *)0x0) {
    (**(code **)(puVar6 + 0x18478))
              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));
    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();
    return dVar9;
  }
  iVar1 = (**(code **)(puVar6 + 0x183e8))();
  dVar9 = extraout_f0_1;
  if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {
    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);
    piVar3 = *(int **)(puVar6 + 0x18298);
    dVar9 = extraout_f0_1_00;
    if (iVar2 != 0) goto LAB_00014f58;
    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);
    puVar4 = puVar5;
    dVar9 = extraout_f0_1_01;
    if (iVar2 == 0) {
      puVar4 = (undefined1 *)(iVar1 + 4);
      **(int **)(puVar6 + 0x183cc) = (int)puVar4;
    }
  }
  piVar3 = *(int **)(puVar6 + 0x18298);
LAB_00014f58:
  *piVar3 = (int)puVar4;
  **(int **)(puVar6 + 0x183f4) = (int)puVar4;
  return dVar9;
}


lui gp,0x2
addiu gp,gp,0x388
addu gp,gp,t9
addiu sp,sp,-0x68
sw ra,0x64(sp)
sw s0,0x60(sp)
sw gp,0x10(sp)
lw v0,-0x7da0(gp)
lw v0,0x0(v0)
sw v0,0x5c(sp)
li a0,0x56
lw t9,-0x7db8(gp)
jalr t9
_nop
lw gp,0x10(sp)
or s0,v0,zero
li a0,0x1e
lw t9,-0x7db8(gp)
jalr t9
_nop
lw gp,0x10(sp)
bltz s0,0x00014dbc
_addiu a0,sp,0x1c
bgez v0,0x00014e28
_mtc1 s0,f0
lw t9,-0x7df0(gp)
jalr t9
_nop
lw gp,0x10(sp)
bne v0,zero,0x00014e6c
_lw v0,0x30(sp)
mtc1 v0,f0
bltz v0,0x00014e3c
_cvt.d.W f0,f0
lw v0,0x38(sp)
mtc1 v0,f2
bltz v0,0x00014e4c
_cvt.d.W f2,f2
add.D f0,f0,f2
lw v0,0x50(sp)
mtc1 v0,f2
bltz v0,0x00014e5c
_cvt.d.W f2,f2
mul.D f0,f0,f2
lw v1,0x5c(sp)
lw v0,-0x7da0(gp)
lw v0,0x0(v0)
bne v1,v0,0x00014e8c
_lw ra,0x64(sp)
lw s0,0x60(sp)
jr ra
_addiu sp,sp,0x68
cvt.d.W f0,f0
mtc1 v0,f2
cvt.d.W f2,f2
b 0x00014e08
_mul.D f0,f0,f2
lw v0,-0x7fc8(gp)
ldc1 f2,-0x42a8(v0)
b 0x00014de0
_add.D f0,f0,f2
lw v0,-0x7fc8(gp)
ldc1 f4,-0x42a8(v0)
b 0x00014df0
_add.D f2,f2,f4
lw v0,-0x7fc8(gp)
ldc1 f4,-0x42a8(v0)
b 0x00014e04
_add.D f2,f2,f4
lw t9,-0x7f34(gp)
bal 0x00014c50
_nop
lw gp,0x10(sp)
lw v0,-0x7fc8(gp)
ldc1 f2,-0x42a0(v0)
b 0x00014e08
_mul.D f0,f0,f2
lw t9,-0x7db4(gp)
jalr t9
_nop
nop
nop
(translation_unit "double physmem_available(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  undefined *puVar6;\n  double dVar7;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_4c [20];\n  int local_38;\n  int local_30;\n  int local_18;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  puVar4 = auStack_4c;\n  if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }\n  puVar6 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }\n  iVar1 = (**(code **)(puVar6 + 0x183e8))();\n  dVar9 = extraout_f0_1;\n  if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }\n  piVar3 = *(int **)(puVar6 + 0x18298);\nLAB_00014f58:\n  *piVar3 = (int)puVar4;\n  **(int **)(puVar6 + 0x183f4) = (int)puVar4;\n  return dVar9;\n}\n\n" (function_definition "double physmem_available(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  undefined *puVar6;\n  double dVar7;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_4c [20];\n  int local_38;\n  int local_30;\n  int local_18;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  puVar4 = auStack_4c;\n  if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }\n  puVar6 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }\n  iVar1 = (**(code **)(puVar6 + 0x183e8))();\n  dVar9 = extraout_f0_1;\n  if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }\n  piVar3 = *(int **)(puVar6 + 0x18298);\nLAB_00014f58:\n  *piVar3 = (int)puVar4;\n  **(int **)(puVar6 + 0x183f4) = (int)puVar4;\n  return dVar9;\n}" primitive_type (function_declarator "physmem_available(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  undefined *puVar6;\n  double dVar7;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_4c [20];\n  int local_38;\n  int local_30;\n  int local_18;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  puVar4 = auStack_4c;\n  if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }\n  puVar6 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }\n  iVar1 = (**(code **)(puVar6 + 0x183e8))();\n  dVar9 = extraout_f0_1;\n  if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }\n  piVar3 = *(int **)(puVar6 + 0x18298);\nLAB_00014f58:\n  *piVar3 = (int)puVar4;\n  **(int **)(puVar6 + 0x183f4) = (int)puVar4;\n  return dVar9;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "double dVar7;" primitive_type identifier ;) (declaration "double extraout_f0_1;" primitive_type identifier ;) (declaration "double extraout_f0_1_00;" primitive_type identifier ;) (declaration "double extraout_f0_1_01;" primitive_type identifier ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "undefined1 auStack_4c [20];" type_identifier (array_declarator "auStack_4c [20]" identifier [ number_literal ]) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_0002d340;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_0002d340" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002d340" * (cast_expression "(int *)PTR___stack_chk_guard_0002d340" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);" (assignment_expression "iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56)" identifier = (call_expression "(*(code *)PTR_sysconf_0002d328)(0x56)" (parenthesized_expression "(*(code *)PTR_sysconf_0002d328)" ( (pointer_expression "*(code *)PTR_sysconf_0002d328" * (cast_expression "(code *)PTR_sysconf_0002d328" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x56)" ( number_literal )))) ;) (expression_statement "iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);" (assignment_expression "iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e)" identifier = (call_expression "(*(code *)PTR_sysconf_0002d328)(0x1e)" (parenthesized_expression "(*(code *)PTR_sysconf_0002d328)" ( (pointer_expression "*(code *)PTR_sysconf_0002d328" * (cast_expression "(code *)PTR_sysconf_0002d328" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1e)" ( number_literal )))) ;) (expression_statement "puVar4 = auStack_4c;" (assignment_expression "puVar4 = auStack_4c" identifier = identifier) ;) (if_statement "if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }" if (parenthesized_expression "((iVar1 < 0) || (iVar2 < 0))" ( (binary_expression "(iVar1 < 0) || (iVar2 < 0)" (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) ))) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();" (assignment_expression "iVar1 = (*(code *)PTR_sysinfo_0002d2f0)()" identifier = (call_expression "(*(code *)PTR_sysinfo_0002d2f0)()" (parenthesized_expression "(*(code *)PTR_sysinfo_0002d2f0)" ( (pointer_expression "*(code *)PTR_sysinfo_0002d2f0" * (cast_expression "(code *)PTR_sysinfo_0002d2f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }" { (expression_statement "dVar7 = (double)local_38;" (assignment_expression "dVar7 = (double)local_38" identifier = (cast_expression "(double)local_38" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" if (parenthesized_expression "(local_38 < 0)" ( (binary_expression "local_38 < 0" identifier < number_literal) )) (compound_statement "{\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" { (expression_statement "dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier = (binary_expression "dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier + (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a8" identifier + number_literal) )))))) ;) })) (expression_statement "dVar8 = (double)local_30;" (assignment_expression "dVar8 = (double)local_30" identifier = (cast_expression "(double)local_30" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" if (parenthesized_expression "(local_30 < 0)" ( (binary_expression "local_30 < 0" identifier < number_literal) )) (compound_statement "{\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" { (expression_statement "dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier = (binary_expression "dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier + (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a8" identifier + number_literal) )))))) ;) })) (expression_statement "dVar9 = (double)local_18;" (assignment_expression "dVar9 = (double)local_18" identifier = (cast_expression "(double)local_18" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" if (parenthesized_expression "(local_18 < 0)" ( (binary_expression "local_18 < 0" identifier < number_literal) )) (compound_statement "{\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" { (expression_statement "dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier = (binary_expression "dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier + (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a8" identifier + number_literal) )))))) ;) })) (expression_statement "dVar9 = (dVar7 + dVar8) * dVar9;" (assignment_expression "dVar9 = (dVar7 + dVar8) * dVar9" identifier = (binary_expression "(dVar7 + dVar8) * dVar9" (parenthesized_expression "(dVar7 + dVar8)" ( (binary_expression "dVar7 + dVar8" identifier + identifier) )) * identifier)) ;) }) (else_clause "else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" else (compound_statement "{\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" { (expression_statement "dVar9 = (double)physmem_total();" (assignment_expression "dVar9 = (double)physmem_total()" identifier = (cast_expression "(double)physmem_total()" ( (type_descriptor "double" primitive_type) ) (call_expression "physmem_total()" identifier (argument_list "()" ( ))))) ;) (expression_statement "dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);" (assignment_expression "dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0)" identifier = (binary_expression "dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0)" identifier * (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a0)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a0)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a0" identifier + number_literal) )))))) ;) }))) }) (else_clause "else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }" else (compound_statement "{\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }" { (expression_statement "dVar9 = (double)iVar1 * (double)iVar2;" (assignment_expression "dVar9 = (double)iVar1 * (double)iVar2" identifier = (binary_expression "(double)iVar1 * (double)iVar2" (cast_expression "(double)iVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (cast_expression "(double)iVar2" ( (type_descriptor "double" primitive_type) ) identifier))) ;) }))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_0002d340)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_0002d340" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_0002d340" * (cast_expression "(int *)PTR___stack_chk_guard_0002d340" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return dVar9;\n  }" { (return_statement "return dVar9;" return identifier ;) })) (expression_statement "puVar6 = PTR___stack_chk_fail_0002d32c;" (assignment_expression "puVar6 = PTR___stack_chk_fail_0002d32c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0002d32c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002d32c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002d32c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002d32c" * (cast_expression "(code *)PTR___stack_chk_fail_0002d32c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }" if (parenthesized_expression "(puVar4 == (undefined1 *)0x0)" ( (binary_expression "puVar4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }" { (expression_statement "(**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));" (call_expression "(**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4))" (parenthesized_expression "(**(code **)(puVar6 + 0x18478))" ( (pointer_expression "**(code **)(puVar6 + 0x18478)" * (pointer_expression "*(code **)(puVar6 + 0x18478)" * (cast_expression "(code **)(puVar6 + 0x18478)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x18478)" ( (binary_expression "puVar6 + 0x18478" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4))" ( (binary_expression "*(int *)(puVar6 + 0x18278) + -0x4298" (pointer_expression "*(int *)(puVar6 + 0x18278)" * (cast_expression "(int *)(puVar6 + 0x18278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x18278)" ( (binary_expression "puVar6 + 0x18278" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , (pointer_expression "**(undefined4 **)(puVar6 + 0x184b4)" * (pointer_expression "*(undefined4 **)(puVar6 + 0x184b4)" * (cast_expression "(undefined4 **)(puVar6 + 0x184b4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x184b4)" ( (binary_expression "puVar6 + 0x184b4" identifier + number_literal) ))))) ))) ;) (expression_statement "dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();" (assignment_expression "dVar9 = (double)(**(code **)(puVar6 + 0x183b4))()" identifier = (cast_expression "(double)(**(code **)(puVar6 + 0x183b4))()" ( (type_descriptor "double" primitive_type) ) (call_expression "(**(code **)(puVar6 + 0x183b4))()" (parenthesized_expression "(**(code **)(puVar6 + 0x183b4))" ( (pointer_expression "**(code **)(puVar6 + 0x183b4)" * (pointer_expression "*(code **)(puVar6 + 0x183b4)" * (cast_expression "(code **)(puVar6 + 0x183b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183b4)" ( (binary_expression "puVar6 + 0x183b4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (return_statement "return dVar9;" return identifier ;) })) (expression_statement "iVar1 = (**(code **)(puVar6 + 0x183e8))();" (assignment_expression "iVar1 = (**(code **)(puVar6 + 0x183e8))()" identifier = (call_expression "(**(code **)(puVar6 + 0x183e8))()" (parenthesized_expression "(**(code **)(puVar6 + 0x183e8))" ( (pointer_expression "**(code **)(puVar6 + 0x183e8)" * (pointer_expression "*(code **)(puVar6 + 0x183e8)" * (cast_expression "(code **)(puVar6 + 0x183e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183e8)" ( (binary_expression "puVar6 + 0x183e8" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "dVar9 = extraout_f0_1;" (assignment_expression "dVar9 = extraout_f0_1" identifier = identifier) ;) (if_statement "if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }" if (parenthesized_expression "((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4))" ( (binary_expression "(iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)" ( (comma_expression "puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4" (assignment_expression "puVar5 = (undefined1 *)(iVar1 + 1)" identifier = (cast_expression "(undefined1 *)(iVar1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) )))) , (binary_expression "6 < (int)puVar5 - (int)puVar4" number_literal < (binary_expression "(int)puVar5 - (int)puVar4" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)))) ))) )) (compound_statement "{\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }" { (expression_statement "iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);" (assignment_expression "iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7)" identifier = (call_expression "(**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7)" (parenthesized_expression "(**(code **)(puVar6 + 0x183b8))" ( (pointer_expression "**(code **)(puVar6 + 0x183b8)" * (pointer_expression "*(code **)(puVar6 + 0x183b8)" * (cast_expression "(code **)(puVar6 + 0x183b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183b8)" ( (binary_expression "puVar6 + 0x183b8" identifier + number_literal) ))))) )) (argument_list "(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7)" ( (binary_expression "iVar1 + -6" identifier + number_literal) , (binary_expression "*(int *)(puVar6 + 0x18278) + -0x4260" (pointer_expression "*(int *)(puVar6 + 0x18278)" * (cast_expression "(int *)(puVar6 + 0x18278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x18278)" ( (binary_expression "puVar6 + 0x18278" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "piVar3 = *(int **)(puVar6 + 0x18298);" (assignment_expression "piVar3 = *(int **)(puVar6 + 0x18298)" identifier = (pointer_expression "*(int **)(puVar6 + 0x18298)" * (cast_expression "(int **)(puVar6 + 0x18298)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x18298)" ( (binary_expression "puVar6 + 0x18298" identifier + number_literal) ))))) ;) (expression_statement "dVar9 = extraout_f0_1_00;" (assignment_expression "dVar9 = extraout_f0_1_00" identifier = identifier) ;) (if_statement "if (iVar2 != 0) goto LAB_00014f58;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00014f58;" goto statement_identifier ;)) (expression_statement "iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);" (assignment_expression "iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3)" identifier = (call_expression "(**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3)" (parenthesized_expression "(**(code **)(puVar6 + 0x183b8))" ( (pointer_expression "**(code **)(puVar6 + 0x183b8)" * (pointer_expression "*(code **)(puVar6 + 0x183b8)" * (cast_expression "(code **)(puVar6 + 0x183b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183b8)" ( (binary_expression "puVar6 + 0x183b8" identifier + number_literal) ))))) )) (argument_list "(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3)" ( identifier , (binary_expression "*(int *)(puVar6 + 0x18278) + -0x4258" (pointer_expression "*(int *)(puVar6 + 0x18278)" * (cast_expression "(int *)(puVar6 + 0x18278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x18278)" ( (binary_expression "puVar6 + 0x18278" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (expression_statement "dVar9 = extraout_f0_1_01;" (assignment_expression "dVar9 = extraout_f0_1_01" identifier = identifier) ;) (if_statement "if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }" { (expression_statement "puVar4 = (undefined1 *)(iVar1 + 4);" (assignment_expression "puVar4 = (undefined1 *)(iVar1 + 4)" identifier = (cast_expression "(undefined1 *)(iVar1 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) ;) (expression_statement "**(int **)(puVar6 + 0x183cc) = (int)puVar4;" (assignment_expression "**(int **)(puVar6 + 0x183cc) = (int)puVar4" (pointer_expression "**(int **)(puVar6 + 0x183cc)" * (pointer_expression "*(int **)(puVar6 + 0x183cc)" * (cast_expression "(int **)(puVar6 + 0x183cc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183cc)" ( (binary_expression "puVar6 + 0x183cc" identifier + number_literal) ))))) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (expression_statement "piVar3 = *(int **)(puVar6 + 0x18298);" (assignment_expression "piVar3 = *(int **)(puVar6 + 0x18298)" identifier = (pointer_expression "*(int **)(puVar6 + 0x18298)" * (cast_expression "(int **)(puVar6 + 0x18298)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x18298)" ( (binary_expression "puVar6 + 0x18298" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00014f58:\n  *piVar3 = (int)puVar4;" statement_identifier : (expression_statement "*piVar3 = (int)puVar4;" (assignment_expression "*piVar3 = (int)puVar4" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (expression_statement "**(int **)(puVar6 + 0x183f4) = (int)puVar4;" (assignment_expression "**(int **)(puVar6 + 0x183f4) = (int)puVar4" (pointer_expression "**(int **)(puVar6 + 0x183f4)" * (pointer_expression "*(int **)(puVar6 + 0x183f4)" * (cast_expression "(int **)(puVar6 + 0x183f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183f4)" ( (binary_expression "puVar6 + 0x183f4" identifier + number_literal) ))))) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return dVar9;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\ndouble physmem_available(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  sysinfo *psVar6;\n  sysinfo *psVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  double dVar10;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double extraout_f0_1_02;\n  double dVar11;\n  double dVar12;\n  sysinfo si;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar3 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  psVar6 = &si;\n  if ((iVar2 < 0) || (iVar3 < 0)) {\n    iVar2 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar2 == 0) {\n      dVar10 = (double)(int)si.freeram;\n      if ((int)si.freeram < 0) {\n        dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar11 = (double)(int)si.bufferram;\n      if ((int)si.bufferram < 0) {\n        dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (double)(int)si.mem_unit;\n      if ((int)si.mem_unit < 0) {\n        dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (dVar10 + dVar11) * dVar12;\n    }\n    else {\n      dVar12 = physmem_total();\n      dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar12 = (double)iVar2 * (double)iVar3;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar12;\n  }\n  puVar8 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (psVar6 == (sysinfo *)0x0) {\n    iVar1 = 1;\n    piVar4 = (int *)(*(int *)(puVar8 + 0x18278) + -0x4298);\n    (**(code **)(puVar8 + 0x18478))(piVar4,1,0x37,**(undefined4 **)(puVar8 + 0x184b4));\n    pcVar9 = *(code **)(puVar8 + 0x183b4);\n    dVar12 = (double)(*pcVar9)();\n    *piVar4 = 0;\n    piVar4[1] = 0;\n    piVar4[2] = 0;\n    piVar4[3] = 0;\n    piVar4[4] = 0;\n    piVar4[5] = 0;\n    piVar4[6] = 0;\n    piVar4[7] = 0;\n    piVar4[8] = 0;\n    piVar4[9] = 0;\n    piVar4[10] = 0;\n    piVar4[0xb] = 0;\n    if (iVar1 == 10) {\n      pcVar9 = *(code **)(pcVar9 + 0x182a4);\n      (*pcVar9)();\n      piVar5 = (int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5);\n      dVar12 = extraout_f0_1_02;\n      if (piVar4 == piVar5) {\n        locale_charset();\n      }\n      return dVar12;\n    }\n    *piVar4 = iVar1;\n    return dVar12;\n  }\n  iVar1 = (**(code **)(puVar8 + 0x183e8))();\n  dVar12 = extraout_f0_1;\n  if ((iVar1 != 0) && (psVar7 = (sysinfo *)(iVar1 + 1), 6 < (int)psVar7 - (int)psVar6)) {\n    iVar2 = (**(code **)(puVar8 + 0x183b8))(iVar1 + -6,*(int *)(puVar8 + 0x18278) + -0x4260,7);\n    piVar4 = *(int **)(puVar8 + 0x18298);\n    dVar12 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar8 + 0x183b8))(psVar7,*(int *)(puVar8 + 0x18278) + -0x4258,3);\n    psVar6 = psVar7;\n    dVar12 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      psVar6 = (sysinfo *)(iVar1 + 4);\n      **(int **)(puVar8 + 0x183cc) = (int)psVar6;\n    }\n  }\n  piVar4 = *(int **)(puVar8 + 0x18298);\nLAB_00014f58:\n  *piVar4 = (int)psVar6;\n  **(int **)(puVar8 + 0x183f4) = (int)psVar6;\n  return dVar12;\n}\n\n" comment (function_definition "double physmem_available(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  sysinfo *psVar6;\n  sysinfo *psVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  double dVar10;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double extraout_f0_1_02;\n  double dVar11;\n  double dVar12;\n  sysinfo si;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar3 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  psVar6 = &si;\n  if ((iVar2 < 0) || (iVar3 < 0)) {\n    iVar2 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar2 == 0) {\n      dVar10 = (double)(int)si.freeram;\n      if ((int)si.freeram < 0) {\n        dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar11 = (double)(int)si.bufferram;\n      if ((int)si.bufferram < 0) {\n        dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (double)(int)si.mem_unit;\n      if ((int)si.mem_unit < 0) {\n        dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (dVar10 + dVar11) * dVar12;\n    }\n    else {\n      dVar12 = physmem_total();\n      dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar12 = (double)iVar2 * (double)iVar3;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar12;\n  }\n  puVar8 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (psVar6 == (sysinfo *)0x0) {\n    iVar1 = 1;\n    piVar4 = (int *)(*(int *)(puVar8 + 0x18278) + -0x4298);\n    (**(code **)(puVar8 + 0x18478))(piVar4,1,0x37,**(undefined4 **)(puVar8 + 0x184b4));\n    pcVar9 = *(code **)(puVar8 + 0x183b4);\n    dVar12 = (double)(*pcVar9)();\n    *piVar4 = 0;\n    piVar4[1] = 0;\n    piVar4[2] = 0;\n    piVar4[3] = 0;\n    piVar4[4] = 0;\n    piVar4[5] = 0;\n    piVar4[6] = 0;\n    piVar4[7] = 0;\n    piVar4[8] = 0;\n    piVar4[9] = 0;\n    piVar4[10] = 0;\n    piVar4[0xb] = 0;\n    if (iVar1 == 10) {\n      pcVar9 = *(code **)(pcVar9 + 0x182a4);\n      (*pcVar9)();\n      piVar5 = (int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5);\n      dVar12 = extraout_f0_1_02;\n      if (piVar4 == piVar5) {\n        locale_charset();\n      }\n      return dVar12;\n    }\n    *piVar4 = iVar1;\n    return dVar12;\n  }\n  iVar1 = (**(code **)(puVar8 + 0x183e8))();\n  dVar12 = extraout_f0_1;\n  if ((iVar1 != 0) && (psVar7 = (sysinfo *)(iVar1 + 1), 6 < (int)psVar7 - (int)psVar6)) {\n    iVar2 = (**(code **)(puVar8 + 0x183b8))(iVar1 + -6,*(int *)(puVar8 + 0x18278) + -0x4260,7);\n    piVar4 = *(int **)(puVar8 + 0x18298);\n    dVar12 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar8 + 0x183b8))(psVar7,*(int *)(puVar8 + 0x18278) + -0x4258,3);\n    psVar6 = psVar7;\n    dVar12 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      psVar6 = (sysinfo *)(iVar1 + 4);\n      **(int **)(puVar8 + 0x183cc) = (int)psVar6;\n    }\n  }\n  piVar4 = *(int **)(puVar8 + 0x18298);\nLAB_00014f58:\n  *piVar4 = (int)psVar6;\n  **(int **)(puVar8 + 0x183f4) = (int)psVar6;\n  return dVar12;\n}" primitive_type (function_declarator "physmem_available(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int *piVar5;\n  sysinfo *psVar6;\n  sysinfo *psVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  double dVar10;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double extraout_f0_1_02;\n  double dVar11;\n  double dVar12;\n  sysinfo si;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar3 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  psVar6 = &si;\n  if ((iVar2 < 0) || (iVar3 < 0)) {\n    iVar2 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar2 == 0) {\n      dVar10 = (double)(int)si.freeram;\n      if ((int)si.freeram < 0) {\n        dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar11 = (double)(int)si.bufferram;\n      if ((int)si.bufferram < 0) {\n        dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (double)(int)si.mem_unit;\n      if ((int)si.mem_unit < 0) {\n        dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (dVar10 + dVar11) * dVar12;\n    }\n    else {\n      dVar12 = physmem_total();\n      dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar12 = (double)iVar2 * (double)iVar3;\n  }\n  if (iVar1 == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar12;\n  }\n  puVar8 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (psVar6 == (sysinfo *)0x0) {\n    iVar1 = 1;\n    piVar4 = (int *)(*(int *)(puVar8 + 0x18278) + -0x4298);\n    (**(code **)(puVar8 + 0x18478))(piVar4,1,0x37,**(undefined4 **)(puVar8 + 0x184b4));\n    pcVar9 = *(code **)(puVar8 + 0x183b4);\n    dVar12 = (double)(*pcVar9)();\n    *piVar4 = 0;\n    piVar4[1] = 0;\n    piVar4[2] = 0;\n    piVar4[3] = 0;\n    piVar4[4] = 0;\n    piVar4[5] = 0;\n    piVar4[6] = 0;\n    piVar4[7] = 0;\n    piVar4[8] = 0;\n    piVar4[9] = 0;\n    piVar4[10] = 0;\n    piVar4[0xb] = 0;\n    if (iVar1 == 10) {\n      pcVar9 = *(code **)(pcVar9 + 0x182a4);\n      (*pcVar9)();\n      piVar5 = (int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5);\n      dVar12 = extraout_f0_1_02;\n      if (piVar4 == piVar5) {\n        locale_charset();\n      }\n      return dVar12;\n    }\n    *piVar4 = iVar1;\n    return dVar12;\n  }\n  iVar1 = (**(code **)(puVar8 + 0x183e8))();\n  dVar12 = extraout_f0_1;\n  if ((iVar1 != 0) && (psVar7 = (sysinfo *)(iVar1 + 1), 6 < (int)psVar7 - (int)psVar6)) {\n    iVar2 = (**(code **)(puVar8 + 0x183b8))(iVar1 + -6,*(int *)(puVar8 + 0x18278) + -0x4260,7);\n    piVar4 = *(int **)(puVar8 + 0x18298);\n    dVar12 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar8 + 0x183b8))(psVar7,*(int *)(puVar8 + 0x18278) + -0x4258,3);\n    psVar6 = psVar7;\n    dVar12 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      psVar6 = (sysinfo *)(iVar1 + 4);\n      **(int **)(puVar8 + 0x183cc) = (int)psVar6;\n    }\n  }\n  piVar4 = *(int **)(puVar8 + 0x18298);\nLAB_00014f58:\n  *piVar4 = (int)psVar6;\n  **(int **)(puVar8 + 0x183f4) = (int)psVar6;\n  return dVar12;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "sysinfo *psVar6;" type_identifier (pointer_declarator "*psVar6" * identifier) ;) (declaration "sysinfo *psVar7;" type_identifier (pointer_declarator "*psVar7" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "double extraout_f0_1;" primitive_type identifier ;) (declaration "double extraout_f0_1_00;" primitive_type identifier ;) (declaration "double extraout_f0_1_01;" primitive_type identifier ;) (declaration "double extraout_f0_1_02;" primitive_type identifier ;) (declaration "double dVar11;" primitive_type identifier ;) (declaration "double dVar12;" primitive_type identifier ;) (declaration "sysinfo si;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0002d340;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0002d340" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002d340" * (cast_expression "(int *)PTR___stack_chk_guard_0002d340" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar2 = (*(code *)PTR_sysconf_0002d328)(0x56);" (assignment_expression "iVar2 = (*(code *)PTR_sysconf_0002d328)(0x56)" identifier = (call_expression "(*(code *)PTR_sysconf_0002d328)(0x56)" (parenthesized_expression "(*(code *)PTR_sysconf_0002d328)" ( (pointer_expression "*(code *)PTR_sysconf_0002d328" * (cast_expression "(code *)PTR_sysconf_0002d328" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x56)" ( number_literal )))) ;) (expression_statement "iVar3 = (*(code *)PTR_sysconf_0002d328)(0x1e);" (assignment_expression "iVar3 = (*(code *)PTR_sysconf_0002d328)(0x1e)" identifier = (call_expression "(*(code *)PTR_sysconf_0002d328)(0x1e)" (parenthesized_expression "(*(code *)PTR_sysconf_0002d328)" ( (pointer_expression "*(code *)PTR_sysconf_0002d328" * (cast_expression "(code *)PTR_sysconf_0002d328" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1e)" ( number_literal )))) ;) (expression_statement "psVar6 = &si;" (assignment_expression "psVar6 = &si" identifier = (pointer_expression "&si" & identifier)) ;) (if_statement "if ((iVar2 < 0) || (iVar3 < 0)) {\n    iVar2 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar2 == 0) {\n      dVar10 = (double)(int)si.freeram;\n      if ((int)si.freeram < 0) {\n        dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar11 = (double)(int)si.bufferram;\n      if ((int)si.bufferram < 0) {\n        dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (double)(int)si.mem_unit;\n      if ((int)si.mem_unit < 0) {\n        dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (dVar10 + dVar11) * dVar12;\n    }\n    else {\n      dVar12 = physmem_total();\n      dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar12 = (double)iVar2 * (double)iVar3;\n  }" if (parenthesized_expression "((iVar2 < 0) || (iVar3 < 0))" ( (binary_expression "(iVar2 < 0) || (iVar3 < 0)" (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) ))) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar2 == 0) {\n      dVar10 = (double)(int)si.freeram;\n      if ((int)si.freeram < 0) {\n        dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar11 = (double)(int)si.bufferram;\n      if ((int)si.bufferram < 0) {\n        dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (double)(int)si.mem_unit;\n      if ((int)si.mem_unit < 0) {\n        dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (dVar10 + dVar11) * dVar12;\n    }\n    else {\n      dVar12 = physmem_total();\n      dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_sysinfo_0002d2f0)();" (assignment_expression "iVar2 = (*(code *)PTR_sysinfo_0002d2f0)()" identifier = (call_expression "(*(code *)PTR_sysinfo_0002d2f0)()" (parenthesized_expression "(*(code *)PTR_sysinfo_0002d2f0)" ( (pointer_expression "*(code *)PTR_sysinfo_0002d2f0" * (cast_expression "(code *)PTR_sysinfo_0002d2f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n      dVar10 = (double)(int)si.freeram;\n      if ((int)si.freeram < 0) {\n        dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar11 = (double)(int)si.bufferram;\n      if ((int)si.bufferram < 0) {\n        dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (double)(int)si.mem_unit;\n      if ((int)si.mem_unit < 0) {\n        dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (dVar10 + dVar11) * dVar12;\n    }\n    else {\n      dVar12 = physmem_total();\n      dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      dVar10 = (double)(int)si.freeram;\n      if ((int)si.freeram < 0) {\n        dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar11 = (double)(int)si.bufferram;\n      if ((int)si.bufferram < 0) {\n        dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (double)(int)si.mem_unit;\n      if ((int)si.mem_unit < 0) {\n        dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar12 = (dVar10 + dVar11) * dVar12;\n    }" { (expression_statement "dVar10 = (double)(int)si.freeram;" (assignment_expression "dVar10 = (double)(int)si.freeram" identifier = (cast_expression "(double)(int)si.freeram" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)si.freeram" ( (type_descriptor "int" primitive_type) ) (field_expression "si.freeram" identifier . field_identifier)))) ;) (if_statement "if ((int)si.freeram < 0) {\n        dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" if (parenthesized_expression "((int)si.freeram < 0)" ( (binary_expression "(int)si.freeram < 0" (cast_expression "(int)si.freeram" ( (type_descriptor "int" primitive_type) ) (field_expression "si.freeram" identifier . field_identifier)) < number_literal) )) (compound_statement "{\n        dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" { (expression_statement "dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar10 = dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier = (binary_expression "dVar10 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier + (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a8" identifier + number_literal) )))))) ;) })) (expression_statement "dVar11 = (double)(int)si.bufferram;" (assignment_expression "dVar11 = (double)(int)si.bufferram" identifier = (cast_expression "(double)(int)si.bufferram" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)si.bufferram" ( (type_descriptor "int" primitive_type) ) (field_expression "si.bufferram" identifier . field_identifier)))) ;) (if_statement "if ((int)si.bufferram < 0) {\n        dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" if (parenthesized_expression "((int)si.bufferram < 0)" ( (binary_expression "(int)si.bufferram < 0" (cast_expression "(int)si.bufferram" ( (type_descriptor "int" primitive_type) ) (field_expression "si.bufferram" identifier . field_identifier)) < number_literal) )) (compound_statement "{\n        dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" { (expression_statement "dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar11 = dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier = (binary_expression "dVar11 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier + (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a8" identifier + number_literal) )))))) ;) })) (expression_statement "dVar12 = (double)(int)si.mem_unit;" (assignment_expression "dVar12 = (double)(int)si.mem_unit" identifier = (cast_expression "(double)(int)si.mem_unit" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)si.mem_unit" ( (type_descriptor "int" primitive_type) ) (field_expression "si.mem_unit" identifier . field_identifier)))) ;) (if_statement "if ((int)si.mem_unit < 0) {\n        dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" if (parenthesized_expression "((int)si.mem_unit < 0)" ( (binary_expression "(int)si.mem_unit < 0" (cast_expression "(int)si.mem_unit" ( (type_descriptor "int" primitive_type) ) (field_expression "si.mem_unit" identifier . field_identifier)) < number_literal) )) (compound_statement "{\n        dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" { (expression_statement "dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar12 = dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier = (binary_expression "dVar12 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier + (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a8" identifier + number_literal) )))))) ;) })) (expression_statement "dVar12 = (dVar10 + dVar11) * dVar12;" (assignment_expression "dVar12 = (dVar10 + dVar11) * dVar12" identifier = (binary_expression "(dVar10 + dVar11) * dVar12" (parenthesized_expression "(dVar10 + dVar11)" ( (binary_expression "dVar10 + dVar11" identifier + identifier) )) * identifier)) ;) }) (else_clause "else {\n      dVar12 = physmem_total();\n      dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" else (compound_statement "{\n      dVar12 = physmem_total();\n      dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" { (expression_statement "dVar12 = physmem_total();" (assignment_expression "dVar12 = physmem_total()" identifier = (call_expression "physmem_total()" identifier (argument_list "()" ( )))) ;) (expression_statement "dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0);" (assignment_expression "dVar12 = dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0)" identifier = (binary_expression "dVar12 * *(double *)(PTR_DAT_0002d118 + -0x42a0)" identifier * (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a0)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a0)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a0" identifier + number_literal) )))))) ;) }))) }) (else_clause "else {\n    dVar12 = (double)iVar2 * (double)iVar3;\n  }" else (compound_statement "{\n    dVar12 = (double)iVar2 * (double)iVar3;\n  }" { (expression_statement "dVar12 = (double)iVar2 * (double)iVar3;" (assignment_expression "dVar12 = (double)iVar2 * (double)iVar3" identifier = (binary_expression "(double)iVar2 * (double)iVar3" (cast_expression "(double)iVar2" ( (type_descriptor "double" primitive_type) ) identifier) * (cast_expression "(double)iVar3" ( (type_descriptor "double" primitive_type) ) identifier))) ;) }))) (if_statement "if (iVar1 == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar12;\n  }" if (parenthesized_expression "(iVar1 == *(int *)PTR___stack_chk_guard_0002d340)" ( (binary_expression "iVar1 == *(int *)PTR___stack_chk_guard_0002d340" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_0002d340" * (cast_expression "(int *)PTR___stack_chk_guard_0002d340" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return dVar12;\n  }" { (return_statement "return dVar12;" return identifier ;) })) (expression_statement "puVar8 = PTR___stack_chk_fail_0002d32c;" (assignment_expression "puVar8 = PTR___stack_chk_fail_0002d32c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0002d32c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002d32c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002d32c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002d32c" * (cast_expression "(code *)PTR___stack_chk_fail_0002d32c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (psVar6 == (sysinfo *)0x0) {\n    iVar1 = 1;\n    piVar4 = (int *)(*(int *)(puVar8 + 0x18278) + -0x4298);\n    (**(code **)(puVar8 + 0x18478))(piVar4,1,0x37,**(undefined4 **)(puVar8 + 0x184b4));\n    pcVar9 = *(code **)(puVar8 + 0x183b4);\n    dVar12 = (double)(*pcVar9)();\n    *piVar4 = 0;\n    piVar4[1] = 0;\n    piVar4[2] = 0;\n    piVar4[3] = 0;\n    piVar4[4] = 0;\n    piVar4[5] = 0;\n    piVar4[6] = 0;\n    piVar4[7] = 0;\n    piVar4[8] = 0;\n    piVar4[9] = 0;\n    piVar4[10] = 0;\n    piVar4[0xb] = 0;\n    if (iVar1 == 10) {\n      pcVar9 = *(code **)(pcVar9 + 0x182a4);\n      (*pcVar9)();\n      piVar5 = (int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5);\n      dVar12 = extraout_f0_1_02;\n      if (piVar4 == piVar5) {\n        locale_charset();\n      }\n      return dVar12;\n    }\n    *piVar4 = iVar1;\n    return dVar12;\n  }" if (parenthesized_expression "(psVar6 == (sysinfo *)0x0)" ( (binary_expression "psVar6 == (sysinfo *)0x0" identifier == (cast_expression "(sysinfo *)0x0" ( (type_descriptor "sysinfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = 1;\n    piVar4 = (int *)(*(int *)(puVar8 + 0x18278) + -0x4298);\n    (**(code **)(puVar8 + 0x18478))(piVar4,1,0x37,**(undefined4 **)(puVar8 + 0x184b4));\n    pcVar9 = *(code **)(puVar8 + 0x183b4);\n    dVar12 = (double)(*pcVar9)();\n    *piVar4 = 0;\n    piVar4[1] = 0;\n    piVar4[2] = 0;\n    piVar4[3] = 0;\n    piVar4[4] = 0;\n    piVar4[5] = 0;\n    piVar4[6] = 0;\n    piVar4[7] = 0;\n    piVar4[8] = 0;\n    piVar4[9] = 0;\n    piVar4[10] = 0;\n    piVar4[0xb] = 0;\n    if (iVar1 == 10) {\n      pcVar9 = *(code **)(pcVar9 + 0x182a4);\n      (*pcVar9)();\n      piVar5 = (int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5);\n      dVar12 = extraout_f0_1_02;\n      if (piVar4 == piVar5) {\n        locale_charset();\n      }\n      return dVar12;\n    }\n    *piVar4 = iVar1;\n    return dVar12;\n  }" { (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "piVar4 = (int *)(*(int *)(puVar8 + 0x18278) + -0x4298);" (assignment_expression "piVar4 = (int *)(*(int *)(puVar8 + 0x18278) + -0x4298)" identifier = (cast_expression "(int *)(*(int *)(puVar8 + 0x18278) + -0x4298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar8 + 0x18278) + -0x4298)" ( (binary_expression "*(int *)(puVar8 + 0x18278) + -0x4298" (pointer_expression "*(int *)(puVar8 + 0x18278)" * (cast_expression "(int *)(puVar8 + 0x18278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x18278)" ( (binary_expression "puVar8 + 0x18278" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(**(code **)(puVar8 + 0x18478))(piVar4,1,0x37,**(undefined4 **)(puVar8 + 0x184b4));" (call_expression "(**(code **)(puVar8 + 0x18478))(piVar4,1,0x37,**(undefined4 **)(puVar8 + 0x184b4))" (parenthesized_expression "(**(code **)(puVar8 + 0x18478))" ( (pointer_expression "**(code **)(puVar8 + 0x18478)" * (pointer_expression "*(code **)(puVar8 + 0x18478)" * (cast_expression "(code **)(puVar8 + 0x18478)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x18478)" ( (binary_expression "puVar8 + 0x18478" identifier + number_literal) ))))) )) (argument_list "(piVar4,1,0x37,**(undefined4 **)(puVar8 + 0x184b4))" ( identifier , number_literal , number_literal , (pointer_expression "**(undefined4 **)(puVar8 + 0x184b4)" * (pointer_expression "*(undefined4 **)(puVar8 + 0x184b4)" * (cast_expression "(undefined4 **)(puVar8 + 0x184b4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x184b4)" ( (binary_expression "puVar8 + 0x184b4" identifier + number_literal) ))))) ))) ;) (expression_statement "pcVar9 = *(code **)(puVar8 + 0x183b4);" (assignment_expression "pcVar9 = *(code **)(puVar8 + 0x183b4)" identifier = (pointer_expression "*(code **)(puVar8 + 0x183b4)" * (cast_expression "(code **)(puVar8 + 0x183b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x183b4)" ( (binary_expression "puVar8 + 0x183b4" identifier + number_literal) ))))) ;) (expression_statement "dVar12 = (double)(*pcVar9)();" (assignment_expression "dVar12 = (double)(*pcVar9)()" identifier = (cast_expression "(double)(*pcVar9)()" ( (type_descriptor "double" primitive_type) ) (call_expression "(*pcVar9)()" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "()" ( ))))) ;) (expression_statement "*piVar4 = 0;" (assignment_expression "*piVar4 = 0" (pointer_expression "*piVar4" * identifier) = number_literal) ;) (expression_statement "piVar4[1] = 0;" (assignment_expression "piVar4[1] = 0" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[2] = 0;" (assignment_expression "piVar4[2] = 0" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[3] = 0;" (assignment_expression "piVar4[3] = 0" (subscript_expression "piVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[4] = 0;" (assignment_expression "piVar4[4] = 0" (subscript_expression "piVar4[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[5] = 0;" (assignment_expression "piVar4[5] = 0" (subscript_expression "piVar4[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[6] = 0;" (assignment_expression "piVar4[6] = 0" (subscript_expression "piVar4[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[7] = 0;" (assignment_expression "piVar4[7] = 0" (subscript_expression "piVar4[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[8] = 0;" (assignment_expression "piVar4[8] = 0" (subscript_expression "piVar4[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[9] = 0;" (assignment_expression "piVar4[9] = 0" (subscript_expression "piVar4[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[10] = 0;" (assignment_expression "piVar4[10] = 0" (subscript_expression "piVar4[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[0xb] = 0;" (assignment_expression "piVar4[0xb] = 0" (subscript_expression "piVar4[0xb]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (iVar1 == 10) {\n      pcVar9 = *(code **)(pcVar9 + 0x182a4);\n      (*pcVar9)();\n      piVar5 = (int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5);\n      dVar12 = extraout_f0_1_02;\n      if (piVar4 == piVar5) {\n        locale_charset();\n      }\n      return dVar12;\n    }" if (parenthesized_expression "(iVar1 == 10)" ( (binary_expression "iVar1 == 10" identifier == number_literal) )) (compound_statement "{\n      pcVar9 = *(code **)(pcVar9 + 0x182a4);\n      (*pcVar9)();\n      piVar5 = (int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5);\n      dVar12 = extraout_f0_1_02;\n      if (piVar4 == piVar5) {\n        locale_charset();\n      }\n      return dVar12;\n    }" { (expression_statement "pcVar9 = *(code **)(pcVar9 + 0x182a4);" (assignment_expression "pcVar9 = *(code **)(pcVar9 + 0x182a4)" identifier = (pointer_expression "*(code **)(pcVar9 + 0x182a4)" * (cast_expression "(code **)(pcVar9 + 0x182a4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar9 + 0x182a4)" ( (binary_expression "pcVar9 + 0x182a4" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar9)();" (call_expression "(*pcVar9)()" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar5 = (int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5);" (assignment_expression "piVar5 = (int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5)" identifier = (cast_expression "(int *)(**(code **)(pcVar9 + 0x18318))(0,piVar4,5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar9 + 0x18318))(0,piVar4,5)" (parenthesized_expression "(**(code **)(pcVar9 + 0x18318))" ( (pointer_expression "**(code **)(pcVar9 + 0x18318)" * (pointer_expression "*(code **)(pcVar9 + 0x18318)" * (cast_expression "(code **)(pcVar9 + 0x18318)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar9 + 0x18318)" ( (binary_expression "pcVar9 + 0x18318" identifier + number_literal) ))))) )) (argument_list "(0,piVar4,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "dVar12 = extraout_f0_1_02;" (assignment_expression "dVar12 = extraout_f0_1_02" identifier = identifier) ;) (if_statement "if (piVar4 == piVar5) {\n        locale_charset();\n      }" if (parenthesized_expression "(piVar4 == piVar5)" ( (binary_expression "piVar4 == piVar5" identifier == identifier) )) (compound_statement "{\n        locale_charset();\n      }" { (expression_statement "locale_charset();" (call_expression "locale_charset()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return dVar12;" return identifier ;) })) (expression_statement "*piVar4 = iVar1;" (assignment_expression "*piVar4 = iVar1" (pointer_expression "*piVar4" * identifier) = identifier) ;) (return_statement "return dVar12;" return identifier ;) })) (expression_statement "iVar1 = (**(code **)(puVar8 + 0x183e8))();" (assignment_expression "iVar1 = (**(code **)(puVar8 + 0x183e8))()" identifier = (call_expression "(**(code **)(puVar8 + 0x183e8))()" (parenthesized_expression "(**(code **)(puVar8 + 0x183e8))" ( (pointer_expression "**(code **)(puVar8 + 0x183e8)" * (pointer_expression "*(code **)(puVar8 + 0x183e8)" * (cast_expression "(code **)(puVar8 + 0x183e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x183e8)" ( (binary_expression "puVar8 + 0x183e8" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "dVar12 = extraout_f0_1;" (assignment_expression "dVar12 = extraout_f0_1" identifier = identifier) ;) (if_statement "if ((iVar1 != 0) && (psVar7 = (sysinfo *)(iVar1 + 1), 6 < (int)psVar7 - (int)psVar6)) {\n    iVar2 = (**(code **)(puVar8 + 0x183b8))(iVar1 + -6,*(int *)(puVar8 + 0x18278) + -0x4260,7);\n    piVar4 = *(int **)(puVar8 + 0x18298);\n    dVar12 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar8 + 0x183b8))(psVar7,*(int *)(puVar8 + 0x18278) + -0x4258,3);\n    psVar6 = psVar7;\n    dVar12 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      psVar6 = (sysinfo *)(iVar1 + 4);\n      **(int **)(puVar8 + 0x183cc) = (int)psVar6;\n    }\n  }" if (parenthesized_expression "((iVar1 != 0) && (psVar7 = (sysinfo *)(iVar1 + 1), 6 < (int)psVar7 - (int)psVar6))" ( (binary_expression "(iVar1 != 0) && (psVar7 = (sysinfo *)(iVar1 + 1), 6 < (int)psVar7 - (int)psVar6)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(psVar7 = (sysinfo *)(iVar1 + 1), 6 < (int)psVar7 - (int)psVar6)" ( (comma_expression "psVar7 = (sysinfo *)(iVar1 + 1), 6 < (int)psVar7 - (int)psVar6" (assignment_expression "psVar7 = (sysinfo *)(iVar1 + 1)" identifier = (cast_expression "(sysinfo *)(iVar1 + 1)" ( (type_descriptor "sysinfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) )))) , (binary_expression "6 < (int)psVar7 - (int)psVar6" number_literal < (binary_expression "(int)psVar7 - (int)psVar6" (cast_expression "(int)psVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)psVar6" ( (type_descriptor "int" primitive_type) ) identifier)))) ))) )) (compound_statement "{\n    iVar2 = (**(code **)(puVar8 + 0x183b8))(iVar1 + -6,*(int *)(puVar8 + 0x18278) + -0x4260,7);\n    piVar4 = *(int **)(puVar8 + 0x18298);\n    dVar12 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar8 + 0x183b8))(psVar7,*(int *)(puVar8 + 0x18278) + -0x4258,3);\n    psVar6 = psVar7;\n    dVar12 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      psVar6 = (sysinfo *)(iVar1 + 4);\n      **(int **)(puVar8 + 0x183cc) = (int)psVar6;\n    }\n  }" { (expression_statement "iVar2 = (**(code **)(puVar8 + 0x183b8))(iVar1 + -6,*(int *)(puVar8 + 0x18278) + -0x4260,7);" (assignment_expression "iVar2 = (**(code **)(puVar8 + 0x183b8))(iVar1 + -6,*(int *)(puVar8 + 0x18278) + -0x4260,7)" identifier = (call_expression "(**(code **)(puVar8 + 0x183b8))(iVar1 + -6,*(int *)(puVar8 + 0x18278) + -0x4260,7)" (parenthesized_expression "(**(code **)(puVar8 + 0x183b8))" ( (pointer_expression "**(code **)(puVar8 + 0x183b8)" * (pointer_expression "*(code **)(puVar8 + 0x183b8)" * (cast_expression "(code **)(puVar8 + 0x183b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x183b8)" ( (binary_expression "puVar8 + 0x183b8" identifier + number_literal) ))))) )) (argument_list "(iVar1 + -6,*(int *)(puVar8 + 0x18278) + -0x4260,7)" ( (binary_expression "iVar1 + -6" identifier + number_literal) , (binary_expression "*(int *)(puVar8 + 0x18278) + -0x4260" (pointer_expression "*(int *)(puVar8 + 0x18278)" * (cast_expression "(int *)(puVar8 + 0x18278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x18278)" ( (binary_expression "puVar8 + 0x18278" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "piVar4 = *(int **)(puVar8 + 0x18298);" (assignment_expression "piVar4 = *(int **)(puVar8 + 0x18298)" identifier = (pointer_expression "*(int **)(puVar8 + 0x18298)" * (cast_expression "(int **)(puVar8 + 0x18298)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x18298)" ( (binary_expression "puVar8 + 0x18298" identifier + number_literal) ))))) ;) (expression_statement "dVar12 = extraout_f0_1_00;" (assignment_expression "dVar12 = extraout_f0_1_00" identifier = identifier) ;) (if_statement "if (iVar2 != 0) goto LAB_00014f58;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00014f58;" goto statement_identifier ;)) (expression_statement "iVar2 = (**(code **)(puVar8 + 0x183b8))(psVar7,*(int *)(puVar8 + 0x18278) + -0x4258,3);" (assignment_expression "iVar2 = (**(code **)(puVar8 + 0x183b8))(psVar7,*(int *)(puVar8 + 0x18278) + -0x4258,3)" identifier = (call_expression "(**(code **)(puVar8 + 0x183b8))(psVar7,*(int *)(puVar8 + 0x18278) + -0x4258,3)" (parenthesized_expression "(**(code **)(puVar8 + 0x183b8))" ( (pointer_expression "**(code **)(puVar8 + 0x183b8)" * (pointer_expression "*(code **)(puVar8 + 0x183b8)" * (cast_expression "(code **)(puVar8 + 0x183b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x183b8)" ( (binary_expression "puVar8 + 0x183b8" identifier + number_literal) ))))) )) (argument_list "(psVar7,*(int *)(puVar8 + 0x18278) + -0x4258,3)" ( identifier , (binary_expression "*(int *)(puVar8 + 0x18278) + -0x4258" (pointer_expression "*(int *)(puVar8 + 0x18278)" * (cast_expression "(int *)(puVar8 + 0x18278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x18278)" ( (binary_expression "puVar8 + 0x18278" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "psVar6 = psVar7;" (assignment_expression "psVar6 = psVar7" identifier = identifier) ;) (expression_statement "dVar12 = extraout_f0_1_01;" (assignment_expression "dVar12 = extraout_f0_1_01" identifier = identifier) ;) (if_statement "if (iVar2 == 0) {\n      psVar6 = (sysinfo *)(iVar1 + 4);\n      **(int **)(puVar8 + 0x183cc) = (int)psVar6;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      psVar6 = (sysinfo *)(iVar1 + 4);\n      **(int **)(puVar8 + 0x183cc) = (int)psVar6;\n    }" { (expression_statement "psVar6 = (sysinfo *)(iVar1 + 4);" (assignment_expression "psVar6 = (sysinfo *)(iVar1 + 4)" identifier = (cast_expression "(sysinfo *)(iVar1 + 4)" ( (type_descriptor "sysinfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) ;) (expression_statement "**(int **)(puVar8 + 0x183cc) = (int)psVar6;" (assignment_expression "**(int **)(puVar8 + 0x183cc) = (int)psVar6" (pointer_expression "**(int **)(puVar8 + 0x183cc)" * (pointer_expression "*(int **)(puVar8 + 0x183cc)" * (cast_expression "(int **)(puVar8 + 0x183cc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x183cc)" ( (binary_expression "puVar8 + 0x183cc" identifier + number_literal) ))))) = (cast_expression "(int)psVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (expression_statement "piVar4 = *(int **)(puVar8 + 0x18298);" (assignment_expression "piVar4 = *(int **)(puVar8 + 0x18298)" identifier = (pointer_expression "*(int **)(puVar8 + 0x18298)" * (cast_expression "(int **)(puVar8 + 0x18298)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x18298)" ( (binary_expression "puVar8 + 0x18298" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00014f58:\n  *piVar4 = (int)psVar6;" statement_identifier : (expression_statement "*piVar4 = (int)psVar6;" (assignment_expression "*piVar4 = (int)psVar6" (pointer_expression "*piVar4" * identifier) = (cast_expression "(int)psVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (expression_statement "**(int **)(puVar8 + 0x183f4) = (int)psVar6;" (assignment_expression "**(int **)(puVar8 + 0x183f4) = (int)psVar6" (pointer_expression "**(int **)(puVar8 + 0x183f4)" * (pointer_expression "*(int **)(puVar8 + 0x183f4)" * (cast_expression "(int **)(puVar8 + 0x183f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x183f4)" ( (binary_expression "puVar8 + 0x183f4" identifier + number_literal) ))))) = (cast_expression "(int)psVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return dVar12;" return identifier ;) })))
(translation_unit "double physmem_available(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  undefined *puVar6;\n  double dVar7;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_4c [20];\n  int local_38;\n  int local_30;\n  int local_18;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  puVar4 = auStack_4c;\n  if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }\n  puVar6 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }\n  iVar1 = (**(code **)(puVar6 + 0x183e8))();\n  dVar9 = extraout_f0_1;\n  if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }\n  piVar3 = *(int **)(puVar6 + 0x18298);\nLAB_00014f58:\n  *piVar3 = (int)puVar4;\n  **(int **)(puVar6 + 0x183f4) = (int)puVar4;\n  return dVar9;\n}\n\n" (function_definition "double physmem_available(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  undefined *puVar6;\n  double dVar7;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_4c [20];\n  int local_38;\n  int local_30;\n  int local_18;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  puVar4 = auStack_4c;\n  if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }\n  puVar6 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }\n  iVar1 = (**(code **)(puVar6 + 0x183e8))();\n  dVar9 = extraout_f0_1;\n  if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }\n  piVar3 = *(int **)(puVar6 + 0x18298);\nLAB_00014f58:\n  *piVar3 = (int)puVar4;\n  **(int **)(puVar6 + 0x183f4) = (int)puVar4;\n  return dVar9;\n}" primitive_type (function_declarator "physmem_available(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  undefined *puVar6;\n  double dVar7;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_4c [20];\n  int local_38;\n  int local_30;\n  int local_18;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  puVar4 = auStack_4c;\n  if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }\n  puVar6 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }\n  iVar1 = (**(code **)(puVar6 + 0x183e8))();\n  dVar9 = extraout_f0_1;\n  if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }\n  piVar3 = *(int **)(puVar6 + 0x18298);\nLAB_00014f58:\n  *piVar3 = (int)puVar4;\n  **(int **)(puVar6 + 0x183f4) = (int)puVar4;\n  return dVar9;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "double dVar7;" primitive_type identifier ;) (declaration "double extraout_f0_1;" primitive_type identifier ;) (declaration "double extraout_f0_1_00;" primitive_type identifier ;) (declaration "double extraout_f0_1_01;" primitive_type identifier ;) (declaration "double dVar8;" primitive_type identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "undefined1 auStack_4c [20];" type_identifier (array_declarator "auStack_4c [20]" identifier [ number_literal ]) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_0002d340;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_0002d340" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0002d340" * (cast_expression "(int *)PTR___stack_chk_guard_0002d340" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);" (assignment_expression "iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56)" identifier = (call_expression "(*(code *)PTR_sysconf_0002d328)(0x56)" (parenthesized_expression "(*(code *)PTR_sysconf_0002d328)" ( (pointer_expression "*(code *)PTR_sysconf_0002d328" * (cast_expression "(code *)PTR_sysconf_0002d328" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x56)" ( number_literal )))) ;) (expression_statement "iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);" (assignment_expression "iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e)" identifier = (call_expression "(*(code *)PTR_sysconf_0002d328)(0x1e)" (parenthesized_expression "(*(code *)PTR_sysconf_0002d328)" ( (pointer_expression "*(code *)PTR_sysconf_0002d328" * (cast_expression "(code *)PTR_sysconf_0002d328" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x1e)" ( number_literal )))) ;) (expression_statement "puVar4 = auStack_4c;" (assignment_expression "puVar4 = auStack_4c" identifier = identifier) ;) (if_statement "if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }" if (parenthesized_expression "((iVar1 < 0) || (iVar2 < 0))" ( (binary_expression "(iVar1 < 0) || (iVar2 < 0)" (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) ))) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }" { (expression_statement "iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();" (assignment_expression "iVar1 = (*(code *)PTR_sysinfo_0002d2f0)()" identifier = (call_expression "(*(code *)PTR_sysinfo_0002d2f0)()" (parenthesized_expression "(*(code *)PTR_sysinfo_0002d2f0)" ( (pointer_expression "*(code *)PTR_sysinfo_0002d2f0" * (cast_expression "(code *)PTR_sysinfo_0002d2f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }" { (expression_statement "dVar7 = (double)local_38;" (assignment_expression "dVar7 = (double)local_38" identifier = (cast_expression "(double)local_38" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" if (parenthesized_expression "(local_38 < 0)" ( (binary_expression "local_38 < 0" identifier < number_literal) )) (compound_statement "{\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" { (expression_statement "dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier = (binary_expression "dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier + (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a8" identifier + number_literal) )))))) ;) })) (expression_statement "dVar8 = (double)local_30;" (assignment_expression "dVar8 = (double)local_30" identifier = (cast_expression "(double)local_30" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" if (parenthesized_expression "(local_30 < 0)" ( (binary_expression "local_30 < 0" identifier < number_literal) )) (compound_statement "{\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" { (expression_statement "dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier = (binary_expression "dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier + (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a8" identifier + number_literal) )))))) ;) })) (expression_statement "dVar9 = (double)local_18;" (assignment_expression "dVar9 = (double)local_18" identifier = (cast_expression "(double)local_18" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" if (parenthesized_expression "(local_18 < 0)" ( (binary_expression "local_18 < 0" identifier < number_literal) )) (compound_statement "{\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" { (expression_statement "dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier = (binary_expression "dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" identifier + (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a8" identifier + number_literal) )))))) ;) })) (expression_statement "dVar9 = (dVar7 + dVar8) * dVar9;" (assignment_expression "dVar9 = (dVar7 + dVar8) * dVar9" identifier = (binary_expression "(dVar7 + dVar8) * dVar9" (parenthesized_expression "(dVar7 + dVar8)" ( (binary_expression "dVar7 + dVar8" identifier + identifier) )) * identifier)) ;) }) (else_clause "else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" else (compound_statement "{\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" { (expression_statement "dVar9 = (double)physmem_total();" (assignment_expression "dVar9 = (double)physmem_total()" identifier = (cast_expression "(double)physmem_total()" ( (type_descriptor "double" primitive_type) ) (call_expression "physmem_total()" identifier (argument_list "()" ( ))))) ;) (expression_statement "dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);" (assignment_expression "dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0)" identifier = (binary_expression "dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0)" identifier * (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a0)" * (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a0)" ( (binary_expression "PTR_DAT_0002d118 + -0x42a0" identifier + number_literal) )))))) ;) }))) }) (else_clause "else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }" else (compound_statement "{\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }" { (expression_statement "dVar9 = (double)iVar1 * (double)iVar2;" (assignment_expression "dVar9 = (double)iVar1 * (double)iVar2" identifier = (binary_expression "(double)iVar1 * (double)iVar2" (cast_expression "(double)iVar1" ( (type_descriptor "double" primitive_type) ) identifier) * (cast_expression "(double)iVar2" ( (type_descriptor "double" primitive_type) ) identifier))) ;) }))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_0002d340)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_0002d340" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_0002d340" * (cast_expression "(int *)PTR___stack_chk_guard_0002d340" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return dVar9;\n  }" { (return_statement "return dVar9;" return identifier ;) })) (expression_statement "puVar6 = PTR___stack_chk_fail_0002d32c;" (assignment_expression "puVar6 = PTR___stack_chk_fail_0002d32c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0002d32c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002d32c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002d32c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0002d32c" * (cast_expression "(code *)PTR___stack_chk_fail_0002d32c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }" if (parenthesized_expression "(puVar4 == (undefined1 *)0x0)" ( (binary_expression "puVar4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }" { (expression_statement "(**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));" (call_expression "(**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4))" (parenthesized_expression "(**(code **)(puVar6 + 0x18478))" ( (pointer_expression "**(code **)(puVar6 + 0x18478)" * (pointer_expression "*(code **)(puVar6 + 0x18478)" * (cast_expression "(code **)(puVar6 + 0x18478)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x18478)" ( (binary_expression "puVar6 + 0x18478" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4))" ( (binary_expression "*(int *)(puVar6 + 0x18278) + -0x4298" (pointer_expression "*(int *)(puVar6 + 0x18278)" * (cast_expression "(int *)(puVar6 + 0x18278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x18278)" ( (binary_expression "puVar6 + 0x18278" identifier + number_literal) )))) + number_literal) , number_literal , number_literal , (pointer_expression "**(undefined4 **)(puVar6 + 0x184b4)" * (pointer_expression "*(undefined4 **)(puVar6 + 0x184b4)" * (cast_expression "(undefined4 **)(puVar6 + 0x184b4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x184b4)" ( (binary_expression "puVar6 + 0x184b4" identifier + number_literal) ))))) ))) ;) (expression_statement "dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();" (assignment_expression "dVar9 = (double)(**(code **)(puVar6 + 0x183b4))()" identifier = (cast_expression "(double)(**(code **)(puVar6 + 0x183b4))()" ( (type_descriptor "double" primitive_type) ) (call_expression "(**(code **)(puVar6 + 0x183b4))()" (parenthesized_expression "(**(code **)(puVar6 + 0x183b4))" ( (pointer_expression "**(code **)(puVar6 + 0x183b4)" * (pointer_expression "*(code **)(puVar6 + 0x183b4)" * (cast_expression "(code **)(puVar6 + 0x183b4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183b4)" ( (binary_expression "puVar6 + 0x183b4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (return_statement "return dVar9;" return identifier ;) })) (expression_statement "iVar1 = (**(code **)(puVar6 + 0x183e8))();" (assignment_expression "iVar1 = (**(code **)(puVar6 + 0x183e8))()" identifier = (call_expression "(**(code **)(puVar6 + 0x183e8))()" (parenthesized_expression "(**(code **)(puVar6 + 0x183e8))" ( (pointer_expression "**(code **)(puVar6 + 0x183e8)" * (pointer_expression "*(code **)(puVar6 + 0x183e8)" * (cast_expression "(code **)(puVar6 + 0x183e8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183e8)" ( (binary_expression "puVar6 + 0x183e8" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "dVar9 = extraout_f0_1;" (assignment_expression "dVar9 = extraout_f0_1" identifier = identifier) ;) (if_statement "if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }" if (parenthesized_expression "((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4))" ( (binary_expression "(iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)" ( (comma_expression "puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4" (assignment_expression "puVar5 = (undefined1 *)(iVar1 + 1)" identifier = (cast_expression "(undefined1 *)(iVar1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) )))) , (binary_expression "6 < (int)puVar5 - (int)puVar4" number_literal < (binary_expression "(int)puVar5 - (int)puVar4" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)))) ))) )) (compound_statement "{\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }" { (expression_statement "iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);" (assignment_expression "iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7)" identifier = (call_expression "(**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7)" (parenthesized_expression "(**(code **)(puVar6 + 0x183b8))" ( (pointer_expression "**(code **)(puVar6 + 0x183b8)" * (pointer_expression "*(code **)(puVar6 + 0x183b8)" * (cast_expression "(code **)(puVar6 + 0x183b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183b8)" ( (binary_expression "puVar6 + 0x183b8" identifier + number_literal) ))))) )) (argument_list "(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7)" ( (binary_expression "iVar1 + -6" identifier + number_literal) , (binary_expression "*(int *)(puVar6 + 0x18278) + -0x4260" (pointer_expression "*(int *)(puVar6 + 0x18278)" * (cast_expression "(int *)(puVar6 + 0x18278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x18278)" ( (binary_expression "puVar6 + 0x18278" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "piVar3 = *(int **)(puVar6 + 0x18298);" (assignment_expression "piVar3 = *(int **)(puVar6 + 0x18298)" identifier = (pointer_expression "*(int **)(puVar6 + 0x18298)" * (cast_expression "(int **)(puVar6 + 0x18298)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x18298)" ( (binary_expression "puVar6 + 0x18298" identifier + number_literal) ))))) ;) (expression_statement "dVar9 = extraout_f0_1_00;" (assignment_expression "dVar9 = extraout_f0_1_00" identifier = identifier) ;) (if_statement "if (iVar2 != 0) goto LAB_00014f58;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00014f58;" goto statement_identifier ;)) (expression_statement "iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);" (assignment_expression "iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3)" identifier = (call_expression "(**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3)" (parenthesized_expression "(**(code **)(puVar6 + 0x183b8))" ( (pointer_expression "**(code **)(puVar6 + 0x183b8)" * (pointer_expression "*(code **)(puVar6 + 0x183b8)" * (cast_expression "(code **)(puVar6 + 0x183b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183b8)" ( (binary_expression "puVar6 + 0x183b8" identifier + number_literal) ))))) )) (argument_list "(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3)" ( identifier , (binary_expression "*(int *)(puVar6 + 0x18278) + -0x4258" (pointer_expression "*(int *)(puVar6 + 0x18278)" * (cast_expression "(int *)(puVar6 + 0x18278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x18278)" ( (binary_expression "puVar6 + 0x18278" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (expression_statement "dVar9 = extraout_f0_1_01;" (assignment_expression "dVar9 = extraout_f0_1_01" identifier = identifier) ;) (if_statement "if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }" { (expression_statement "puVar4 = (undefined1 *)(iVar1 + 4);" (assignment_expression "puVar4 = (undefined1 *)(iVar1 + 4)" identifier = (cast_expression "(undefined1 *)(iVar1 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) ;) (expression_statement "**(int **)(puVar6 + 0x183cc) = (int)puVar4;" (assignment_expression "**(int **)(puVar6 + 0x183cc) = (int)puVar4" (pointer_expression "**(int **)(puVar6 + 0x183cc)" * (pointer_expression "*(int **)(puVar6 + 0x183cc)" * (cast_expression "(int **)(puVar6 + 0x183cc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183cc)" ( (binary_expression "puVar6 + 0x183cc" identifier + number_literal) ))))) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (expression_statement "piVar3 = *(int **)(puVar6 + 0x18298);" (assignment_expression "piVar3 = *(int **)(puVar6 + 0x18298)" identifier = (pointer_expression "*(int **)(puVar6 + 0x18298)" * (cast_expression "(int **)(puVar6 + 0x18298)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x18298)" ( (binary_expression "puVar6 + 0x18298" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00014f58:\n  *piVar3 = (int)puVar4;" statement_identifier : (expression_statement "*piVar3 = (int)puVar4;" (assignment_expression "*piVar3 = (int)puVar4" (pointer_expression "*piVar3" * identifier) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (expression_statement "**(int **)(puVar6 + 0x183f4) = (int)puVar4;" (assignment_expression "**(int **)(puVar6 + 0x183f4) = (int)puVar4" (pointer_expression "**(int **)(puVar6 + 0x183f4)" * (pointer_expression "*(int **)(puVar6 + 0x183f4)" * (cast_expression "(int **)(puVar6 + 0x183f4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0x183f4)" ( (binary_expression "puVar6 + 0x183f4" identifier + number_literal) ))))) = (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return dVar9;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) 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 (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 ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , LIT , (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (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 ( ))))) ;) (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 ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression LIT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ))) )) (compound_statement { (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 ( (binary_expression IDENT + 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (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 , (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return IDENT ;) })))
(function_definition "double physmem_available(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  undefined *puVar6;\n  double dVar7;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_4c [20];\n  int local_38;\n  int local_30;\n  int local_18;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  puVar4 = auStack_4c;\n  if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }\n  puVar6 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }\n  iVar1 = (**(code **)(puVar6 + 0x183e8))();\n  dVar9 = extraout_f0_1;\n  if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }\n  piVar3 = *(int **)(puVar6 + 0x18298);\nLAB_00014f58:\n  *piVar3 = (int)puVar4;\n  **(int **)(puVar6 + 0x183f4) = (int)puVar4;\n  return dVar9;\n}" (primitive_type "double") (function_declarator "physmem_available(void)" (identifier "physmem_available") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  undefined *puVar6;\n  double dVar7;\n  double extraout_f0_1;\n  double extraout_f0_1_00;\n  double extraout_f0_1_01;\n  double dVar8;\n  double dVar9;\n  undefined1 auStack_4c [20];\n  int local_38;\n  int local_30;\n  int local_18;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_0002d340;\n  iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);\n  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);\n  puVar4 = auStack_4c;\n  if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }\n  puVar6 = PTR___stack_chk_fail_0002d32c;\n  (*(code *)PTR___stack_chk_fail_0002d32c)();\n  if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }\n  iVar1 = (**(code **)(puVar6 + 0x183e8))();\n  dVar9 = extraout_f0_1;\n  if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }\n  piVar3 = *(int **)(puVar6 + 0x18298);\nLAB_00014f58:\n  *piVar3 = (int)puVar4;\n  **(int **)(puVar6 + 0x183f4) = (int)puVar4;\n  return dVar9;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "double dVar7;" (primitive_type "double") (identifier "dVar7") (; ";")) (declaration "double extraout_f0_1;" (primitive_type "double") (identifier "extraout_f0_1") (; ";")) (declaration "double extraout_f0_1_00;" (primitive_type "double") (identifier "extraout_f0_1_00") (; ";")) (declaration "double extraout_f0_1_01;" (primitive_type "double") (identifier "extraout_f0_1_01") (; ";")) (declaration "double dVar8;" (primitive_type "double") (identifier "dVar8") (; ";")) (declaration "double dVar9;" (primitive_type "double") (identifier "dVar9") (; ";")) (declaration "undefined1 auStack_4c [20];" (type_identifier "undefined1") (array_declarator "auStack_4c [20]" (identifier "auStack_4c") ([ "[") (number_literal "20") (] "]")) (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (declaration "int local_c;" (primitive_type "int") (identifier "local_c") (; ";")) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_0002d340;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_0002d340" (identifier "local_c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0002d340" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0002d340" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0002d340")))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);" (assignment_expression "iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_sysconf_0002d328)(0x56)" (parenthesized_expression "(*(code *)PTR_sysconf_0002d328)" (( "(") (pointer_expression "*(code *)PTR_sysconf_0002d328" (* "*") (cast_expression "(code *)PTR_sysconf_0002d328" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sysconf_0002d328"))) () ")")) (argument_list "(0x56)" (( "(") (number_literal "0x56") () ")")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);" (assignment_expression "iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_sysconf_0002d328)(0x1e)" (parenthesized_expression "(*(code *)PTR_sysconf_0002d328)" (( "(") (pointer_expression "*(code *)PTR_sysconf_0002d328" (* "*") (cast_expression "(code *)PTR_sysconf_0002d328" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sysconf_0002d328"))) () ")")) (argument_list "(0x1e)" (( "(") (number_literal "0x1e") () ")")))) (; ";")) (expression_statement "puVar4 = auStack_4c;" (assignment_expression "puVar4 = auStack_4c" (identifier "puVar4") (= "=") (identifier "auStack_4c")) (; ";")) (if_statement "if ((iVar1 < 0) || (iVar2 < 0)) {\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }\n  else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }" (if "if") (parenthesized_expression "((iVar1 < 0) || (iVar2 < 0))" (( "(") (binary_expression "(iVar1 < 0) || (iVar2 < 0)" (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();\n    if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();" (assignment_expression "iVar1 = (*(code *)PTR_sysinfo_0002d2f0)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_sysinfo_0002d2f0)()" (parenthesized_expression "(*(code *)PTR_sysinfo_0002d2f0)" (( "(") (pointer_expression "*(code *)PTR_sysinfo_0002d2f0" (* "*") (cast_expression "(code *)PTR_sysinfo_0002d2f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sysinfo_0002d2f0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }\n    else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      dVar7 = (double)local_38;\n      if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar8 = (double)local_30;\n      if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (double)local_18;\n      if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }\n      dVar9 = (dVar7 + dVar8) * dVar9;\n    }" ({ "{") (expression_statement "dVar7 = (double)local_38;" (assignment_expression "dVar7 = (double)local_38" (identifier "dVar7") (= "=") (cast_expression "(double)local_38" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_38"))) (; ";")) (if_statement "if (local_38 < 0) {\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" (if "if") (parenthesized_expression "(local_38 < 0)" (( "(") (binary_expression "local_38 < 0" (identifier "local_38") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" ({ "{") (expression_statement "dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" (identifier "dVar7") (= "=") (binary_expression "dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" (identifier "dVar7") (+ "+") (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" (* "*") (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" (( "(") (binary_expression "PTR_DAT_0002d118 + -0x42a8" (identifier "PTR_DAT_0002d118") (+ "+") (number_literal "-0x42a8")) () ")")))))) (; ";")) (} "}"))) (expression_statement "dVar8 = (double)local_30;" (assignment_expression "dVar8 = (double)local_30" (identifier "dVar8") (= "=") (cast_expression "(double)local_30" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_30"))) (; ";")) (if_statement "if (local_30 < 0) {\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" (if "if") (parenthesized_expression "(local_30 < 0)" (( "(") (binary_expression "local_30 < 0" (identifier "local_30") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" ({ "{") (expression_statement "dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" (identifier "dVar8") (= "=") (binary_expression "dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" (identifier "dVar8") (+ "+") (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" (* "*") (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" (( "(") (binary_expression "PTR_DAT_0002d118 + -0x42a8" (identifier "PTR_DAT_0002d118") (+ "+") (number_literal "-0x42a8")) () ")")))))) (; ";")) (} "}"))) (expression_statement "dVar9 = (double)local_18;" (assignment_expression "dVar9 = (double)local_18" (identifier "dVar9") (= "=") (cast_expression "(double)local_18" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_18"))) (; ";")) (if_statement "if (local_18 < 0) {\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" (if "if") (parenthesized_expression "(local_18 < 0)" (( "(") (binary_expression "local_18 < 0" (identifier "local_18") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);\n      }" ({ "{") (expression_statement "dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);" (assignment_expression "dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" (identifier "dVar9") (= "=") (binary_expression "dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8)" (identifier "dVar9") (+ "+") (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a8)" (* "*") (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a8)" (( "(") (binary_expression "PTR_DAT_0002d118 + -0x42a8" (identifier "PTR_DAT_0002d118") (+ "+") (number_literal "-0x42a8")) () ")")))))) (; ";")) (} "}"))) (expression_statement "dVar9 = (dVar7 + dVar8) * dVar9;" (assignment_expression "dVar9 = (dVar7 + dVar8) * dVar9" (identifier "dVar9") (= "=") (binary_expression "(dVar7 + dVar8) * dVar9" (parenthesized_expression "(dVar7 + dVar8)" (( "(") (binary_expression "dVar7 + dVar8" (identifier "dVar7") (+ "+") (identifier "dVar8")) () ")")) (* "*") (identifier "dVar9"))) (; ";")) (} "}")) (else_clause "else {\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" (else "else") (compound_statement "{\n      dVar9 = (double)physmem_total();\n      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);\n    }" ({ "{") (expression_statement "dVar9 = (double)physmem_total();" (assignment_expression "dVar9 = (double)physmem_total()" (identifier "dVar9") (= "=") (cast_expression "(double)physmem_total()" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (call_expression "physmem_total()" (identifier "physmem_total") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);" (assignment_expression "dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0)" (identifier "dVar9") (= "=") (binary_expression "dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0)" (identifier "dVar9") (* "*") (pointer_expression "*(double *)(PTR_DAT_0002d118 + -0x42a0)" (* "*") (cast_expression "(double *)(PTR_DAT_0002d118 + -0x42a0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0002d118 + -0x42a0)" (( "(") (binary_expression "PTR_DAT_0002d118 + -0x42a0" (identifier "PTR_DAT_0002d118") (+ "+") (number_literal "-0x42a0")) () ")")))))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }" (else "else") (compound_statement "{\n    dVar9 = (double)iVar1 * (double)iVar2;\n  }" ({ "{") (expression_statement "dVar9 = (double)iVar1 * (double)iVar2;" (assignment_expression "dVar9 = (double)iVar1 * (double)iVar2" (identifier "dVar9") (= "=") (binary_expression "(double)iVar1 * (double)iVar2" (cast_expression "(double)iVar1" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar1")) (* "*") (cast_expression "(double)iVar2" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar2")))) (; ";")) (} "}")))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {\n    return dVar9;\n  }" (if "if") (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_0002d340)" (( "(") (binary_expression "local_c == *(int *)PTR___stack_chk_guard_0002d340" (identifier "local_c") (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_0002d340" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0002d340" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0002d340")))) () ")")) (compound_statement "{\n    return dVar9;\n  }" ({ "{") (return_statement "return dVar9;" (return "return") (identifier "dVar9") (; ";")) (} "}"))) (expression_statement "puVar6 = PTR___stack_chk_fail_0002d32c;" (assignment_expression "puVar6 = PTR___stack_chk_fail_0002d32c" (identifier "puVar6") (= "=") (identifier "PTR___stack_chk_fail_0002d32c")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0002d32c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0002d32c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0002d32c)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0002d32c" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0002d32c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0002d32c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (puVar4 == (undefined1 *)0x0) {\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }" (if "if") (parenthesized_expression "(puVar4 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar4 == (undefined1 *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));\n    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();\n    return dVar9;\n  }" ({ "{") (expression_statement "(**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));" (call_expression "(**(code **)(puVar6 + 0x18478))\n              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4))" (parenthesized_expression "(**(code **)(puVar6 + 0x18478))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x18478)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x18478)" (* "*") (cast_expression "(code **)(puVar6 + 0x18478)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x18478)" (( "(") (binary_expression "puVar6 + 0x18478" (identifier "puVar6") (+ "+") (number_literal "0x18478")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4))" (( "(") (binary_expression "*(int *)(puVar6 + 0x18278) + -0x4298" (pointer_expression "*(int *)(puVar6 + 0x18278)" (* "*") (cast_expression "(int *)(puVar6 + 0x18278)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x18278)" (( "(") (binary_expression "puVar6 + 0x18278" (identifier "puVar6") (+ "+") (number_literal "0x18278")) () ")")))) (+ "+") (number_literal "-0x4298")) (, ",") (number_literal "1") (, ",") (number_literal "0x37") (, ",") (pointer_expression "**(undefined4 **)(puVar6 + 0x184b4)" (* "*") (pointer_expression "*(undefined4 **)(puVar6 + 0x184b4)" (* "*") (cast_expression "(undefined4 **)(puVar6 + 0x184b4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x184b4)" (( "(") (binary_expression "puVar6 + 0x184b4" (identifier "puVar6") (+ "+") (number_literal "0x184b4")) () ")"))))) () ")"))) (; ";")) (expression_statement "dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();" (assignment_expression "dVar9 = (double)(**(code **)(puVar6 + 0x183b4))()" (identifier "dVar9") (= "=") (cast_expression "(double)(**(code **)(puVar6 + 0x183b4))()" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (call_expression "(**(code **)(puVar6 + 0x183b4))()" (parenthesized_expression "(**(code **)(puVar6 + 0x183b4))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x183b4)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x183b4)" (* "*") (cast_expression "(code **)(puVar6 + 0x183b4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x183b4)" (( "(") (binary_expression "puVar6 + 0x183b4" (identifier "puVar6") (+ "+") (number_literal "0x183b4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return dVar9;" (return "return") (identifier "dVar9") (; ";")) (} "}"))) (expression_statement "iVar1 = (**(code **)(puVar6 + 0x183e8))();" (assignment_expression "iVar1 = (**(code **)(puVar6 + 0x183e8))()" (identifier "iVar1") (= "=") (call_expression "(**(code **)(puVar6 + 0x183e8))()" (parenthesized_expression "(**(code **)(puVar6 + 0x183e8))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x183e8)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x183e8)" (* "*") (cast_expression "(code **)(puVar6 + 0x183e8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x183e8)" (( "(") (binary_expression "puVar6 + 0x183e8" (identifier "puVar6") (+ "+") (number_literal "0x183e8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "dVar9 = extraout_f0_1;" (assignment_expression "dVar9 = extraout_f0_1" (identifier "dVar9") (= "=") (identifier "extraout_f0_1")) (; ";")) (if_statement "if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }" (if "if") (parenthesized_expression "((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4))" (( "(") (binary_expression "(iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)" (( "(") (comma_expression "puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4" (assignment_expression "puVar5 = (undefined1 *)(iVar1 + 1)" (identifier "puVar5") (= "=") (cast_expression "(undefined1 *)(iVar1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 1)" (( "(") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1")) () ")")))) (, ",") (binary_expression "6 < (int)puVar5 - (int)puVar4" (number_literal "6") (< "<") (binary_expression "(int)puVar5 - (int)puVar4" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (- "-") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))))) () ")"))) () ")")) (compound_statement "{\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);\n    piVar3 = *(int **)(puVar6 + 0x18298);\n    dVar9 = extraout_f0_1_00;\n    if (iVar2 != 0) goto LAB_00014f58;\n    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);\n    puVar4 = puVar5;\n    dVar9 = extraout_f0_1_01;\n    if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }\n  }" ({ "{") (expression_statement "iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);" (assignment_expression "iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7)" (parenthesized_expression "(**(code **)(puVar6 + 0x183b8))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x183b8)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x183b8)" (* "*") (cast_expression "(code **)(puVar6 + 0x183b8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x183b8)" (( "(") (binary_expression "puVar6 + 0x183b8" (identifier "puVar6") (+ "+") (number_literal "0x183b8")) () ")"))))) () ")")) (argument_list "(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7)" (( "(") (binary_expression "iVar1 + -6" (identifier "iVar1") (+ "+") (number_literal "-6")) (, ",") (binary_expression "*(int *)(puVar6 + 0x18278) + -0x4260" (pointer_expression "*(int *)(puVar6 + 0x18278)" (* "*") (cast_expression "(int *)(puVar6 + 0x18278)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x18278)" (( "(") (binary_expression "puVar6 + 0x18278" (identifier "puVar6") (+ "+") (number_literal "0x18278")) () ")")))) (+ "+") (number_literal "-0x4260")) (, ",") (number_literal "7") () ")")))) (; ";")) (expression_statement "piVar3 = *(int **)(puVar6 + 0x18298);" (assignment_expression "piVar3 = *(int **)(puVar6 + 0x18298)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(puVar6 + 0x18298)" (* "*") (cast_expression "(int **)(puVar6 + 0x18298)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x18298)" (( "(") (binary_expression "puVar6 + 0x18298" (identifier "puVar6") (+ "+") (number_literal "0x18298")) () ")"))))) (; ";")) (expression_statement "dVar9 = extraout_f0_1_00;" (assignment_expression "dVar9 = extraout_f0_1_00" (identifier "dVar9") (= "=") (identifier "extraout_f0_1_00")) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_00014f58;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00014f58;" (goto "goto") (statement_identifier "LAB_00014f58") (; ";"))) (expression_statement "iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);" (assignment_expression "iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3)" (parenthesized_expression "(**(code **)(puVar6 + 0x183b8))" (( "(") (pointer_expression "**(code **)(puVar6 + 0x183b8)" (* "*") (pointer_expression "*(code **)(puVar6 + 0x183b8)" (* "*") (cast_expression "(code **)(puVar6 + 0x183b8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x183b8)" (( "(") (binary_expression "puVar6 + 0x183b8" (identifier "puVar6") (+ "+") (number_literal "0x183b8")) () ")"))))) () ")")) (argument_list "(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3)" (( "(") (identifier "puVar5") (, ",") (binary_expression "*(int *)(puVar6 + 0x18278) + -0x4258" (pointer_expression "*(int *)(puVar6 + 0x18278)" (* "*") (cast_expression "(int *)(puVar6 + 0x18278)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x18278)" (( "(") (binary_expression "puVar6 + 0x18278" (identifier "puVar6") (+ "+") (number_literal "0x18278")) () ")")))) (+ "+") (number_literal "-0x4258")) (, ",") (number_literal "3") () ")")))) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "dVar9 = extraout_f0_1_01;" (assignment_expression "dVar9 = extraout_f0_1_01" (identifier "dVar9") (= "=") (identifier "extraout_f0_1_01")) (; ";")) (if_statement "if (iVar2 == 0) {\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      puVar4 = (undefined1 *)(iVar1 + 4);\n      **(int **)(puVar6 + 0x183cc) = (int)puVar4;\n    }" ({ "{") (expression_statement "puVar4 = (undefined1 *)(iVar1 + 4);" (assignment_expression "puVar4 = (undefined1 *)(iVar1 + 4)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)(iVar1 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (; ";")) (expression_statement "**(int **)(puVar6 + 0x183cc) = (int)puVar4;" (assignment_expression "**(int **)(puVar6 + 0x183cc) = (int)puVar4" (pointer_expression "**(int **)(puVar6 + 0x183cc)" (* "*") (pointer_expression "*(int **)(puVar6 + 0x183cc)" (* "*") (cast_expression "(int **)(puVar6 + 0x183cc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x183cc)" (( "(") (binary_expression "puVar6 + 0x183cc" (identifier "puVar6") (+ "+") (number_literal "0x183cc")) () ")"))))) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar3 = *(int **)(puVar6 + 0x18298);" (assignment_expression "piVar3 = *(int **)(puVar6 + 0x18298)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(puVar6 + 0x18298)" (* "*") (cast_expression "(int **)(puVar6 + 0x18298)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x18298)" (( "(") (binary_expression "puVar6 + 0x18298" (identifier "puVar6") (+ "+") (number_literal "0x18298")) () ")"))))) (; ";")) (labeled_statement "LAB_00014f58:\n  *piVar3 = (int)puVar4;" (statement_identifier "LAB_00014f58") (: ":") (expression_statement "*piVar3 = (int)puVar4;" (assignment_expression "*piVar3 = (int)puVar4" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";"))) (expression_statement "**(int **)(puVar6 + 0x183f4) = (int)puVar4;" (assignment_expression "**(int **)(puVar6 + 0x183f4) = (int)puVar4" (pointer_expression "**(int **)(puVar6 + 0x183f4)" (* "*") (pointer_expression "*(int **)(puVar6 + 0x183f4)" (* "*") (cast_expression "(int **)(puVar6 + 0x183f4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0x183f4)" (( "(") (binary_expression "puVar6 + 0x183f4" (identifier "puVar6") (+ "+") (number_literal "0x183f4")) () ")"))))) (= "=") (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4"))) (; ";")) (return_statement "return dVar9;" (return "return") (identifier "dVar9") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal))))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (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)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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 (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 (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) (number_literal) (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))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))))) (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)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (number_literal) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))) consequence: (compound_statement (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 (binary_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (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 (identifier) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (return_statement (identifier)))))

double MASKED(void)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  undefined *puVar6;
  double dVar7;
  double extraout_f0_1;
  double extraout_f0_1_00;
  double extraout_f0_1_01;
  double dVar8;
  double dVar9;
  undefined1 auStack_4c [20];
  int local_38;
  int local_30;
  int local_18;
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_0002d340;
  iVar1 = (*(code *)PTR_sysconf_0002d328)(0x56);
  iVar2 = (*(code *)PTR_sysconf_0002d328)(0x1e);
  puVar4 = auStack_4c;
  if ((iVar1 < 0) || (iVar2 < 0)) {
    iVar1 = (*(code *)PTR_sysinfo_0002d2f0)();
    if (iVar1 == 0) {
      dVar7 = (double)local_38;
      if (local_38 < 0) {
        dVar7 = dVar7 + *(double *)(PTR_DAT_0002d118 + -0x42a8);
      }
      dVar8 = (double)local_30;
      if (local_30 < 0) {
        dVar8 = dVar8 + *(double *)(PTR_DAT_0002d118 + -0x42a8);
      }
      dVar9 = (double)local_18;
      if (local_18 < 0) {
        dVar9 = dVar9 + *(double *)(PTR_DAT_0002d118 + -0x42a8);
      }
      dVar9 = (dVar7 + dVar8) * dVar9;
    }
    else {
      dVar9 = (double)physmem_total();
      dVar9 = dVar9 * *(double *)(PTR_DAT_0002d118 + -0x42a0);
    }
  }
  else {
    dVar9 = (double)iVar1 * (double)iVar2;
  }
  if (local_c == *(int *)PTR___stack_chk_guard_0002d340) {
    return dVar9;
  }
  puVar6 = PTR___stack_chk_fail_0002d32c;
  (*(code *)PTR___stack_chk_fail_0002d32c)();
  if (puVar4 == (undefined1 *)0x0) {
    (**(code **)(puVar6 + 0x18478))
              (*(int *)(puVar6 + 0x18278) + -0x4298,1,0x37,**(undefined4 **)(puVar6 + 0x184b4));
    dVar9 = (double)(**(code **)(puVar6 + 0x183b4))();
    return dVar9;
  }
  iVar1 = (**(code **)(puVar6 + 0x183e8))();
  dVar9 = extraout_f0_1;
  if ((iVar1 != 0) && (puVar5 = (undefined1 *)(iVar1 + 1), 6 < (int)puVar5 - (int)puVar4)) {
    iVar2 = (**(code **)(puVar6 + 0x183b8))(iVar1 + -6,*(int *)(puVar6 + 0x18278) + -0x4260,7);
    piVar3 = *(int **)(puVar6 + 0x18298);
    dVar9 = extraout_f0_1_00;
    if (iVar2 != 0) goto LAB_00014f58;
    iVar2 = (**(code **)(puVar6 + 0x183b8))(puVar5,*(int *)(puVar6 + 0x18278) + -0x4258,3);
    puVar4 = puVar5;
    dVar9 = extraout_f0_1_01;
    if (iVar2 == 0) {
      puVar4 = (undefined1 *)(iVar1 + 4);
      **(int **)(puVar6 + 0x183cc) = (int)puVar4;
    }
  }
  piVar3 = *(int **)(puVar6 + 0x18298);
LAB_00014f58:
  *piVar3 = (int)puVar4;
  **(int **)(puVar6 + 0x183f4) = (int)puVar4;
  return dVar9;
}

