
/* WARNING: Unknown calling convention */

int posix2_version(void)

{
  char *pcVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  int iVar6;
  undefined *puVar7;
  code *pcVar8;
  char *e;
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_000353b8;
  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);
  if (pcVar1 == (char *)0x0) {
    iVar2 = 0x31069;
  }
  else if (*pcVar1 == '\0') {
    iVar2 = 0x31069;
  }
  else {
    iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10);
    if (*e != '\0') {
      iVar2 = 0x31069;
    }
  }
  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {
    return iVar2;
  }
  iVar2 = local_c;
  puVar7 = PTR___stack_chk_fail_00035398;
  (*(code *)PTR___stack_chk_fail_00035398)();
  if (iVar2 == 0) {
    iVar2 = 1;
    piVar5 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);
    (**(code **)(puVar7 + 0x1a690))(piVar5,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));
    pcVar8 = *(code **)(puVar7 + 0x1a5d4);
    (*pcVar8)();
    *piVar5 = 0;
    piVar5[1] = 0;
    piVar5[2] = 0;
    piVar5[3] = 0;
    piVar5[4] = 0;
    piVar5[5] = 0;
    piVar5[6] = 0;
    piVar5[7] = 0;
    piVar5[8] = 0;
    piVar5[9] = 0;
    piVar5[10] = 0;
    piVar5[0xb] = 0;
    if (iVar2 != 10) {
      *piVar5 = iVar2;
      return (int)piVar5;
    }
    iVar2 = (**(code **)(pcVar8 + 0x1a4c4))();
    return iVar2;
  }
  iVar3 = (**(code **)(puVar7 + 0x1a604))();
  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar2)) {
    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);
    piVar5 = *(int **)(puVar7 + 0x1a464);
    if (iVar4 != 0) goto LAB_0001ada8;
    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);
    iVar2 = iVar6;
    if (iVar4 == 0) {
      iVar2 = iVar3 + 4;
      **(int **)(puVar7 + 0x1a5f0) = iVar2;
    }
  }
  piVar5 = *(int **)(puVar7 + 0x1a464);
LAB_0001ada8:
  *piVar5 = iVar2;
  piVar5 = *(int **)(puVar7 + 0x1a614);
  *piVar5 = iVar2;
  return (int)piVar5;
}



int * posix2_version(void)

{
  char *pcVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  undefined *puVar7;
  code *pcVar8;
  char *local_10;
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_000353b8;
  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);
  if (pcVar1 == (char *)0x0) {
    piVar2 = (int *)0x31069;
  }
  else if (*pcVar1 == '\0') {
    piVar2 = (int *)0x31069;
  }
  else {
    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);
    if (*local_10 != '\0') {
      piVar2 = (int *)0x31069;
    }
  }
  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {
    return piVar2;
  }
  iVar5 = local_c;
  puVar7 = PTR___stack_chk_fail_00035398;
  (*(code *)PTR___stack_chk_fail_00035398)();
  if (iVar5 == 0) {
    iVar5 = 1;
    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);
    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));
    pcVar8 = *(code **)(puVar7 + 0x1a5d4);
    (*pcVar8)();
    *piVar2 = 0;
    piVar2[1] = 0;
    piVar2[2] = 0;
    piVar2[3] = 0;
    piVar2[4] = 0;
    piVar2[5] = 0;
    piVar2[6] = 0;
    piVar2[7] = 0;
    piVar2[8] = 0;
    piVar2[9] = 0;
    piVar2[10] = 0;
    piVar2[0xb] = 0;
    if (iVar5 != 10) {
      *piVar2 = iVar5;
      return piVar2;
    }
    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();
    return piVar2;
  }
  iVar3 = (**(code **)(puVar7 + 0x1a604))();
  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {
    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);
    piVar2 = *(int **)(puVar7 + 0x1a464);
    if (iVar4 != 0) goto LAB_0001ada8;
    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);
    iVar5 = iVar6;
    if (iVar4 == 0) {
      iVar5 = iVar3 + 4;
      **(int **)(puVar7 + 0x1a5f0) = iVar5;
    }
  }
  piVar2 = *(int **)(puVar7 + 0x1a464);
LAB_0001ada8:
  *piVar2 = iVar5;
  piVar2 = *(int **)(puVar7 + 0x1a614);
  *piVar2 = iVar5;
  return piVar2;
}


