
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

leaf_optimization __regparm3 leaf_optimization(FTSENT *p,int dir_fd)

{
  int iVar1;
  FTS *pFVar2;
  undefined4 uVar3;
  __dev_t _Var4;
  void *pvVar5;
  leaf_optimization lVar6;
  int iVar7;
  undefined4 *entry;
  undefined4 *puVar8;
  __fsword_t _Var9;
  int in_GS_OFFSET;
  Hash_table *local_94;
  dev_type tmp;
  statfs fs_buf;
  
  pFVar2 = p->fts_fts;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if ((pFVar2->fts_options & 0x200) != 0) {
    local_94 = pFVar2->fts_leaf_optimization_works_ht;
    if (local_94 == (hash_table *)0x0) {
      local_94 = hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,
                                 (Hash_data_freer)PTR_free_00029fcc);
      pFVar2->fts_leaf_optimization_works_ht = local_94;
      if (local_94 != (Hash_table *)0x0) goto LAB_00019f3d;
LAB_00019fda:
      if ((dir_fd < 0) ||
         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))
      goto LAB_00019ff8;
      if ((local_94 != (Hash_table *)0x0) &&
         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)) {
        _Var4 = p->fts_statp[0].st_dev;
        uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);
        entry[2] = _Var9;
        *entry = (int)_Var4;
        entry[1] = uVar3;
        puVar8 = (undefined4 *)hash_insert(local_94,entry);
        if (puVar8 == (undefined4 *)0x0) {
          free(entry);
          _Var9 = fs_buf.f_type;
        }
        else {
          _Var9 = fs_buf.f_type;
          if (entry != puVar8) {
                    /* WARNING: Subroutine does not return */
            abort();
          }
        }
      }
    }
    else {
LAB_00019f3d:
      tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;
      tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);
      pvVar5 = hash_lookup(local_94,&tmp);
      if (pvVar5 == (void *)0x0) goto LAB_00019fda;
      _Var9 = *(int *)((int)pvVar5 + 8);
    }
    if (_Var9 != 0x9fa0) {
      if (_Var9 < 0x9fa1) {
        if ((_Var9 != 0) && (_Var9 != 0x6969)) {
          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);
          goto LAB_00019ffa;
        }
      }
      else if (_Var9 != 0x5346414f) {
        lVar6 = NOSTAT_LEAF_OPTIMIZATION;
        if (_Var9 != 0x58465342) {
          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;
        }
        goto LAB_00019ffa;
      }
    }
  }
LAB_00019ff8:
  lVar6 = NO_LEAF_OPTIMIZATION;
LAB_00019ffa:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return lVar6;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char __regparm3 FUN_00019f00(int param_1,int param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  undefined4 *__ptr;
  undefined4 *puVar5;
  int in_GS_OFFSET;
  char cVar6;
  int local_94;
  undefined4 local_80;
  undefined4 local_7c;
  statfs64 local_74;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x19f0d;
  iVar3 = *(int *)(param_1 + 0x2c);
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {
    local_94 = *(int *)(iVar3 + 0x30);
    if (local_94 == 0) {
      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);
      *(int *)(iVar3 + 0x30) = local_94;
      if (local_94 != 0) goto LAB_00019f3d;
LAB_00019fda:
      if ((param_2 < 0) ||
         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))
      goto LAB_00019ff8;
      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {
        uVar1 = *(undefined4 *)(param_1 + 0x44);
        uVar2 = *(undefined4 *)(param_1 + 0x48);
        __ptr[2] = iVar3;
        *__ptr = uVar1;
        __ptr[1] = uVar2;
        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);
        if (puVar5 == (undefined4 *)0x0) {
          free(__ptr);
          iVar3 = local_74.f_type;
        }
        else {
          iVar3 = local_74.f_type;
          if (__ptr != puVar5) {
                    /* WARNING: Subroutine does not return */
            abort();
          }
        }
      }
    }
    else {
LAB_00019f3d:
      local_80 = *(undefined4 *)(param_1 + 0x44);
      local_7c = *(undefined4 *)(param_1 + 0x48);
      iVar3 = FUN_000149c0(local_94,&local_80);
      if (iVar3 == 0) goto LAB_00019fda;
      iVar3 = *(int *)(iVar3 + 8);
    }
    if (iVar3 != 0x9fa0) {
      if (iVar3 < 0x9fa1) {
        if ((iVar3 != 0) && (iVar3 != 0x6969)) {
          cVar6 = iVar3 != -0xacb2be;
          goto LAB_00019ffa;
        }
      }
      else if (iVar3 != 0x5346414f) {
        cVar6 = '\x02';
        if (iVar3 != 0x58465342) {
          cVar6 = (iVar3 == 0x52654973) + '\x01';
        }
        goto LAB_00019ffa;
      }
    }
  }
LAB_00019ff8:
  cVar6 = '\0';
LAB_00019ffa:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00021780();
  }
  return cVar6;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00012aa0
