
char * filesystem_type(stat *statp,char *path)

{
  char *pcVar1;
  ulong uVar2;
  mount_entry *pmVar3;
  int iVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  int iVar7;
  mount_entry *pmVar8;
  int iVar9;
  int in_t9;
  code *pcVar10;
  code *pcVar11;
  
  iVar9 = *(int *)(in_t9 + 0x54a1c);
  pcVar1 = *(char **)(iVar9 + 0x6404);
  if (pcVar1 == (char *)0x0) {
    iVar7 = *(int *)(in_t9 + 0x54a1c);
  }
  else {
    iVar7 = *(int *)(in_t9 + 0x54a1c);
    if ((*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0') || (*(int *)(iVar7 + 0x63f8) != 0))
    {
      pcVar10 = *(code **)(in_t9 + 0x55070);
    }
    else {
      pcVar10 = *(code **)(in_t9 + 0x55070);
      if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {
        return pcVar1;
      }
    }
    (*pcVar10)(pcVar1);
  }
  uVar2 = statp->st_dev;
  *(undefined4 *)(iVar7 + 0x63f8) = 0;
  *(ulong *)(iVar7 + 0x63fc) = uVar2;
  pmVar3 = get_file_system_list(true);
  if (pmVar3 == (mount_entry *)0x0) {
    uVar5 = (**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x1d00,5);
    uVar6 = 1;
    pcVar10 = *(code **)(in_t9 + 0x54fb0);
    (*pcVar10)(1,0,uVar5);
    iVar9 = (**(code **)(pcVar10 + 0x54ebc))(*(int *)(pcVar10 + 0x5483c) + -0x1cd0,uVar6);
    if ((iVar9 != 0) && (pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0)) {
      pcVar11 = *(code **)(pcVar10 + 0x54ebc);
      while (iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0) {
        pmVar3 = pmVar3->me_next;
        pcVar11 = *(code **)(pcVar10 + 0x54ebc);
        if (pmVar3 == (mount_entry *)0x0) {
          return (char *)0x0;
        }
      }
    }
    return (char *)0x1;
  }
  iVar7 = *(int *)(in_t9 + 0x54a2c);
  pmVar8 = (mount_entry *)0x0;
  do {
    iVar4 = (**(code **)(in_t9 + 0x550ac))(pmVar3->me_type,iVar7 + -0x1cd8);
    if (iVar4 != 0) {
      iVar4 = *(int *)&pmVar3->me_dev;
      uVar2 = (ulong)pmVar3->me_dev;
      if ((iVar4 == -1) && (uVar2 == 0xffffffff)) {
        iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)
        ;
        if (iVar4 != 0) goto LAB_00020c50;
        iVar4 = *(int *)&pmVar3->me_dev;
        uVar2 = (ulong)pmVar3->me_dev;
      }
      if ((iVar4 == 0) && (statp->st_dev == uVar2)) {
        pmVar8 = pmVar3;
      }
    }
LAB_00020c50:
    pmVar3 = pmVar3->me_next;
    if (pmVar3 == (mount_entry *)0x0) {
      if (pmVar8 == (mount_entry *)0x0) {
        *(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;
      }
      else {
        pcVar1 = xstrdup(pmVar8->me_type);
        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;
        if (pcVar1 != (char *)0x0) {
          *(char **)(iVar9 + 0x6404) = pcVar1;
          return pcVar1;
        }
      }
      pcVar1 = (char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5);
      pcVar1 = xstrdup(pcVar1);
      *(char **)(iVar9 + 0x6404) = pcVar1;
      return pcVar1;
    }
  } while( true );
}



int filesystem_type(int *param_1)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  undefined *puVar7;
  undefined *puVar8;
  code *pcVar9;
  
  puVar8 = PTR_DAT_000755a8;
  iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);
  if (iVar1 != 0) {
    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&
       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {
      return iVar1;
    }
    (*(code *)PTR_free_00075bfc)(iVar1);
  }
  iVar1 = *param_1;
  *(undefined4 *)(puVar8 + 0x63f8) = 0;
  *(int *)(puVar8 + 0x63fc) = iVar1;
  iVar1 = FUN_00020a30(1);
  if (iVar1 == 0) {
    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);
    uVar5 = 1;
    puVar8 = PTR_error_00075b3c;
    (*(code *)PTR_error_00075b3c)(1,0,uVar3);
    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);
    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {
      pcVar9 = *(code **)(puVar8 + 0x54ebc);
      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {
        iVar1 = *(int *)(iVar1 + 0x1c);
        pcVar9 = *(code **)(puVar8 + 0x54ebc);
        if (iVar1 == 0) {
          return 0;
        }
      }
    }
    return 1;
  }
  iVar6 = 0;
  puVar7 = PTR_s_directory_000755b8 + -0x1cd8;
  do {
    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);
    if (iVar2 != 0) {
      iVar2 = *(int *)(iVar1 + 0x10);
      iVar4 = *(int *)(iVar1 + 0x14);
      if ((iVar2 == -1) && (iVar4 == -1)) {
        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);
        if (iVar2 != 0) goto LAB_00020c50;
        iVar2 = *(int *)(iVar1 + 0x10);
        iVar4 = *(int *)(iVar1 + 0x14);
      }
      if ((iVar2 == 0) && (*param_1 == iVar4)) {
        iVar6 = iVar1;
      }
    }
LAB_00020c50:
    iVar1 = *(int *)(iVar1 + 0x1c);
    if (iVar1 == 0) {
      if (iVar6 == 0) {
        PTR_DAT_000755a8[0x6400] = 0;
      }
      else {
        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));
        PTR_DAT_000755a8[0x6400] = iVar1 != 0;
        if (iVar1 != 0) {
          *(int *)(puVar8 + 0x6404) = iVar1;
          return iVar1;
        }
      }
      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);
      iVar1 = xstrdup(uVar3);
      *(int *)(puVar8 + 0x6404) = iVar1;
      return iVar1;
    }
  } while( true );
}