lui gp,0x2
addiu gp,gp,0x24d0
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw gp,0x10(sp)
lw v0,-0x7d48(gp)
lw v0,0x0(v0)
sw v0,0x1c(sp)
lw a0,-0x7fc8(gp)
addiu a0,a0,0x2fc0
lw t9,-0x7d9c(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0001acd8
_nop
lb v1,0x0(v0)
bne v1,zero,0x0001aca4
_li a2,0xa
lui v0,0x3
addiu v0,v0,0x1069
lw a0,0x1c(sp)
lw v1,-0x7d48(gp)
lw v1,0x0(v1)
bne a0,v1,0x0001ace4
_lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
addiu a1,sp,0x18
or a0,v0,zero
lw t9,-0x7e48(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v1,0x18(sp)
lb v1,0x0(v1)
beq v1,zero,0x0001ac88
_nop
lui v0,0x3
b 0x0001ac88
_addiu v0,v0,0x1069
lui v0,0x3
b 0x0001ac88
_addiu v0,v0,0x1069
lw t9,-0x7d68(gp)
jalr t9
_nop
(translation_unit "int * posix2_version(void)\n\n{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *local_10;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }\n  iVar5 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }\n  piVar2 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar2 = iVar5;\n  piVar2 = *(int **)(puVar7 + 0x1a614);\n  *piVar2 = iVar5;\n  return piVar2;\n}\n\n" (function_definition "int * posix2_version(void)\n\n{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *local_10;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }\n  iVar5 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }\n  piVar2 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar2 = iVar5;\n  piVar2 = *(int **)(puVar7 + 0x1a614);\n  *piVar2 = iVar5;\n  return piVar2;\n}" primitive_type (pointer_declarator "* posix2_version(void)" * (function_declarator "posix2_version(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *local_10;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }\n  iVar5 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }\n  piVar2 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar2 = iVar5;\n  piVar2 = *(int **)(puVar7 + 0x1a614);\n  *piVar2 = iVar5;\n  return piVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *local_10;" primitive_type (pointer_declarator "*local_10" * identifier) ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000353b8;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000353b8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000353b8" * (cast_expression "(int *)PTR___stack_chk_guard_000353b8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" identifier = (cast_expression "(char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" (parenthesized_expression "(*(code *)PTR_getenv_00035364)" ( (pointer_expression "*(code *)PTR_getenv_00035364" * (cast_expression "(code *)PTR_getenv_00035364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00035138 + 0x2fc0)" ( (binary_expression "PTR_LAB_00035138 + 0x2fc0" identifier + number_literal) ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar2 = (int *)0x31069;\n  }" { (expression_statement "piVar2 = (int *)0x31069;" (assignment_expression "piVar2 = (int *)0x31069" identifier = (cast_expression "(int *)0x31069" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" else (if_statement "if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" if (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar2 = (int *)0x31069;\n  }" { (expression_statement "piVar2 = (int *)0x31069;" (assignment_expression "piVar2 = (int *)0x31069" identifier = (cast_expression "(int *)0x31069" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" else (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10)" identifier = (cast_expression "(int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10)" (parenthesized_expression "(*(code *)PTR_strtol_000352b8)" ( (pointer_expression "*(code *)PTR_strtol_000352b8" * (cast_expression "(code *)PTR_strtol_000352b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1,&local_10,10)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal ))))) ;) (if_statement "if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }" if (parenthesized_expression "(*local_10 != '\0')" ( (binary_expression "*local_10 != '\0'" (pointer_expression "*local_10" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      piVar2 = (int *)0x31069;\n    }" { (expression_statement "piVar2 = (int *)0x31069;" (assignment_expression "piVar2 = (int *)0x31069" identifier = (cast_expression "(int *)0x31069" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }))))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000353b8)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000353b8" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000353b8" * (cast_expression "(int *)PTR___stack_chk_guard_000353b8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return piVar2;\n  }" { (return_statement "return piVar2;" return identifier ;) })) (expression_statement "iVar5 = local_c;" (assignment_expression "iVar5 = local_c" identifier = identifier) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_00035398;" (assignment_expression "puVar7 = PTR___stack_chk_fail_00035398" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00035398)();" (call_expression "(*(code *)PTR___stack_chk_fail_00035398)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00035398)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00035398" * (cast_expression "(code *)PTR___stack_chk_fail_00035398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (expression_statement "piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);" (assignment_expression "piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" identifier = (cast_expression "(int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" ( (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x2fd0" (pointer_expression "*(int *)(puVar7 + 0x1a448)" * (cast_expression "(int *)(puVar7 + 0x1a448)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1a448)" ( (binary_expression "puVar7 + 0x1a448" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));" (call_expression "(**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8))" (parenthesized_expression "(**(code **)(puVar7 + 0x1a690))" ( (pointer_expression "**(code **)(puVar7 + 0x1a690)" * (pointer_expression "*(code **)(puVar7 + 0x1a690)" * (cast_expression "(code **)(puVar7 + 0x1a690)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a690)" ( (binary_expression "puVar7 + 0x1a690" identifier + number_literal) ))))) )) (argument_list "(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8))" ( identifier , number_literal , number_literal , (pointer_expression "**(undefined4 **)(puVar7 + 0x1a6d8)" * (pointer_expression "*(undefined4 **)(puVar7 + 0x1a6d8)" * (cast_expression "(undefined4 **)(puVar7 + 0x1a6d8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a6d8)" ( (binary_expression "puVar7 + 0x1a6d8" identifier + number_literal) ))))) ))) ;) (expression_statement "pcVar8 = *(code **)(puVar7 + 0x1a5d4);" (assignment_expression "pcVar8 = *(code **)(puVar7 + 0x1a5d4)" identifier = (pointer_expression "*(code **)(puVar7 + 0x1a5d4)" * (cast_expression "(code **)(puVar7 + 0x1a5d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5d4)" ( (binary_expression "puVar7 + 0x1a5d4" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[5] = 0;" (assignment_expression "piVar2[5] = 0" (subscript_expression "piVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[6] = 0;" (assignment_expression "piVar2[6] = 0" (subscript_expression "piVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[7] = 0;" (assignment_expression "piVar2[7] = 0" (subscript_expression "piVar2[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[8] = 0;" (assignment_expression "piVar2[8] = 0" (subscript_expression "piVar2[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[9] = 0;" (assignment_expression "piVar2[9] = 0" (subscript_expression "piVar2[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[10] = 0;" (assignment_expression "piVar2[10] = 0" (subscript_expression "piVar2[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[0xb] = 0;" (assignment_expression "piVar2[0xb] = 0" (subscript_expression "piVar2[0xb]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }" if (parenthesized_expression "(iVar5 != 10)" ( (binary_expression "iVar5 != 10" identifier != number_literal) )) (compound_statement "{\n      *piVar2 = iVar5;\n      return piVar2;\n    }" { (expression_statement "*piVar2 = iVar5;" (assignment_expression "*piVar2 = iVar5" (pointer_expression "*piVar2" * identifier) = identifier) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();" (assignment_expression "piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))()" identifier = (cast_expression "(int *)(**(code **)(pcVar8 + 0x1a4c4))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar8 + 0x1a4c4))()" (parenthesized_expression "(**(code **)(pcVar8 + 0x1a4c4))" ( (pointer_expression "**(code **)(pcVar8 + 0x1a4c4)" * (pointer_expression "*(code **)(pcVar8 + 0x1a4c4)" * (cast_expression "(code **)(pcVar8 + 0x1a4c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar8 + 0x1a4c4)" ( (binary_expression "pcVar8 + 0x1a4c4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "iVar3 = (**(code **)(puVar7 + 0x1a604))();" (assignment_expression "iVar3 = (**(code **)(puVar7 + 0x1a604))()" identifier = (call_expression "(**(code **)(puVar7 + 0x1a604))()" (parenthesized_expression "(**(code **)(puVar7 + 0x1a604))" ( (pointer_expression "**(code **)(puVar7 + 0x1a604)" * (pointer_expression "*(code **)(puVar7 + 0x1a604)" * (cast_expression "(code **)(puVar7 + 0x1a604)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a604)" ( (binary_expression "puVar7 + 0x1a604" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }" if (parenthesized_expression "((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5))" ( (binary_expression "(iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)" ( (comma_expression "iVar6 = iVar3 + 1, 6 < iVar6 - iVar5" (assignment_expression "iVar6 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) , (binary_expression "6 < iVar6 - iVar5" number_literal < (binary_expression "iVar6 - iVar5" identifier - identifier))) ))) )) (compound_statement "{\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }" { (expression_statement "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" identifier = (call_expression "(**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" (parenthesized_expression "(**(code **)(puVar7 + 0x1a5dc))" ( (pointer_expression "**(code **)(puVar7 + 0x1a5dc)" * (pointer_expression "*(code **)(puVar7 + 0x1a5dc)" * (cast_expression "(code **)(puVar7 + 0x1a5dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5dc)" ( (binary_expression "puVar7 + 0x1a5dc" identifier + number_literal) ))))) )) (argument_list "(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" ( (binary_expression "iVar3 + -6" identifier + number_literal) , (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x3008" (pointer_expression "*(int *)(puVar7 + 0x1a448)" * (cast_expression "(int *)(puVar7 + 0x1a448)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1a448)" ( (binary_expression "puVar7 + 0x1a448" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "piVar2 = *(int **)(puVar7 + 0x1a464);" (assignment_expression "piVar2 = *(int **)(puVar7 + 0x1a464)" identifier = (pointer_expression "*(int **)(puVar7 + 0x1a464)" * (cast_expression "(int **)(puVar7 + 0x1a464)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a464)" ( (binary_expression "puVar7 + 0x1a464" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) goto LAB_0001ada8;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001ada8;" goto statement_identifier ;)) (expression_statement "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" identifier = (call_expression "(**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" (parenthesized_expression "(**(code **)(puVar7 + 0x1a5dc))" ( (pointer_expression "**(code **)(puVar7 + 0x1a5dc)" * (pointer_expression "*(code **)(puVar7 + 0x1a5dc)" * (cast_expression "(code **)(puVar7 + 0x1a5dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5dc)" ( (binary_expression "puVar7 + 0x1a5dc" identifier + number_literal) ))))) )) (argument_list "(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" ( identifier , (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x3010" (pointer_expression "*(int *)(puVar7 + 0x1a448)" * (cast_expression "(int *)(puVar7 + 0x1a448)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1a448)" ( (binary_expression "puVar7 + 0x1a448" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }" { (expression_statement "iVar5 = iVar3 + 4;" (assignment_expression "iVar5 = iVar3 + 4" identifier = (binary_expression "iVar3 + 4" identifier + number_literal)) ;) (expression_statement "**(int **)(puVar7 + 0x1a5f0) = iVar5;" (assignment_expression "**(int **)(puVar7 + 0x1a5f0) = iVar5" (pointer_expression "**(int **)(puVar7 + 0x1a5f0)" * (pointer_expression "*(int **)(puVar7 + 0x1a5f0)" * (cast_expression "(int **)(puVar7 + 0x1a5f0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5f0)" ( (binary_expression "puVar7 + 0x1a5f0" identifier + number_literal) ))))) = identifier) ;) })) })) (expression_statement "piVar2 = *(int **)(puVar7 + 0x1a464);" (assignment_expression "piVar2 = *(int **)(puVar7 + 0x1a464)" identifier = (pointer_expression "*(int **)(puVar7 + 0x1a464)" * (cast_expression "(int **)(puVar7 + 0x1a464)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a464)" ( (binary_expression "puVar7 + 0x1a464" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0001ada8:\n  *piVar2 = iVar5;" statement_identifier : (expression_statement "*piVar2 = iVar5;" (assignment_expression "*piVar2 = iVar5" (pointer_expression "*piVar2" * identifier) = identifier) ;)) (expression_statement "piVar2 = *(int **)(puVar7 + 0x1a614);" (assignment_expression "piVar2 = *(int **)(puVar7 + 0x1a614)" identifier = (pointer_expression "*(int **)(puVar7 + 0x1a614)" * (cast_expression "(int **)(puVar7 + 0x1a614)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a614)" ( (binary_expression "puVar7 + 0x1a614" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = iVar5;" (assignment_expression "*piVar2 = iVar5" (pointer_expression "*piVar2" * identifier) = identifier) ;) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint posix2_version(void)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *e;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    iVar2 = 0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    iVar2 = 0x31069;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10);\n    if (*e != '\0') {\n      iVar2 = 0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return iVar2;\n  }\n  iVar2 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar2 == 0) {\n    iVar2 = 1;\n    piVar5 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar5,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar5 = 0;\n    piVar5[1] = 0;\n    piVar5[2] = 0;\n    piVar5[3] = 0;\n    piVar5[4] = 0;\n    piVar5[5] = 0;\n    piVar5[6] = 0;\n    piVar5[7] = 0;\n    piVar5[8] = 0;\n    piVar5[9] = 0;\n    piVar5[10] = 0;\n    piVar5[0xb] = 0;\n    if (iVar2 != 10) {\n      *piVar5 = iVar2;\n      return (int)piVar5;\n    }\n    iVar2 = (**(code **)(pcVar8 + 0x1a4c4))();\n    return iVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar2)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar5 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar2 = iVar6;\n    if (iVar4 == 0) {\n      iVar2 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar2;\n    }\n  }\n  piVar5 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar5 = iVar2;\n  piVar5 = *(int **)(puVar7 + 0x1a614);\n  *piVar5 = iVar2;\n  return (int)piVar5;\n}\n\n" comment (function_definition "int posix2_version(void)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *e;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    iVar2 = 0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    iVar2 = 0x31069;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10);\n    if (*e != '\0') {\n      iVar2 = 0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return iVar2;\n  }\n  iVar2 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar2 == 0) {\n    iVar2 = 1;\n    piVar5 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar5,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar5 = 0;\n    piVar5[1] = 0;\n    piVar5[2] = 0;\n    piVar5[3] = 0;\n    piVar5[4] = 0;\n    piVar5[5] = 0;\n    piVar5[6] = 0;\n    piVar5[7] = 0;\n    piVar5[8] = 0;\n    piVar5[9] = 0;\n    piVar5[10] = 0;\n    piVar5[0xb] = 0;\n    if (iVar2 != 10) {\n      *piVar5 = iVar2;\n      return (int)piVar5;\n    }\n    iVar2 = (**(code **)(pcVar8 + 0x1a4c4))();\n    return iVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar2)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar5 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar2 = iVar6;\n    if (iVar4 == 0) {\n      iVar2 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar2;\n    }\n  }\n  piVar5 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar5 = iVar2;\n  piVar5 = *(int **)(puVar7 + 0x1a614);\n  *piVar5 = iVar2;\n  return (int)piVar5;\n}" primitive_type (function_declarator "posix2_version(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *e;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    iVar2 = 0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    iVar2 = 0x31069;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10);\n    if (*e != '\0') {\n      iVar2 = 0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return iVar2;\n  }\n  iVar2 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar2 == 0) {\n    iVar2 = 1;\n    piVar5 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar5,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar5 = 0;\n    piVar5[1] = 0;\n    piVar5[2] = 0;\n    piVar5[3] = 0;\n    piVar5[4] = 0;\n    piVar5[5] = 0;\n    piVar5[6] = 0;\n    piVar5[7] = 0;\n    piVar5[8] = 0;\n    piVar5[9] = 0;\n    piVar5[10] = 0;\n    piVar5[0xb] = 0;\n    if (iVar2 != 10) {\n      *piVar5 = iVar2;\n      return (int)piVar5;\n    }\n    iVar2 = (**(code **)(pcVar8 + 0x1a4c4))();\n    return iVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar2)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar5 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar2 = iVar6;\n    if (iVar4 == 0) {\n      iVar2 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar2;\n    }\n  }\n  piVar5 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar5 = iVar2;\n  piVar5 = *(int **)(puVar7 + 0x1a614);\n  *piVar5 = iVar2;\n  return (int)piVar5;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *e;" primitive_type (pointer_declarator "*e" * identifier) ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000353b8;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000353b8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000353b8" * (cast_expression "(int *)PTR___stack_chk_guard_000353b8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" identifier = (cast_expression "(char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" (parenthesized_expression "(*(code *)PTR_getenv_00035364)" ( (pointer_expression "*(code *)PTR_getenv_00035364" * (cast_expression "(code *)PTR_getenv_00035364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00035138 + 0x2fc0)" ( (binary_expression "PTR_LAB_00035138 + 0x2fc0" identifier + number_literal) ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n    iVar2 = 0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    iVar2 = 0x31069;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10);\n    if (*e != '\0') {\n      iVar2 = 0x31069;\n    }\n  }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = 0x31069;\n  }" { (expression_statement "iVar2 = 0x31069;" (assignment_expression "iVar2 = 0x31069" identifier = number_literal) ;) }) (else_clause "else if (*pcVar1 == '\0') {\n    iVar2 = 0x31069;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10);\n    if (*e != '\0') {\n      iVar2 = 0x31069;\n    }\n  }" else (if_statement "if (*pcVar1 == '\0') {\n    iVar2 = 0x31069;\n  }\n  else {\n    iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10);\n    if (*e != '\0') {\n      iVar2 = 0x31069;\n    }\n  }" if (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = 0x31069;\n  }" { (expression_statement "iVar2 = 0x31069;" (assignment_expression "iVar2 = 0x31069" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10);\n    if (*e != '\0') {\n      iVar2 = 0x31069;\n    }\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10);\n    if (*e != '\0') {\n      iVar2 = 0x31069;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10);" (assignment_expression "iVar2 = (*(code *)PTR_strtol_000352b8)(pcVar1,&e,10)" identifier = (call_expression "(*(code *)PTR_strtol_000352b8)(pcVar1,&e,10)" (parenthesized_expression "(*(code *)PTR_strtol_000352b8)" ( (pointer_expression "*(code *)PTR_strtol_000352b8" * (cast_expression "(code *)PTR_strtol_000352b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1,&e,10)" ( identifier , (pointer_expression "&e" & identifier) , number_literal )))) ;) (if_statement "if (*e != '\0') {\n      iVar2 = 0x31069;\n    }" if (parenthesized_expression "(*e != '\0')" ( (binary_expression "*e != '\0'" (pointer_expression "*e" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar2 = 0x31069;\n    }" { (expression_statement "iVar2 = 0x31069;" (assignment_expression "iVar2 = 0x31069" identifier = number_literal) ;) })) }))))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return iVar2;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000353b8)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000353b8" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000353b8" * (cast_expression "(int *)PTR___stack_chk_guard_000353b8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar2 = local_c;" (assignment_expression "iVar2 = local_c" identifier = identifier) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_00035398;" (assignment_expression "puVar7 = PTR___stack_chk_fail_00035398" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00035398)();" (call_expression "(*(code *)PTR___stack_chk_fail_00035398)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00035398)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00035398" * (cast_expression "(code *)PTR___stack_chk_fail_00035398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar2 == 0) {\n    iVar2 = 1;\n    piVar5 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar5,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar5 = 0;\n    piVar5[1] = 0;\n    piVar5[2] = 0;\n    piVar5[3] = 0;\n    piVar5[4] = 0;\n    piVar5[5] = 0;\n    piVar5[6] = 0;\n    piVar5[7] = 0;\n    piVar5[8] = 0;\n    piVar5[9] = 0;\n    piVar5[10] = 0;\n    piVar5[0xb] = 0;\n    if (iVar2 != 10) {\n      *piVar5 = iVar2;\n      return (int)piVar5;\n    }\n    iVar2 = (**(code **)(pcVar8 + 0x1a4c4))();\n    return iVar2;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = 1;\n    piVar5 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar5,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar5 = 0;\n    piVar5[1] = 0;\n    piVar5[2] = 0;\n    piVar5[3] = 0;\n    piVar5[4] = 0;\n    piVar5[5] = 0;\n    piVar5[6] = 0;\n    piVar5[7] = 0;\n    piVar5[8] = 0;\n    piVar5[9] = 0;\n    piVar5[10] = 0;\n    piVar5[0xb] = 0;\n    if (iVar2 != 10) {\n      *piVar5 = iVar2;\n      return (int)piVar5;\n    }\n    iVar2 = (**(code **)(pcVar8 + 0x1a4c4))();\n    return iVar2;\n  }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "piVar5 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);" (assignment_expression "piVar5 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" identifier = (cast_expression "(int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" ( (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x2fd0" (pointer_expression "*(int *)(puVar7 + 0x1a448)" * (cast_expression "(int *)(puVar7 + 0x1a448)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1a448)" ( (binary_expression "puVar7 + 0x1a448" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(**(code **)(puVar7 + 0x1a690))(piVar5,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));" (call_expression "(**(code **)(puVar7 + 0x1a690))(piVar5,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8))" (parenthesized_expression "(**(code **)(puVar7 + 0x1a690))" ( (pointer_expression "**(code **)(puVar7 + 0x1a690)" * (pointer_expression "*(code **)(puVar7 + 0x1a690)" * (cast_expression "(code **)(puVar7 + 0x1a690)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a690)" ( (binary_expression "puVar7 + 0x1a690" identifier + number_literal) ))))) )) (argument_list "(piVar5,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8))" ( identifier , number_literal , number_literal , (pointer_expression "**(undefined4 **)(puVar7 + 0x1a6d8)" * (pointer_expression "*(undefined4 **)(puVar7 + 0x1a6d8)" * (cast_expression "(undefined4 **)(puVar7 + 0x1a6d8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a6d8)" ( (binary_expression "puVar7 + 0x1a6d8" identifier + number_literal) ))))) ))) ;) (expression_statement "pcVar8 = *(code **)(puVar7 + 0x1a5d4);" (assignment_expression "pcVar8 = *(code **)(puVar7 + 0x1a5d4)" identifier = (pointer_expression "*(code **)(puVar7 + 0x1a5d4)" * (cast_expression "(code **)(puVar7 + 0x1a5d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5d4)" ( (binary_expression "puVar7 + 0x1a5d4" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "*piVar5 = 0;" (assignment_expression "*piVar5 = 0" (pointer_expression "*piVar5" * identifier) = number_literal) ;) (expression_statement "piVar5[1] = 0;" (assignment_expression "piVar5[1] = 0" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar5[2] = 0;" (assignment_expression "piVar5[2] = 0" (subscript_expression "piVar5[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar5[3] = 0;" (assignment_expression "piVar5[3] = 0" (subscript_expression "piVar5[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar5[4] = 0;" (assignment_expression "piVar5[4] = 0" (subscript_expression "piVar5[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar5[5] = 0;" (assignment_expression "piVar5[5] = 0" (subscript_expression "piVar5[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar5[6] = 0;" (assignment_expression "piVar5[6] = 0" (subscript_expression "piVar5[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar5[7] = 0;" (assignment_expression "piVar5[7] = 0" (subscript_expression "piVar5[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar5[8] = 0;" (assignment_expression "piVar5[8] = 0" (subscript_expression "piVar5[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar5[9] = 0;" (assignment_expression "piVar5[9] = 0" (subscript_expression "piVar5[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar5[10] = 0;" (assignment_expression "piVar5[10] = 0" (subscript_expression "piVar5[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar5[0xb] = 0;" (assignment_expression "piVar5[0xb] = 0" (subscript_expression "piVar5[0xb]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (iVar2 != 10) {\n      *piVar5 = iVar2;\n      return (int)piVar5;\n    }" if (parenthesized_expression "(iVar2 != 10)" ( (binary_expression "iVar2 != 10" identifier != number_literal) )) (compound_statement "{\n      *piVar5 = iVar2;\n      return (int)piVar5;\n    }" { (expression_statement "*piVar5 = iVar2;" (assignment_expression "*piVar5 = iVar2" (pointer_expression "*piVar5" * identifier) = identifier) ;) (return_statement "return (int)piVar5;" return (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) (expression_statement "iVar2 = (**(code **)(pcVar8 + 0x1a4c4))();" (assignment_expression "iVar2 = (**(code **)(pcVar8 + 0x1a4c4))()" identifier = (call_expression "(**(code **)(pcVar8 + 0x1a4c4))()" (parenthesized_expression "(**(code **)(pcVar8 + 0x1a4c4))" ( (pointer_expression "**(code **)(pcVar8 + 0x1a4c4)" * (pointer_expression "*(code **)(pcVar8 + 0x1a4c4)" * (cast_expression "(code **)(pcVar8 + 0x1a4c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar8 + 0x1a4c4)" ( (binary_expression "pcVar8 + 0x1a4c4" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "iVar3 = (**(code **)(puVar7 + 0x1a604))();" (assignment_expression "iVar3 = (**(code **)(puVar7 + 0x1a604))()" identifier = (call_expression "(**(code **)(puVar7 + 0x1a604))()" (parenthesized_expression "(**(code **)(puVar7 + 0x1a604))" ( (pointer_expression "**(code **)(puVar7 + 0x1a604)" * (pointer_expression "*(code **)(puVar7 + 0x1a604)" * (cast_expression "(code **)(puVar7 + 0x1a604)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a604)" ( (binary_expression "puVar7 + 0x1a604" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar2)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar5 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar2 = iVar6;\n    if (iVar4 == 0) {\n      iVar2 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar2;\n    }\n  }" if (parenthesized_expression "((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar2))" ( (binary_expression "(iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar2)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar6 = iVar3 + 1, 6 < iVar6 - iVar2)" ( (comma_expression "iVar6 = iVar3 + 1, 6 < iVar6 - iVar2" (assignment_expression "iVar6 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) , (binary_expression "6 < iVar6 - iVar2" number_literal < (binary_expression "iVar6 - iVar2" identifier - identifier))) ))) )) (compound_statement "{\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar5 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar2 = iVar6;\n    if (iVar4 == 0) {\n      iVar2 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar2;\n    }\n  }" { (expression_statement "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" identifier = (call_expression "(**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" (parenthesized_expression "(**(code **)(puVar7 + 0x1a5dc))" ( (pointer_expression "**(code **)(puVar7 + 0x1a5dc)" * (pointer_expression "*(code **)(puVar7 + 0x1a5dc)" * (cast_expression "(code **)(puVar7 + 0x1a5dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5dc)" ( (binary_expression "puVar7 + 0x1a5dc" identifier + number_literal) ))))) )) (argument_list "(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" ( (binary_expression "iVar3 + -6" identifier + number_literal) , (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x3008" (pointer_expression "*(int *)(puVar7 + 0x1a448)" * (cast_expression "(int *)(puVar7 + 0x1a448)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1a448)" ( (binary_expression "puVar7 + 0x1a448" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "piVar5 = *(int **)(puVar7 + 0x1a464);" (assignment_expression "piVar5 = *(int **)(puVar7 + 0x1a464)" identifier = (pointer_expression "*(int **)(puVar7 + 0x1a464)" * (cast_expression "(int **)(puVar7 + 0x1a464)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a464)" ( (binary_expression "puVar7 + 0x1a464" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) goto LAB_0001ada8;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001ada8;" goto statement_identifier ;)) (expression_statement "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" identifier = (call_expression "(**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" (parenthesized_expression "(**(code **)(puVar7 + 0x1a5dc))" ( (pointer_expression "**(code **)(puVar7 + 0x1a5dc)" * (pointer_expression "*(code **)(puVar7 + 0x1a5dc)" * (cast_expression "(code **)(puVar7 + 0x1a5dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5dc)" ( (binary_expression "puVar7 + 0x1a5dc" identifier + number_literal) ))))) )) (argument_list "(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" ( identifier , (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x3010" (pointer_expression "*(int *)(puVar7 + 0x1a448)" * (cast_expression "(int *)(puVar7 + 0x1a448)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1a448)" ( (binary_expression "puVar7 + 0x1a448" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n      iVar2 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar2;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar2;\n    }" { (expression_statement "iVar2 = iVar3 + 4;" (assignment_expression "iVar2 = iVar3 + 4" identifier = (binary_expression "iVar3 + 4" identifier + number_literal)) ;) (expression_statement "**(int **)(puVar7 + 0x1a5f0) = iVar2;" (assignment_expression "**(int **)(puVar7 + 0x1a5f0) = iVar2" (pointer_expression "**(int **)(puVar7 + 0x1a5f0)" * (pointer_expression "*(int **)(puVar7 + 0x1a5f0)" * (cast_expression "(int **)(puVar7 + 0x1a5f0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5f0)" ( (binary_expression "puVar7 + 0x1a5f0" identifier + number_literal) ))))) = identifier) ;) })) })) (expression_statement "piVar5 = *(int **)(puVar7 + 0x1a464);" (assignment_expression "piVar5 = *(int **)(puVar7 + 0x1a464)" identifier = (pointer_expression "*(int **)(puVar7 + 0x1a464)" * (cast_expression "(int **)(puVar7 + 0x1a464)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a464)" ( (binary_expression "puVar7 + 0x1a464" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0001ada8:\n  *piVar5 = iVar2;" statement_identifier : (expression_statement "*piVar5 = iVar2;" (assignment_expression "*piVar5 = iVar2" (pointer_expression "*piVar5" * identifier) = identifier) ;)) (expression_statement "piVar5 = *(int **)(puVar7 + 0x1a614);" (assignment_expression "piVar5 = *(int **)(puVar7 + 0x1a614)" identifier = (pointer_expression "*(int **)(puVar7 + 0x1a614)" * (cast_expression "(int **)(puVar7 + 0x1a614)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a614)" ( (binary_expression "puVar7 + 0x1a614" identifier + number_literal) ))))) ;) (expression_statement "*piVar5 = iVar2;" (assignment_expression "*piVar5 = iVar2" (pointer_expression "*piVar5" * identifier) = identifier) ;) (return_statement "return (int)piVar5;" return (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) ;) })))
(translation_unit "int * posix2_version(void)\n\n{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *local_10;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }\n  iVar5 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }\n  piVar2 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar2 = iVar5;\n  piVar2 = *(int **)(puVar7 + 0x1a614);\n  *piVar2 = iVar5;\n  return piVar2;\n}\n\n" (function_definition "int * posix2_version(void)\n\n{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *local_10;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }\n  iVar5 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }\n  piVar2 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar2 = iVar5;\n  piVar2 = *(int **)(puVar7 + 0x1a614);\n  *piVar2 = iVar5;\n  return piVar2;\n}" primitive_type (pointer_declarator "* posix2_version(void)" * (function_declarator "posix2_version(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *local_10;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }\n  iVar5 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }\n  piVar2 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar2 = iVar5;\n  piVar2 = *(int **)(puVar7 + 0x1a614);\n  *piVar2 = iVar5;\n  return piVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *local_10;" primitive_type (pointer_declarator "*local_10" * identifier) ;) (declaration "int local_c;" primitive_type identifier ;) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000353b8;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000353b8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000353b8" * (cast_expression "(int *)PTR___stack_chk_guard_000353b8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" identifier = (cast_expression "(char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" (parenthesized_expression "(*(code *)PTR_getenv_00035364)" ( (pointer_expression "*(code *)PTR_getenv_00035364" * (cast_expression "(code *)PTR_getenv_00035364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00035138 + 0x2fc0)" ( (binary_expression "PTR_LAB_00035138 + 0x2fc0" identifier + number_literal) ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar2 = (int *)0x31069;\n  }" { (expression_statement "piVar2 = (int *)0x31069;" (assignment_expression "piVar2 = (int *)0x31069" identifier = (cast_expression "(int *)0x31069" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" else (if_statement "if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" if (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar2 = (int *)0x31069;\n  }" { (expression_statement "piVar2 = (int *)0x31069;" (assignment_expression "piVar2 = (int *)0x31069" identifier = (cast_expression "(int *)0x31069" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" else (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" { (expression_statement "piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10)" identifier = (cast_expression "(int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10)" (parenthesized_expression "(*(code *)PTR_strtol_000352b8)" ( (pointer_expression "*(code *)PTR_strtol_000352b8" * (cast_expression "(code *)PTR_strtol_000352b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1,&local_10,10)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal ))))) ;) (if_statement "if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }" if (parenthesized_expression "(*local_10 != '\0')" ( (binary_expression "*local_10 != '\0'" (pointer_expression "*local_10" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      piVar2 = (int *)0x31069;\n    }" { (expression_statement "piVar2 = (int *)0x31069;" (assignment_expression "piVar2 = (int *)0x31069" identifier = (cast_expression "(int *)0x31069" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }))))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }" if (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000353b8)" ( (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000353b8" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_000353b8" * (cast_expression "(int *)PTR___stack_chk_guard_000353b8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return piVar2;\n  }" { (return_statement "return piVar2;" return identifier ;) })) (expression_statement "iVar5 = local_c;" (assignment_expression "iVar5 = local_c" identifier = identifier) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_00035398;" (assignment_expression "puVar7 = PTR___stack_chk_fail_00035398" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00035398)();" (call_expression "(*(code *)PTR___stack_chk_fail_00035398)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00035398)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00035398" * (cast_expression "(code *)PTR___stack_chk_fail_00035398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (expression_statement "piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);" (assignment_expression "piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" identifier = (cast_expression "(int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" ( (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x2fd0" (pointer_expression "*(int *)(puVar7 + 0x1a448)" * (cast_expression "(int *)(puVar7 + 0x1a448)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1a448)" ( (binary_expression "puVar7 + 0x1a448" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "(**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));" (call_expression "(**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8))" (parenthesized_expression "(**(code **)(puVar7 + 0x1a690))" ( (pointer_expression "**(code **)(puVar7 + 0x1a690)" * (pointer_expression "*(code **)(puVar7 + 0x1a690)" * (cast_expression "(code **)(puVar7 + 0x1a690)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a690)" ( (binary_expression "puVar7 + 0x1a690" identifier + number_literal) ))))) )) (argument_list "(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8))" ( identifier , number_literal , number_literal , (pointer_expression "**(undefined4 **)(puVar7 + 0x1a6d8)" * (pointer_expression "*(undefined4 **)(puVar7 + 0x1a6d8)" * (cast_expression "(undefined4 **)(puVar7 + 0x1a6d8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a6d8)" ( (binary_expression "puVar7 + 0x1a6d8" identifier + number_literal) ))))) ))) ;) (expression_statement "pcVar8 = *(code **)(puVar7 + 0x1a5d4);" (assignment_expression "pcVar8 = *(code **)(puVar7 + 0x1a5d4)" identifier = (pointer_expression "*(code **)(puVar7 + 0x1a5d4)" * (cast_expression "(code **)(puVar7 + 0x1a5d4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5d4)" ( (binary_expression "puVar7 + 0x1a5d4" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[5] = 0;" (assignment_expression "piVar2[5] = 0" (subscript_expression "piVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[6] = 0;" (assignment_expression "piVar2[6] = 0" (subscript_expression "piVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[7] = 0;" (assignment_expression "piVar2[7] = 0" (subscript_expression "piVar2[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[8] = 0;" (assignment_expression "piVar2[8] = 0" (subscript_expression "piVar2[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[9] = 0;" (assignment_expression "piVar2[9] = 0" (subscript_expression "piVar2[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[10] = 0;" (assignment_expression "piVar2[10] = 0" (subscript_expression "piVar2[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar2[0xb] = 0;" (assignment_expression "piVar2[0xb] = 0" (subscript_expression "piVar2[0xb]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }" if (parenthesized_expression "(iVar5 != 10)" ( (binary_expression "iVar5 != 10" identifier != number_literal) )) (compound_statement "{\n      *piVar2 = iVar5;\n      return piVar2;\n    }" { (expression_statement "*piVar2 = iVar5;" (assignment_expression "*piVar2 = iVar5" (pointer_expression "*piVar2" * identifier) = identifier) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();" (assignment_expression "piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))()" identifier = (cast_expression "(int *)(**(code **)(pcVar8 + 0x1a4c4))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar8 + 0x1a4c4))()" (parenthesized_expression "(**(code **)(pcVar8 + 0x1a4c4))" ( (pointer_expression "**(code **)(pcVar8 + 0x1a4c4)" * (pointer_expression "*(code **)(pcVar8 + 0x1a4c4)" * (cast_expression "(code **)(pcVar8 + 0x1a4c4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar8 + 0x1a4c4)" ( (binary_expression "pcVar8 + 0x1a4c4" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "iVar3 = (**(code **)(puVar7 + 0x1a604))();" (assignment_expression "iVar3 = (**(code **)(puVar7 + 0x1a604))()" identifier = (call_expression "(**(code **)(puVar7 + 0x1a604))()" (parenthesized_expression "(**(code **)(puVar7 + 0x1a604))" ( (pointer_expression "**(code **)(puVar7 + 0x1a604)" * (pointer_expression "*(code **)(puVar7 + 0x1a604)" * (cast_expression "(code **)(puVar7 + 0x1a604)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a604)" ( (binary_expression "puVar7 + 0x1a604" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }" if (parenthesized_expression "((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5))" ( (binary_expression "(iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)" ( (comma_expression "iVar6 = iVar3 + 1, 6 < iVar6 - iVar5" (assignment_expression "iVar6 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) , (binary_expression "6 < iVar6 - iVar5" number_literal < (binary_expression "iVar6 - iVar5" identifier - identifier))) ))) )) (compound_statement "{\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }" { (expression_statement "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" identifier = (call_expression "(**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" (parenthesized_expression "(**(code **)(puVar7 + 0x1a5dc))" ( (pointer_expression "**(code **)(puVar7 + 0x1a5dc)" * (pointer_expression "*(code **)(puVar7 + 0x1a5dc)" * (cast_expression "(code **)(puVar7 + 0x1a5dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5dc)" ( (binary_expression "puVar7 + 0x1a5dc" identifier + number_literal) ))))) )) (argument_list "(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" ( (binary_expression "iVar3 + -6" identifier + number_literal) , (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x3008" (pointer_expression "*(int *)(puVar7 + 0x1a448)" * (cast_expression "(int *)(puVar7 + 0x1a448)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1a448)" ( (binary_expression "puVar7 + 0x1a448" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "piVar2 = *(int **)(puVar7 + 0x1a464);" (assignment_expression "piVar2 = *(int **)(puVar7 + 0x1a464)" identifier = (pointer_expression "*(int **)(puVar7 + 0x1a464)" * (cast_expression "(int **)(puVar7 + 0x1a464)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a464)" ( (binary_expression "puVar7 + 0x1a464" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) goto LAB_0001ada8;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001ada8;" goto statement_identifier ;)) (expression_statement "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" identifier = (call_expression "(**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" (parenthesized_expression "(**(code **)(puVar7 + 0x1a5dc))" ( (pointer_expression "**(code **)(puVar7 + 0x1a5dc)" * (pointer_expression "*(code **)(puVar7 + 0x1a5dc)" * (cast_expression "(code **)(puVar7 + 0x1a5dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5dc)" ( (binary_expression "puVar7 + 0x1a5dc" identifier + number_literal) ))))) )) (argument_list "(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" ( identifier , (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x3010" (pointer_expression "*(int *)(puVar7 + 0x1a448)" * (cast_expression "(int *)(puVar7 + 0x1a448)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x1a448)" ( (binary_expression "puVar7 + 0x1a448" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" identifier = identifier) ;) (if_statement "if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }" { (expression_statement "iVar5 = iVar3 + 4;" (assignment_expression "iVar5 = iVar3 + 4" identifier = (binary_expression "iVar3 + 4" identifier + number_literal)) ;) (expression_statement "**(int **)(puVar7 + 0x1a5f0) = iVar5;" (assignment_expression "**(int **)(puVar7 + 0x1a5f0) = iVar5" (pointer_expression "**(int **)(puVar7 + 0x1a5f0)" * (pointer_expression "*(int **)(puVar7 + 0x1a5f0)" * (cast_expression "(int **)(puVar7 + 0x1a5f0)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a5f0)" ( (binary_expression "puVar7 + 0x1a5f0" identifier + number_literal) ))))) = identifier) ;) })) })) (expression_statement "piVar2 = *(int **)(puVar7 + 0x1a464);" (assignment_expression "piVar2 = *(int **)(puVar7 + 0x1a464)" identifier = (pointer_expression "*(int **)(puVar7 + 0x1a464)" * (cast_expression "(int **)(puVar7 + 0x1a464)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a464)" ( (binary_expression "puVar7 + 0x1a464" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0001ada8:\n  *piVar2 = iVar5;" statement_identifier : (expression_statement "*piVar2 = iVar5;" (assignment_expression "*piVar2 = iVar5" (pointer_expression "*piVar2" * identifier) = identifier) ;)) (expression_statement "piVar2 = *(int **)(puVar7 + 0x1a614);" (assignment_expression "piVar2 = *(int **)(puVar7 + 0x1a614)" identifier = (pointer_expression "*(int **)(puVar7 + 0x1a614)" * (cast_expression "(int **)(puVar7 + 0x1a614)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x1a614)" ( (binary_expression "puVar7 + 0x1a614" identifier + number_literal) ))))) ;) (expression_statement "*piVar2 = iVar5;" (assignment_expression "*piVar2 = iVar5" (pointer_expression "*piVar2" * identifier) = identifier) ;) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) }))))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = 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 == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression LIT < (binary_expression IDENT - 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) ))))) ;) (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) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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) ))))) = 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) = 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) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int * posix2_version(void)\n\n{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *local_10;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }\n  iVar5 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }\n  piVar2 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar2 = iVar5;\n  piVar2 = *(int **)(puVar7 + 0x1a614);\n  *piVar2 = iVar5;\n  return piVar2;\n}" (primitive_type "int") (pointer_declarator "* posix2_version(void)" (* "*") (function_declarator "posix2_version(void)" (identifier "posix2_version") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  char *pcVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  char *local_10;\n  int local_c;\n  \n  local_c = *(int *)PTR___stack_chk_guard_000353b8;\n  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);\n  if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }\n  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }\n  iVar5 = local_c;\n  puVar7 = PTR___stack_chk_fail_00035398;\n  (*(code *)PTR___stack_chk_fail_00035398)();\n  if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }\n  iVar3 = (**(code **)(puVar7 + 0x1a604))();\n  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }\n  piVar2 = *(int **)(puVar7 + 0x1a464);\nLAB_0001ada8:\n  *piVar2 = iVar5;\n  piVar2 = *(int **)(puVar7 + 0x1a614);\n  *piVar2 = iVar5;\n  return piVar2;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "code *pcVar8;" (type_identifier "code") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "char *local_10;" (primitive_type "char") (pointer_declarator "*local_10" (* "*") (identifier "local_10")) (; ";")) (declaration "int local_c;" (primitive_type "int") (identifier "local_c") (; ";")) (expression_statement "local_c = *(int *)PTR___stack_chk_guard_000353b8;" (assignment_expression "local_c = *(int *)PTR___stack_chk_guard_000353b8" (identifier "local_c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000353b8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000353b8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000353b8")))) (; ";")) (expression_statement "pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);" (assignment_expression "pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" (identifier "pcVar1") (= "=") (cast_expression "(char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0)" (parenthesized_expression "(*(code *)PTR_getenv_00035364)" (( "(") (pointer_expression "*(code *)PTR_getenv_00035364" (* "*") (cast_expression "(code *)PTR_getenv_00035364" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_getenv_00035364"))) () ")")) (argument_list "(PTR_LAB_00035138 + 0x2fc0)" (( "(") (binary_expression "PTR_LAB_00035138 + 0x2fc0" (identifier "PTR_LAB_00035138") (+ "+") (number_literal "0x2fc0")) () ")"))))) (; ";")) (if_statement "if (pcVar1 == (char *)0x0) {\n    piVar2 = (int *)0x31069;\n  }\n  else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" (if "if") (parenthesized_expression "(pcVar1 == (char *)0x0)" (( "(") (binary_expression "pcVar1 == (char *)0x0" (identifier "pcVar1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    piVar2 = (int *)0x31069;\n  }" ({ "{") (expression_statement "piVar2 = (int *)0x31069;" (assignment_expression "piVar2 = (int *)0x31069" (identifier "piVar2") (= "=") (cast_expression "(int *)0x31069" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x31069"))) (; ";")) (} "}")) (else_clause "else if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" (else "else") (if_statement "if (*pcVar1 == '\0') {\n    piVar2 = (int *)0x31069;\n  }\n  else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" (if "if") (parenthesized_expression "(*pcVar1 == '\0')" (( "(") (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    piVar2 = (int *)0x31069;\n  }" ({ "{") (expression_statement "piVar2 = (int *)0x31069;" (assignment_expression "piVar2 = (int *)0x31069" (identifier "piVar2") (= "=") (cast_expression "(int *)0x31069" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x31069"))) (; ";")) (} "}")) (else_clause "else {\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" (else "else") (compound_statement "{\n    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);\n    if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }\n  }" ({ "{") (expression_statement "piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);" (assignment_expression "piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10)" (parenthesized_expression "(*(code *)PTR_strtol_000352b8)" (( "(") (pointer_expression "*(code *)PTR_strtol_000352b8" (* "*") (cast_expression "(code *)PTR_strtol_000352b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtol_000352b8"))) () ")")) (argument_list "(pcVar1,&local_10,10)" (( "(") (identifier "pcVar1") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) (, ",") (number_literal "10") () ")"))))) (; ";")) (if_statement "if (*local_10 != '\0') {\n      piVar2 = (int *)0x31069;\n    }" (if "if") (parenthesized_expression "(*local_10 != '\0')" (( "(") (binary_expression "*local_10 != '\0'" (pointer_expression "*local_10" (* "*") (identifier "local_10")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      piVar2 = (int *)0x31069;\n    }" ({ "{") (expression_statement "piVar2 = (int *)0x31069;" (assignment_expression "piVar2 = (int *)0x31069" (identifier "piVar2") (= "=") (cast_expression "(int *)0x31069" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x31069"))) (; ";")) (} "}"))) (} "}")))))) (if_statement "if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {\n    return piVar2;\n  }" (if "if") (parenthesized_expression "(local_c == *(int *)PTR___stack_chk_guard_000353b8)" (( "(") (binary_expression "local_c == *(int *)PTR___stack_chk_guard_000353b8" (identifier "local_c") (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_000353b8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000353b8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000353b8")))) () ")")) (compound_statement "{\n    return piVar2;\n  }" ({ "{") (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}"))) (expression_statement "iVar5 = local_c;" (assignment_expression "iVar5 = local_c" (identifier "iVar5") (= "=") (identifier "local_c")) (; ";")) (expression_statement "puVar7 = PTR___stack_chk_fail_00035398;" (assignment_expression "puVar7 = PTR___stack_chk_fail_00035398" (identifier "puVar7") (= "=") (identifier "PTR___stack_chk_fail_00035398")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00035398)();" (call_expression "(*(code *)PTR___stack_chk_fail_00035398)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00035398)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00035398" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00035398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00035398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar5 == 0) {\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = 1;\n    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);\n    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));\n    pcVar8 = *(code **)(puVar7 + 0x1a5d4);\n    (*pcVar8)();\n    *piVar2 = 0;\n    piVar2[1] = 0;\n    piVar2[2] = 0;\n    piVar2[3] = 0;\n    piVar2[4] = 0;\n    piVar2[5] = 0;\n    piVar2[6] = 0;\n    piVar2[7] = 0;\n    piVar2[8] = 0;\n    piVar2[9] = 0;\n    piVar2[10] = 0;\n    piVar2[0xb] = 0;\n    if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }\n    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();\n    return piVar2;\n  }" ({ "{") (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" (identifier "iVar5") (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);" (assignment_expression "piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar7 + 0x1a448) + 0x2fd0)" (( "(") (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x2fd0" (pointer_expression "*(int *)(puVar7 + 0x1a448)" (* "*") (cast_expression "(int *)(puVar7 + 0x1a448)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x1a448)" (( "(") (binary_expression "puVar7 + 0x1a448" (identifier "puVar7") (+ "+") (number_literal "0x1a448")) () ")")))) (+ "+") (number_literal "0x2fd0")) () ")")))) (; ";")) (expression_statement "(**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));" (call_expression "(**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8))" (parenthesized_expression "(**(code **)(puVar7 + 0x1a690))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x1a690)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x1a690)" (* "*") (cast_expression "(code **)(puVar7 + 0x1a690)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1a690)" (( "(") (binary_expression "puVar7 + 0x1a690" (identifier "puVar7") (+ "+") (number_literal "0x1a690")) () ")"))))) () ")")) (argument_list "(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8))" (( "(") (identifier "piVar2") (, ",") (number_literal "1") (, ",") (number_literal "0x37") (, ",") (pointer_expression "**(undefined4 **)(puVar7 + 0x1a6d8)" (* "*") (pointer_expression "*(undefined4 **)(puVar7 + 0x1a6d8)" (* "*") (cast_expression "(undefined4 **)(puVar7 + 0x1a6d8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1a6d8)" (( "(") (binary_expression "puVar7 + 0x1a6d8" (identifier "puVar7") (+ "+") (number_literal "0x1a6d8")) () ")"))))) () ")"))) (; ";")) (expression_statement "pcVar8 = *(code **)(puVar7 + 0x1a5d4);" (assignment_expression "pcVar8 = *(code **)(puVar7 + 0x1a5d4)" (identifier "pcVar8") (= "=") (pointer_expression "*(code **)(puVar7 + 0x1a5d4)" (* "*") (cast_expression "(code **)(puVar7 + 0x1a5d4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1a5d4)" (( "(") (binary_expression "puVar7 + 0x1a5d4" (identifier "puVar7") (+ "+") (number_literal "0x1a5d4")) () ")"))))) (; ";")) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[2] = 0;" (assignment_expression "piVar2[2] = 0" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[3] = 0;" (assignment_expression "piVar2[3] = 0" (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[4] = 0;" (assignment_expression "piVar2[4] = 0" (subscript_expression "piVar2[4]" (identifier "piVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[5] = 0;" (assignment_expression "piVar2[5] = 0" (subscript_expression "piVar2[5]" (identifier "piVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[6] = 0;" (assignment_expression "piVar2[6] = 0" (subscript_expression "piVar2[6]" (identifier "piVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[7] = 0;" (assignment_expression "piVar2[7] = 0" (subscript_expression "piVar2[7]" (identifier "piVar2") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[8] = 0;" (assignment_expression "piVar2[8] = 0" (subscript_expression "piVar2[8]" (identifier "piVar2") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[9] = 0;" (assignment_expression "piVar2[9] = 0" (subscript_expression "piVar2[9]" (identifier "piVar2") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[10] = 0;" (assignment_expression "piVar2[10] = 0" (subscript_expression "piVar2[10]" (identifier "piVar2") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[0xb] = 0;" (assignment_expression "piVar2[0xb] = 0" (subscript_expression "piVar2[0xb]" (identifier "piVar2") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar5 != 10) {\n      *piVar2 = iVar5;\n      return piVar2;\n    }" (if "if") (parenthesized_expression "(iVar5 != 10)" (( "(") (binary_expression "iVar5 != 10" (identifier "iVar5") (!= "!=") (number_literal "10")) () ")")) (compound_statement "{\n      *piVar2 = iVar5;\n      return piVar2;\n    }" ({ "{") (expression_statement "*piVar2 = iVar5;" (assignment_expression "*piVar2 = iVar5" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar5")) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();" (assignment_expression "piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))()" (identifier "piVar2") (= "=") (cast_expression "(int *)(**(code **)(pcVar8 + 0x1a4c4))()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar8 + 0x1a4c4))()" (parenthesized_expression "(**(code **)(pcVar8 + 0x1a4c4))" (( "(") (pointer_expression "**(code **)(pcVar8 + 0x1a4c4)" (* "*") (pointer_expression "*(code **)(pcVar8 + 0x1a4c4)" (* "*") (cast_expression "(code **)(pcVar8 + 0x1a4c4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar8 + 0x1a4c4)" (( "(") (binary_expression "pcVar8 + 0x1a4c4" (identifier "pcVar8") (+ "+") (number_literal "0x1a4c4")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}"))) (expression_statement "iVar3 = (**(code **)(puVar7 + 0x1a604))();" (assignment_expression "iVar3 = (**(code **)(puVar7 + 0x1a604))()" (identifier "iVar3") (= "=") (call_expression "(**(code **)(puVar7 + 0x1a604))()" (parenthesized_expression "(**(code **)(puVar7 + 0x1a604))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x1a604)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x1a604)" (* "*") (cast_expression "(code **)(puVar7 + 0x1a604)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1a604)" (( "(") (binary_expression "puVar7 + 0x1a604" (identifier "puVar7") (+ "+") (number_literal "0x1a604")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }" (if "if") (parenthesized_expression "((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5))" (( "(") (binary_expression "(iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)" (( "(") (comma_expression "iVar6 = iVar3 + 1, 6 < iVar6 - iVar5" (assignment_expression "iVar6 = iVar3 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (, ",") (binary_expression "6 < iVar6 - iVar5" (number_literal "6") (< "<") (binary_expression "iVar6 - iVar5" (identifier "iVar6") (- "-") (identifier "iVar5")))) () ")"))) () ")")) (compound_statement "{\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);\n    piVar2 = *(int **)(puVar7 + 0x1a464);\n    if (iVar4 != 0) goto LAB_0001ada8;\n    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);\n    iVar5 = iVar6;\n    if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }\n  }" ({ "{") (expression_statement "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" (parenthesized_expression "(**(code **)(puVar7 + 0x1a5dc))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x1a5dc)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x1a5dc)" (* "*") (cast_expression "(code **)(puVar7 + 0x1a5dc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1a5dc)" (( "(") (binary_expression "puVar7 + 0x1a5dc" (identifier "puVar7") (+ "+") (number_literal "0x1a5dc")) () ")"))))) () ")")) (argument_list "(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7)" (( "(") (binary_expression "iVar3 + -6" (identifier "iVar3") (+ "+") (number_literal "-6")) (, ",") (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x3008" (pointer_expression "*(int *)(puVar7 + 0x1a448)" (* "*") (cast_expression "(int *)(puVar7 + 0x1a448)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x1a448)" (( "(") (binary_expression "puVar7 + 0x1a448" (identifier "puVar7") (+ "+") (number_literal "0x1a448")) () ")")))) (+ "+") (number_literal "0x3008")) (, ",") (number_literal "7") () ")")))) (; ";")) (expression_statement "piVar2 = *(int **)(puVar7 + 0x1a464);" (assignment_expression "piVar2 = *(int **)(puVar7 + 0x1a464)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(puVar7 + 0x1a464)" (* "*") (cast_expression "(int **)(puVar7 + 0x1a464)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1a464)" (( "(") (binary_expression "puVar7 + 0x1a464" (identifier "puVar7") (+ "+") (number_literal "0x1a464")) () ")"))))) (; ";")) (if_statement "if (iVar4 != 0) goto LAB_0001ada8;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001ada8;" (goto "goto") (statement_identifier "LAB_0001ada8") (; ";"))) (expression_statement "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);" (assignment_expression "iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" (parenthesized_expression "(**(code **)(puVar7 + 0x1a5dc))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x1a5dc)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x1a5dc)" (* "*") (cast_expression "(code **)(puVar7 + 0x1a5dc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1a5dc)" (( "(") (binary_expression "puVar7 + 0x1a5dc" (identifier "puVar7") (+ "+") (number_literal "0x1a5dc")) () ")"))))) () ")")) (argument_list "(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3)" (( "(") (identifier "iVar6") (, ",") (binary_expression "*(int *)(puVar7 + 0x1a448) + 0x3010" (pointer_expression "*(int *)(puVar7 + 0x1a448)" (* "*") (cast_expression "(int *)(puVar7 + 0x1a448)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x1a448)" (( "(") (binary_expression "puVar7 + 0x1a448" (identifier "puVar7") (+ "+") (number_literal "0x1a448")) () ")")))) (+ "+") (number_literal "0x3010")) (, ",") (number_literal "3") () ")")))) (; ";")) (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" (identifier "iVar5") (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (iVar4 == 0) {\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar5 = iVar3 + 4;\n      **(int **)(puVar7 + 0x1a5f0) = iVar5;\n    }" ({ "{") (expression_statement "iVar5 = iVar3 + 4;" (assignment_expression "iVar5 = iVar3 + 4" (identifier "iVar5") (= "=") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "**(int **)(puVar7 + 0x1a5f0) = iVar5;" (assignment_expression "**(int **)(puVar7 + 0x1a5f0) = iVar5" (pointer_expression "**(int **)(puVar7 + 0x1a5f0)" (* "*") (pointer_expression "*(int **)(puVar7 + 0x1a5f0)" (* "*") (cast_expression "(int **)(puVar7 + 0x1a5f0)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1a5f0)" (( "(") (binary_expression "puVar7 + 0x1a5f0" (identifier "puVar7") (+ "+") (number_literal "0x1a5f0")) () ")"))))) (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar2 = *(int **)(puVar7 + 0x1a464);" (assignment_expression "piVar2 = *(int **)(puVar7 + 0x1a464)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(puVar7 + 0x1a464)" (* "*") (cast_expression "(int **)(puVar7 + 0x1a464)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1a464)" (( "(") (binary_expression "puVar7 + 0x1a464" (identifier "puVar7") (+ "+") (number_literal "0x1a464")) () ")"))))) (; ";")) (labeled_statement "LAB_0001ada8:\n  *piVar2 = iVar5;" (statement_identifier "LAB_0001ada8") (: ":") (expression_statement "*piVar2 = iVar5;" (assignment_expression "*piVar2 = iVar5" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar5")) (; ";"))) (expression_statement "piVar2 = *(int **)(puVar7 + 0x1a614);" (assignment_expression "piVar2 = *(int **)(puVar7 + 0x1a614)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(puVar7 + 0x1a614)" (* "*") (cast_expression "(int **)(puVar7 + 0x1a614)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x1a614)" (( "(") (binary_expression "puVar7 + 0x1a614" (identifier "puVar7") (+ "+") (number_literal "0x1a614")) () ")"))))) (; ";")) (expression_statement "*piVar2 = iVar5;" (assignment_expression "*piVar2 = iVar5" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar5")) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (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)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (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: (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 (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (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)))) (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: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (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))))))) (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))) (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: (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: (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: (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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (identifier)))))

int * MASKED(void)

{
  char *pcVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  undefined *puVar7;
  code *pcVar8;
  char *local_10;
  int local_c;
  
  local_c = *(int *)PTR___stack_chk_guard_000353b8;
  pcVar1 = (char *)(*(code *)PTR_getenv_00035364)(PTR_LAB_00035138 + 0x2fc0);
  if (pcVar1 == (char *)0x0) {
    piVar2 = (int *)0x31069;
  }
  else if (*pcVar1 == '\0') {
    piVar2 = (int *)0x31069;
  }
  else {
    piVar2 = (int *)(*(code *)PTR_strtol_000352b8)(pcVar1,&local_10,10);
    if (*local_10 != '\0') {
      piVar2 = (int *)0x31069;
    }
  }
  if (local_c == *(int *)PTR___stack_chk_guard_000353b8) {
    return piVar2;
  }
  iVar5 = local_c;
  puVar7 = PTR___stack_chk_fail_00035398;
  (*(code *)PTR___stack_chk_fail_00035398)();
  if (iVar5 == 0) {
    iVar5 = 1;
    piVar2 = (int *)(*(int *)(puVar7 + 0x1a448) + 0x2fd0);
    (**(code **)(puVar7 + 0x1a690))(piVar2,1,0x37,**(undefined4 **)(puVar7 + 0x1a6d8));
    pcVar8 = *(code **)(puVar7 + 0x1a5d4);
    (*pcVar8)();
    *piVar2 = 0;
    piVar2[1] = 0;
    piVar2[2] = 0;
    piVar2[3] = 0;
    piVar2[4] = 0;
    piVar2[5] = 0;
    piVar2[6] = 0;
    piVar2[7] = 0;
    piVar2[8] = 0;
    piVar2[9] = 0;
    piVar2[10] = 0;
    piVar2[0xb] = 0;
    if (iVar5 != 10) {
      *piVar2 = iVar5;
      return piVar2;
    }
    piVar2 = (int *)(**(code **)(pcVar8 + 0x1a4c4))();
    return piVar2;
  }
  iVar3 = (**(code **)(puVar7 + 0x1a604))();
  if ((iVar3 != 0) && (iVar6 = iVar3 + 1, 6 < iVar6 - iVar5)) {
    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar3 + -6,*(int *)(puVar7 + 0x1a448) + 0x3008,7);
    piVar2 = *(int **)(puVar7 + 0x1a464);
    if (iVar4 != 0) goto LAB_0001ada8;
    iVar4 = (**(code **)(puVar7 + 0x1a5dc))(iVar6,*(int *)(puVar7 + 0x1a448) + 0x3010,3);
    iVar5 = iVar6;
    if (iVar4 == 0) {
      iVar5 = iVar3 + 4;
      **(int **)(puVar7 + 0x1a5f0) = iVar5;
    }
  }
  piVar2 = *(int **)(puVar7 + 0x1a464);
LAB_0001ada8:
  *piVar2 = iVar5;
  piVar2 = *(int **)(puVar7 + 0x1a614);
  *piVar2 = iVar5;
  return piVar2;
}