ADD EBX,0x100f3
SUB ESP,0x8c
MOV EDX,dword ptr [EDI + 0x2c]
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x7c],EAX
XOR EAX,EAX
TEST byte ptr [EDX + 0x2d],0x2
JZ 0x00019ff8
MOV EAX,dword ptr [EDX + 0x30]
MOV dword ptr [ESP + 0x8],EAX
TEST EAX,EAX
JZ 0x00019fa0
MOV EAX,dword ptr [EDI + 0x44]
MOV EDX,dword ptr [EDI + 0x48]
SUB ESP,0x8
MOV dword ptr [ESP + 0x24],EAX
MOV dword ptr [ESP + 0x28],EDX
LEA EAX,[ESP + 0x24]
PUSH EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x000149c0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00019fda
MOV EBP,dword ptr [EAX + 0x8]
CMP EBP,0x9fa0
JZ 0x00019ff8
JLE 0x0001a080
CMP EBP,0x5346414f
JZ 0x00019ff8
MOV EAX,0x2
CMP EBP,0x58465342
JZ 0x00019ffa
XOR EAX,EAX
CMP EBP,0x52654973
SETZ AL
ADD EAX,0x1
JMP 0x00019ffa
MOV dword ptr [ESP + 0xc],EDX
LEA EAX,[EBX + 0xfffef940]
SUB ESP,0xc
PUSH dword ptr [EBX + 0xffffffcc]
PUSH EAX
LEA EAX,[EBX + 0xfffef910]
PUSH EAX
PUSH 0x0
PUSH 0xd
CALL 0x00014c70
MOV EDX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESP + 0x28],EAX
ADD ESP,0x20
MOV dword ptr [EDX + 0x30],EAX
TEST EAX,EAX
JNZ 0x00019f3d
TEST EBP,EBP
JS 0x00019ff8
SUB ESP,0x8
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH EBP
CALL 0x00012320
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001a020
LEA ESI,[ESI]
NOP
XOR EAX,EAX
MOV ECX,dword ptr [ESP + 0x7c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x0001a0b9
ADD ESP,0x8c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x8]
MOV EBP,dword ptr [ESP + 0x28]
TEST EAX,EAX
JZ 0x00019f66
SUB ESP,0xc
PUSH 0xc
CALL 0x000122c0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00019f66
MOV ESI,dword ptr [EDI + 0x44]
MOV EDI,dword ptr [EDI + 0x48]
SUB ESP,0x8
MOV dword ptr [EAX + 0x8],EBP
MOV dword ptr [EAX],ESI
MOV dword ptr [EAX + 0x4],EDI
PUSH EAX
MOV dword ptr [ESP + 0x18],EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x000155b0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JZ 0x0001a0a4
CMP EDX,EAX
JNZ 0x000126ae
MOV EBP,dword ptr [ESP + 0x28]
JMP 0x00019f66
TEST EBP,EBP
JZ 0x00019ff8
CMP EBP,0x6969
JZ 0x00019ff8
XOR EAX,EAX
CMP EBP,0xff534d42
SETNZ AL
JMP 0x00019ffa
SUB ESP,0xc
PUSH EDX
CALL 0x00012650
MOV EBP,dword ptr [ESP + 0x38]
ADD ESP,0x10
JMP 0x00019f66
CALL 0x00021780
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar __regparm3 FUN_00019f00(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *__ptr;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char cVar6;\n  int local_94;\n  undefined4 local_80;\n  undefined4 local_7c;\n  statfs64 local_74;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19f0d;\n  iVar3 = *(int *)(param_1 + 0x2c);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  cVar6 = '\0';\nLAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00021780();\n  }\n  return cVar6;\n}\n\n" comment (function_definition "char __regparm3 FUN_00019f00(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *__ptr;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char cVar6;\n  int local_94;\n  undefined4 local_80;\n  undefined4 local_7c;\n  statfs64 local_74;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19f0d;\n  iVar3 = *(int *)(param_1 + 0x2c);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  cVar6 = '\0';\nLAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00021780();\n  }\n  return cVar6;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00019f00(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *__ptr;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char cVar6;\n  int local_94;\n  undefined4 local_80;\n  undefined4 local_7c;\n  statfs64 local_74;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19f0d;\n  iVar3 = *(int *)(param_1 + 0x2c);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  cVar6 = '\0';\nLAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00021780();\n  }\n  return cVar6;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "int local_94;" primitive_type identifier ;) (declaration "undefined4 local_80;" type_identifier identifier ;) (declaration "undefined4 local_7c;" type_identifier identifier ;) (declaration "statfs64 local_74;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x19f0d;" (assignment_expression "uStack_14 = 0x19f0d" identifier = number_literal) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x2c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x2c)" identifier = (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }" if (parenthesized_expression "((*(byte *)(iVar3 + 0x2d) & 2) != 0)" ( (binary_expression "(*(byte *)(iVar3 + 0x2d) & 2) != 0" (parenthesized_expression "(*(byte *)(iVar3 + 0x2d) & 2)" ( (binary_expression "*(byte *)(iVar3 + 0x2d) & 2" (pointer_expression "*(byte *)(iVar3 + 0x2d)" * (cast_expression "(byte *)(iVar3 + 0x2d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2d)" ( (binary_expression "iVar3 + 0x2d" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }" { (expression_statement "local_94 = *(int *)(iVar3 + 0x30);" (assignment_expression "local_94 = *(int *)(iVar3 + 0x30)" identifier = (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }" if (parenthesized_expression "(local_94 == 0)" ( (binary_expression "local_94 == 0" identifier == number_literal) )) (compound_statement "{\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }" { (expression_statement "local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);" (assignment_expression "local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc)" identifier = (call_expression "FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc)" identifier (argument_list "(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc)" ( number_literal , number_literal , identifier , identifier , identifier )))) ;) (expression_statement "*(int *)(iVar3 + 0x30) = local_94;" (assignment_expression "*(int *)(iVar3 + 0x30) = local_94" (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_94 != 0) goto LAB_00019f3d;" if (parenthesized_expression "(local_94 != 0)" ( (binary_expression "local_94 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00019f3d;" goto statement_identifier ;)) (labeled_statement "LAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;" statement_identifier : (if_statement "if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;" if (parenthesized_expression "((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))" ( (binary_expression "(param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0)" (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0)" ( (comma_expression "iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0" (assignment_expression "iVar4 = fstatfs64(param_2,&local_74)" identifier = (call_expression "fstatfs64(param_2,&local_74)" identifier (argument_list "(param_2,&local_74)" ( identifier , (pointer_expression "&local_74" & identifier) )))) , (comma_expression "iVar3 = local_74.f_type, iVar4 != 0" (assignment_expression "iVar3 = local_74.f_type" identifier = (field_expression "local_74.f_type" identifier . field_identifier)) , (binary_expression "iVar4 != 0" identifier != number_literal))) ))) )) (goto_statement "goto LAB_00019ff8;" goto statement_identifier ;))) (if_statement "if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }" if (parenthesized_expression "((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0))" ( (binary_expression "(local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)" (parenthesized_expression "(local_94 != 0)" ( (binary_expression "local_94 != 0" identifier != number_literal) )) && (parenthesized_expression "(__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)" ( (comma_expression "__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0" (assignment_expression "__ptr = (undefined4 *)malloc(0xc)" identifier = (cast_expression "(undefined4 *)malloc(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) , (binary_expression "__ptr != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x44);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x44)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x44)" * (cast_expression "(undefined4 *)(param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "__ptr[2] = iVar3;" (assignment_expression "__ptr[2] = iVar3" (subscript_expression "__ptr[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*__ptr = uVar1;" (assignment_expression "*__ptr = uVar1" (pointer_expression "*__ptr" * identifier) = identifier) ;) (expression_statement "__ptr[1] = uVar2;" (assignment_expression "__ptr[1] = uVar2" (subscript_expression "__ptr[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);" (assignment_expression "puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr)" identifier = (cast_expression "(undefined4 *)FUN_000155b0(local_94,__ptr)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000155b0(local_94,__ptr)" identifier (argument_list "(local_94,__ptr)" ( identifier , identifier ))))) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "iVar3 = local_74.f_type;" (assignment_expression "iVar3 = local_74.f_type" identifier = (field_expression "local_74.f_type" identifier . field_identifier)) ;) }) (else_clause "else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }" else (compound_statement "{\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }" { (expression_statement "iVar3 = local_74.f_type;" (assignment_expression "iVar3 = local_74.f_type" identifier = (field_expression "local_74.f_type" identifier . field_identifier)) ;) (if_statement "if (__ptr != puVar5) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }" if (parenthesized_expression "(__ptr != puVar5)" ( (binary_expression "__ptr != puVar5" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }" { comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) }))) })) }) (else_clause "else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }" else (compound_statement "{\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }" { (labeled_statement "LAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);" statement_identifier : (expression_statement "local_80 = *(undefined4 *)(param_1 + 0x44);" (assignment_expression "local_80 = *(undefined4 *)(param_1 + 0x44)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x44)" * (cast_expression "(undefined4 *)(param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) ;)) (expression_statement "local_7c = *(undefined4 *)(param_1 + 0x48);" (assignment_expression "local_7c = *(undefined4 *)(param_1 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = FUN_000149c0(local_94,&local_80);" (assignment_expression "iVar3 = FUN_000149c0(local_94,&local_80)" identifier = (call_expression "FUN_000149c0(local_94,&local_80)" identifier (argument_list "(local_94,&local_80)" ( identifier , (pointer_expression "&local_80" & identifier) )))) ;) (if_statement "if (iVar3 == 0) goto LAB_00019fda;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00019fda;" goto statement_identifier ;)) (expression_statement "iVar3 = *(int *)(iVar3 + 8);" (assignment_expression "iVar3 = *(int *)(iVar3 + 8)" identifier = (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }" if (parenthesized_expression "(iVar3 != 0x9fa0)" ( (binary_expression "iVar3 != 0x9fa0" identifier != number_literal) )) (compound_statement "{\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }" { (if_statement "if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" if (parenthesized_expression "(iVar3 < 0x9fa1)" ( (binary_expression "iVar3 < 0x9fa1" identifier < number_literal) )) (compound_statement "{\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }" { (if_statement "if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }" if (parenthesized_expression "((iVar3 != 0) && (iVar3 != 0x6969))" ( (binary_expression "(iVar3 != 0) && (iVar3 != 0x6969)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 != 0x6969)" ( (binary_expression "iVar3 != 0x6969" identifier != number_literal) ))) )) (compound_statement "{\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }" { (expression_statement "cVar6 = iVar3 != -0xacb2be;" (assignment_expression "cVar6 = iVar3 != -0xacb2be" identifier = (binary_expression "iVar3 != -0xacb2be" identifier != number_literal)) ;) (goto_statement "goto LAB_00019ffa;" goto statement_identifier ;) })) }) (else_clause "else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" else (if_statement "if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" if (parenthesized_expression "(iVar3 != 0x5346414f)" ( (binary_expression "iVar3 != 0x5346414f" identifier != number_literal) )) (compound_statement "{\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" { (expression_statement "cVar6 = '\x02';" (assignment_expression "cVar6 = '\x02'" identifier = (char_literal "'\x02'" ' escape_sequence ')) ;) (if_statement "if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }" if (parenthesized_expression "(iVar3 != 0x58465342)" ( (binary_expression "iVar3 != 0x58465342" identifier != number_literal) )) (compound_statement "{\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }" { (expression_statement "cVar6 = (iVar3 == 0x52654973) + '\x01';" (assignment_expression "cVar6 = (iVar3 == 0x52654973) + '\x01'" identifier = (binary_expression "(iVar3 == 0x52654973) + '\x01'" (parenthesized_expression "(iVar3 == 0x52654973)" ( (binary_expression "iVar3 == 0x52654973" identifier == number_literal) )) + (char_literal "'\x01'" ' escape_sequence '))) ;) })) (goto_statement "goto LAB_00019ffa;" goto statement_identifier ;) })))) })) })) (labeled_statement "LAB_00019ff8:\n  cVar6 = '\0';" statement_identifier : (expression_statement "cVar6 = '\0';" (assignment_expression "cVar6 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;)) (labeled_statement "LAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00021780();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00021780();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00021780();\n  }" { comment (expression_statement "FUN_00021780();" (call_expression "FUN_00021780()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return cVar6;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nleaf_optimization __regparm3 leaf_optimization(FTSENT *p,int dir_fd)\n\n{\n  int iVar1;\n  FTS *pFVar2;\n  undefined4 uVar3;\n  __dev_t _Var4;\n  void *pvVar5;\n  leaf_optimization lVar6;\n  int iVar7;\n  undefined4 *entry;\n  undefined4 *puVar8;\n  __fsword_t _Var9;\n  int in_GS_OFFSET;\n  Hash_table *local_94;\n  dev_type tmp;\n  statfs fs_buf;\n  \n  pFVar2 = p->fts_fts;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((pFVar2->fts_options & 0x200) != 0) {\n    local_94 = pFVar2->fts_leaf_optimization_works_ht;\n    if (local_94 == (hash_table *)0x0) {\n      local_94 = hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc);\n      pFVar2->fts_leaf_optimization_works_ht = local_94;\n      if (local_94 != (Hash_table *)0x0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != (Hash_table *)0x0) &&\n         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)) {\n        _Var4 = p->fts_statp[0].st_dev;\n        uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n        entry[2] = _Var9;\n        *entry = (int)_Var4;\n        entry[1] = uVar3;\n        puVar8 = (undefined4 *)hash_insert(local_94,entry);\n        if (puVar8 == (undefined4 *)0x0) {\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }\n        else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;\n      tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n      pvVar5 = hash_lookup(local_94,&tmp);\n      if (pvVar5 == (void *)0x0) goto LAB_00019fda;\n      _Var9 = *(int *)((int)pvVar5 + 8);\n    }\n    if (_Var9 != 0x9fa0) {\n      if (_Var9 < 0x9fa1) {\n        if ((_Var9 != 0) && (_Var9 != 0x6969)) {\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }\n      }\n      else if (_Var9 != 0x5346414f) {\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  lVar6 = NO_LEAF_OPTIMIZATION;\nLAB_00019ffa:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return lVar6;\n}\n\n" comment (function_definition "leaf_optimization __regparm3 leaf_optimization(FTSENT *p,int dir_fd)\n\n{\n  int iVar1;\n  FTS *pFVar2;\n  undefined4 uVar3;\n  __dev_t _Var4;\n  void *pvVar5;\n  leaf_optimization lVar6;\n  int iVar7;\n  undefined4 *entry;\n  undefined4 *puVar8;\n  __fsword_t _Var9;\n  int in_GS_OFFSET;\n  Hash_table *local_94;\n  dev_type tmp;\n  statfs fs_buf;\n  \n  pFVar2 = p->fts_fts;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((pFVar2->fts_options & 0x200) != 0) {\n    local_94 = pFVar2->fts_leaf_optimization_works_ht;\n    if (local_94 == (hash_table *)0x0) {\n      local_94 = hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc);\n      pFVar2->fts_leaf_optimization_works_ht = local_94;\n      if (local_94 != (Hash_table *)0x0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != (Hash_table *)0x0) &&\n         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)) {\n        _Var4 = p->fts_statp[0].st_dev;\n        uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n        entry[2] = _Var9;\n        *entry = (int)_Var4;\n        entry[1] = uVar3;\n        puVar8 = (undefined4 *)hash_insert(local_94,entry);\n        if (puVar8 == (undefined4 *)0x0) {\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }\n        else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;\n      tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n      pvVar5 = hash_lookup(local_94,&tmp);\n      if (pvVar5 == (void *)0x0) goto LAB_00019fda;\n      _Var9 = *(int *)((int)pvVar5 + 8);\n    }\n    if (_Var9 != 0x9fa0) {\n      if (_Var9 < 0x9fa1) {\n        if ((_Var9 != 0) && (_Var9 != 0x6969)) {\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }\n      }\n      else if (_Var9 != 0x5346414f) {\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  lVar6 = NO_LEAF_OPTIMIZATION;\nLAB_00019ffa:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return lVar6;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "leaf_optimization(FTSENT *p,int dir_fd)" identifier (parameter_list "(FTSENT *p,int dir_fd)" ( (parameter_declaration "FTSENT *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "int dir_fd" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  FTS *pFVar2;\n  undefined4 uVar3;\n  __dev_t _Var4;\n  void *pvVar5;\n  leaf_optimization lVar6;\n  int iVar7;\n  undefined4 *entry;\n  undefined4 *puVar8;\n  __fsword_t _Var9;\n  int in_GS_OFFSET;\n  Hash_table *local_94;\n  dev_type tmp;\n  statfs fs_buf;\n  \n  pFVar2 = p->fts_fts;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((pFVar2->fts_options & 0x200) != 0) {\n    local_94 = pFVar2->fts_leaf_optimization_works_ht;\n    if (local_94 == (hash_table *)0x0) {\n      local_94 = hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc);\n      pFVar2->fts_leaf_optimization_works_ht = local_94;\n      if (local_94 != (Hash_table *)0x0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != (Hash_table *)0x0) &&\n         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)) {\n        _Var4 = p->fts_statp[0].st_dev;\n        uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n        entry[2] = _Var9;\n        *entry = (int)_Var4;\n        entry[1] = uVar3;\n        puVar8 = (undefined4 *)hash_insert(local_94,entry);\n        if (puVar8 == (undefined4 *)0x0) {\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }\n        else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;\n      tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n      pvVar5 = hash_lookup(local_94,&tmp);\n      if (pvVar5 == (void *)0x0) goto LAB_00019fda;\n      _Var9 = *(int *)((int)pvVar5 + 8);\n    }\n    if (_Var9 != 0x9fa0) {\n      if (_Var9 < 0x9fa1) {\n        if ((_Var9 != 0) && (_Var9 != 0x6969)) {\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }\n      }\n      else if (_Var9 != 0x5346414f) {\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  lVar6 = NO_LEAF_OPTIMIZATION;\nLAB_00019ffa:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return lVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "FTS *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "__dev_t _Var4;" type_identifier identifier ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "leaf_optimization lVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *entry;" type_identifier (pointer_declarator "*entry" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "__fsword_t _Var9;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "Hash_table *local_94;" type_identifier (pointer_declarator "*local_94" * identifier) ;) (declaration "dev_type tmp;" type_identifier identifier ;) (declaration "statfs fs_buf;" type_identifier identifier ;) (expression_statement "pFVar2 = p->fts_fts;" (assignment_expression "pFVar2 = p->fts_fts" identifier = (field_expression "p->fts_fts" identifier -> field_identifier)) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((pFVar2->fts_options & 0x200) != 0) {\n    local_94 = pFVar2->fts_leaf_optimization_works_ht;\n    if (local_94 == (hash_table *)0x0) {\n      local_94 = hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc);\n      pFVar2->fts_leaf_optimization_works_ht = local_94;\n      if (local_94 != (Hash_table *)0x0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != (Hash_table *)0x0) &&\n         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)) {\n        _Var4 = p->fts_statp[0].st_dev;\n        uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n        entry[2] = _Var9;\n        *entry = (int)_Var4;\n        entry[1] = uVar3;\n        puVar8 = (undefined4 *)hash_insert(local_94,entry);\n        if (puVar8 == (undefined4 *)0x0) {\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }\n        else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;\n      tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n      pvVar5 = hash_lookup(local_94,&tmp);\n      if (pvVar5 == (void *)0x0) goto LAB_00019fda;\n      _Var9 = *(int *)((int)pvVar5 + 8);\n    }\n    if (_Var9 != 0x9fa0) {\n      if (_Var9 < 0x9fa1) {\n        if ((_Var9 != 0) && (_Var9 != 0x6969)) {\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }\n      }\n      else if (_Var9 != 0x5346414f) {\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }" if (parenthesized_expression "((pFVar2->fts_options & 0x200) != 0)" ( (binary_expression "(pFVar2->fts_options & 0x200) != 0" (parenthesized_expression "(pFVar2->fts_options & 0x200)" ( (binary_expression "pFVar2->fts_options & 0x200" (field_expression "pFVar2->fts_options" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    local_94 = pFVar2->fts_leaf_optimization_works_ht;\n    if (local_94 == (hash_table *)0x0) {\n      local_94 = hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc);\n      pFVar2->fts_leaf_optimization_works_ht = local_94;\n      if (local_94 != (Hash_table *)0x0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != (Hash_table *)0x0) &&\n         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)) {\n        _Var4 = p->fts_statp[0].st_dev;\n        uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n        entry[2] = _Var9;\n        *entry = (int)_Var4;\n        entry[1] = uVar3;\n        puVar8 = (undefined4 *)hash_insert(local_94,entry);\n        if (puVar8 == (undefined4 *)0x0) {\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }\n        else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;\n      tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n      pvVar5 = hash_lookup(local_94,&tmp);\n      if (pvVar5 == (void *)0x0) goto LAB_00019fda;\n      _Var9 = *(int *)((int)pvVar5 + 8);\n    }\n    if (_Var9 != 0x9fa0) {\n      if (_Var9 < 0x9fa1) {\n        if ((_Var9 != 0) && (_Var9 != 0x6969)) {\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }\n      }\n      else if (_Var9 != 0x5346414f) {\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }" { (expression_statement "local_94 = pFVar2->fts_leaf_optimization_works_ht;" (assignment_expression "local_94 = pFVar2->fts_leaf_optimization_works_ht" identifier = (field_expression "pFVar2->fts_leaf_optimization_works_ht" identifier -> field_identifier)) ;) (if_statement "if (local_94 == (hash_table *)0x0) {\n      local_94 = hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc);\n      pFVar2->fts_leaf_optimization_works_ht = local_94;\n      if (local_94 != (Hash_table *)0x0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != (Hash_table *)0x0) &&\n         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)) {\n        _Var4 = p->fts_statp[0].st_dev;\n        uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n        entry[2] = _Var9;\n        *entry = (int)_Var4;\n        entry[1] = uVar3;\n        puVar8 = (undefined4 *)hash_insert(local_94,entry);\n        if (puVar8 == (undefined4 *)0x0) {\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }\n        else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;\n      tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n      pvVar5 = hash_lookup(local_94,&tmp);\n      if (pvVar5 == (void *)0x0) goto LAB_00019fda;\n      _Var9 = *(int *)((int)pvVar5 + 8);\n    }" if (parenthesized_expression "(local_94 == (hash_table *)0x0)" ( (binary_expression "local_94 == (hash_table *)0x0" identifier == (cast_expression "(hash_table *)0x0" ( (type_descriptor "hash_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_94 = hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc);\n      pFVar2->fts_leaf_optimization_works_ht = local_94;\n      if (local_94 != (Hash_table *)0x0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != (Hash_table *)0x0) &&\n         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)) {\n        _Var4 = p->fts_statp[0].st_dev;\n        uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n        entry[2] = _Var9;\n        *entry = (int)_Var4;\n        entry[1] = uVar3;\n        puVar8 = (undefined4 *)hash_insert(local_94,entry);\n        if (puVar8 == (undefined4 *)0x0) {\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }\n        else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }\n    }" { (expression_statement "local_94 = hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc);" (assignment_expression "local_94 = hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc)" identifier = (call_expression "hash_initialize(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc)" identifier (argument_list "(0xd,(Hash_tuning *)0x0,dev_type_hash,dev_type_compare,\n                                 (Hash_data_freer)PTR_free_00029fcc)" ( number_literal , (cast_expression "(Hash_tuning *)0x0" ( (type_descriptor "Hash_tuning *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , identifier , (cast_expression "(Hash_data_freer)PTR_free_00029fcc" ( (type_descriptor "Hash_data_freer" type_identifier) ) identifier) )))) ;) (expression_statement "pFVar2->fts_leaf_optimization_works_ht = local_94;" (assignment_expression "pFVar2->fts_leaf_optimization_works_ht = local_94" (field_expression "pFVar2->fts_leaf_optimization_works_ht" identifier -> field_identifier) = identifier) ;) (if_statement "if (local_94 != (Hash_table *)0x0) goto LAB_00019f3d;" if (parenthesized_expression "(local_94 != (Hash_table *)0x0)" ( (binary_expression "local_94 != (Hash_table *)0x0" identifier != (cast_expression "(Hash_table *)0x0" ( (type_descriptor "Hash_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00019f3d;" goto statement_identifier ;)) (labeled_statement "LAB_00019fda:\n      if ((dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))\n      goto LAB_00019ff8;" statement_identifier : (if_statement "if ((dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))\n      goto LAB_00019ff8;" if (parenthesized_expression "((dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0))" ( (binary_expression "(dir_fd < 0) ||\n         (iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0)" (parenthesized_expression "(dir_fd < 0)" ( (binary_expression "dir_fd < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0)" ( (comma_expression "iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf), _Var9 = fs_buf.f_type, iVar7 != 0" (assignment_expression "iVar7 = fstatfs64(dir_fd,(statfs64 *)&fs_buf)" identifier = (call_expression "fstatfs64(dir_fd,(statfs64 *)&fs_buf)" identifier (argument_list "(dir_fd,(statfs64 *)&fs_buf)" ( identifier , (cast_expression "(statfs64 *)&fs_buf" ( (type_descriptor "statfs64 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&fs_buf" & identifier)) )))) , (comma_expression "_Var9 = fs_buf.f_type, iVar7 != 0" (assignment_expression "_Var9 = fs_buf.f_type" identifier = (field_expression "fs_buf.f_type" identifier . field_identifier)) , (binary_expression "iVar7 != 0" identifier != number_literal))) ))) )) (goto_statement "goto LAB_00019ff8;" goto statement_identifier ;))) (if_statement "if ((local_94 != (Hash_table *)0x0) &&\n         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)) {\n        _Var4 = p->fts_statp[0].st_dev;\n        uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n        entry[2] = _Var9;\n        *entry = (int)_Var4;\n        entry[1] = uVar3;\n        puVar8 = (undefined4 *)hash_insert(local_94,entry);\n        if (puVar8 == (undefined4 *)0x0) {\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }\n        else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }" if (parenthesized_expression "((local_94 != (Hash_table *)0x0) &&\n         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0))" ( (binary_expression "(local_94 != (Hash_table *)0x0) &&\n         (entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)" (parenthesized_expression "(local_94 != (Hash_table *)0x0)" ( (binary_expression "local_94 != (Hash_table *)0x0" identifier != (cast_expression "(Hash_table *)0x0" ( (type_descriptor "Hash_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0)" ( (comma_expression "entry = (undefined4 *)malloc(0xc), entry != (undefined4 *)0x0" (assignment_expression "entry = (undefined4 *)malloc(0xc)" identifier = (cast_expression "(undefined4 *)malloc(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) , (binary_expression "entry != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        _Var4 = p->fts_statp[0].st_dev;\n        uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n        entry[2] = _Var9;\n        *entry = (int)_Var4;\n        entry[1] = uVar3;\n        puVar8 = (undefined4 *)hash_insert(local_94,entry);\n        if (puVar8 == (undefined4 *)0x0) {\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }\n        else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }\n      }" { (expression_statement "_Var4 = p->fts_statp[0].st_dev;" (assignment_expression "_Var4 = p->fts_statp[0].st_dev" identifier = (field_expression "p->fts_statp[0].st_dev" (subscript_expression "p->fts_statp[0]" (field_expression "p->fts_statp" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);" (assignment_expression "uVar3 = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&p->fts_statp[0].st_dev + 4)" * (cast_expression "(undefined4 *)((int)&p->fts_statp[0].st_dev + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&p->fts_statp[0].st_dev + 4)" ( (binary_expression "(int)&p->fts_statp[0].st_dev + 4" (cast_expression "(int)&p->fts_statp[0].st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p->fts_statp[0].st_dev" & (field_expression "p->fts_statp[0].st_dev" (subscript_expression "p->fts_statp[0]" (field_expression "p->fts_statp" identifier -> field_identifier) [ number_literal ]) . field_identifier))) + number_literal) ))))) ;) (expression_statement "entry[2] = _Var9;" (assignment_expression "entry[2] = _Var9" (subscript_expression "entry[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*entry = (int)_Var4;" (assignment_expression "*entry = (int)_Var4" (pointer_expression "*entry" * identifier) = (cast_expression "(int)_Var4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "entry[1] = uVar3;" (assignment_expression "entry[1] = uVar3" (subscript_expression "entry[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar8 = (undefined4 *)hash_insert(local_94,entry);" (assignment_expression "puVar8 = (undefined4 *)hash_insert(local_94,entry)" identifier = (cast_expression "(undefined4 *)hash_insert(local_94,entry)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "hash_insert(local_94,entry)" identifier (argument_list "(local_94,entry)" ( identifier , identifier ))))) ;) (if_statement "if (puVar8 == (undefined4 *)0x0) {\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }\n        else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }" if (parenthesized_expression "(puVar8 == (undefined4 *)0x0)" ( (binary_expression "puVar8 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(entry);\n          _Var9 = fs_buf.f_type;\n        }" { (expression_statement "free(entry);" (call_expression "free(entry)" identifier (argument_list "(entry)" ( identifier ))) ;) (expression_statement "_Var9 = fs_buf.f_type;" (assignment_expression "_Var9 = fs_buf.f_type" identifier = (field_expression "fs_buf.f_type" identifier . field_identifier)) ;) }) (else_clause "else {\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }" else (compound_statement "{\n          _Var9 = fs_buf.f_type;\n          if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }\n        }" { (expression_statement "_Var9 = fs_buf.f_type;" (assignment_expression "_Var9 = fs_buf.f_type" identifier = (field_expression "fs_buf.f_type" identifier . field_identifier)) ;) (if_statement "if (entry != puVar8) {\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }" if (parenthesized_expression "(entry != puVar8)" ( (binary_expression "entry != puVar8" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            abort();\n          }" { comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) }))) })) }) (else_clause "else {\nLAB_00019f3d:\n      tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;\n      tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n      pvVar5 = hash_lookup(local_94,&tmp);\n      if (pvVar5 == (void *)0x0) goto LAB_00019fda;\n      _Var9 = *(int *)((int)pvVar5 + 8);\n    }" else (compound_statement "{\nLAB_00019f3d:\n      tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;\n      tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);\n      pvVar5 = hash_lookup(local_94,&tmp);\n      if (pvVar5 == (void *)0x0) goto LAB_00019fda;\n      _Var9 = *(int *)((int)pvVar5 + 8);\n    }" { (labeled_statement "LAB_00019f3d:\n      tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;" statement_identifier : (expression_statement "tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev;" (assignment_expression "tmp.st_dev._0_4_ = (undefined4)p->fts_statp[0].st_dev" (field_expression "tmp.st_dev._0_4_" (field_expression "tmp.st_dev" identifier . field_identifier) . field_identifier) = (cast_expression "(undefined4)p->fts_statp[0].st_dev" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "p->fts_statp[0].st_dev" (subscript_expression "p->fts_statp[0]" (field_expression "p->fts_statp" identifier -> field_identifier) [ number_literal ]) . field_identifier))) ;)) (expression_statement "tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4);" (assignment_expression "tmp.st_dev._4_4_ = *(undefined4 *)((int)&p->fts_statp[0].st_dev + 4)" (field_expression "tmp.st_dev._4_4_" (field_expression "tmp.st_dev" identifier . field_identifier) . field_identifier) = (pointer_expression "*(undefined4 *)((int)&p->fts_statp[0].st_dev + 4)" * (cast_expression "(undefined4 *)((int)&p->fts_statp[0].st_dev + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&p->fts_statp[0].st_dev + 4)" ( (binary_expression "(int)&p->fts_statp[0].st_dev + 4" (cast_expression "(int)&p->fts_statp[0].st_dev" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p->fts_statp[0].st_dev" & (field_expression "p->fts_statp[0].st_dev" (subscript_expression "p->fts_statp[0]" (field_expression "p->fts_statp" identifier -> field_identifier) [ number_literal ]) . field_identifier))) + number_literal) ))))) ;) (expression_statement "pvVar5 = hash_lookup(local_94,&tmp);" (assignment_expression "pvVar5 = hash_lookup(local_94,&tmp)" identifier = (call_expression "hash_lookup(local_94,&tmp)" identifier (argument_list "(local_94,&tmp)" ( identifier , (pointer_expression "&tmp" & identifier) )))) ;) (if_statement "if (pvVar5 == (void *)0x0) goto LAB_00019fda;" if (parenthesized_expression "(pvVar5 == (void *)0x0)" ( (binary_expression "pvVar5 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00019fda;" goto statement_identifier ;)) (expression_statement "_Var9 = *(int *)((int)pvVar5 + 8);" (assignment_expression "_Var9 = *(int *)((int)pvVar5 + 8)" identifier = (pointer_expression "*(int *)((int)pvVar5 + 8)" * (cast_expression "(int *)((int)pvVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar5 + 8)" ( (binary_expression "(int)pvVar5 + 8" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }))) (if_statement "if (_Var9 != 0x9fa0) {\n      if (_Var9 < 0x9fa1) {\n        if ((_Var9 != 0) && (_Var9 != 0x6969)) {\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }\n      }\n      else if (_Var9 != 0x5346414f) {\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }\n    }" if (parenthesized_expression "(_Var9 != 0x9fa0)" ( (binary_expression "_Var9 != 0x9fa0" identifier != number_literal) )) (compound_statement "{\n      if (_Var9 < 0x9fa1) {\n        if ((_Var9 != 0) && (_Var9 != 0x6969)) {\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }\n      }\n      else if (_Var9 != 0x5346414f) {\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }\n    }" { (if_statement "if (_Var9 < 0x9fa1) {\n        if ((_Var9 != 0) && (_Var9 != 0x6969)) {\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }\n      }\n      else if (_Var9 != 0x5346414f) {\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }" if (parenthesized_expression "(_Var9 < 0x9fa1)" ( (binary_expression "_Var9 < 0x9fa1" identifier < number_literal) )) (compound_statement "{\n        if ((_Var9 != 0) && (_Var9 != 0x6969)) {\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }\n      }" { (if_statement "if ((_Var9 != 0) && (_Var9 != 0x6969)) {\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }" if (parenthesized_expression "((_Var9 != 0) && (_Var9 != 0x6969))" ( (binary_expression "(_Var9 != 0) && (_Var9 != 0x6969)" (parenthesized_expression "(_Var9 != 0)" ( (binary_expression "_Var9 != 0" identifier != number_literal) )) && (parenthesized_expression "(_Var9 != 0x6969)" ( (binary_expression "_Var9 != 0x6969" identifier != number_literal) ))) )) (compound_statement "{\n          lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);\n          goto LAB_00019ffa;\n        }" { (expression_statement "lVar6 = (leaf_optimization)(_Var9 != -0xacb2be);" (assignment_expression "lVar6 = (leaf_optimization)(_Var9 != -0xacb2be)" identifier = (call_expression "(leaf_optimization)(_Var9 != -0xacb2be)" (parenthesized_expression "(leaf_optimization)" ( identifier )) (argument_list "(_Var9 != -0xacb2be)" ( (binary_expression "_Var9 != -0xacb2be" identifier != number_literal) )))) ;) (goto_statement "goto LAB_00019ffa;" goto statement_identifier ;) })) }) (else_clause "else if (_Var9 != 0x5346414f) {\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }" else (if_statement "if (_Var9 != 0x5346414f) {\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }" if (parenthesized_expression "(_Var9 != 0x5346414f)" ( (binary_expression "_Var9 != 0x5346414f" identifier != number_literal) )) (compound_statement "{\n        lVar6 = NOSTAT_LEAF_OPTIMIZATION;\n        if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }\n        goto LAB_00019ffa;\n      }" { (expression_statement "lVar6 = NOSTAT_LEAF_OPTIMIZATION;" (assignment_expression "lVar6 = NOSTAT_LEAF_OPTIMIZATION" identifier = identifier) ;) (if_statement "if (_Var9 != 0x58465342) {\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }" if (parenthesized_expression "(_Var9 != 0x58465342)" ( (binary_expression "_Var9 != 0x58465342" identifier != number_literal) )) (compound_statement "{\n          lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;\n        }" { (expression_statement "lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION;" (assignment_expression "lVar6 = (_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION" identifier = (binary_expression "(_Var9 == 0x52654973) + OK_LEAF_OPTIMIZATION" (parenthesized_expression "(_Var9 == 0x52654973)" ( (binary_expression "_Var9 == 0x52654973" identifier == number_literal) )) + identifier)) ;) })) (goto_statement "goto LAB_00019ffa;" goto statement_identifier ;) })))) })) })) (labeled_statement "LAB_00019ff8:\n  lVar6 = NO_LEAF_OPTIMIZATION;" statement_identifier : (expression_statement "lVar6 = NO_LEAF_OPTIMIZATION;" (assignment_expression "lVar6 = NO_LEAF_OPTIMIZATION" identifier = identifier) ;)) (labeled_statement "LAB_00019ffa:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return lVar6;" return identifier ;) })))
(translation_unit "char __regparm3 FUN_00019f00(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *__ptr;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char cVar6;\n  int local_94;\n  undefined4 local_80;\n  undefined4 local_7c;\n  statfs64 local_74;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19f0d;\n  iVar3 = *(int *)(param_1 + 0x2c);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  cVar6 = '\0';\nLAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00021780();\n  }\n  return cVar6;\n}\n\n" (function_definition "char __regparm3 FUN_00019f00(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *__ptr;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char cVar6;\n  int local_94;\n  undefined4 local_80;\n  undefined4 local_7c;\n  statfs64 local_74;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19f0d;\n  iVar3 = *(int *)(param_1 + 0x2c);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  cVar6 = '\0';\nLAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00021780();\n  }\n  return cVar6;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00019f00(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *__ptr;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char cVar6;\n  int local_94;\n  undefined4 local_80;\n  undefined4 local_7c;\n  statfs64 local_74;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19f0d;\n  iVar3 = *(int *)(param_1 + 0x2c);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  cVar6 = '\0';\nLAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00021780();\n  }\n  return cVar6;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "int local_94;" primitive_type identifier ;) (declaration "undefined4 local_80;" type_identifier identifier ;) (declaration "undefined4 local_7c;" type_identifier identifier ;) (declaration "statfs64 local_74;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x19f0d;" (assignment_expression "uStack_14 = 0x19f0d" identifier = number_literal) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x2c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x2c)" identifier = (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }" if (parenthesized_expression "((*(byte *)(iVar3 + 0x2d) & 2) != 0)" ( (binary_expression "(*(byte *)(iVar3 + 0x2d) & 2) != 0" (parenthesized_expression "(*(byte *)(iVar3 + 0x2d) & 2)" ( (binary_expression "*(byte *)(iVar3 + 0x2d) & 2" (pointer_expression "*(byte *)(iVar3 + 0x2d)" * (cast_expression "(byte *)(iVar3 + 0x2d)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2d)" ( (binary_expression "iVar3 + 0x2d" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }" { (expression_statement "local_94 = *(int *)(iVar3 + 0x30);" (assignment_expression "local_94 = *(int *)(iVar3 + 0x30)" identifier = (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }" if (parenthesized_expression "(local_94 == 0)" ( (binary_expression "local_94 == 0" identifier == number_literal) )) (compound_statement "{\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }" { (expression_statement "local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);" (assignment_expression "local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc)" identifier = (call_expression "FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc)" identifier (argument_list "(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc)" ( number_literal , number_literal , identifier , identifier , identifier )))) ;) (expression_statement "*(int *)(iVar3 + 0x30) = local_94;" (assignment_expression "*(int *)(iVar3 + 0x30) = local_94" (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_94 != 0) goto LAB_00019f3d;" if (parenthesized_expression "(local_94 != 0)" ( (binary_expression "local_94 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00019f3d;" goto statement_identifier ;)) (labeled_statement "LAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;" statement_identifier : (if_statement "if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;" if (parenthesized_expression "((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))" ( (binary_expression "(param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0)" (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0)" ( (comma_expression "iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0" (assignment_expression "iVar4 = fstatfs64(param_2,&local_74)" identifier = (call_expression "fstatfs64(param_2,&local_74)" identifier (argument_list "(param_2,&local_74)" ( identifier , (pointer_expression "&local_74" & identifier) )))) , (comma_expression "iVar3 = local_74.f_type, iVar4 != 0" (assignment_expression "iVar3 = local_74.f_type" identifier = (field_expression "local_74.f_type" identifier . field_identifier)) , (binary_expression "iVar4 != 0" identifier != number_literal))) ))) )) (goto_statement "goto LAB_00019ff8;" goto statement_identifier ;))) (if_statement "if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }" if (parenthesized_expression "((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0))" ( (binary_expression "(local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)" (parenthesized_expression "(local_94 != 0)" ( (binary_expression "local_94 != 0" identifier != number_literal) )) && (parenthesized_expression "(__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)" ( (comma_expression "__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0" (assignment_expression "__ptr = (undefined4 *)malloc(0xc)" identifier = (cast_expression "(undefined4 *)malloc(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) , (binary_expression "__ptr != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x44);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x44)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x44)" * (cast_expression "(undefined4 *)(param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "__ptr[2] = iVar3;" (assignment_expression "__ptr[2] = iVar3" (subscript_expression "__ptr[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*__ptr = uVar1;" (assignment_expression "*__ptr = uVar1" (pointer_expression "*__ptr" * identifier) = identifier) ;) (expression_statement "__ptr[1] = uVar2;" (assignment_expression "__ptr[1] = uVar2" (subscript_expression "__ptr[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);" (assignment_expression "puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr)" identifier = (cast_expression "(undefined4 *)FUN_000155b0(local_94,__ptr)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000155b0(local_94,__ptr)" identifier (argument_list "(local_94,__ptr)" ( identifier , identifier ))))) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }" { (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "iVar3 = local_74.f_type;" (assignment_expression "iVar3 = local_74.f_type" identifier = (field_expression "local_74.f_type" identifier . field_identifier)) ;) }) (else_clause "else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }" else (compound_statement "{\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }" { (expression_statement "iVar3 = local_74.f_type;" (assignment_expression "iVar3 = local_74.f_type" identifier = (field_expression "local_74.f_type" identifier . field_identifier)) ;) (if_statement "if (__ptr != puVar5) {\n                    \n            abort();\n          }" if (parenthesized_expression "(__ptr != puVar5)" ( (binary_expression "__ptr != puVar5" identifier != identifier) )) (compound_statement "{\n                    \n            abort();\n          }" { (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })) }))) })) }) (else_clause "else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }" else (compound_statement "{\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }" { (labeled_statement "LAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);" statement_identifier : (expression_statement "local_80 = *(undefined4 *)(param_1 + 0x44);" (assignment_expression "local_80 = *(undefined4 *)(param_1 + 0x44)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x44)" * (cast_expression "(undefined4 *)(param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) ;)) (expression_statement "local_7c = *(undefined4 *)(param_1 + 0x48);" (assignment_expression "local_7c = *(undefined4 *)(param_1 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = FUN_000149c0(local_94,&local_80);" (assignment_expression "iVar3 = FUN_000149c0(local_94,&local_80)" identifier = (call_expression "FUN_000149c0(local_94,&local_80)" identifier (argument_list "(local_94,&local_80)" ( identifier , (pointer_expression "&local_80" & identifier) )))) ;) (if_statement "if (iVar3 == 0) goto LAB_00019fda;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00019fda;" goto statement_identifier ;)) (expression_statement "iVar3 = *(int *)(iVar3 + 8);" (assignment_expression "iVar3 = *(int *)(iVar3 + 8)" identifier = (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }" if (parenthesized_expression "(iVar3 != 0x9fa0)" ( (binary_expression "iVar3 != 0x9fa0" identifier != number_literal) )) (compound_statement "{\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }" { (if_statement "if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" if (parenthesized_expression "(iVar3 < 0x9fa1)" ( (binary_expression "iVar3 < 0x9fa1" identifier < number_literal) )) (compound_statement "{\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }" { (if_statement "if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }" if (parenthesized_expression "((iVar3 != 0) && (iVar3 != 0x6969))" ( (binary_expression "(iVar3 != 0) && (iVar3 != 0x6969)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 != 0x6969)" ( (binary_expression "iVar3 != 0x6969" identifier != number_literal) ))) )) (compound_statement "{\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }" { (expression_statement "cVar6 = iVar3 != -0xacb2be;" (assignment_expression "cVar6 = iVar3 != -0xacb2be" identifier = (binary_expression "iVar3 != -0xacb2be" identifier != number_literal)) ;) (goto_statement "goto LAB_00019ffa;" goto statement_identifier ;) })) }) (else_clause "else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" else (if_statement "if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" if (parenthesized_expression "(iVar3 != 0x5346414f)" ( (binary_expression "iVar3 != 0x5346414f" identifier != number_literal) )) (compound_statement "{\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" { (expression_statement "cVar6 = '\x02';" (assignment_expression "cVar6 = '\x02'" identifier = (char_literal "'\x02'" ' escape_sequence ')) ;) (if_statement "if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }" if (parenthesized_expression "(iVar3 != 0x58465342)" ( (binary_expression "iVar3 != 0x58465342" identifier != number_literal) )) (compound_statement "{\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }" { (expression_statement "cVar6 = (iVar3 == 0x52654973) + '\x01';" (assignment_expression "cVar6 = (iVar3 == 0x52654973) + '\x01'" identifier = (binary_expression "(iVar3 == 0x52654973) + '\x01'" (parenthesized_expression "(iVar3 == 0x52654973)" ( (binary_expression "iVar3 == 0x52654973" identifier == number_literal) )) + (char_literal "'\x01'" ' escape_sequence '))) ;) })) (goto_statement "goto LAB_00019ffa;" goto statement_identifier ;) })))) })) })) (labeled_statement "LAB_00019ff8:\n  cVar6 = '\0';" statement_identifier : (expression_statement "cVar6 = '\0';" (assignment_expression "cVar6 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;)) (labeled_statement "LAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00021780();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00021780();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00021780();\n  }" { (expression_statement "FUN_00021780();" (call_expression "FUN_00021780()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return cVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (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 { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (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) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (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 ( IDENT , (pointer_expression & IDENT) )))) , (comma_expression (assignment_expression IDENT = (field_expression IDENT . field_identifier)) , (binary_expression IDENT != LIT))) ))) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (field_expression IDENT . field_identifier)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (field_expression IDENT . field_identifier)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }))) })) }) (else_clause else (compound_statement { (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) ))))) ;)) (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 = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (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) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (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 = (binary_expression IDENT != LIT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) + (char_literal ' escape_sequence '))) ;) })) (goto_statement goto statement_identifier ;) })))) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "char __regparm3 FUN_00019f00(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *__ptr;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char cVar6;\n  int local_94;\n  undefined4 local_80;\n  undefined4 local_7c;\n  statfs64 local_74;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19f0d;\n  iVar3 = *(int *)(param_1 + 0x2c);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  cVar6 = '\0';\nLAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00021780();\n  }\n  return cVar6;\n}" (primitive_type "char") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00019f00(int param_1,int param_2)" (identifier "FUN_00019f00") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 *__ptr;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char cVar6;\n  int local_94;\n  undefined4 local_80;\n  undefined4 local_7c;\n  statfs64 local_74;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19f0d;\n  iVar3 = *(int *)(param_1 + 0x2c);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }\nLAB_00019ff8:\n  cVar6 = '\0';\nLAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00021780();\n  }\n  return cVar6;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *__ptr;" (type_identifier "undefined4") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "char cVar6;" (primitive_type "char") (identifier "cVar6") (; ";")) (declaration "int local_94;" (primitive_type "int") (identifier "local_94") (; ";")) (declaration "undefined4 local_80;" (type_identifier "undefined4") (identifier "local_80") (; ";")) (declaration "undefined4 local_7c;" (type_identifier "undefined4") (identifier "local_7c") (; ";")) (declaration "statfs64 local_74;" (type_identifier "statfs64") (identifier "local_74") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x19f0d;" (assignment_expression "uStack_14 = 0x19f0d" (identifier "uStack_14") (= "=") (number_literal "0x19f0d")) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x2c);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x2c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }" (if "if") (parenthesized_expression "((*(byte *)(iVar3 + 0x2d) & 2) != 0)" (( "(") (binary_expression "(*(byte *)(iVar3 + 0x2d) & 2) != 0" (parenthesized_expression "(*(byte *)(iVar3 + 0x2d) & 2)" (( "(") (binary_expression "*(byte *)(iVar3 + 0x2d) & 2" (pointer_expression "*(byte *)(iVar3 + 0x2d)" (* "*") (cast_expression "(byte *)(iVar3 + 0x2d)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2d)" (( "(") (binary_expression "iVar3 + 0x2d" (identifier "iVar3") (+ "+") (number_literal "0x2d")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_94 = *(int *)(iVar3 + 0x30);\n    if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }\n    if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }\n  }" ({ "{") (expression_statement "local_94 = *(int *)(iVar3 + 0x30);" (assignment_expression "local_94 = *(int *)(iVar3 + 0x30)" (identifier "local_94") (= "=") (pointer_expression "*(int *)(iVar3 + 0x30)" (* "*") (cast_expression "(int *)(iVar3 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x30)" (( "(") (binary_expression "iVar3 + 0x30" (identifier "iVar3") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (local_94 == 0) {\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }\n    else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }" (if "if") (parenthesized_expression "(local_94 == 0)" (( "(") (binary_expression "local_94 == 0" (identifier "local_94") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);\n      *(int *)(iVar3 + 0x30) = local_94;\n      if (local_94 != 0) goto LAB_00019f3d;\nLAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;\n      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }\n    }" ({ "{") (expression_statement "local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);" (assignment_expression "local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc)" (identifier "local_94") (= "=") (call_expression "FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc)" (identifier "FUN_00014c70") (argument_list "(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc)" (( "(") (number_literal "0xd") (, ",") (number_literal "0") (, ",") (identifier "FUN_00019910") (, ",") (identifier "FUN_00019940") (, ",") (identifier "PTR_free_00029fcc") () ")")))) (; ";")) (expression_statement "*(int *)(iVar3 + 0x30) = local_94;" (assignment_expression "*(int *)(iVar3 + 0x30) = local_94" (pointer_expression "*(int *)(iVar3 + 0x30)" (* "*") (cast_expression "(int *)(iVar3 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x30)" (( "(") (binary_expression "iVar3 + 0x30" (identifier "iVar3") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "local_94")) (; ";")) (if_statement "if (local_94 != 0) goto LAB_00019f3d;" (if "if") (parenthesized_expression "(local_94 != 0)" (( "(") (binary_expression "local_94 != 0" (identifier "local_94") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00019f3d;" (goto "goto") (statement_identifier "LAB_00019f3d") (; ";"))) (labeled_statement "LAB_00019fda:\n      if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;" (statement_identifier "LAB_00019fda") (: ":") (if_statement "if ((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))\n      goto LAB_00019ff8;" (if "if") (parenthesized_expression "((param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))" (( "(") (binary_expression "(param_2 < 0) ||\n         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0)" (parenthesized_expression "(param_2 < 0)" (( "(") (binary_expression "param_2 < 0" (identifier "param_2") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0)" (( "(") (comma_expression "iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0" (assignment_expression "iVar4 = fstatfs64(param_2,&local_74)" (identifier "iVar4") (= "=") (call_expression "fstatfs64(param_2,&local_74)" (identifier "fstatfs64") (argument_list "(param_2,&local_74)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_74" (& "&") (identifier "local_74")) () ")")))) (, ",") (comma_expression "iVar3 = local_74.f_type, iVar4 != 0" (assignment_expression "iVar3 = local_74.f_type" (identifier "iVar3") (= "=") (field_expression "local_74.f_type" (identifier "local_74") (. ".") (field_identifier "f_type"))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")))) () ")"))) () ")")) (goto_statement "goto LAB_00019ff8;" (goto "goto") (statement_identifier "LAB_00019ff8") (; ";")))) (if_statement "if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }" (if "if") (parenthesized_expression "((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0))" (( "(") (binary_expression "(local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)" (parenthesized_expression "(local_94 != 0)" (( "(") (binary_expression "local_94 != 0" (identifier "local_94") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)" (( "(") (comma_expression "__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0" (assignment_expression "__ptr = (undefined4 *)malloc(0xc)" (identifier "__ptr") (= "=") (cast_expression "(undefined4 *)malloc(0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(0xc)" (identifier "malloc") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (, ",") (binary_expression "__ptr != (undefined4 *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n        uVar1 = *(undefined4 *)(param_1 + 0x44);\n        uVar2 = *(undefined4 *)(param_1 + 0x48);\n        __ptr[2] = iVar3;\n        *__ptr = uVar1;\n        __ptr[1] = uVar2;\n        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);\n        if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }\n      }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x44);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x44)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x44)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x48)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (expression_statement "__ptr[2] = iVar3;" (assignment_expression "__ptr[2] = iVar3" (subscript_expression "__ptr[2]" (identifier "__ptr") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*__ptr = uVar1;" (assignment_expression "*__ptr = uVar1" (pointer_expression "*__ptr" (* "*") (identifier "__ptr")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "__ptr[1] = uVar2;" (assignment_expression "__ptr[1] = uVar2" (subscript_expression "__ptr[1]" (identifier "__ptr") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);" (assignment_expression "puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)FUN_000155b0(local_94,__ptr)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000155b0(local_94,__ptr)" (identifier "FUN_000155b0") (argument_list "(local_94,__ptr)" (( "(") (identifier "local_94") (, ",") (identifier "__ptr") () ")"))))) (; ";")) (if_statement "if (puVar5 == (undefined4 *)0x0) {\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }\n        else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }" (if "if") (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 == (undefined4 *)0x0" (identifier "puVar5") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          free(__ptr);\n          iVar3 = local_74.f_type;\n        }" ({ "{") (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "iVar3 = local_74.f_type;" (assignment_expression "iVar3 = local_74.f_type" (identifier "iVar3") (= "=") (field_expression "local_74.f_type" (identifier "local_74") (. ".") (field_identifier "f_type"))) (; ";")) (} "}")) (else_clause "else {\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }" (else "else") (compound_statement "{\n          iVar3 = local_74.f_type;\n          if (__ptr != puVar5) {\n                    \n            abort();\n          }\n        }" ({ "{") (expression_statement "iVar3 = local_74.f_type;" (assignment_expression "iVar3 = local_74.f_type" (identifier "iVar3") (= "=") (field_expression "local_74.f_type" (identifier "local_74") (. ".") (field_identifier "f_type"))) (; ";")) (if_statement "if (__ptr != puVar5) {\n                    \n            abort();\n          }" (if "if") (parenthesized_expression "(__ptr != puVar5)" (( "(") (binary_expression "__ptr != puVar5" (identifier "__ptr") (!= "!=") (identifier "puVar5")) () ")")) (compound_statement "{\n                    \n            abort();\n          }" ({ "{") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")))) (} "}"))) (} "}")) (else_clause "else {\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }" (else "else") (compound_statement "{\nLAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);\n      local_7c = *(undefined4 *)(param_1 + 0x48);\n      iVar3 = FUN_000149c0(local_94,&local_80);\n      if (iVar3 == 0) goto LAB_00019fda;\n      iVar3 = *(int *)(iVar3 + 8);\n    }" ({ "{") (labeled_statement "LAB_00019f3d:\n      local_80 = *(undefined4 *)(param_1 + 0x44);" (statement_identifier "LAB_00019f3d") (: ":") (expression_statement "local_80 = *(undefined4 *)(param_1 + 0x44);" (assignment_expression "local_80 = *(undefined4 *)(param_1 + 0x44)" (identifier "local_80") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x44)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")"))))) (; ";"))) (expression_statement "local_7c = *(undefined4 *)(param_1 + 0x48);" (assignment_expression "local_7c = *(undefined4 *)(param_1 + 0x48)" (identifier "local_7c") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (expression_statement "iVar3 = FUN_000149c0(local_94,&local_80);" (assignment_expression "iVar3 = FUN_000149c0(local_94,&local_80)" (identifier "iVar3") (= "=") (call_expression "FUN_000149c0(local_94,&local_80)" (identifier "FUN_000149c0") (argument_list "(local_94,&local_80)" (( "(") (identifier "local_94") (, ",") (pointer_expression "&local_80" (& "&") (identifier "local_80")) () ")")))) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_00019fda;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00019fda;" (goto "goto") (statement_identifier "LAB_00019fda") (; ";"))) (expression_statement "iVar3 = *(int *)(iVar3 + 8);" (assignment_expression "iVar3 = *(int *)(iVar3 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar3 != 0x9fa0) {\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }" (if "if") (parenthesized_expression "(iVar3 != 0x9fa0)" (( "(") (binary_expression "iVar3 != 0x9fa0" (identifier "iVar3") (!= "!=") (number_literal "0x9fa0")) () ")")) (compound_statement "{\n      if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }\n    }" ({ "{") (if_statement "if (iVar3 < 0x9fa1) {\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }\n      else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" (if "if") (parenthesized_expression "(iVar3 < 0x9fa1)" (( "(") (binary_expression "iVar3 < 0x9fa1" (identifier "iVar3") (< "<") (number_literal "0x9fa1")) () ")")) (compound_statement "{\n        if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }\n      }" ({ "{") (if_statement "if ((iVar3 != 0) && (iVar3 != 0x6969)) {\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }" (if "if") (parenthesized_expression "((iVar3 != 0) && (iVar3 != 0x6969))" (( "(") (binary_expression "(iVar3 != 0) && (iVar3 != 0x6969)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 != 0x6969)" (( "(") (binary_expression "iVar3 != 0x6969" (identifier "iVar3") (!= "!=") (number_literal "0x6969")) () ")"))) () ")")) (compound_statement "{\n          cVar6 = iVar3 != -0xacb2be;\n          goto LAB_00019ffa;\n        }" ({ "{") (expression_statement "cVar6 = iVar3 != -0xacb2be;" (assignment_expression "cVar6 = iVar3 != -0xacb2be" (identifier "cVar6") (= "=") (binary_expression "iVar3 != -0xacb2be" (identifier "iVar3") (!= "!=") (number_literal "-0xacb2be"))) (; ";")) (goto_statement "goto LAB_00019ffa;" (goto "goto") (statement_identifier "LAB_00019ffa") (; ";")) (} "}"))) (} "}")) (else_clause "else if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" (else "else") (if_statement "if (iVar3 != 0x5346414f) {\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" (if "if") (parenthesized_expression "(iVar3 != 0x5346414f)" (( "(") (binary_expression "iVar3 != 0x5346414f" (identifier "iVar3") (!= "!=") (number_literal "0x5346414f")) () ")")) (compound_statement "{\n        cVar6 = '\x02';\n        if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }\n        goto LAB_00019ffa;\n      }" ({ "{") (expression_statement "cVar6 = '\x02';" (assignment_expression "cVar6 = '\x02'" (identifier "cVar6") (= "=") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) (; ";")) (if_statement "if (iVar3 != 0x58465342) {\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }" (if "if") (parenthesized_expression "(iVar3 != 0x58465342)" (( "(") (binary_expression "iVar3 != 0x58465342" (identifier "iVar3") (!= "!=") (number_literal "0x58465342")) () ")")) (compound_statement "{\n          cVar6 = (iVar3 == 0x52654973) + '\x01';\n        }" ({ "{") (expression_statement "cVar6 = (iVar3 == 0x52654973) + '\x01';" (assignment_expression "cVar6 = (iVar3 == 0x52654973) + '\x01'" (identifier "cVar6") (= "=") (binary_expression "(iVar3 == 0x52654973) + '\x01'" (parenthesized_expression "(iVar3 == 0x52654973)" (( "(") (binary_expression "iVar3 == 0x52654973" (identifier "iVar3") (== "==") (number_literal "0x52654973")) () ")")) (+ "+") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'")))) (; ";")) (} "}"))) (goto_statement "goto LAB_00019ffa;" (goto "goto") (statement_identifier "LAB_00019ffa") (; ";")) (} "}"))))) (} "}"))) (} "}"))) (labeled_statement "LAB_00019ff8:\n  cVar6 = '\0';" (statement_identifier "LAB_00019ff8") (: ":") (expression_statement "cVar6 = '\0';" (assignment_expression "cVar6 = '\0'" (identifier "cVar6") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";"))) (labeled_statement "LAB_00019ffa:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00021780();\n  }" (statement_identifier "LAB_00019ffa") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00021780();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00021780();\n  }" ({ "{") (expression_statement "FUN_00021780();" (call_expression "FUN_00021780()" (identifier "FUN_00021780") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return cVar6;" (return "return") (identifier "cVar6") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

type_1 __regparm3 type_1(type_2 *p,int var_4)

{
  int var_17;
  type_3 *pFVar2;
  type_4 uVar3;
  type_5 _Var4;
  void *var_14;
  type_1 lVar6;
  int var_6;
  type_4 *var_8;
  type_4 *var_10;
  type_6 var_15;
  int var_1;
  type_7 *var_2;
  type_8 tmp;
  type_9 fs_buf;
  
  pFVar2 = p->fts_fts;
  var_17 = *(int *)(var_1 + 0x14);
  if ((pFVar2->fts_options & 0x200) != 0) {
    var_2 = pFVar2->fts_leaf_optimization_works_ht;
    if (var_2 == (type_10 *)0x0) {
      var_2 = var_3(0xd,(type_11 *)0x0,dev_type_hash,dev_type_compare,
                                 (type_12)PTR_free_00029fcc);
      pFVar2->fts_leaf_optimization_works_ht = var_2;
      if (var_2 != (type_7 *)0x0) goto LAB_00019f3d;
LAB_00019fda:
      if ((var_4 < 0) ||
         (var_6 = var_5(var_4,(type_13 *)&fs_buf), var_15 = fs_buf.f_type, var_6 != 0))
      goto LAB_00019ff8;
      if ((var_2 != (type_7 *)0x0) &&
         (var_8 = (type_4 *)var_7(0xc), var_8 != (type_4 *)0x0)) {
        _Var4 = p->fts_statp[0].st_dev;
        uVar3 = *(type_4 *)((int)&p->fts_statp[0].st_dev + 4);
        var_8[2] = var_15;
        *var_8 = (int)_Var4;
        var_8[1] = uVar3;
        var_10 = (type_4 *)var_9(var_2,var_8);
        if (var_10 == (type_4 *)0x0) {
          var_11(var_8);
          var_15 = fs_buf.f_type;
        }
        else {
          var_15 = fs_buf.f_type;
          if (var_8 != var_10) {
                    /* WARNING: Subroutine does not return */
            var_12();
          }
        }
      }
    }
    else {
LAB_00019f3d:
      tmp.st_dev._0_4_ = (type_4)p->fts_statp[0].st_dev;
      tmp.st_dev._4_4_ = *(type_4 *)((int)&p->fts_statp[0].st_dev + 4);
      var_14 = var_13(var_2,&tmp);
      if (var_14 == (void *)0x0) goto LAB_00019fda;
      var_15 = *(int *)((int)var_14 + 8);
    }
    if (var_15 != 0x9fa0) {
      if (var_15 < 0x9fa1) {
        if ((var_15 != 0) && (var_15 != 0x6969)) {
          lVar6 = (type_1)(var_15 != -0xacb2be);
          goto LAB_00019ffa;
        }
      }
      else if (var_15 != 0x5346414f) {
        lVar6 = NOSTAT_LEAF_OPTIMIZATION;
        if (var_15 != 0x58465342) {
          lVar6 = (var_15 == 0x52654973) + var_16;
        }
        goto LAB_00019ffa;
      }
    }
  }
LAB_00019ff8:
  lVar6 = NO_LEAF_OPTIMIZATION;
LAB_00019ffa:
  if (var_17 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_18();
  }
  return lVar6;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_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))))))) (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: (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))) 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))))))) (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: (identifier) arguments: (argument_list (number_literal) (number_literal) (identifier) (identifier) (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_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 (identifier) (pointer_expression argument: (identifier))))) right: (comma_expression left: (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier))) right: (binary_expression left: (identifier) right: (number_literal))))))) consequence: (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (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: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (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 (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: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (char_literal (escape_sequence))))))) (goto_statement label: (statement_identifier)))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char __regparm3 MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  undefined4 *__ptr;
  undefined4 *puVar5;
  int in_GS_OFFSET;
  char cVar6;
  int local_94;
  undefined4 local_80;
  undefined4 local_7c;
  statfs64 local_74;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x19f0d;
  iVar3 = *(int *)(param_1 + 0x2c);
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(byte *)(iVar3 + 0x2d) & 2) != 0) {
    local_94 = *(int *)(iVar3 + 0x30);
    if (local_94 == 0) {
      local_94 = FUN_00014c70(0xd,0,FUN_00019910,FUN_00019940,PTR_free_00029fcc);
      *(int *)(iVar3 + 0x30) = local_94;
      if (local_94 != 0) goto LAB_00019f3d;
LAB_00019fda:
      if ((param_2 < 0) ||
         (iVar4 = fstatfs64(param_2,&local_74), iVar3 = local_74.f_type, iVar4 != 0))
      goto LAB_00019ff8;
      if ((local_94 != 0) && (__ptr = (undefined4 *)malloc(0xc), __ptr != (undefined4 *)0x0)) {
        uVar1 = *(undefined4 *)(param_1 + 0x44);
        uVar2 = *(undefined4 *)(param_1 + 0x48);
        __ptr[2] = iVar3;
        *__ptr = uVar1;
        __ptr[1] = uVar2;
        puVar5 = (undefined4 *)FUN_000155b0(local_94,__ptr);
        if (puVar5 == (undefined4 *)0x0) {
          free(__ptr);
          iVar3 = local_74.f_type;
        }
        else {
          iVar3 = local_74.f_type;
          if (__ptr != puVar5) {
                    /* WARNING: Subroutine does not return */
            abort();
          }
        }
      }
    }
    else {
LAB_00019f3d:
      local_80 = *(undefined4 *)(param_1 + 0x44);
      local_7c = *(undefined4 *)(param_1 + 0x48);
      iVar3 = FUN_000149c0(local_94,&local_80);
      if (iVar3 == 0) goto LAB_00019fda;
      iVar3 = *(int *)(iVar3 + 8);
    }
    if (iVar3 != 0x9fa0) {
      if (iVar3 < 0x9fa1) {
        if ((iVar3 != 0) && (iVar3 != 0x6969)) {
          cVar6 = iVar3 != -0xacb2be;
          goto LAB_00019ffa;
        }
      }
      else if (iVar3 != 0x5346414f) {
        cVar6 = '\x02';
        if (iVar3 != 0x58465342) {
          cVar6 = (iVar3 == 0x52654973) + '\x01';
        }
        goto LAB_00019ffa;
      }
    }
  }
LAB_00019ff8:
  cVar6 = '\0';
LAB_00019ffa:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00021780();
  }
  return cVar6;
}

