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

_Bool parse_fstype(parser_table *entry,char **argv,int *arg_ptr)

{
  int iVar1;
  char *name;
  float fVar2;
  _Bool _Var3;
  predicate *ppVar4;
  int iVar5;
  char *__s2;
  int in_GS_OFFSET;
  stat dir_stat;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (argv == (char **)0x0) {
    _Var3 = false;
  }
  else {
    name = argv[*arg_ptr];
    _Var3 = false;
    if (name != (char *)0x0) {
      *arg_ptr = *arg_ptr + 1;
      if ((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)) {
        ppVar4 = insert_primary(entry,name);
        (ppVar4->args).str = name;
        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);
        if (iVar5 == 0) {
          __s2 = filesystem_type(&dir_stat,"/");
          iVar5 = strcmp(name,__s2);
          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;
          if (iVar5 != 0) {
            fVar2 = DAT_00052b30;
          }
        }
        else {
          fVar2 = 1.0;
        }
        ppVar4->est_success_rate = fVar2;
        _Var3 = true;
      }
      else {
        if (((byte)options.debug_options & 8) != 0) {
          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,
                        "-fstype %s can never succeed, substituting -false\n",name);
        }
        _Var3 = insert_false();
      }
    }
  }
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return _Var3;
}



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

undefined4 FUN_00021fc0(undefined4 param_1,int param_2,int *param_3)

{
  char *__s1;
  char cVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  char *__s2;
  int in_GS_OFFSET;
  stat64 local_80;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x21fc9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_2 == 0) {
    uVar2 = 0;
  }
  else {
    __s1 = *(char **)(param_2 + *param_3 * 4);
    uVar2 = 0;
    if (__s1 != (char *)0x0) {
      *param_3 = *param_3 + 1;
      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {
        iVar3 = FUN_0001a5f0(param_1,__s1);
        *(char **)(iVar3 + 0x28) = __s1;
        iVar4 = __xstat64(3,"/",&local_80);
        if (iVar4 == 0) {
          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);
          iVar4 = strcmp(__s1,__s2);
          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;
          if (iVar4 != 0) {
            uVar2 = DAT_00052b30;
          }
        }
        else {
          uVar2._0_1_ = '\0';
          uVar2._1_1_ = '\0';
          uVar2._2_1_ = -0x80;
          uVar2._3_1_ = '?';
        }
        *(undefined4 *)(iVar3 + 0x1c) = uVar2;
        uVar2 = 1;
      }
      else {
        if ((DAT_0006bf2c & 8) != 0) {
          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,
                        "-fstype %s can never succeed, substituting -false\n",__s1);
        }
        uVar2 = FUN_00021f70();
      }
    }
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0004e0c0();
  }
  return uVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014d70