lui gp,0x6
addiu gp,gp,-0x360c
addu gp,gp,t9
addiu sp,sp,-0x38
sw s5,0x2c(sp)
lw s5,-0x7fd8(gp)
sw gp,0x10(sp)
sw s4,0x28(sp)
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw v0,0x6404(s5)
beq v0,zero,0x00020d44
_or s4,a0,zero
lw v1,-0x7fd8(gp)
lbu v1,0x6400(v1)
beq v1,zero,0x00020bec
_lw s0,-0x7fd8(gp)
lw v1,0x63f8(s0)
beq v1,zero,0x00020d30
_lw a0,0x0(a0)
lw t9,-0x7984(gp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
lw t9,-0x7f18(gp)
li a0,0x1
lw v0,0x0(s4)
sw zero,0x63f8(s0)
addiu t9,t9,0xa30
bal 0x00020a30
_sw v0,0x63fc(s0)
lw gp,0x10(sp)
beq v0,zero,0x00020d4c
_or s0,v0,zero
lw s2,-0x7fc8(gp)
or s1,zero,zero
lw s3,-0x7f18(gp)
li s6,-0x1
addiu s2,s2,-0x1cd8
b 0x00020c5c
_addiu s3,s3,0xad4
bne v1,zero,0x00020c50
_lw v0,0x0(s4)
xor v0,v0,a0
movz s1,s0,v0
lw s0,0x1c(s0)
beq s0,zero,0x00020ca8
_nop
lw t9,-0x7948(gp)
or a1,s2,zero
jalr t9
_lw a0,0xc(s0)
beq v0,zero,0x00020c50
_lw gp,0x10(sp)
lw v1,0x10(s0)
bne v1,s6,0x00020c40
_lw a0,0x14(s0)
bne a0,s6,0x00020c40
_addiu a1,s0,0x10
or t9,s3,zero
bal 0x00020ad4
_addiu a0,s0,0x4
bne v0,zero,0x00020c50
_lw gp,0x10(sp)
lw v1,0x10(s0)
b 0x00020c40
_lw a0,0x14(s0)
beq s1,zero,0x00020cf8
_lw t9,-0x7dc4(gp)
bal 0x0003a28c
_lw a0,0xc(s1)
lw gp,0x10(sp)
sltu a0,zero,v0
lw v1,-0x7fd8(gp)
beq v0,zero,0x00020d00
_sb a0,0x6400(v1)
sw v0,0x6404(s5)
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
lw v0,-0x7fd8(gp)
sb zero,0x6400(v0)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x79d0(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x37cc
lw gp,0x10(sp)
lw t9,-0x7dc4(gp)
bal 0x0003a28c
_or a0,v0,zero
b 0x00020cd0
_sw v0,0x6404(s5)
lw v1,0x63fc(s0)
bne v1,a0,0x00020bf0
_lw t9,-0x7984(gp)
b 0x00020cd4
_lw ra,0x34(sp)
b 0x00020bfc
_lw s0,-0x7fd8(gp)
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x79d0(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,-0x1d00
or a1,zero,zero
lw gp,0x10(sp)
li a0,0x1
lw t9,-0x7a44(gp)
jalr t9
_or a2,v0,zero
(translation_unit "int filesystem_type(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  \n  puVar8 = PTR_DAT_000755a8;\n  iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);\n  if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }\n  iVar1 = *param_1;\n  *(undefined4 *)(puVar8 + 0x63f8) = 0;\n  *(int *)(puVar8 + 0x63fc) = iVar1;\n  iVar1 = FUN_00020a30(1);\n  if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }\n  iVar6 = 0;\n  puVar7 = PTR_s_directory_000755b8 + -0x1cd8;\n  do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );\n}\n\n" (function_definition "int filesystem_type(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  \n  puVar8 = PTR_DAT_000755a8;\n  iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);\n  if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }\n  iVar1 = *param_1;\n  *(undefined4 *)(puVar8 + 0x63f8) = 0;\n  *(int *)(puVar8 + 0x63fc) = iVar1;\n  iVar1 = FUN_00020a30(1);\n  if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }\n  iVar6 = 0;\n  puVar7 = PTR_s_directory_000755b8 + -0x1cd8;\n  do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );\n}" primitive_type (function_declarator "filesystem_type(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  \n  puVar8 = PTR_DAT_000755a8;\n  iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);\n  if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }\n  iVar1 = *param_1;\n  *(undefined4 *)(puVar8 + 0x63f8) = 0;\n  *(int *)(puVar8 + 0x63fc) = iVar1;\n  iVar1 = FUN_00020a30(1);\n  if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }\n  iVar6 = 0;\n  puVar7 = PTR_s_directory_000755b8 + -0x1cd8;\n  do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (expression_statement "puVar8 = PTR_DAT_000755a8;" (assignment_expression "puVar8 = PTR_DAT_000755a8" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404)" identifier = (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x6404)" * (cast_expression "(int *)(PTR_DAT_000755a8 + 0x6404)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000755a8 + 0x6404)" ( (binary_expression "PTR_DAT_000755a8 + 0x6404" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }" { (if_statement "if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }" if (parenthesized_expression "(((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1))" ( (binary_expression "((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)" (parenthesized_expression "((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0))" ( (binary_expression "(PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)" (parenthesized_expression "(PTR_DAT_000755a8[0x6400] != '\0')" ( (binary_expression "PTR_DAT_000755a8[0x6400] != '\0'" (subscript_expression "PTR_DAT_000755a8[0x6400]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0" (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x63f8)" * (cast_expression "(int *)(PTR_DAT_000755a8 + 0x63f8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000755a8 + 0x63f8)" ( (binary_expression "PTR_DAT_000755a8 + 0x63f8" identifier + number_literal) )))) == number_literal) ))) )) && (parenthesized_expression "(*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)" ( (binary_expression "*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1" (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x63fc)" * (cast_expression "(int *)(PTR_DAT_000755a8 + 0x63fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000755a8 + 0x63fc)" ( (binary_expression "PTR_DAT_000755a8 + 0x63fc" identifier + number_literal) )))) == (pointer_expression "*param_1" * identifier)) ))) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_free_00075bfc)(iVar1);" (call_expression "(*(code *)PTR_free_00075bfc)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" ( (pointer_expression "*(code *)PTR_free_00075bfc" * (cast_expression "(code *)PTR_free_00075bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)(puVar8 + 0x63f8) = 0;" (assignment_expression "*(undefined4 *)(puVar8 + 0x63f8) = 0" (pointer_expression "*(undefined4 *)(puVar8 + 0x63f8)" * (cast_expression "(undefined4 *)(puVar8 + 0x63f8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x63f8)" ( (binary_expression "puVar8 + 0x63f8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(puVar8 + 0x63fc) = iVar1;" (assignment_expression "*(int *)(puVar8 + 0x63fc) = iVar1" (pointer_expression "*(int *)(puVar8 + 0x63fc)" * (cast_expression "(int *)(puVar8 + 0x63fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x63fc)" ( (binary_expression "puVar8 + 0x63fc" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = FUN_00020a30(1);" (assignment_expression "iVar1 = FUN_00020a30(1)" identifier = (call_expression "FUN_00020a30(1)" identifier (argument_list "(1)" ( number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }" { (expression_statement "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00075bb0)" ( (pointer_expression "*(code *)PTR_dcgettext_00075bb0" * (cast_expression "(code *)PTR_dcgettext_00075bb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_directory_000755b8 + -0x1d00,5)" ( number_literal , (binary_expression "PTR_s_directory_000755b8 + -0x1d00" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (expression_statement "puVar8 = PTR_error_00075b3c;" (assignment_expression "puVar8 = PTR_error_00075b3c" identifier = identifier) ;) (expression_statement "(*(code *)PTR_error_00075b3c)(1,0,uVar3);" (call_expression "(*(code *)PTR_error_00075b3c)(1,0,uVar3)" (parenthesized_expression "(*(code *)PTR_error_00075b3c)" ( (pointer_expression "*(code *)PTR_error_00075b3c" * (cast_expression "(code *)PTR_error_00075b3c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0,uVar3)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);" (assignment_expression "iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5)" identifier = (call_expression "(**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5)" (parenthesized_expression "(**(code **)(puVar8 + 0x54ebc))" ( (pointer_expression "**(code **)(puVar8 + 0x54ebc)" * (pointer_expression "*(code **)(puVar8 + 0x54ebc)" * (cast_expression "(code **)(puVar8 + 0x54ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x54ebc)" ( (binary_expression "puVar8 + 0x54ebc" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5)" ( (binary_expression "*(int *)(puVar8 + 0x5483c) + -0x1cd0" (pointer_expression "*(int *)(puVar8 + 0x5483c)" * (cast_expression "(int *)(puVar8 + 0x5483c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x5483c)" ( (binary_expression "puVar8 + 0x5483c" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (if_statement "if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }" if (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = FUN_00020a30(0), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_00020a30(0), iVar1 != 0" (assignment_expression "iVar1 = FUN_00020a30(0)" identifier = (call_expression "FUN_00020a30(0)" identifier (argument_list "(0)" ( number_literal )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }" { (expression_statement "pcVar9 = *(code **)(puVar8 + 0x54ebc);" (assignment_expression "pcVar9 = *(code **)(puVar8 + 0x54ebc)" identifier = (pointer_expression "*(code **)(puVar8 + 0x54ebc)" * (cast_expression "(code **)(puVar8 + 0x54ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x54ebc)" ( (binary_expression "puVar8 + 0x54ebc" identifier + number_literal) ))))) ;) (while_statement "while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0)" ( (comma_expression "iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0" (assignment_expression "iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc))" identifier = (call_expression "(*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc))" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(uVar5,*(undefined4 *)(iVar1 + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) )) (compound_statement "{\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "pcVar9 = *(code **)(puVar8 + 0x54ebc);" (assignment_expression "pcVar9 = *(code **)(puVar8 + 0x54ebc)" identifier = (pointer_expression "*(code **)(puVar8 + 0x54ebc)" * (cast_expression "(code **)(puVar8 + 0x54ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x54ebc)" ( (binary_expression "puVar8 + 0x54ebc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) })) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "puVar7 = PTR_s_directory_000755b8 + -0x1cd8;" (assignment_expression "puVar7 = PTR_s_directory_000755b8 + -0x1cd8" identifier = (binary_expression "PTR_s_directory_000755b8 + -0x1cd8" identifier + number_literal)) ;) (do_statement "do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );" do (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7)" identifier = (call_expression "(*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7)" (parenthesized_expression "(*(code *)PTR_strcmp_00075c38)" ( (pointer_expression "*(code *)PTR_strcmp_00075c38" * (cast_expression "(code *)PTR_strcmp_00075c38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 0xc),puVar7)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }" { (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" identifier = (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(iVar1 + 0x14);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x14)" identifier = (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }" if (parenthesized_expression "((iVar2 == -1) && (iVar4 == -1))" ( (binary_expression "(iVar2 == -1) && (iVar4 == -1)" (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) && (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) ))) )) (compound_statement "{\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }" { (expression_statement "iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);" (assignment_expression "iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10)" identifier = (call_expression "FUN_00020ad4(iVar1 + 4,iVar1 + 0x10)" identifier (argument_list "(iVar1 + 4,iVar1 + 0x10)" ( (binary_expression "iVar1 + 4" identifier + number_literal) , (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00020c50;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00020c50;" goto statement_identifier ;)) (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" identifier = (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(iVar1 + 0x14);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x14)" identifier = (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) ;) })) (if_statement "if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }" if (parenthesized_expression "((iVar2 == 0) && (*param_1 == iVar4))" ( (binary_expression "(iVar2 == 0) && (*param_1 == iVar4)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "(*param_1 == iVar4)" ( (binary_expression "*param_1 == iVar4" (pointer_expression "*param_1" * identifier) == identifier) ))) )) (compound_statement "{\n        iVar6 = iVar1;\n      }" { (expression_statement "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" identifier = identifier) ;) })) })) (labeled_statement "LAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);" statement_identifier : (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;)) (if_statement "if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }" { (if_statement "if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        PTR_DAT_000755a8[0x6400] = 0;\n      }" { (expression_statement "PTR_DAT_000755a8[0x6400] = 0;" (assignment_expression "PTR_DAT_000755a8[0x6400] = 0" (subscript_expression "PTR_DAT_000755a8[0x6400]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }" else (compound_statement "{\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }" { (expression_statement "iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));" (assignment_expression "iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc))" identifier = (call_expression "xstrdup(*(undefined4 *)(iVar6 + 0xc))" identifier (argument_list "(*(undefined4 *)(iVar6 + 0xc))" ( (pointer_expression "*(undefined4 *)(iVar6 + 0xc)" * (cast_expression "(undefined4 *)(iVar6 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) )))) ;) (expression_statement "PTR_DAT_000755a8[0x6400] = iVar1 != 0;" (assignment_expression "PTR_DAT_000755a8[0x6400] = iVar1 != 0" (subscript_expression "PTR_DAT_000755a8[0x6400]" identifier [ number_literal ]) = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) (if_statement "if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }" { (expression_statement "*(int *)(puVar8 + 0x6404) = iVar1;" (assignment_expression "*(int *)(puVar8 + 0x6404) = iVar1" (pointer_expression "*(int *)(puVar8 + 0x6404)" * (cast_expression "(int *)(puVar8 + 0x6404)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x6404)" ( (binary_expression "puVar8 + 0x6404" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })) }))) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00075bb0)" ( (pointer_expression "*(code *)PTR_dcgettext_00075bb0" * (cast_expression "(code *)PTR_dcgettext_00075bb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_directory_000755b8 + -0x37cc,5)" ( number_literal , (binary_expression "PTR_s_directory_000755b8 + -0x37cc" identifier + number_literal) , number_literal )))) ;) (expression_statement "iVar1 = xstrdup(uVar3);" (assignment_expression "iVar1 = xstrdup(uVar3)" identifier = (call_expression "xstrdup(uVar3)" identifier (argument_list "(uVar3)" ( identifier )))) ;) (expression_statement "*(int *)(puVar8 + 0x6404) = iVar1;" (assignment_expression "*(int *)(puVar8 + 0x6404) = iVar1" (pointer_expression "*(int *)(puVar8 + 0x6404)" * (cast_expression "(int *)(puVar8 + 0x6404)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x6404)" ( (binary_expression "puVar8 + 0x6404" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "char * filesystem_type(stat *statp,char *path)\n\n{\n  char *pcVar1;\n  ulong uVar2;\n  mount_entry *pmVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  mount_entry *pmVar8;\n  int iVar9;\n  int in_t9;\n  code *pcVar10;\n  code *pcVar11;\n  \n  iVar9 = *(int *)(in_t9 + 0x54a1c);\n  pcVar1 = *(char **)(iVar9 + 0x6404);\n  if (pcVar1 == (char *)0x0) {\n    iVar7 = *(int *)(in_t9 + 0x54a1c);\n  }\n  else {\n    iVar7 = *(int *)(in_t9 + 0x54a1c);\n    if ((*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0') || (*(int *)(iVar7 + 0x63f8) != 0))\n    {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n    }\n    else {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n      if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {\n        return pcVar1;\n      }\n    }\n    (*pcVar10)(pcVar1);\n  }\n  uVar2 = statp->st_dev;\n  *(undefined4 *)(iVar7 + 0x63f8) = 0;\n  *(ulong *)(iVar7 + 0x63fc) = uVar2;\n  pmVar3 = get_file_system_list(true);\n  if (pmVar3 == (mount_entry *)0x0) {\n    uVar5 = (**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x1d00,5);\n    uVar6 = 1;\n    pcVar10 = *(code **)(in_t9 + 0x54fb0);\n    (*pcVar10)(1,0,uVar5);\n    iVar9 = (**(code **)(pcVar10 + 0x54ebc))(*(int *)(pcVar10 + 0x5483c) + -0x1cd0,uVar6);\n    if ((iVar9 != 0) && (pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0)) {\n      pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n      while (iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0) {\n        pmVar3 = pmVar3->me_next;\n        pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n        if (pmVar3 == (mount_entry *)0x0) {\n          return (char *)0x0;\n        }\n      }\n    }\n    return (char *)0x1;\n  }\n  iVar7 = *(int *)(in_t9 + 0x54a2c);\n  pmVar8 = (mount_entry *)0x0;\n  do {\n    iVar4 = (**(code **)(in_t9 + 0x550ac))(pmVar3->me_type,iVar7 + -0x1cd8);\n    if (iVar4 != 0) {\n      iVar4 = *(int *)&pmVar3->me_dev;\n      uVar2 = (ulong)pmVar3->me_dev;\n      if ((iVar4 == -1) && (uVar2 == 0xffffffff)) {\n        iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)\n        ;\n        if (iVar4 != 0) goto LAB_00020c50;\n        iVar4 = *(int *)&pmVar3->me_dev;\n        uVar2 = (ulong)pmVar3->me_dev;\n      }\n      if ((iVar4 == 0) && (statp->st_dev == uVar2)) {\n        pmVar8 = pmVar3;\n      }\n    }\nLAB_00020c50:\n    pmVar3 = pmVar3->me_next;\n    if (pmVar3 == (mount_entry *)0x0) {\n      if (pmVar8 == (mount_entry *)0x0) {\n        *(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;\n      }\n      else {\n        pcVar1 = xstrdup(pmVar8->me_type);\n        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;\n        if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }\n      }\n      pcVar1 = (char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5);\n      pcVar1 = xstrdup(pcVar1);\n      *(char **)(iVar9 + 0x6404) = pcVar1;\n      return pcVar1;\n    }\n  } while( true );\n}\n\n" (function_definition "char * filesystem_type(stat *statp,char *path)\n\n{\n  char *pcVar1;\n  ulong uVar2;\n  mount_entry *pmVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  mount_entry *pmVar8;\n  int iVar9;\n  int in_t9;\n  code *pcVar10;\n  code *pcVar11;\n  \n  iVar9 = *(int *)(in_t9 + 0x54a1c);\n  pcVar1 = *(char **)(iVar9 + 0x6404);\n  if (pcVar1 == (char *)0x0) {\n    iVar7 = *(int *)(in_t9 + 0x54a1c);\n  }\n  else {\n    iVar7 = *(int *)(in_t9 + 0x54a1c);\n    if ((*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0') || (*(int *)(iVar7 + 0x63f8) != 0))\n    {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n    }\n    else {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n      if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {\n        return pcVar1;\n      }\n    }\n    (*pcVar10)(pcVar1);\n  }\n  uVar2 = statp->st_dev;\n  *(undefined4 *)(iVar7 + 0x63f8) = 0;\n  *(ulong *)(iVar7 + 0x63fc) = uVar2;\n  pmVar3 = get_file_system_list(true);\n  if (pmVar3 == (mount_entry *)0x0) {\n    uVar5 = (**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x1d00,5);\n    uVar6 = 1;\n    pcVar10 = *(code **)(in_t9 + 0x54fb0);\n    (*pcVar10)(1,0,uVar5);\n    iVar9 = (**(code **)(pcVar10 + 0x54ebc))(*(int *)(pcVar10 + 0x5483c) + -0x1cd0,uVar6);\n    if ((iVar9 != 0) && (pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0)) {\n      pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n      while (iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0) {\n        pmVar3 = pmVar3->me_next;\n        pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n        if (pmVar3 == (mount_entry *)0x0) {\n          return (char *)0x0;\n        }\n      }\n    }\n    return (char *)0x1;\n  }\n  iVar7 = *(int *)(in_t9 + 0x54a2c);\n  pmVar8 = (mount_entry *)0x0;\n  do {\n    iVar4 = (**(code **)(in_t9 + 0x550ac))(pmVar3->me_type,iVar7 + -0x1cd8);\n    if (iVar4 != 0) {\n      iVar4 = *(int *)&pmVar3->me_dev;\n      uVar2 = (ulong)pmVar3->me_dev;\n      if ((iVar4 == -1) && (uVar2 == 0xffffffff)) {\n        iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)\n        ;\n        if (iVar4 != 0) goto LAB_00020c50;\n        iVar4 = *(int *)&pmVar3->me_dev;\n        uVar2 = (ulong)pmVar3->me_dev;\n      }\n      if ((iVar4 == 0) && (statp->st_dev == uVar2)) {\n        pmVar8 = pmVar3;\n      }\n    }\nLAB_00020c50:\n    pmVar3 = pmVar3->me_next;\n    if (pmVar3 == (mount_entry *)0x0) {\n      if (pmVar8 == (mount_entry *)0x0) {\n        *(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;\n      }\n      else {\n        pcVar1 = xstrdup(pmVar8->me_type);\n        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;\n        if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }\n      }\n      pcVar1 = (char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5);\n      pcVar1 = xstrdup(pcVar1);\n      *(char **)(iVar9 + 0x6404) = pcVar1;\n      return pcVar1;\n    }\n  } while( true );\n}" primitive_type (pointer_declarator "* filesystem_type(stat *statp,char *path)" * (function_declarator "filesystem_type(stat *statp,char *path)" identifier (parameter_list "(stat *statp,char *path)" ( (parameter_declaration "stat *statp" type_identifier (pointer_declarator "*statp" * identifier)) , (parameter_declaration "char *path" primitive_type (pointer_declarator "*path" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  ulong uVar2;\n  mount_entry *pmVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  int iVar7;\n  mount_entry *pmVar8;\n  int iVar9;\n  int in_t9;\n  code *pcVar10;\n  code *pcVar11;\n  \n  iVar9 = *(int *)(in_t9 + 0x54a1c);\n  pcVar1 = *(char **)(iVar9 + 0x6404);\n  if (pcVar1 == (char *)0x0) {\n    iVar7 = *(int *)(in_t9 + 0x54a1c);\n  }\n  else {\n    iVar7 = *(int *)(in_t9 + 0x54a1c);\n    if ((*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0') || (*(int *)(iVar7 + 0x63f8) != 0))\n    {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n    }\n    else {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n      if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {\n        return pcVar1;\n      }\n    }\n    (*pcVar10)(pcVar1);\n  }\n  uVar2 = statp->st_dev;\n  *(undefined4 *)(iVar7 + 0x63f8) = 0;\n  *(ulong *)(iVar7 + 0x63fc) = uVar2;\n  pmVar3 = get_file_system_list(true);\n  if (pmVar3 == (mount_entry *)0x0) {\n    uVar5 = (**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x1d00,5);\n    uVar6 = 1;\n    pcVar10 = *(code **)(in_t9 + 0x54fb0);\n    (*pcVar10)(1,0,uVar5);\n    iVar9 = (**(code **)(pcVar10 + 0x54ebc))(*(int *)(pcVar10 + 0x5483c) + -0x1cd0,uVar6);\n    if ((iVar9 != 0) && (pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0)) {\n      pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n      while (iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0) {\n        pmVar3 = pmVar3->me_next;\n        pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n        if (pmVar3 == (mount_entry *)0x0) {\n          return (char *)0x0;\n        }\n      }\n    }\n    return (char *)0x1;\n  }\n  iVar7 = *(int *)(in_t9 + 0x54a2c);\n  pmVar8 = (mount_entry *)0x0;\n  do {\n    iVar4 = (**(code **)(in_t9 + 0x550ac))(pmVar3->me_type,iVar7 + -0x1cd8);\n    if (iVar4 != 0) {\n      iVar4 = *(int *)&pmVar3->me_dev;\n      uVar2 = (ulong)pmVar3->me_dev;\n      if ((iVar4 == -1) && (uVar2 == 0xffffffff)) {\n        iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)\n        ;\n        if (iVar4 != 0) goto LAB_00020c50;\n        iVar4 = *(int *)&pmVar3->me_dev;\n        uVar2 = (ulong)pmVar3->me_dev;\n      }\n      if ((iVar4 == 0) && (statp->st_dev == uVar2)) {\n        pmVar8 = pmVar3;\n      }\n    }\nLAB_00020c50:\n    pmVar3 = pmVar3->me_next;\n    if (pmVar3 == (mount_entry *)0x0) {\n      if (pmVar8 == (mount_entry *)0x0) {\n        *(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;\n      }\n      else {\n        pcVar1 = xstrdup(pmVar8->me_type);\n        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;\n        if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }\n      }\n      pcVar1 = (char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5);\n      pcVar1 = xstrdup(pcVar1);\n      *(char **)(iVar9 + 0x6404) = pcVar1;\n      return pcVar1;\n    }\n  } while( true );\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "mount_entry *pmVar3;" type_identifier (pointer_declarator "*pmVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "mount_entry *pmVar8;" type_identifier (pointer_declarator "*pmVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (expression_statement "iVar9 = *(int *)(in_t9 + 0x54a1c);" (assignment_expression "iVar9 = *(int *)(in_t9 + 0x54a1c)" identifier = (pointer_expression "*(int *)(in_t9 + 0x54a1c)" * (cast_expression "(int *)(in_t9 + 0x54a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54a1c)" ( (binary_expression "in_t9 + 0x54a1c" identifier + number_literal) ))))) ;) (expression_statement "pcVar1 = *(char **)(iVar9 + 0x6404);" (assignment_expression "pcVar1 = *(char **)(iVar9 + 0x6404)" identifier = (pointer_expression "*(char **)(iVar9 + 0x6404)" * (cast_expression "(char **)(iVar9 + 0x6404)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x6404)" ( (binary_expression "iVar9 + 0x6404" identifier + number_literal) ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n    iVar7 = *(int *)(in_t9 + 0x54a1c);\n  }\n  else {\n    iVar7 = *(int *)(in_t9 + 0x54a1c);\n    if ((*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0') || (*(int *)(iVar7 + 0x63f8) != 0))\n    {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n    }\n    else {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n      if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {\n        return pcVar1;\n      }\n    }\n    (*pcVar10)(pcVar1);\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    iVar7 = *(int *)(in_t9 + 0x54a1c);\n  }" { (expression_statement "iVar7 = *(int *)(in_t9 + 0x54a1c);" (assignment_expression "iVar7 = *(int *)(in_t9 + 0x54a1c)" identifier = (pointer_expression "*(int *)(in_t9 + 0x54a1c)" * (cast_expression "(int *)(in_t9 + 0x54a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54a1c)" ( (binary_expression "in_t9 + 0x54a1c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar7 = *(int *)(in_t9 + 0x54a1c);\n    if ((*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0') || (*(int *)(iVar7 + 0x63f8) != 0))\n    {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n    }\n    else {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n      if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {\n        return pcVar1;\n      }\n    }\n    (*pcVar10)(pcVar1);\n  }" else (compound_statement "{\n    iVar7 = *(int *)(in_t9 + 0x54a1c);\n    if ((*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0') || (*(int *)(iVar7 + 0x63f8) != 0))\n    {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n    }\n    else {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n      if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {\n        return pcVar1;\n      }\n    }\n    (*pcVar10)(pcVar1);\n  }" { (expression_statement "iVar7 = *(int *)(in_t9 + 0x54a1c);" (assignment_expression "iVar7 = *(int *)(in_t9 + 0x54a1c)" identifier = (pointer_expression "*(int *)(in_t9 + 0x54a1c)" * (cast_expression "(int *)(in_t9 + 0x54a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54a1c)" ( (binary_expression "in_t9 + 0x54a1c" identifier + number_literal) ))))) ;) (if_statement "if ((*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0') || (*(int *)(iVar7 + 0x63f8) != 0))\n    {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n    }\n    else {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n      if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {\n        return pcVar1;\n      }\n    }" if (parenthesized_expression "((*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0') || (*(int *)(iVar7 + 0x63f8) != 0))" ( (binary_expression "(*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0') || (*(int *)(iVar7 + 0x63f8) != 0)" (parenthesized_expression "(*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0')" ( (binary_expression "*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) == '\0'" (pointer_expression "*(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400)" * (cast_expression "(char *)(*(int *)(in_t9 + 0x54a1c) + 0x6400)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x54a1c) + 0x6400)" ( (binary_expression "*(int *)(in_t9 + 0x54a1c) + 0x6400" (pointer_expression "*(int *)(in_t9 + 0x54a1c)" * (cast_expression "(int *)(in_t9 + 0x54a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54a1c)" ( (binary_expression "in_t9 + 0x54a1c" identifier + number_literal) )))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(*(int *)(iVar7 + 0x63f8) != 0)" ( (binary_expression "*(int *)(iVar7 + 0x63f8) != 0" (pointer_expression "*(int *)(iVar7 + 0x63f8)" * (cast_expression "(int *)(iVar7 + 0x63f8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x63f8)" ( (binary_expression "iVar7 + 0x63f8" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n    }" { (expression_statement "pcVar10 = *(code **)(in_t9 + 0x55070);" (assignment_expression "pcVar10 = *(code **)(in_t9 + 0x55070)" identifier = (pointer_expression "*(code **)(in_t9 + 0x55070)" * (cast_expression "(code **)(in_t9 + 0x55070)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x55070)" ( (binary_expression "in_t9 + 0x55070" identifier + number_literal) ))))) ;) }) (else_clause "else {\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n      if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {\n        return pcVar1;\n      }\n    }" else (compound_statement "{\n      pcVar10 = *(code **)(in_t9 + 0x55070);\n      if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {\n        return pcVar1;\n      }\n    }" { (expression_statement "pcVar10 = *(code **)(in_t9 + 0x55070);" (assignment_expression "pcVar10 = *(code **)(in_t9 + 0x55070)" identifier = (pointer_expression "*(code **)(in_t9 + 0x55070)" * (cast_expression "(code **)(in_t9 + 0x55070)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x55070)" ( (binary_expression "in_t9 + 0x55070" identifier + number_literal) ))))) ;) (if_statement "if (*(ulong *)(iVar7 + 0x63fc) == statp->st_dev) {\n        return pcVar1;\n      }" if (parenthesized_expression "(*(ulong *)(iVar7 + 0x63fc) == statp->st_dev)" ( (binary_expression "*(ulong *)(iVar7 + 0x63fc) == statp->st_dev" (pointer_expression "*(ulong *)(iVar7 + 0x63fc)" * (cast_expression "(ulong *)(iVar7 + 0x63fc)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x63fc)" ( (binary_expression "iVar7 + 0x63fc" identifier + number_literal) )))) == (field_expression "statp->st_dev" identifier -> field_identifier)) )) (compound_statement "{\n        return pcVar1;\n      }" { (return_statement "return pcVar1;" return identifier ;) })) }))) (expression_statement "(*pcVar10)(pcVar1);" (call_expression "(*pcVar10)(pcVar1)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(pcVar1)" ( identifier ))) ;) }))) (expression_statement "uVar2 = statp->st_dev;" (assignment_expression "uVar2 = statp->st_dev" identifier = (field_expression "statp->st_dev" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)(iVar7 + 0x63f8) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + 0x63f8) = 0" (pointer_expression "*(undefined4 *)(iVar7 + 0x63f8)" * (cast_expression "(undefined4 *)(iVar7 + 0x63f8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x63f8)" ( (binary_expression "iVar7 + 0x63f8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(ulong *)(iVar7 + 0x63fc) = uVar2;" (assignment_expression "*(ulong *)(iVar7 + 0x63fc) = uVar2" (pointer_expression "*(ulong *)(iVar7 + 0x63fc)" * (cast_expression "(ulong *)(iVar7 + 0x63fc)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x63fc)" ( (binary_expression "iVar7 + 0x63fc" identifier + number_literal) )))) = identifier) ;) (expression_statement "pmVar3 = get_file_system_list(true);" (assignment_expression "pmVar3 = get_file_system_list(true)" identifier = (call_expression "get_file_system_list(true)" identifier (argument_list "(true)" ( true )))) ;) (if_statement "if (pmVar3 == (mount_entry *)0x0) {\n    uVar5 = (**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x1d00,5);\n    uVar6 = 1;\n    pcVar10 = *(code **)(in_t9 + 0x54fb0);\n    (*pcVar10)(1,0,uVar5);\n    iVar9 = (**(code **)(pcVar10 + 0x54ebc))(*(int *)(pcVar10 + 0x5483c) + -0x1cd0,uVar6);\n    if ((iVar9 != 0) && (pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0)) {\n      pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n      while (iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0) {\n        pmVar3 = pmVar3->me_next;\n        pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n        if (pmVar3 == (mount_entry *)0x0) {\n          return (char *)0x0;\n        }\n      }\n    }\n    return (char *)0x1;\n  }" if (parenthesized_expression "(pmVar3 == (mount_entry *)0x0)" ( (binary_expression "pmVar3 == (mount_entry *)0x0" identifier == (cast_expression "(mount_entry *)0x0" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar5 = (**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x1d00,5);\n    uVar6 = 1;\n    pcVar10 = *(code **)(in_t9 + 0x54fb0);\n    (*pcVar10)(1,0,uVar5);\n    iVar9 = (**(code **)(pcVar10 + 0x54ebc))(*(int *)(pcVar10 + 0x5483c) + -0x1cd0,uVar6);\n    if ((iVar9 != 0) && (pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0)) {\n      pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n      while (iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0) {\n        pmVar3 = pmVar3->me_next;\n        pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n        if (pmVar3 == (mount_entry *)0x0) {\n          return (char *)0x0;\n        }\n      }\n    }\n    return (char *)0x1;\n  }" { (expression_statement "uVar5 = (**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x1d00,5);" (assignment_expression "uVar5 = (**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x1d00,5)" identifier = (call_expression "(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x1d00,5)" (parenthesized_expression "(**(code **)(in_t9 + 0x55024))" ( (pointer_expression "**(code **)(in_t9 + 0x55024)" * (pointer_expression "*(code **)(in_t9 + 0x55024)" * (cast_expression "(code **)(in_t9 + 0x55024)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x55024)" ( (binary_expression "in_t9 + 0x55024" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(in_t9 + 0x54a2c) + -0x1d00,5)" ( number_literal , (binary_expression "*(int *)(in_t9 + 0x54a2c) + -0x1d00" (pointer_expression "*(int *)(in_t9 + 0x54a2c)" * (cast_expression "(int *)(in_t9 + 0x54a2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54a2c)" ( (binary_expression "in_t9 + 0x54a2c" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "uVar6 = 1;" (assignment_expression "uVar6 = 1" identifier = number_literal) ;) (expression_statement "pcVar10 = *(code **)(in_t9 + 0x54fb0);" (assignment_expression "pcVar10 = *(code **)(in_t9 + 0x54fb0)" identifier = (pointer_expression "*(code **)(in_t9 + 0x54fb0)" * (cast_expression "(code **)(in_t9 + 0x54fb0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x54fb0)" ( (binary_expression "in_t9 + 0x54fb0" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar10)(1,0,uVar5);" (call_expression "(*pcVar10)(1,0,uVar5)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(1,0,uVar5)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "iVar9 = (**(code **)(pcVar10 + 0x54ebc))(*(int *)(pcVar10 + 0x5483c) + -0x1cd0,uVar6);" (assignment_expression "iVar9 = (**(code **)(pcVar10 + 0x54ebc))(*(int *)(pcVar10 + 0x5483c) + -0x1cd0,uVar6)" identifier = (call_expression "(**(code **)(pcVar10 + 0x54ebc))(*(int *)(pcVar10 + 0x5483c) + -0x1cd0,uVar6)" (parenthesized_expression "(**(code **)(pcVar10 + 0x54ebc))" ( (pointer_expression "**(code **)(pcVar10 + 0x54ebc)" * (pointer_expression "*(code **)(pcVar10 + 0x54ebc)" * (cast_expression "(code **)(pcVar10 + 0x54ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x54ebc)" ( (binary_expression "pcVar10 + 0x54ebc" identifier + number_literal) ))))) )) (argument_list "(*(int *)(pcVar10 + 0x5483c) + -0x1cd0,uVar6)" ( (binary_expression "*(int *)(pcVar10 + 0x5483c) + -0x1cd0" (pointer_expression "*(int *)(pcVar10 + 0x5483c)" * (cast_expression "(int *)(pcVar10 + 0x5483c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 0x5483c)" ( (binary_expression "pcVar10 + 0x5483c" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (if_statement "if ((iVar9 != 0) && (pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0)) {\n      pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n      while (iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0) {\n        pmVar3 = pmVar3->me_next;\n        pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n        if (pmVar3 == (mount_entry *)0x0) {\n          return (char *)0x0;\n        }\n      }\n    }" if (parenthesized_expression "((iVar9 != 0) && (pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0))" ( (binary_expression "(iVar9 != 0) && (pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0)" (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) && (parenthesized_expression "(pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0)" ( (comma_expression "pmVar3 = get_file_system_list(false), pmVar3 != (mount_entry *)0x0" (assignment_expression "pmVar3 = get_file_system_list(false)" identifier = (call_expression "get_file_system_list(false)" identifier (argument_list "(false)" ( false )))) , (binary_expression "pmVar3 != (mount_entry *)0x0" identifier != (cast_expression "(mount_entry *)0x0" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n      while (iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0) {\n        pmVar3 = pmVar3->me_next;\n        pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n        if (pmVar3 == (mount_entry *)0x0) {\n          return (char *)0x0;\n        }\n      }\n    }" { (expression_statement "pcVar11 = *(code **)(pcVar10 + 0x54ebc);" (assignment_expression "pcVar11 = *(code **)(pcVar10 + 0x54ebc)" identifier = (pointer_expression "*(code **)(pcVar10 + 0x54ebc)" * (cast_expression "(code **)(pcVar10 + 0x54ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x54ebc)" ( (binary_expression "pcVar10 + 0x54ebc" identifier + number_literal) ))))) ;) (while_statement "while (iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0) {\n        pmVar3 = pmVar3->me_next;\n        pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n        if (pmVar3 == (mount_entry *)0x0) {\n          return (char *)0x0;\n        }\n      }" while (parenthesized_expression "(iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0)" ( (comma_expression "iVar9 = (*pcVar11)(uVar6,pmVar3->me_type), iVar9 != 0" (assignment_expression "iVar9 = (*pcVar11)(uVar6,pmVar3->me_type)" identifier = (call_expression "(*pcVar11)(uVar6,pmVar3->me_type)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(uVar6,pmVar3->me_type)" ( identifier , (field_expression "pmVar3->me_type" identifier -> field_identifier) )))) , (binary_expression "iVar9 != 0" identifier != number_literal)) )) (compound_statement "{\n        pmVar3 = pmVar3->me_next;\n        pcVar11 = *(code **)(pcVar10 + 0x54ebc);\n        if (pmVar3 == (mount_entry *)0x0) {\n          return (char *)0x0;\n        }\n      }" { (expression_statement "pmVar3 = pmVar3->me_next;" (assignment_expression "pmVar3 = pmVar3->me_next" identifier = (field_expression "pmVar3->me_next" identifier -> field_identifier)) ;) (expression_statement "pcVar11 = *(code **)(pcVar10 + 0x54ebc);" (assignment_expression "pcVar11 = *(code **)(pcVar10 + 0x54ebc)" identifier = (pointer_expression "*(code **)(pcVar10 + 0x54ebc)" * (cast_expression "(code **)(pcVar10 + 0x54ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar10 + 0x54ebc)" ( (binary_expression "pcVar10 + 0x54ebc" identifier + number_literal) ))))) ;) (if_statement "if (pmVar3 == (mount_entry *)0x0) {\n          return (char *)0x0;\n        }" if (parenthesized_expression "(pmVar3 == (mount_entry *)0x0)" ( (binary_expression "pmVar3 == (mount_entry *)0x0" identifier == (cast_expression "(mount_entry *)0x0" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return (char *)0x0;\n        }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) })) })) (return_statement "return (char *)0x1;" return (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "iVar7 = *(int *)(in_t9 + 0x54a2c);" (assignment_expression "iVar7 = *(int *)(in_t9 + 0x54a2c)" identifier = (pointer_expression "*(int *)(in_t9 + 0x54a2c)" * (cast_expression "(int *)(in_t9 + 0x54a2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54a2c)" ( (binary_expression "in_t9 + 0x54a2c" identifier + number_literal) ))))) ;) (expression_statement "pmVar8 = (mount_entry *)0x0;" (assignment_expression "pmVar8 = (mount_entry *)0x0" identifier = (cast_expression "(mount_entry *)0x0" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n    iVar4 = (**(code **)(in_t9 + 0x550ac))(pmVar3->me_type,iVar7 + -0x1cd8);\n    if (iVar4 != 0) {\n      iVar4 = *(int *)&pmVar3->me_dev;\n      uVar2 = (ulong)pmVar3->me_dev;\n      if ((iVar4 == -1) && (uVar2 == 0xffffffff)) {\n        iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)\n        ;\n        if (iVar4 != 0) goto LAB_00020c50;\n        iVar4 = *(int *)&pmVar3->me_dev;\n        uVar2 = (ulong)pmVar3->me_dev;\n      }\n      if ((iVar4 == 0) && (statp->st_dev == uVar2)) {\n        pmVar8 = pmVar3;\n      }\n    }\nLAB_00020c50:\n    pmVar3 = pmVar3->me_next;\n    if (pmVar3 == (mount_entry *)0x0) {\n      if (pmVar8 == (mount_entry *)0x0) {\n        *(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;\n      }\n      else {\n        pcVar1 = xstrdup(pmVar8->me_type);\n        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;\n        if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }\n      }\n      pcVar1 = (char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5);\n      pcVar1 = xstrdup(pcVar1);\n      *(char **)(iVar9 + 0x6404) = pcVar1;\n      return pcVar1;\n    }\n  } while( true );" do (compound_statement "{\n    iVar4 = (**(code **)(in_t9 + 0x550ac))(pmVar3->me_type,iVar7 + -0x1cd8);\n    if (iVar4 != 0) {\n      iVar4 = *(int *)&pmVar3->me_dev;\n      uVar2 = (ulong)pmVar3->me_dev;\n      if ((iVar4 == -1) && (uVar2 == 0xffffffff)) {\n        iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)\n        ;\n        if (iVar4 != 0) goto LAB_00020c50;\n        iVar4 = *(int *)&pmVar3->me_dev;\n        uVar2 = (ulong)pmVar3->me_dev;\n      }\n      if ((iVar4 == 0) && (statp->st_dev == uVar2)) {\n        pmVar8 = pmVar3;\n      }\n    }\nLAB_00020c50:\n    pmVar3 = pmVar3->me_next;\n    if (pmVar3 == (mount_entry *)0x0) {\n      if (pmVar8 == (mount_entry *)0x0) {\n        *(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;\n      }\n      else {\n        pcVar1 = xstrdup(pmVar8->me_type);\n        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;\n        if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }\n      }\n      pcVar1 = (char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5);\n      pcVar1 = xstrdup(pcVar1);\n      *(char **)(iVar9 + 0x6404) = pcVar1;\n      return pcVar1;\n    }\n  }" { (expression_statement "iVar4 = (**(code **)(in_t9 + 0x550ac))(pmVar3->me_type,iVar7 + -0x1cd8);" (assignment_expression "iVar4 = (**(code **)(in_t9 + 0x550ac))(pmVar3->me_type,iVar7 + -0x1cd8)" identifier = (call_expression "(**(code **)(in_t9 + 0x550ac))(pmVar3->me_type,iVar7 + -0x1cd8)" (parenthesized_expression "(**(code **)(in_t9 + 0x550ac))" ( (pointer_expression "**(code **)(in_t9 + 0x550ac)" * (pointer_expression "*(code **)(in_t9 + 0x550ac)" * (cast_expression "(code **)(in_t9 + 0x550ac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x550ac)" ( (binary_expression "in_t9 + 0x550ac" identifier + number_literal) ))))) )) (argument_list "(pmVar3->me_type,iVar7 + -0x1cd8)" ( (field_expression "pmVar3->me_type" identifier -> field_identifier) , (binary_expression "iVar7 + -0x1cd8" identifier + number_literal) )))) ;) (if_statement "if (iVar4 != 0) {\n      iVar4 = *(int *)&pmVar3->me_dev;\n      uVar2 = (ulong)pmVar3->me_dev;\n      if ((iVar4 == -1) && (uVar2 == 0xffffffff)) {\n        iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)\n        ;\n        if (iVar4 != 0) goto LAB_00020c50;\n        iVar4 = *(int *)&pmVar3->me_dev;\n        uVar2 = (ulong)pmVar3->me_dev;\n      }\n      if ((iVar4 == 0) && (statp->st_dev == uVar2)) {\n        pmVar8 = pmVar3;\n      }\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = *(int *)&pmVar3->me_dev;\n      uVar2 = (ulong)pmVar3->me_dev;\n      if ((iVar4 == -1) && (uVar2 == 0xffffffff)) {\n        iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)\n        ;\n        if (iVar4 != 0) goto LAB_00020c50;\n        iVar4 = *(int *)&pmVar3->me_dev;\n        uVar2 = (ulong)pmVar3->me_dev;\n      }\n      if ((iVar4 == 0) && (statp->st_dev == uVar2)) {\n        pmVar8 = pmVar3;\n      }\n    }" { (expression_statement "iVar4 = *(int *)&pmVar3->me_dev;" (assignment_expression "iVar4 = *(int *)&pmVar3->me_dev" identifier = (pointer_expression "*(int *)&pmVar3->me_dev" * (cast_expression "(int *)&pmVar3->me_dev" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pmVar3->me_dev" & (field_expression "pmVar3->me_dev" identifier -> field_identifier))))) ;) (expression_statement "uVar2 = (ulong)pmVar3->me_dev;" (assignment_expression "uVar2 = (ulong)pmVar3->me_dev" identifier = (cast_expression "(ulong)pmVar3->me_dev" ( (type_descriptor "ulong" type_identifier) ) (field_expression "pmVar3->me_dev" identifier -> field_identifier))) ;) (if_statement "if ((iVar4 == -1) && (uVar2 == 0xffffffff)) {\n        iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)\n        ;\n        if (iVar4 != 0) goto LAB_00020c50;\n        iVar4 = *(int *)&pmVar3->me_dev;\n        uVar2 = (ulong)pmVar3->me_dev;\n      }" if (parenthesized_expression "((iVar4 == -1) && (uVar2 == 0xffffffff))" ( (binary_expression "(iVar4 == -1) && (uVar2 == 0xffffffff)" (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) && (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) ))) )) (compound_statement "{\n        iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)\n        ;\n        if (iVar4 != 0) goto LAB_00020c50;\n        iVar4 = *(int *)&pmVar3->me_dev;\n        uVar2 = (ulong)pmVar3->me_dev;\n      }" { (expression_statement "iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)\n        ;" (assignment_expression "iVar4 = set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)" identifier = (call_expression "set_fstype_devno((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)" identifier (argument_list "((mount_entry *)&pmVar3->me_mountdir,(mount_entry *)&pmVar3->me_dev)" ( (cast_expression "(mount_entry *)&pmVar3->me_mountdir" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pmVar3->me_mountdir" & (field_expression "pmVar3->me_mountdir" identifier -> field_identifier))) , (cast_expression "(mount_entry *)&pmVar3->me_dev" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pmVar3->me_dev" & (field_expression "pmVar3->me_dev" identifier -> field_identifier))) )))) ;) (if_statement "if (iVar4 != 0) goto LAB_00020c50;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00020c50;" goto statement_identifier ;)) (expression_statement "iVar4 = *(int *)&pmVar3->me_dev;" (assignment_expression "iVar4 = *(int *)&pmVar3->me_dev" identifier = (pointer_expression "*(int *)&pmVar3->me_dev" * (cast_expression "(int *)&pmVar3->me_dev" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pmVar3->me_dev" & (field_expression "pmVar3->me_dev" identifier -> field_identifier))))) ;) (expression_statement "uVar2 = (ulong)pmVar3->me_dev;" (assignment_expression "uVar2 = (ulong)pmVar3->me_dev" identifier = (cast_expression "(ulong)pmVar3->me_dev" ( (type_descriptor "ulong" type_identifier) ) (field_expression "pmVar3->me_dev" identifier -> field_identifier))) ;) })) (if_statement "if ((iVar4 == 0) && (statp->st_dev == uVar2)) {\n        pmVar8 = pmVar3;\n      }" if (parenthesized_expression "((iVar4 == 0) && (statp->st_dev == uVar2))" ( (binary_expression "(iVar4 == 0) && (statp->st_dev == uVar2)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(statp->st_dev == uVar2)" ( (binary_expression "statp->st_dev == uVar2" (field_expression "statp->st_dev" identifier -> field_identifier) == identifier) ))) )) (compound_statement "{\n        pmVar8 = pmVar3;\n      }" { (expression_statement "pmVar8 = pmVar3;" (assignment_expression "pmVar8 = pmVar3" identifier = identifier) ;) })) })) (labeled_statement "LAB_00020c50:\n    pmVar3 = pmVar3->me_next;" statement_identifier : (expression_statement "pmVar3 = pmVar3->me_next;" (assignment_expression "pmVar3 = pmVar3->me_next" identifier = (field_expression "pmVar3->me_next" identifier -> field_identifier)) ;)) (if_statement "if (pmVar3 == (mount_entry *)0x0) {\n      if (pmVar8 == (mount_entry *)0x0) {\n        *(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;\n      }\n      else {\n        pcVar1 = xstrdup(pmVar8->me_type);\n        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;\n        if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }\n      }\n      pcVar1 = (char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5);\n      pcVar1 = xstrdup(pcVar1);\n      *(char **)(iVar9 + 0x6404) = pcVar1;\n      return pcVar1;\n    }" if (parenthesized_expression "(pmVar3 == (mount_entry *)0x0)" ( (binary_expression "pmVar3 == (mount_entry *)0x0" identifier == (cast_expression "(mount_entry *)0x0" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (pmVar8 == (mount_entry *)0x0) {\n        *(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;\n      }\n      else {\n        pcVar1 = xstrdup(pmVar8->me_type);\n        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;\n        if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }\n      }\n      pcVar1 = (char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5);\n      pcVar1 = xstrdup(pcVar1);\n      *(char **)(iVar9 + 0x6404) = pcVar1;\n      return pcVar1;\n    }" { (if_statement "if (pmVar8 == (mount_entry *)0x0) {\n        *(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;\n      }\n      else {\n        pcVar1 = xstrdup(pmVar8->me_type);\n        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;\n        if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }\n      }" if (parenthesized_expression "(pmVar8 == (mount_entry *)0x0)" ( (binary_expression "pmVar8 == (mount_entry *)0x0" identifier == (cast_expression "(mount_entry *)0x0" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;\n      }" { (expression_statement "*(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = 0" (pointer_expression "*(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400)" * (cast_expression "(undefined1 *)(*(int *)(in_t9 + 0x54a1c) + 0x6400)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x54a1c) + 0x6400)" ( (binary_expression "*(int *)(in_t9 + 0x54a1c) + 0x6400" (pointer_expression "*(int *)(in_t9 + 0x54a1c)" * (cast_expression "(int *)(in_t9 + 0x54a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54a1c)" ( (binary_expression "in_t9 + 0x54a1c" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n        pcVar1 = xstrdup(pmVar8->me_type);\n        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;\n        if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }\n      }" else (compound_statement "{\n        pcVar1 = xstrdup(pmVar8->me_type);\n        *(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;\n        if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }\n      }" { (expression_statement "pcVar1 = xstrdup(pmVar8->me_type);" (assignment_expression "pcVar1 = xstrdup(pmVar8->me_type)" identifier = (call_expression "xstrdup(pmVar8->me_type)" identifier (argument_list "(pmVar8->me_type)" ( (field_expression "pmVar8->me_type" identifier -> field_identifier) )))) ;) (expression_statement "*(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0;" (assignment_expression "*(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400) = pcVar1 != (char *)0x0" (pointer_expression "*(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400)" * (cast_expression "(bool *)(*(int *)(in_t9 + 0x54a1c) + 0x6400)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x54a1c) + 0x6400)" ( (binary_expression "*(int *)(in_t9 + 0x54a1c) + 0x6400" (pointer_expression "*(int *)(in_t9 + 0x54a1c)" * (cast_expression "(int *)(in_t9 + 0x54a1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54a1c)" ( (binary_expression "in_t9 + 0x54a1c" identifier + number_literal) )))) + number_literal) )))) = (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\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          *(char **)(iVar9 + 0x6404) = pcVar1;\n          return pcVar1;\n        }" { (expression_statement "*(char **)(iVar9 + 0x6404) = pcVar1;" (assignment_expression "*(char **)(iVar9 + 0x6404) = pcVar1" (pointer_expression "*(char **)(iVar9 + 0x6404)" * (cast_expression "(char **)(iVar9 + 0x6404)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x6404)" ( (binary_expression "iVar9 + 0x6404" identifier + number_literal) )))) = identifier) ;) (return_statement "return pcVar1;" return identifier ;) })) }))) (expression_statement "pcVar1 = (char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5);" (assignment_expression "pcVar1 = (char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5)" identifier = (cast_expression "(char *)(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x55024))(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5)" (parenthesized_expression "(**(code **)(in_t9 + 0x55024))" ( (pointer_expression "**(code **)(in_t9 + 0x55024)" * (pointer_expression "*(code **)(in_t9 + 0x55024)" * (cast_expression "(code **)(in_t9 + 0x55024)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x55024)" ( (binary_expression "in_t9 + 0x55024" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(in_t9 + 0x54a2c) + -0x37cc,5)" ( number_literal , (binary_expression "*(int *)(in_t9 + 0x54a2c) + -0x37cc" (pointer_expression "*(int *)(in_t9 + 0x54a2c)" * (cast_expression "(int *)(in_t9 + 0x54a2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54a2c)" ( (binary_expression "in_t9 + 0x54a2c" identifier + number_literal) )))) + number_literal) , number_literal ))))) ;) (expression_statement "pcVar1 = xstrdup(pcVar1);" (assignment_expression "pcVar1 = xstrdup(pcVar1)" identifier = (call_expression "xstrdup(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*(char **)(iVar9 + 0x6404) = pcVar1;" (assignment_expression "*(char **)(iVar9 + 0x6404) = pcVar1" (pointer_expression "*(char **)(iVar9 + 0x6404)" * (cast_expression "(char **)(iVar9 + 0x6404)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x6404)" ( (binary_expression "iVar9 + 0x6404" identifier + number_literal) )))) = identifier) ;) (return_statement "return pcVar1;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "int filesystem_type(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  \n  puVar8 = PTR_DAT_000755a8;\n  iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);\n  if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }\n  iVar1 = *param_1;\n  *(undefined4 *)(puVar8 + 0x63f8) = 0;\n  *(int *)(puVar8 + 0x63fc) = iVar1;\n  iVar1 = FUN_00020a30(1);\n  if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }\n  iVar6 = 0;\n  puVar7 = PTR_s_directory_000755b8 + -0x1cd8;\n  do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );\n}\n\n" (function_definition "int filesystem_type(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  \n  puVar8 = PTR_DAT_000755a8;\n  iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);\n  if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }\n  iVar1 = *param_1;\n  *(undefined4 *)(puVar8 + 0x63f8) = 0;\n  *(int *)(puVar8 + 0x63fc) = iVar1;\n  iVar1 = FUN_00020a30(1);\n  if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }\n  iVar6 = 0;\n  puVar7 = PTR_s_directory_000755b8 + -0x1cd8;\n  do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );\n}" primitive_type (function_declarator "filesystem_type(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  \n  puVar8 = PTR_DAT_000755a8;\n  iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);\n  if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }\n  iVar1 = *param_1;\n  *(undefined4 *)(puVar8 + 0x63f8) = 0;\n  *(int *)(puVar8 + 0x63fc) = iVar1;\n  iVar1 = FUN_00020a30(1);\n  if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }\n  iVar6 = 0;\n  puVar7 = PTR_s_directory_000755b8 + -0x1cd8;\n  do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (expression_statement "puVar8 = PTR_DAT_000755a8;" (assignment_expression "puVar8 = PTR_DAT_000755a8" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404)" identifier = (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x6404)" * (cast_expression "(int *)(PTR_DAT_000755a8 + 0x6404)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000755a8 + 0x6404)" ( (binary_expression "PTR_DAT_000755a8 + 0x6404" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }" { (if_statement "if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }" if (parenthesized_expression "(((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1))" ( (binary_expression "((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)" (parenthesized_expression "((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0))" ( (binary_expression "(PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)" (parenthesized_expression "(PTR_DAT_000755a8[0x6400] != '\0')" ( (binary_expression "PTR_DAT_000755a8[0x6400] != '\0'" (subscript_expression "PTR_DAT_000755a8[0x6400]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0" (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x63f8)" * (cast_expression "(int *)(PTR_DAT_000755a8 + 0x63f8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000755a8 + 0x63f8)" ( (binary_expression "PTR_DAT_000755a8 + 0x63f8" identifier + number_literal) )))) == number_literal) ))) )) && (parenthesized_expression "(*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)" ( (binary_expression "*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1" (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x63fc)" * (cast_expression "(int *)(PTR_DAT_000755a8 + 0x63fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000755a8 + 0x63fc)" ( (binary_expression "PTR_DAT_000755a8 + 0x63fc" identifier + number_literal) )))) == (pointer_expression "*param_1" * identifier)) ))) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_free_00075bfc)(iVar1);" (call_expression "(*(code *)PTR_free_00075bfc)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" ( (pointer_expression "*(code *)PTR_free_00075bfc" * (cast_expression "(code *)PTR_free_00075bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) })) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)(puVar8 + 0x63f8) = 0;" (assignment_expression "*(undefined4 *)(puVar8 + 0x63f8) = 0" (pointer_expression "*(undefined4 *)(puVar8 + 0x63f8)" * (cast_expression "(undefined4 *)(puVar8 + 0x63f8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x63f8)" ( (binary_expression "puVar8 + 0x63f8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(puVar8 + 0x63fc) = iVar1;" (assignment_expression "*(int *)(puVar8 + 0x63fc) = iVar1" (pointer_expression "*(int *)(puVar8 + 0x63fc)" * (cast_expression "(int *)(puVar8 + 0x63fc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x63fc)" ( (binary_expression "puVar8 + 0x63fc" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = FUN_00020a30(1);" (assignment_expression "iVar1 = FUN_00020a30(1)" identifier = (call_expression "FUN_00020a30(1)" identifier (argument_list "(1)" ( number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }" { (expression_statement "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00075bb0)" ( (pointer_expression "*(code *)PTR_dcgettext_00075bb0" * (cast_expression "(code *)PTR_dcgettext_00075bb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_directory_000755b8 + -0x1d00,5)" ( number_literal , (binary_expression "PTR_s_directory_000755b8 + -0x1d00" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (expression_statement "puVar8 = PTR_error_00075b3c;" (assignment_expression "puVar8 = PTR_error_00075b3c" identifier = identifier) ;) (expression_statement "(*(code *)PTR_error_00075b3c)(1,0,uVar3);" (call_expression "(*(code *)PTR_error_00075b3c)(1,0,uVar3)" (parenthesized_expression "(*(code *)PTR_error_00075b3c)" ( (pointer_expression "*(code *)PTR_error_00075b3c" * (cast_expression "(code *)PTR_error_00075b3c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0,uVar3)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);" (assignment_expression "iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5)" identifier = (call_expression "(**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5)" (parenthesized_expression "(**(code **)(puVar8 + 0x54ebc))" ( (pointer_expression "**(code **)(puVar8 + 0x54ebc)" * (pointer_expression "*(code **)(puVar8 + 0x54ebc)" * (cast_expression "(code **)(puVar8 + 0x54ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x54ebc)" ( (binary_expression "puVar8 + 0x54ebc" identifier + number_literal) ))))) )) (argument_list "(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5)" ( (binary_expression "*(int *)(puVar8 + 0x5483c) + -0x1cd0" (pointer_expression "*(int *)(puVar8 + 0x5483c)" * (cast_expression "(int *)(puVar8 + 0x5483c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x5483c)" ( (binary_expression "puVar8 + 0x5483c" identifier + number_literal) )))) + number_literal) , identifier )))) ;) (if_statement "if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }" if (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = FUN_00020a30(0), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_00020a30(0), iVar1 != 0" (assignment_expression "iVar1 = FUN_00020a30(0)" identifier = (call_expression "FUN_00020a30(0)" identifier (argument_list "(0)" ( number_literal )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }" { (expression_statement "pcVar9 = *(code **)(puVar8 + 0x54ebc);" (assignment_expression "pcVar9 = *(code **)(puVar8 + 0x54ebc)" identifier = (pointer_expression "*(code **)(puVar8 + 0x54ebc)" * (cast_expression "(code **)(puVar8 + 0x54ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x54ebc)" ( (binary_expression "puVar8 + 0x54ebc" identifier + number_literal) ))))) ;) (while_statement "while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0)" ( (comma_expression "iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0" (assignment_expression "iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc))" identifier = (call_expression "(*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc))" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(uVar5,*(undefined4 *)(iVar1 + 0xc))" ( identifier , (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) )) (compound_statement "{\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "pcVar9 = *(code **)(puVar8 + 0x54ebc);" (assignment_expression "pcVar9 = *(code **)(puVar8 + 0x54ebc)" identifier = (pointer_expression "*(code **)(puVar8 + 0x54ebc)" * (cast_expression "(code **)(puVar8 + 0x54ebc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x54ebc)" ( (binary_expression "puVar8 + 0x54ebc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) })) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "puVar7 = PTR_s_directory_000755b8 + -0x1cd8;" (assignment_expression "puVar7 = PTR_s_directory_000755b8 + -0x1cd8" identifier = (binary_expression "PTR_s_directory_000755b8 + -0x1cd8" identifier + number_literal)) ;) (do_statement "do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );" do (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7)" identifier = (call_expression "(*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7)" (parenthesized_expression "(*(code *)PTR_strcmp_00075c38)" ( (pointer_expression "*(code *)PTR_strcmp_00075c38" * (cast_expression "(code *)PTR_strcmp_00075c38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + 0xc),puVar7)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }" { (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" identifier = (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(iVar1 + 0x14);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x14)" identifier = (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }" if (parenthesized_expression "((iVar2 == -1) && (iVar4 == -1))" ( (binary_expression "(iVar2 == -1) && (iVar4 == -1)" (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) && (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) ))) )) (compound_statement "{\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }" { (expression_statement "iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);" (assignment_expression "iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10)" identifier = (call_expression "FUN_00020ad4(iVar1 + 4,iVar1 + 0x10)" identifier (argument_list "(iVar1 + 4,iVar1 + 0x10)" ( (binary_expression "iVar1 + 4" identifier + number_literal) , (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00020c50;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00020c50;" goto statement_identifier ;)) (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" identifier = (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(iVar1 + 0x14);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x14)" identifier = (pointer_expression "*(int *)(iVar1 + 0x14)" * (cast_expression "(int *)(iVar1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) ;) })) (if_statement "if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }" if (parenthesized_expression "((iVar2 == 0) && (*param_1 == iVar4))" ( (binary_expression "(iVar2 == 0) && (*param_1 == iVar4)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "(*param_1 == iVar4)" ( (binary_expression "*param_1 == iVar4" (pointer_expression "*param_1" * identifier) == identifier) ))) )) (compound_statement "{\n        iVar6 = iVar1;\n      }" { (expression_statement "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" identifier = identifier) ;) })) })) (labeled_statement "LAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);" statement_identifier : (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ;)) (if_statement "if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }" { (if_statement "if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        PTR_DAT_000755a8[0x6400] = 0;\n      }" { (expression_statement "PTR_DAT_000755a8[0x6400] = 0;" (assignment_expression "PTR_DAT_000755a8[0x6400] = 0" (subscript_expression "PTR_DAT_000755a8[0x6400]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }" else (compound_statement "{\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }" { (expression_statement "iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));" (assignment_expression "iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc))" identifier = (call_expression "xstrdup(*(undefined4 *)(iVar6 + 0xc))" identifier (argument_list "(*(undefined4 *)(iVar6 + 0xc))" ( (pointer_expression "*(undefined4 *)(iVar6 + 0xc)" * (cast_expression "(undefined4 *)(iVar6 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) )))) ;) (expression_statement "PTR_DAT_000755a8[0x6400] = iVar1 != 0;" (assignment_expression "PTR_DAT_000755a8[0x6400] = iVar1 != 0" (subscript_expression "PTR_DAT_000755a8[0x6400]" identifier [ number_literal ]) = (binary_expression "iVar1 != 0" identifier != number_literal)) ;) (if_statement "if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }" { (expression_statement "*(int *)(puVar8 + 0x6404) = iVar1;" (assignment_expression "*(int *)(puVar8 + 0x6404) = iVar1" (pointer_expression "*(int *)(puVar8 + 0x6404)" * (cast_expression "(int *)(puVar8 + 0x6404)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x6404)" ( (binary_expression "puVar8 + 0x6404" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })) }))) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00075bb0)" ( (pointer_expression "*(code *)PTR_dcgettext_00075bb0" * (cast_expression "(code *)PTR_dcgettext_00075bb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_s_directory_000755b8 + -0x37cc,5)" ( number_literal , (binary_expression "PTR_s_directory_000755b8 + -0x37cc" identifier + number_literal) , number_literal )))) ;) (expression_statement "iVar1 = xstrdup(uVar3);" (assignment_expression "iVar1 = xstrdup(uVar3)" identifier = (call_expression "xstrdup(uVar3)" identifier (argument_list "(uVar3)" ( identifier )))) ;) (expression_statement "*(int *)(puVar8 + 0x6404) = iVar1;" (assignment_expression "*(int *)(puVar8 + 0x6404) = iVar1" (pointer_expression "*(int *)(puVar8 + 0x6404)" * (cast_expression "(int *)(puVar8 + 0x6404)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x6404)" ( (binary_expression "puVar8 + 0x6404" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE 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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * IDENT)) ))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 ( LIT , LIT , 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 ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) })) })) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT != LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "int filesystem_type(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  \n  puVar8 = PTR_DAT_000755a8;\n  iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);\n  if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }\n  iVar1 = *param_1;\n  *(undefined4 *)(puVar8 + 0x63f8) = 0;\n  *(int *)(puVar8 + 0x63fc) = iVar1;\n  iVar1 = FUN_00020a30(1);\n  if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }\n  iVar6 = 0;\n  puVar7 = PTR_s_directory_000755b8 + -0x1cd8;\n  do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );\n}" (primitive_type "int") (function_declarator "filesystem_type(int *param_1)" (identifier "filesystem_type") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  code *pcVar9;\n  \n  puVar8 = PTR_DAT_000755a8;\n  iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);\n  if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }\n  iVar1 = *param_1;\n  *(undefined4 *)(puVar8 + 0x63f8) = 0;\n  *(int *)(puVar8 + 0x63fc) = iVar1;\n  iVar1 = FUN_00020a30(1);\n  if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }\n  iVar6 = 0;\n  puVar7 = PTR_s_directory_000755b8 + -0x1cd8;\n  do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined *puVar8;" (type_identifier "undefined") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "code *pcVar9;" (type_identifier "code") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (expression_statement "puVar8 = PTR_DAT_000755a8;" (assignment_expression "puVar8 = PTR_DAT_000755a8" (identifier "puVar8") (= "=") (identifier "PTR_DAT_000755a8")) (; ";")) (expression_statement "iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);" (assignment_expression "iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x6404)" (* "*") (cast_expression "(int *)(PTR_DAT_000755a8 + 0x6404)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000755a8 + 0x6404)" (( "(") (binary_expression "PTR_DAT_000755a8 + 0x6404" (identifier "PTR_DAT_000755a8") (+ "+") (number_literal "0x6404")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }\n    (*(code *)PTR_free_00075bfc)(iVar1);\n  }" ({ "{") (if_statement "if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1))" (( "(") (binary_expression "((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&\n       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)" (parenthesized_expression "((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0))" (( "(") (binary_expression "(PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)" (parenthesized_expression "(PTR_DAT_000755a8[0x6400] != '\0')" (( "(") (binary_expression "PTR_DAT_000755a8[0x6400] != '\0'" (subscript_expression "PTR_DAT_000755a8[0x6400]" (identifier "PTR_DAT_000755a8") ([ "[") (number_literal "0x6400") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0" (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x63f8)" (* "*") (cast_expression "(int *)(PTR_DAT_000755a8 + 0x63f8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000755a8 + 0x63f8)" (( "(") (binary_expression "PTR_DAT_000755a8 + 0x63f8" (identifier "PTR_DAT_000755a8") (+ "+") (number_literal "0x63f8")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)" (( "(") (binary_expression "*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1" (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x63fc)" (* "*") (cast_expression "(int *)(PTR_DAT_000755a8 + 0x63fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000755a8 + 0x63fc)" (( "(") (binary_expression "PTR_DAT_000755a8 + 0x63fc" (identifier "PTR_DAT_000755a8") (+ "+") (number_literal "0x63fc")) () ")")))) (== "==") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) () ")")) (compound_statement "{\n      return iVar1;\n    }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_00075bfc)(iVar1);" (call_expression "(*(code *)PTR_free_00075bfc)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" (( "(") (pointer_expression "*(code *)PTR_free_00075bfc" (* "*") (cast_expression "(code *)PTR_free_00075bfc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00075bfc"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + 0x63f8) = 0;" (assignment_expression "*(undefined4 *)(puVar8 + 0x63f8) = 0" (pointer_expression "*(undefined4 *)(puVar8 + 0x63f8)" (* "*") (cast_expression "(undefined4 *)(puVar8 + 0x63f8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x63f8)" (( "(") (binary_expression "puVar8 + 0x63f8" (identifier "puVar8") (+ "+") (number_literal "0x63f8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(puVar8 + 0x63fc) = iVar1;" (assignment_expression "*(int *)(puVar8 + 0x63fc) = iVar1" (pointer_expression "*(int *)(puVar8 + 0x63fc)" (* "*") (cast_expression "(int *)(puVar8 + 0x63fc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x63fc)" (( "(") (binary_expression "puVar8 + 0x63fc" (identifier "puVar8") (+ "+") (number_literal "0x63fc")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "iVar1 = FUN_00020a30(1);" (assignment_expression "iVar1 = FUN_00020a30(1)" (identifier "iVar1") (= "=") (call_expression "FUN_00020a30(1)" (identifier "FUN_00020a30") (argument_list "(1)" (( "(") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);\n    uVar5 = 1;\n    puVar8 = PTR_error_00075b3c;\n    (*(code *)PTR_error_00075b3c)(1,0,uVar3);\n    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);\n    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }\n    return 1;\n  }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00075bb0)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00075bb0" (* "*") (cast_expression "(code *)PTR_dcgettext_00075bb0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00075bb0"))) () ")")) (argument_list "(0,PTR_s_directory_000755b8 + -0x1d00,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_directory_000755b8 + -0x1d00" (identifier "PTR_s_directory_000755b8") (+ "+") (number_literal "-0x1d00")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar8 = PTR_error_00075b3c;" (assignment_expression "puVar8 = PTR_error_00075b3c" (identifier "puVar8") (= "=") (identifier "PTR_error_00075b3c")) (; ";")) (expression_statement "(*(code *)PTR_error_00075b3c)(1,0,uVar3);" (call_expression "(*(code *)PTR_error_00075b3c)(1,0,uVar3)" (parenthesized_expression "(*(code *)PTR_error_00075b3c)" (( "(") (pointer_expression "*(code *)PTR_error_00075b3c" (* "*") (cast_expression "(code *)PTR_error_00075b3c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_00075b3c"))) () ")")) (argument_list "(1,0,uVar3)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);" (assignment_expression "iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5)" (parenthesized_expression "(**(code **)(puVar8 + 0x54ebc))" (( "(") (pointer_expression "**(code **)(puVar8 + 0x54ebc)" (* "*") (pointer_expression "*(code **)(puVar8 + 0x54ebc)" (* "*") (cast_expression "(code **)(puVar8 + 0x54ebc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x54ebc)" (( "(") (binary_expression "puVar8 + 0x54ebc" (identifier "puVar8") (+ "+") (number_literal "0x54ebc")) () ")"))))) () ")")) (argument_list "(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5)" (( "(") (binary_expression "*(int *)(puVar8 + 0x5483c) + -0x1cd0" (pointer_expression "*(int *)(puVar8 + 0x5483c)" (* "*") (cast_expression "(int *)(puVar8 + 0x5483c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x5483c)" (( "(") (binary_expression "puVar8 + 0x5483c" (identifier "puVar8") (+ "+") (number_literal "0x5483c")) () ")")))) (+ "+") (number_literal "-0x1cd0")) (, ",") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }" (if "if") (parenthesized_expression "((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0))" (( "(") (binary_expression "(iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = FUN_00020a30(0), iVar1 != 0)" (( "(") (comma_expression "iVar1 = FUN_00020a30(0), iVar1 != 0" (assignment_expression "iVar1 = FUN_00020a30(0)" (identifier "iVar1") (= "=") (call_expression "FUN_00020a30(0)" (identifier "FUN_00020a30") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      pcVar9 = *(code **)(puVar8 + 0x54ebc);\n      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }\n    }" ({ "{") (expression_statement "pcVar9 = *(code **)(puVar8 + 0x54ebc);" (assignment_expression "pcVar9 = *(code **)(puVar8 + 0x54ebc)" (identifier "pcVar9") (= "=") (pointer_expression "*(code **)(puVar8 + 0x54ebc)" (* "*") (cast_expression "(code **)(puVar8 + 0x54ebc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x54ebc)" (( "(") (binary_expression "puVar8 + 0x54ebc" (identifier "puVar8") (+ "+") (number_literal "0x54ebc")) () ")"))))) (; ";")) (while_statement "while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }" (while "while") (parenthesized_expression "(iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0)" (( "(") (comma_expression "iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0" (assignment_expression "iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc))" (identifier "iVar6") (= "=") (call_expression "(*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc))" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "(uVar5,*(undefined4 *)(iVar1 + 0xc))" (( "(") (identifier "uVar5") (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        iVar1 = *(int *)(iVar1 + 0x1c);\n        pcVar9 = *(code **)(puVar8 + 0x54ebc);\n        if (iVar1 == 0) {\n          return 0;\n        }\n      }" ({ "{") (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "pcVar9 = *(code **)(puVar8 + 0x54ebc);" (assignment_expression "pcVar9 = *(code **)(puVar8 + 0x54ebc)" (identifier "pcVar9") (= "=") (pointer_expression "*(code **)(puVar8 + 0x54ebc)" (* "*") (cast_expression "(code **)(puVar8 + 0x54ebc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x54ebc)" (( "(") (binary_expression "puVar8 + 0x54ebc" (identifier "puVar8") (+ "+") (number_literal "0x54ebc")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar7 = PTR_s_directory_000755b8 + -0x1cd8;" (assignment_expression "puVar7 = PTR_s_directory_000755b8 + -0x1cd8" (identifier "puVar7") (= "=") (binary_expression "PTR_s_directory_000755b8 + -0x1cd8" (identifier "PTR_s_directory_000755b8") (+ "+") (number_literal "-0x1cd8"))) (; ";")) (do_statement "do {\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);\n    if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }\nLAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);\n    if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);" (assignment_expression "iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7)" (parenthesized_expression "(*(code *)PTR_strcmp_00075c38)" (( "(") (pointer_expression "*(code *)PTR_strcmp_00075c38" (* "*") (cast_expression "(code *)PTR_strcmp_00075c38" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_00075c38"))) () ")")) (argument_list "(*(undefined4 *)(iVar1 + 0xc),puVar7)" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "puVar7") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = *(int *)(iVar1 + 0x10);\n      iVar4 = *(int *)(iVar1 + 0x14);\n      if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }\n      if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }\n    }" ({ "{") (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar4 = *(int *)(iVar1 + 0x14);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x14)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar1 + 0x14)" (* "*") (cast_expression "(int *)(iVar1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((iVar2 == -1) && (iVar4 == -1)) {\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }" (if "if") (parenthesized_expression "((iVar2 == -1) && (iVar4 == -1))" (( "(") (binary_expression "(iVar2 == -1) && (iVar4 == -1)" (parenthesized_expression "(iVar2 == -1)" (( "(") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")"))) () ")")) (compound_statement "{\n        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);\n        if (iVar2 != 0) goto LAB_00020c50;\n        iVar2 = *(int *)(iVar1 + 0x10);\n        iVar4 = *(int *)(iVar1 + 0x14);\n      }" ({ "{") (expression_statement "iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);" (assignment_expression "iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10)" (identifier "iVar2") (= "=") (call_expression "FUN_00020ad4(iVar1 + 4,iVar1 + 0x10)" (identifier "FUN_00020ad4") (argument_list "(iVar1 + 4,iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) (, ",") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_00020c50;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00020c50;" (goto "goto") (statement_identifier "LAB_00020c50") (; ";"))) (expression_statement "iVar2 = *(int *)(iVar1 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x10)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar4 = *(int *)(iVar1 + 0x14);" (assignment_expression "iVar4 = *(int *)(iVar1 + 0x14)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar1 + 0x14)" (* "*") (cast_expression "(int *)(iVar1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((iVar2 == 0) && (*param_1 == iVar4)) {\n        iVar6 = iVar1;\n      }" (if "if") (parenthesized_expression "((iVar2 == 0) && (*param_1 == iVar4))" (( "(") (binary_expression "(iVar2 == 0) && (*param_1 == iVar4)" (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*param_1 == iVar4)" (( "(") (binary_expression "*param_1 == iVar4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (identifier "iVar4")) () ")"))) () ")")) (compound_statement "{\n        iVar6 = iVar1;\n      }" ({ "{") (expression_statement "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" (identifier "iVar6") (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00020c50:\n    iVar1 = *(int *)(iVar1 + 0x1c);" (statement_identifier "LAB_00020c50") (: ":") (expression_statement "iVar1 = *(int *)(iVar1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(iVar1 + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";"))) (if_statement "if (iVar1 == 0) {\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }\n      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);\n      iVar1 = xstrdup(uVar3);\n      *(int *)(puVar8 + 0x6404) = iVar1;\n      return iVar1;\n    }" ({ "{") (if_statement "if (iVar6 == 0) {\n        PTR_DAT_000755a8[0x6400] = 0;\n      }\n      else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        PTR_DAT_000755a8[0x6400] = 0;\n      }" ({ "{") (expression_statement "PTR_DAT_000755a8[0x6400] = 0;" (assignment_expression "PTR_DAT_000755a8[0x6400] = 0" (subscript_expression "PTR_DAT_000755a8[0x6400]" (identifier "PTR_DAT_000755a8") ([ "[") (number_literal "0x6400") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }" (else "else") (compound_statement "{\n        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));\n        PTR_DAT_000755a8[0x6400] = iVar1 != 0;\n        if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }\n      }" ({ "{") (expression_statement "iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));" (assignment_expression "iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc))" (identifier "iVar1") (= "=") (call_expression "xstrdup(*(undefined4 *)(iVar6 + 0xc))" (identifier "xstrdup") (argument_list "(*(undefined4 *)(iVar6 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)(iVar6 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")")))) () ")")))) (; ";")) (expression_statement "PTR_DAT_000755a8[0x6400] = iVar1 != 0;" (assignment_expression "PTR_DAT_000755a8[0x6400] = iVar1 != 0" (subscript_expression "PTR_DAT_000755a8[0x6400]" (identifier "PTR_DAT_000755a8") ([ "[") (number_literal "0x6400") (] "]")) (= "=") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) (; ";")) (if_statement "if (iVar1 != 0) {\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          *(int *)(puVar8 + 0x6404) = iVar1;\n          return iVar1;\n        }" ({ "{") (expression_statement "*(int *)(puVar8 + 0x6404) = iVar1;" (assignment_expression "*(int *)(puVar8 + 0x6404) = iVar1" (pointer_expression "*(int *)(puVar8 + 0x6404)" (* "*") (cast_expression "(int *)(puVar8 + 0x6404)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x6404)" (( "(") (binary_expression "puVar8 + 0x6404" (identifier "puVar8") (+ "+") (number_literal "0x6404")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00075bb0)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00075bb0" (* "*") (cast_expression "(code *)PTR_dcgettext_00075bb0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00075bb0"))) () ")")) (argument_list "(0,PTR_s_directory_000755b8 + -0x37cc,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_directory_000755b8 + -0x37cc" (identifier "PTR_s_directory_000755b8") (+ "+") (number_literal "-0x37cc")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "iVar1 = xstrdup(uVar3);" (assignment_expression "iVar1 = xstrdup(uVar3)" (identifier "iVar1") (= "=") (call_expression "xstrdup(uVar3)" (identifier "xstrdup") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")")))) (; ";")) (expression_statement "*(int *)(puVar8 + 0x6404) = iVar1;" (assignment_expression "*(int *)(puVar8 + 0x6404) = iVar1" (pointer_expression "*(int *)(puVar8 + 0x6404)" (* "*") (cast_expression "(int *)(puVar8 + 0x6404)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x6404)" (( "(") (binary_expression "puVar8 + 0x6404" (identifier "puVar8") (+ "+") (number_literal "0x6404")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) right: (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))))) right: (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: (pointer_expression argument: (identifier)))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (number_literal) (number_literal) (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 (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)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (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))))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))))))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) 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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_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: (identifier))) (return_statement (identifier))))) condition: (parenthesized_expression (true))))))

int MASKED(int *param_1)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  undefined *puVar7;
  undefined *puVar8;
  code *pcVar9;
  
  puVar8 = PTR_DAT_000755a8;
  iVar1 = *(int *)(PTR_DAT_000755a8 + 0x6404);
  if (iVar1 != 0) {
    if (((PTR_DAT_000755a8[0x6400] != '\0') && (*(int *)(PTR_DAT_000755a8 + 0x63f8) == 0)) &&
       (*(int *)(PTR_DAT_000755a8 + 0x63fc) == *param_1)) {
      return iVar1;
    }
    (*(code *)PTR_free_00075bfc)(iVar1);
  }
  iVar1 = *param_1;
  *(undefined4 *)(puVar8 + 0x63f8) = 0;
  *(int *)(puVar8 + 0x63fc) = iVar1;
  iVar1 = FUN_00020a30(1);
  if (iVar1 == 0) {
    uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x1d00,5);
    uVar5 = 1;
    puVar8 = PTR_error_00075b3c;
    (*(code *)PTR_error_00075b3c)(1,0,uVar3);
    iVar1 = (**(code **)(puVar8 + 0x54ebc))(*(int *)(puVar8 + 0x5483c) + -0x1cd0,uVar5);
    if ((iVar1 != 0) && (iVar1 = FUN_00020a30(0), iVar1 != 0)) {
      pcVar9 = *(code **)(puVar8 + 0x54ebc);
      while (iVar6 = (*pcVar9)(uVar5,*(undefined4 *)(iVar1 + 0xc)), iVar6 != 0) {
        iVar1 = *(int *)(iVar1 + 0x1c);
        pcVar9 = *(code **)(puVar8 + 0x54ebc);
        if (iVar1 == 0) {
          return 0;
        }
      }
    }
    return 1;
  }
  iVar6 = 0;
  puVar7 = PTR_s_directory_000755b8 + -0x1cd8;
  do {
    iVar2 = (*(code *)PTR_strcmp_00075c38)(*(undefined4 *)(iVar1 + 0xc),puVar7);
    if (iVar2 != 0) {
      iVar2 = *(int *)(iVar1 + 0x10);
      iVar4 = *(int *)(iVar1 + 0x14);
      if ((iVar2 == -1) && (iVar4 == -1)) {
        iVar2 = FUN_00020ad4(iVar1 + 4,iVar1 + 0x10);
        if (iVar2 != 0) goto LAB_00020c50;
        iVar2 = *(int *)(iVar1 + 0x10);
        iVar4 = *(int *)(iVar1 + 0x14);
      }
      if ((iVar2 == 0) && (*param_1 == iVar4)) {
        iVar6 = iVar1;
      }
    }
LAB_00020c50:
    iVar1 = *(int *)(iVar1 + 0x1c);
    if (iVar1 == 0) {
      if (iVar6 == 0) {
        PTR_DAT_000755a8[0x6400] = 0;
      }
      else {
        iVar1 = xstrdup(*(undefined4 *)(iVar6 + 0xc));
        PTR_DAT_000755a8[0x6400] = iVar1 != 0;
        if (iVar1 != 0) {
          *(int *)(puVar8 + 0x6404) = iVar1;
          return iVar1;
        }
      }
      uVar3 = (*(code *)PTR_dcgettext_00075bb0)(0,PTR_s_directory_000755b8 + -0x37cc,5);
      iVar1 = xstrdup(uVar3);
      *(int *)(puVar8 + 0x6404) = iVar1;
      return iVar1;
    }
  } while( true );
}