ADD EBX,0x48d1f
SUB ESP,0x8c
MOV ESI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x7c],ESI
XOR ESI,ESI
MOV EAX,dword ptr [ESP + 0xa4]
MOV EDI,dword ptr [ESP + 0xa0]
MOV ECX,dword ptr [ESP + 0xa8]
TEST EAX,EAX
JZ 0x000220c0
MOV EDX,dword ptr [ECX]
MOV ESI,dword ptr [EAX + EDX*0x4]
XOR EAX,EAX
TEST ESI,ESI
JZ 0x00022037
LEA EBP,[EBX + 0x1218]
ADD EDX,0x1
MOV dword ptr [ECX],EDX
CMP word ptr [EBP + 0x44],0x1
JBE 0x00022058
SUB ESP,0xc
PUSH ESI
CALL 0x0001dc90
ADD ESP,0x10
TEST AL,AL
JNZ 0x00022058
TEST byte ptr [EBP + 0x2c],0x8
JNZ 0x000220a0
CALL 0x00021f70
MOV ECX,dword ptr [ESP + 0x7c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x00022100
ADD ESP,0x8c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x0001a5f0
ADD ESP,0xc
LEA EDX,[EBX + 0xfffe4ca1]
LEA EBP,[ESP + 0x20]
MOV dword ptr [EAX + 0x28],ESI
MOV EDI,EAX
PUSH EBP
PUSH EDX
MOV dword ptr [ESP + 0x18],EDX
PUSH 0x3
CALL 0x000148e0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JZ 0x000220d0
FLD1
FSTP dword ptr [EDI + 0x1c]
MOV EAX,0x1
JMP 0x00022037
LEA EAX,[EBX + 0xfffe7bb0]
PUSH ESI
PUSH EAX
MOV EAX,dword ptr [EBX + 0x288]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x00014880
ADD ESP,0x10
JMP 0x00022032
XOR EAX,EAX
JMP 0x00022037
SUB ESP,0x8
PUSH EDX
PUSH EBP
CALL 0x0001db30
POP EDX
POP ECX
PUSH EAX
PUSH ESI
CALL 0x000140d0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000220f8
FLD dword ptr [EBX + 0xfffe7e48]
JMP 0x0002208e
FLD dword ptr [EBX + 0xfffe7e5c]
JMP 0x0002208e
CALL 0x0004e0c0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00021fc0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  char *__s1;\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x21fc9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004e0c0();\n  }\n  return uVar2;\n}\n\n" comment (function_definition "undefined4 FUN_00021fc0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  char *__s1;\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x21fc9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004e0c0();\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00021fc0(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x21fc9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004e0c0();\n  }\n  return uVar2;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "stat64 local_80;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x21fc9;" (assignment_expression "uStack_14 = 0x21fc9" 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 (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }" else (compound_statement "{\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }" { (expression_statement "__s1 = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "__s1 = *(char **)(param_2 + *param_3 * 4)" identifier = (pointer_expression "*(char **)(param_2 + *param_3 * 4)" * (cast_expression "(char **)(param_2 + *param_3 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + *param_3 * 4)" ( (binary_expression "param_2 + *param_3 * 4" identifier + (binary_expression "*param_3 * 4" (pointer_expression "*param_3" * identifier) * number_literal)) ))))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }" if (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }" { (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*param_3 + 1" (pointer_expression "*param_3" * identifier) + number_literal)) ;) (if_statement "if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }" if (parenthesized_expression "((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0'))" ( (binary_expression "(DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')" (parenthesized_expression "(DAT_0006bf44 < 2)" ( (binary_expression "DAT_0006bf44 < 2" identifier < number_literal) )) || (parenthesized_expression "(cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')" ( (comma_expression "cVar1 = FUN_0001dc90(__s1), cVar1 != '\0'" (assignment_expression "cVar1 = FUN_0001dc90(__s1)" identifier = (call_expression "FUN_0001dc90(__s1)" identifier (argument_list "(__s1)" ( identifier )))) , (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }" { (expression_statement "iVar3 = FUN_0001a5f0(param_1,__s1);" (assignment_expression "iVar3 = FUN_0001a5f0(param_1,__s1)" identifier = (call_expression "FUN_0001a5f0(param_1,__s1)" identifier (argument_list "(param_1,__s1)" ( identifier , identifier )))) ;) (expression_statement "*(char **)(iVar3 + 0x28) = __s1;" (assignment_expression "*(char **)(iVar3 + 0x28) = __s1" (pointer_expression "*(char **)(iVar3 + 0x28)" * (cast_expression "(char **)(iVar3 + 0x28)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = __xstat64(3,"/",&local_80);" (assignment_expression "iVar4 = __xstat64(3,"/",&local_80)" identifier = (call_expression "__xstat64(3,"/",&local_80)" identifier (argument_list "(3,"/",&local_80)" ( number_literal , (string_literal ""/"" " string_content ") , (pointer_expression "&local_80" & identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }" { (expression_statement "__s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);" (assignment_expression "__s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989)" identifier = (cast_expression "(char *)FUN_0001db30(&local_80,&DAT_0004f989)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001db30(&local_80,&DAT_0004f989)" identifier (argument_list "(&local_80,&DAT_0004f989)" ( (pointer_expression "&local_80" & identifier) , (pointer_expression "&DAT_0004f989" & identifier) ))))) ;) (expression_statement "iVar4 = strcmp(__s1,__s2);" (assignment_expression "iVar4 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;" (assignment_expression "uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_" identifier = (field_expression "s_L_333_Environment_variable__s_is_00052b42._2_4_" identifier . field_identifier)) ;) (if_statement "if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar2 = DAT_00052b30;\n          }" { (expression_statement "uVar2 = DAT_00052b30;" (assignment_expression "uVar2 = DAT_00052b30" identifier = identifier) ;) })) }) (else_clause "else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }" else (compound_statement "{\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }" { (expression_statement "uVar2._0_1_ = '\0';" (assignment_expression "uVar2._0_1_ = '\0'" (field_expression "uVar2._0_1_" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar2._1_1_ = '\0';" (assignment_expression "uVar2._1_1_ = '\0'" (field_expression "uVar2._1_1_" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar2._2_1_ = -0x80;" (assignment_expression "uVar2._2_1_ = -0x80" (field_expression "uVar2._2_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "uVar2._3_1_ = '?';" (assignment_expression "uVar2._3_1_ = '?'" (field_expression "uVar2._3_1_" identifier . field_identifier) = (char_literal "'?'" ' character ')) ;) }))) (expression_statement "*(undefined4 *)(iVar3 + 0x1c) = uVar2;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1c) = uVar2" (pointer_expression "*(undefined4 *)(iVar3 + 0x1c)" * (cast_expression "(undefined4 *)(iVar3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }" else (compound_statement "{\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }" { (if_statement "if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }" if (parenthesized_expression "((DAT_0006bf2c & 8) != 0)" ( (binary_expression "(DAT_0006bf2c & 8) != 0" (parenthesized_expression "(DAT_0006bf2c & 8)" ( (binary_expression "DAT_0006bf2c & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }" { (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1)" identifier (argument_list "(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1)" ( (pointer_expression "*(undefined4 *)PTR_stderr_0006af70" * (cast_expression "(undefined4 *)PTR_stderr_0006af70" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""-fstype %s can never succeed, substituting -false\n"" " string_content escape_sequence ") , identifier ))) ;) })) (expression_statement "uVar2 = FUN_00021f70();" (assignment_expression "uVar2 = FUN_00021f70()" identifier = (call_expression "FUN_00021f70()" identifier (argument_list "()" ( )))) ;) }))) })) }))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004e0c0();\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_0004e0c0();\n  }" { comment (expression_statement "FUN_0004e0c0();" (call_expression "FUN_0004e0c0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\n_Bool parse_fstype(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  int iVar1;\n  char *name;\n  float fVar2;\n  _Bool _Var3;\n  predicate *ppVar4;\n  int iVar5;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat dir_stat;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (argv == (char **)0x0) {\n    _Var3 = false;\n  }\n  else {\n    name = argv[*arg_ptr];\n    _Var3 = false;\n    if (name != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if ((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)) {\n        ppVar4 = insert_primary(entry,name);\n        (ppVar4->args).str = name;\n        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);\n        if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }\n        ppVar4->est_success_rate = fVar2;\n        _Var3 = true;\n      }\n      else {\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }\n    }\n  }\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return _Var3;\n}\n\n" comment comment (function_definition "_Bool parse_fstype(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  int iVar1;\n  char *name;\n  float fVar2;\n  _Bool _Var3;\n  predicate *ppVar4;\n  int iVar5;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat dir_stat;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (argv == (char **)0x0) {\n    _Var3 = false;\n  }\n  else {\n    name = argv[*arg_ptr];\n    _Var3 = false;\n    if (name != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if ((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)) {\n        ppVar4 = insert_primary(entry,name);\n        (ppVar4->args).str = name;\n        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);\n        if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }\n        ppVar4->est_success_rate = fVar2;\n        _Var3 = true;\n      }\n      else {\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }\n    }\n  }\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return _Var3;\n}" type_identifier (function_declarator "parse_fstype(parser_table *entry,char **argv,int *arg_ptr)" identifier (parameter_list "(parser_table *entry,char **argv,int *arg_ptr)" ( (parameter_declaration "parser_table *entry" type_identifier (pointer_declarator "*entry" * identifier)) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "int *arg_ptr" primitive_type (pointer_declarator "*arg_ptr" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *name;\n  float fVar2;\n  _Bool _Var3;\n  predicate *ppVar4;\n  int iVar5;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat dir_stat;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (argv == (char **)0x0) {\n    _Var3 = false;\n  }\n  else {\n    name = argv[*arg_ptr];\n    _Var3 = false;\n    if (name != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if ((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)) {\n        ppVar4 = insert_primary(entry,name);\n        (ppVar4->args).str = name;\n        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);\n        if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }\n        ppVar4->est_success_rate = fVar2;\n        _Var3 = true;\n      }\n      else {\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }\n    }\n  }\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return _Var3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "_Bool _Var3;" type_identifier identifier ;) (declaration "predicate *ppVar4;" type_identifier (pointer_declarator "*ppVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "stat dir_stat;" type_identifier 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 (argv == (char **)0x0) {\n    _Var3 = false;\n  }\n  else {\n    name = argv[*arg_ptr];\n    _Var3 = false;\n    if (name != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if ((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)) {\n        ppVar4 = insert_primary(entry,name);\n        (ppVar4->args).str = name;\n        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);\n        if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }\n        ppVar4->est_success_rate = fVar2;\n        _Var3 = true;\n      }\n      else {\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }\n    }\n  }" if (parenthesized_expression "(argv == (char **)0x0)" ( (binary_expression "argv == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    _Var3 = false;\n  }" { (expression_statement "_Var3 = false;" (assignment_expression "_Var3 = false" identifier = false) ;) }) (else_clause "else {\n    name = argv[*arg_ptr];\n    _Var3 = false;\n    if (name != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if ((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)) {\n        ppVar4 = insert_primary(entry,name);\n        (ppVar4->args).str = name;\n        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);\n        if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }\n        ppVar4->est_success_rate = fVar2;\n        _Var3 = true;\n      }\n      else {\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }\n    }\n  }" else (compound_statement "{\n    name = argv[*arg_ptr];\n    _Var3 = false;\n    if (name != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if ((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)) {\n        ppVar4 = insert_primary(entry,name);\n        (ppVar4->args).str = name;\n        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);\n        if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }\n        ppVar4->est_success_rate = fVar2;\n        _Var3 = true;\n      }\n      else {\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }\n    }\n  }" { (expression_statement "name = argv[*arg_ptr];" (assignment_expression "name = argv[*arg_ptr]" identifier = (subscript_expression "argv[*arg_ptr]" identifier [ (pointer_expression "*arg_ptr" * identifier) ])) ;) (expression_statement "_Var3 = false;" (assignment_expression "_Var3 = false" identifier = false) ;) (if_statement "if (name != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      if ((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)) {\n        ppVar4 = insert_primary(entry,name);\n        (ppVar4->args).str = name;\n        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);\n        if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }\n        ppVar4->est_success_rate = fVar2;\n        _Var3 = true;\n      }\n      else {\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }\n    }" if (parenthesized_expression "(name != (char *)0x0)" ( (binary_expression "name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *arg_ptr = *arg_ptr + 1;\n      if ((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)) {\n        ppVar4 = insert_primary(entry,name);\n        (ppVar4->args).str = name;\n        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);\n        if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }\n        ppVar4->est_success_rate = fVar2;\n        _Var3 = true;\n      }\n      else {\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }\n    }" { (expression_statement "*arg_ptr = *arg_ptr + 1;" (assignment_expression "*arg_ptr = *arg_ptr + 1" (pointer_expression "*arg_ptr" * identifier) = (binary_expression "*arg_ptr + 1" (pointer_expression "*arg_ptr" * identifier) + number_literal)) ;) (if_statement "if ((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)) {\n        ppVar4 = insert_primary(entry,name);\n        (ppVar4->args).str = name;\n        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);\n        if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }\n        ppVar4->est_success_rate = fVar2;\n        _Var3 = true;\n      }\n      else {\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }" if (parenthesized_expression "((options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3))" ( (binary_expression "(options.optimisation_level < 2) || (_Var3 = is_used_fs_type(name), _Var3)" (parenthesized_expression "(options.optimisation_level < 2)" ( (binary_expression "options.optimisation_level < 2" (field_expression "options.optimisation_level" identifier . field_identifier) < number_literal) )) || (parenthesized_expression "(_Var3 = is_used_fs_type(name), _Var3)" ( (comma_expression "_Var3 = is_used_fs_type(name), _Var3" (assignment_expression "_Var3 = is_used_fs_type(name)" identifier = (call_expression "is_used_fs_type(name)" identifier (argument_list "(name)" ( identifier )))) , identifier) ))) )) (compound_statement "{\n        ppVar4 = insert_primary(entry,name);\n        (ppVar4->args).str = name;\n        iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);\n        if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }\n        ppVar4->est_success_rate = fVar2;\n        _Var3 = true;\n      }" { (expression_statement "ppVar4 = insert_primary(entry,name);" (assignment_expression "ppVar4 = insert_primary(entry,name)" identifier = (call_expression "insert_primary(entry,name)" identifier (argument_list "(entry,name)" ( identifier , identifier )))) ;) (expression_statement "(ppVar4->args).str = name;" (assignment_expression "(ppVar4->args).str = name" (field_expression "(ppVar4->args).str" (parenthesized_expression "(ppVar4->args)" ( (field_expression "ppVar4->args" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat);" (assignment_expression "iVar5 = __xstat64(3,"/",(stat64 *)&dir_stat)" identifier = (call_expression "__xstat64(3,"/",(stat64 *)&dir_stat)" identifier (argument_list "(3,"/",(stat64 *)&dir_stat)" ( number_literal , (string_literal ""/"" " string_content ") , (cast_expression "(stat64 *)&dir_stat" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dir_stat" & identifier)) )))) ;) (if_statement "if (iVar5 == 0) {\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          fVar2 = 1.0;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          __s2 = filesystem_type(&dir_stat,"/");\n          iVar5 = strcmp(name,__s2);\n          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }\n        }" { (expression_statement "__s2 = filesystem_type(&dir_stat,"/");" (assignment_expression "__s2 = filesystem_type(&dir_stat,"/")" identifier = (call_expression "filesystem_type(&dir_stat,"/")" identifier (argument_list "(&dir_stat,"/")" ( (pointer_expression "&dir_stat" & identifier) , (string_literal ""/"" " string_content ") )))) ;) (expression_statement "iVar5 = strcmp(name,__s2);" (assignment_expression "iVar5 = strcmp(name,__s2)" identifier = (call_expression "strcmp(name,__s2)" identifier (argument_list "(name,__s2)" ( identifier , identifier )))) ;) (expression_statement "fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;" (assignment_expression "fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_" identifier = (cast_expression "(float)s_L_333_Environment_variable__s_is_00052b42._2_4_" ( (type_descriptor "float" primitive_type) ) (field_expression "s_L_333_Environment_variable__s_is_00052b42._2_4_" identifier . field_identifier))) ;) (if_statement "if (iVar5 != 0) {\n            fVar2 = DAT_00052b30;\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            fVar2 = DAT_00052b30;\n          }" { (expression_statement "fVar2 = DAT_00052b30;" (assignment_expression "fVar2 = DAT_00052b30" identifier = identifier) ;) })) }) (else_clause "else {\n          fVar2 = 1.0;\n        }" else (compound_statement "{\n          fVar2 = 1.0;\n        }" { (expression_statement "fVar2 = 1.0;" (assignment_expression "fVar2 = 1.0" identifier = number_literal) ;) }))) (expression_statement "ppVar4->est_success_rate = fVar2;" (assignment_expression "ppVar4->est_success_rate = fVar2" (field_expression "ppVar4->est_success_rate" identifier -> field_identifier) = identifier) ;) (expression_statement "_Var3 = true;" (assignment_expression "_Var3 = true" identifier = true) ;) }) (else_clause "else {\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }" else (compound_statement "{\n        if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }\n        _Var3 = insert_false();\n      }" { (if_statement "if (((byte)options.debug_options & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }" if (parenthesized_expression "(((byte)options.debug_options & 8) != 0)" ( (binary_expression "((byte)options.debug_options & 8) != 0" (parenthesized_expression "((byte)options.debug_options & 8)" ( (binary_expression "(byte)options.debug_options & 8" (cast_expression "(byte)options.debug_options" ( (type_descriptor "byte" type_identifier) ) (field_expression "options.debug_options" identifier . field_identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);\n        }" { (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name)" identifier (argument_list "(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",name)" ( (pointer_expression "*(undefined4 *)PTR_stderr_0006af70" * (cast_expression "(undefined4 *)PTR_stderr_0006af70" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""-fstype %s can never succeed, substituting -false\n"" " string_content escape_sequence ") , identifier ))) ;) })) (expression_statement "_Var3 = insert_false();" (assignment_expression "_Var3 = insert_false()" identifier = (call_expression "insert_false()" identifier (argument_list "()" ( )))) ;) }))) })) }))) (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 _Var3;" return identifier ;) })))
(translation_unit "undefined4 FUN_00021fc0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  char *__s1;\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x21fc9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_00021fc0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  char *__s1;\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x21fc9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00021fc0(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x21fc9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }\n  return uVar2;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *__s2;" primitive_type (pointer_declarator "*__s2" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "stat64 local_80;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x21fc9;" (assignment_expression "uStack_14 = 0x21fc9" 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 (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }" else (compound_statement "{\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }" { (expression_statement "__s1 = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "__s1 = *(char **)(param_2 + *param_3 * 4)" identifier = (pointer_expression "*(char **)(param_2 + *param_3 * 4)" * (cast_expression "(char **)(param_2 + *param_3 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + *param_3 * 4)" ( (binary_expression "param_2 + *param_3 * 4" identifier + (binary_expression "*param_3 * 4" (pointer_expression "*param_3" * identifier) * number_literal)) ))))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }" if (parenthesized_expression "(__s1 != (char *)0x0)" ( (binary_expression "__s1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }" { (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*param_3 + 1" (pointer_expression "*param_3" * identifier) + number_literal)) ;) (if_statement "if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }" if (parenthesized_expression "((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0'))" ( (binary_expression "(DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')" (parenthesized_expression "(DAT_0006bf44 < 2)" ( (binary_expression "DAT_0006bf44 < 2" identifier < number_literal) )) || (parenthesized_expression "(cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')" ( (comma_expression "cVar1 = FUN_0001dc90(__s1), cVar1 != '\0'" (assignment_expression "cVar1 = FUN_0001dc90(__s1)" identifier = (call_expression "FUN_0001dc90(__s1)" identifier (argument_list "(__s1)" ( identifier )))) , (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }" { (expression_statement "iVar3 = FUN_0001a5f0(param_1,__s1);" (assignment_expression "iVar3 = FUN_0001a5f0(param_1,__s1)" identifier = (call_expression "FUN_0001a5f0(param_1,__s1)" identifier (argument_list "(param_1,__s1)" ( identifier , identifier )))) ;) (expression_statement "*(char **)(iVar3 + 0x28) = __s1;" (assignment_expression "*(char **)(iVar3 + 0x28) = __s1" (pointer_expression "*(char **)(iVar3 + 0x28)" * (cast_expression "(char **)(iVar3 + 0x28)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x28)" ( (binary_expression "iVar3 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = __xstat64(3,"/",&local_80);" (assignment_expression "iVar4 = __xstat64(3,"/",&local_80)" identifier = (call_expression "__xstat64(3,"/",&local_80)" identifier (argument_list "(3,"/",&local_80)" ( number_literal , (string_literal ""/"" " string_content ") , (pointer_expression "&local_80" & identifier) )))) ;) (if_statement "if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }" { (expression_statement "__s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);" (assignment_expression "__s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989)" identifier = (cast_expression "(char *)FUN_0001db30(&local_80,&DAT_0004f989)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001db30(&local_80,&DAT_0004f989)" identifier (argument_list "(&local_80,&DAT_0004f989)" ( (pointer_expression "&local_80" & identifier) , (pointer_expression "&DAT_0004f989" & identifier) ))))) ;) (expression_statement "iVar4 = strcmp(__s1,__s2);" (assignment_expression "iVar4 = strcmp(__s1,__s2)" identifier = (call_expression "strcmp(__s1,__s2)" identifier (argument_list "(__s1,__s2)" ( identifier , identifier )))) ;) (expression_statement "uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;" (assignment_expression "uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_" identifier = (field_expression "s_L_333_Environment_variable__s_is_00052b42._2_4_" identifier . field_identifier)) ;) (if_statement "if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar2 = DAT_00052b30;\n          }" { (expression_statement "uVar2 = DAT_00052b30;" (assignment_expression "uVar2 = DAT_00052b30" identifier = identifier) ;) })) }) (else_clause "else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }" else (compound_statement "{\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }" { (expression_statement "uVar2._0_1_ = '\0';" (assignment_expression "uVar2._0_1_ = '\0'" (field_expression "uVar2._0_1_" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar2._1_1_ = '\0';" (assignment_expression "uVar2._1_1_ = '\0'" (field_expression "uVar2._1_1_" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar2._2_1_ = -0x80;" (assignment_expression "uVar2._2_1_ = -0x80" (field_expression "uVar2._2_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "uVar2._3_1_ = '?';" (assignment_expression "uVar2._3_1_ = '?'" (field_expression "uVar2._3_1_" identifier . field_identifier) = (char_literal "'?'" ' character ')) ;) }))) (expression_statement "*(undefined4 *)(iVar3 + 0x1c) = uVar2;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1c) = uVar2" (pointer_expression "*(undefined4 *)(iVar3 + 0x1c)" * (cast_expression "(undefined4 *)(iVar3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }" else (compound_statement "{\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }" { (if_statement "if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }" if (parenthesized_expression "((DAT_0006bf2c & 8) != 0)" ( (binary_expression "(DAT_0006bf2c & 8) != 0" (parenthesized_expression "(DAT_0006bf2c & 8)" ( (binary_expression "DAT_0006bf2c & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }" { (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1)" identifier (argument_list "(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1)" ( (pointer_expression "*(undefined4 *)PTR_stderr_0006af70" * (cast_expression "(undefined4 *)PTR_stderr_0006af70" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""-fstype %s can never succeed, substituting -false\n"" " string_content escape_sequence ") , identifier ))) ;) })) (expression_statement "uVar2 = FUN_00021f70();" (assignment_expression "uVar2 = FUN_00021f70()" identifier = (call_expression "FUN_00021f70()" identifier (argument_list "()" ( )))) ;) }))) })) }))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\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_0004e0c0();\n  }" { (expression_statement "FUN_0004e0c0();" (call_expression "FUN_0004e0c0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (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 )))) , (binary_expression IDENT != (char_literal ' escape_sequence '))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (field_expression IDENT . field_identifier)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (char_literal ' character ')) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }))) })) }))) (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 "undefined4 FUN_00021fc0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  char *__s1;\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x21fc9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_00021fc0(undefined4 param_1,int param_2,int *param_3)" (identifier "FUN_00021fc0") (parameter_list "(undefined4 param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  char *__s1;\n  char cVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  char *__s2;\n  int in_GS_OFFSET;\n  stat64 local_80;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x21fc9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }\n  return uVar2;\n}" ({ "{") (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (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 "char *__s2;" (primitive_type "char") (pointer_declarator "*__s2" (* "*") (identifier "__s2")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "stat64 local_80;" (type_identifier "stat64") (identifier "local_80") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x21fc9;" (assignment_expression "uStack_14 = 0x21fc9" (identifier "uStack_14") (= "=") (number_literal "0x21fc9")) (; ";")) (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 (param_2 == 0) {\n    uVar2 = 0;\n  }\n  else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = 0;\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }" (else "else") (compound_statement "{\n    __s1 = *(char **)(param_2 + *param_3 * 4);\n    uVar2 = 0;\n    if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }\n  }" ({ "{") (expression_statement "__s1 = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "__s1 = *(char **)(param_2 + *param_3 * 4)" (identifier "__s1") (= "=") (pointer_expression "*(char **)(param_2 + *param_3 * 4)" (* "*") (cast_expression "(char **)(param_2 + *param_3 * 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + *param_3 * 4)" (( "(") (binary_expression "param_2 + *param_3 * 4" (identifier "param_2") (+ "+") (binary_expression "*param_3 * 4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (__s1 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }" (if "if") (parenthesized_expression "(__s1 != (char *)0x0)" (( "(") (binary_expression "__s1 != (char *)0x0" (identifier "__s1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }\n    }" ({ "{") (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (binary_expression "*param_3 + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }\n      else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }" (if "if") (parenthesized_expression "((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0'))" (( "(") (binary_expression "(DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')" (parenthesized_expression "(DAT_0006bf44 < 2)" (( "(") (binary_expression "DAT_0006bf44 < 2" (identifier "DAT_0006bf44") (< "<") (number_literal "2")) () ")")) (|| "||") (parenthesized_expression "(cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')" (( "(") (comma_expression "cVar1 = FUN_0001dc90(__s1), cVar1 != '\0'" (assignment_expression "cVar1 = FUN_0001dc90(__s1)" (identifier "cVar1") (= "=") (call_expression "FUN_0001dc90(__s1)" (identifier "FUN_0001dc90") (argument_list "(__s1)" (( "(") (identifier "__s1") () ")")))) (, ",") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (compound_statement "{\n        iVar3 = FUN_0001a5f0(param_1,__s1);\n        *(char **)(iVar3 + 0x28) = __s1;\n        iVar4 = __xstat64(3,"/",&local_80);\n        if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }\n        *(undefined4 *)(iVar3 + 0x1c) = uVar2;\n        uVar2 = 1;\n      }" ({ "{") (expression_statement "iVar3 = FUN_0001a5f0(param_1,__s1);" (assignment_expression "iVar3 = FUN_0001a5f0(param_1,__s1)" (identifier "iVar3") (= "=") (call_expression "FUN_0001a5f0(param_1,__s1)" (identifier "FUN_0001a5f0") (argument_list "(param_1,__s1)" (( "(") (identifier "param_1") (, ",") (identifier "__s1") () ")")))) (; ";")) (expression_statement "*(char **)(iVar3 + 0x28) = __s1;" (assignment_expression "*(char **)(iVar3 + 0x28) = __s1" (pointer_expression "*(char **)(iVar3 + 0x28)" (* "*") (cast_expression "(char **)(iVar3 + 0x28)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x28)" (( "(") (binary_expression "iVar3 + 0x28" (identifier "iVar3") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "__s1")) (; ";")) (expression_statement "iVar4 = __xstat64(3,"/",&local_80);" (assignment_expression "iVar4 = __xstat64(3,"/",&local_80)" (identifier "iVar4") (= "=") (call_expression "__xstat64(3,"/",&local_80)" (identifier "__xstat64") (argument_list "(3,"/",&local_80)" (( "(") (number_literal "3") (, ",") (string_literal ""/"" (" """) (string_content "/") (" """)) (, ",") (pointer_expression "&local_80" (& "&") (identifier "local_80")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }\n        else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);\n          iVar4 = strcmp(__s1,__s2);\n          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;\n          if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }\n        }" ({ "{") (expression_statement "__s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);" (assignment_expression "__s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989)" (identifier "__s2") (= "=") (cast_expression "(char *)FUN_0001db30(&local_80,&DAT_0004f989)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001db30(&local_80,&DAT_0004f989)" (identifier "FUN_0001db30") (argument_list "(&local_80,&DAT_0004f989)" (( "(") (pointer_expression "&local_80" (& "&") (identifier "local_80")) (, ",") (pointer_expression "&DAT_0004f989" (& "&") (identifier "DAT_0004f989")) () ")"))))) (; ";")) (expression_statement "iVar4 = strcmp(__s1,__s2);" (assignment_expression "iVar4 = strcmp(__s1,__s2)" (identifier "iVar4") (= "=") (call_expression "strcmp(__s1,__s2)" (identifier "strcmp") (argument_list "(__s1,__s2)" (( "(") (identifier "__s1") (, ",") (identifier "__s2") () ")")))) (; ";")) (expression_statement "uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;" (assignment_expression "uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_" (identifier "uVar2") (= "=") (field_expression "s_L_333_Environment_variable__s_is_00052b42._2_4_" (identifier "s_L_333_Environment_variable__s_is_00052b42") (. ".") (field_identifier "_2_4_"))) (; ";")) (if_statement "if (iVar4 != 0) {\n            uVar2 = DAT_00052b30;\n          }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            uVar2 = DAT_00052b30;\n          }" ({ "{") (expression_statement "uVar2 = DAT_00052b30;" (assignment_expression "uVar2 = DAT_00052b30" (identifier "uVar2") (= "=") (identifier "DAT_00052b30")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }" (else "else") (compound_statement "{\n          uVar2._0_1_ = '\0';\n          uVar2._1_1_ = '\0';\n          uVar2._2_1_ = -0x80;\n          uVar2._3_1_ = '?';\n        }" ({ "{") (expression_statement "uVar2._0_1_ = '\0';" (assignment_expression "uVar2._0_1_ = '\0'" (field_expression "uVar2._0_1_" (identifier "uVar2") (. ".") (field_identifier "_0_1_")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "uVar2._1_1_ = '\0';" (assignment_expression "uVar2._1_1_ = '\0'" (field_expression "uVar2._1_1_" (identifier "uVar2") (. ".") (field_identifier "_1_1_")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "uVar2._2_1_ = -0x80;" (assignment_expression "uVar2._2_1_ = -0x80" (field_expression "uVar2._2_1_" (identifier "uVar2") (. ".") (field_identifier "_2_1_")) (= "=") (number_literal "-0x80")) (; ";")) (expression_statement "uVar2._3_1_ = '?';" (assignment_expression "uVar2._3_1_ = '?'" (field_expression "uVar2._3_1_" (identifier "uVar2") (. ".") (field_identifier "_3_1_")) (= "=") (char_literal "'?'" (' "'") (character "?") (' "'"))) (; ";")) (} "}")))) (expression_statement "*(undefined4 *)(iVar3 + 0x1c) = uVar2;" (assignment_expression "*(undefined4 *)(iVar3 + 0x1c) = uVar2" (pointer_expression "*(undefined4 *)(iVar3 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }" (else "else") (compound_statement "{\n        if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }\n        uVar2 = FUN_00021f70();\n      }" ({ "{") (if_statement "if ((DAT_0006bf2c & 8) != 0) {\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }" (if "if") (parenthesized_expression "((DAT_0006bf2c & 8) != 0)" (( "(") (binary_expression "(DAT_0006bf2c & 8) != 0" (parenthesized_expression "(DAT_0006bf2c & 8)" (( "(") (binary_expression "DAT_0006bf2c & 8" (identifier "DAT_0006bf2c") (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);\n        }" ({ "{") (expression_statement "__fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1);" (call_expression "__fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)PTR_stderr_0006af70,1,\n                        "-fstype %s can never succeed, substituting -false\n",__s1)" (( "(") (pointer_expression "*(undefined4 *)PTR_stderr_0006af70" (* "*") (cast_expression "(undefined4 *)PTR_stderr_0006af70" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_0006af70"))) (, ",") (number_literal "1") (, ",") (string_literal ""-fstype %s can never succeed, substituting -false\n"" (" """) (string_content "-fstype %s can never succeed, substituting -false") (escape_sequence "\n") (" """)) (, ",") (identifier "__s1") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_00021f70();" (assignment_expression "uVar2 = FUN_00021f70()" (identifier "uVar2") (= "=") (call_expression "FUN_00021f70()" (identifier "FUN_00021f70") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")))) (} "}"))) (} "}")))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\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_0004e0c0();\n  }" ({ "{") (expression_statement "FUN_0004e0c0();" (call_expression "FUN_0004e0c0()" (identifier "FUN_0004e0c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

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

type_1 function_1(type_2 *entry,char **var_2,int *arg_ptr)

{
  int var_12;
  char *var_3;
  float fVar2;
  type_1 _Var3;
  type_3 *ppVar4;
  int var_7;
  char *__s2;
  int var_1;
  type_4 dir_stat;
  
  var_12 = *(int *)(var_1 + 0x14);
  if (var_2 == (char **)0x0) {
    _Var3 = false;
  }
  else {
    var_3 = var_2[*arg_ptr];
    _Var3 = false;
    if (var_3 != (char *)0x0) {
      *arg_ptr = *arg_ptr + 1;
      if ((options.optimisation_level < 2) || (_Var3 = var_4(var_3), _Var3)) {
        ppVar4 = var_5(entry,var_3);
        (ppVar4->args).str = var_3;
        var_7 = var_6(3,"/",(type_5 *)&dir_stat);
        if (var_7 == 0) {
          __s2 = var_8(&dir_stat,"/");
          var_7 = var_9(var_3,__s2);
          fVar2 = (float)s_L_333_Environment_variable__s_is_00052b42._2_4_;
          if (var_7 != 0) {
            fVar2 = DAT_00052b30;
          }
        }
        else {
          fVar2 = 1.0;
        }
        ppVar4->est_success_rate = fVar2;
        _Var3 = true;
      }
      else {
        if (((type_6)options.debug_options & 8) != 0) {
          var_10(*(type_7 *)PTR_stderr_0006af70,1,
                        "-fstype %s can never succeed, substituting -false\n",var_3);
        }
        _Var3 = var_11();
      }
    }
  }
  if (var_12 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_13();
  }
  return _Var3;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (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)))) right: (binary_expression left: (identifier) right: (char_literal (escape_sequence))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (char_literal (character))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (number_literal) (string_literal (string_content) (escape_sequence)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))))))))))) (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 */

undefined4 MASKED(undefined4 param_1,int param_2,int *param_3)

{
  char *__s1;
  char cVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  char *__s2;
  int in_GS_OFFSET;
  stat64 local_80;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x21fc9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_2 == 0) {
    uVar2 = 0;
  }
  else {
    __s1 = *(char **)(param_2 + *param_3 * 4);
    uVar2 = 0;
    if (__s1 != (char *)0x0) {
      *param_3 = *param_3 + 1;
      if ((DAT_0006bf44 < 2) || (cVar1 = FUN_0001dc90(__s1), cVar1 != '\0')) {
        iVar3 = FUN_0001a5f0(param_1,__s1);
        *(char **)(iVar3 + 0x28) = __s1;
        iVar4 = __xstat64(3,"/",&local_80);
        if (iVar4 == 0) {
          __s2 = (char *)FUN_0001db30(&local_80,&DAT_0004f989);
          iVar4 = strcmp(__s1,__s2);
          uVar2 = s_L_333_Environment_variable__s_is_00052b42._2_4_;
          if (iVar4 != 0) {
            uVar2 = DAT_00052b30;
          }
        }
        else {
          uVar2._0_1_ = '\0';
          uVar2._1_1_ = '\0';
          uVar2._2_1_ = -0x80;
          uVar2._3_1_ = '?';
        }
        *(undefined4 *)(iVar3 + 0x1c) = uVar2;
        uVar2 = 1;
      }
      else {
        if ((DAT_0006bf2c & 8) != 0) {
          __fprintf_chk(*(undefined4 *)PTR_stderr_0006af70,1,
                        "-fstype %s can never succeed, substituting -false\n",__s1);
        }
        uVar2 = FUN_00021f70();
      }
    }
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0004e0c0();
  }
  return uVar2;
}

