
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Task_token * is_runnable(Read_symbols * this) */

Task_token * __thiscall gold::Read_symbols::is_runnable(Read_symbols *this)

{
  Input_argument *pIVar1;
  Dirsearch *pDVar2;
  Task_token *pTVar3;
  Task_token *in_stack_fffffff4;
  Task_token *in_stack_fffffff8;
  
  pIVar1 = this->input_argument_;
  if ((pIVar1->is_file_ != false) &&
     (((pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY < 2 ||
      ((pIVar1->file_).extra_search_path_._M_string_length != 0)))) {
    pDVar2 = this->dirpath_;
    if ((pDVar2->token_).is_blocker_ != false) {
      pTVar3 = (Task_token *)0x0;
      if (0 < (pDVar2->token_).blockers_) {
        pTVar3 = &pDVar2->token_;
      }
      return pTVar3;
    }
                    /* WARNING: Subroutine does not return */
    Task_token::is_blocked(in_stack_fffffff4,in_stack_fffffff8);
  }
  return (Task_token *)0x0;
}



int FUN_000f5590(int param_1)

{
  char *pcVar1;
  int iVar2;
  int iVar3;
  
  pcVar1 = *(char **)(param_1 + 0x3c);
  if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {
    iVar2 = *(int *)(param_1 + 0x30);
    if (*(char *)(iVar2 + 4) != '\0') {
      iVar3 = 0;
      if (0 < *(int *)(iVar2 + 8)) {
        iVar3 = iVar2 + 4;
      }
      return iVar3;
    }
                    /* WARNING: Subroutine does not return */
    FUN_000f53c0();
  }
  return 0;
}


SUB ESP,0xc
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ECX + 0x3c]
CMP byte ptr [EAX],0x0
JZ 0x000f55cf
MOV EDX,dword ptr [EAX + 0x1c]
SUB EDX,0x1
CMP EDX,0x1
JA 0x000f55c8
MOV EDX,dword ptr [ECX + 0x30]
CMP byte ptr [EDX + 0x4],0x0
JZ 0x000f55d5
MOV ECX,dword ptr [EDX + 0x8]
XOR EAX,EAX
TEST ECX,ECX
JLE 0x000f55bf
LEA EAX,[EDX + 0x4]
ADD ESP,0xc
RET
MOV EAX,dword ptr [EAX + 0x24]
TEST EAX,EAX
JNZ 0x000f55aa
XOR EAX,EAX
ADD ESP,0xc
RET
CALL 0x000f53c0
(translation_unit "int FUN_000f5590(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = *(char **)(param_1 + 0x3c);\n  if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000f53c0();\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_000f5590(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = *(char **)(param_1 + 0x3c);\n  if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000f53c0();\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_000f5590(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = *(char **)(param_1 + 0x3c);\n  if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000f53c0();\n  }\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "pcVar1 = *(char **)(param_1 + 0x3c);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x3c)" identifier = (pointer_expression "*(char **)(param_1 + 0x3c)" * (cast_expression "(char **)(param_1 + 0x3c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000f53c0();\n  }" if (parenthesized_expression "((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0))))" ( (binary_expression "(*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))" (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))" ( (parenthesized_expression "(*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0))" ( (binary_expression "*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)" (binary_expression "*(int *)(pcVar1 + 0x1c) - 1U < 2" (binary_expression "*(int *)(pcVar1 + 0x1c) - 1U" (pointer_expression "*(int *)(pcVar1 + 0x1c)" * (cast_expression "(int *)(pcVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + 0x1c)" ( (binary_expression "pcVar1 + 0x1c" identifier + number_literal) )))) - number_literal) < number_literal) || (parenthesized_expression "(*(int *)(pcVar1 + 0x24) != 0)" ( (binary_expression "*(int *)(pcVar1 + 0x24) != 0" (pointer_expression "*(int *)(pcVar1 + 0x24)" * (cast_expression "(int *)(pcVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + 0x24)" ( (binary_expression "pcVar1 + 0x24" identifier + number_literal) )))) != number_literal) ))) )) ))) )) (compound_statement "{\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000f53c0();\n  }" { (expression_statement "iVar2 = *(int *)(param_1 + 0x30);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x30)" identifier = (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }" if (parenthesized_expression "(*(char *)(iVar2 + 4) != '\0')" ( (binary_expression "*(char *)(iVar2 + 4) != '\0'" (pointer_expression "*(char *)(iVar2 + 4)" * (cast_expression "(char *)(iVar2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }" if (parenthesized_expression "(0 < *(int *)(iVar2 + 8))" ( (binary_expression "0 < *(int *)(iVar2 + 8)" number_literal < (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n        iVar3 = iVar2 + 4;\n      }" { (expression_statement "iVar3 = iVar2 + 4;" (assignment_expression "iVar3 = iVar2 + 4" identifier = (binary_expression "iVar2 + 4" identifier + number_literal)) ;) })) (return_statement "return iVar3;" return identifier ;) })) comment (expression_statement "FUN_000f53c0();" (call_expression "FUN_000f53c0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: Task_token * is_runnable(Read_symbols * this) */\n\nTask_token * __thiscall gold::Read_symbols::is_runnable(Read_symbols *this)\n\n{\n  Input_argument *pIVar1;\n  Dirsearch *pDVar2;\n  Task_token *pTVar3;\n  Task_token *in_stack_fffffff4;\n  Task_token *in_stack_fffffff8;\n  \n  pIVar1 = this->input_argument_;\n  if ((pIVar1->is_file_ != false) &&\n     (((pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY < 2 ||\n      ((pIVar1->file_).extra_search_path_._M_string_length != 0)))) {\n    pDVar2 = this->dirpath_;\n    if ((pDVar2->token_).is_blocker_ != false) {\n      pTVar3 = (Task_token *)0x0;\n      if (0 < (pDVar2->token_).blockers_) {\n        pTVar3 = &pDVar2->token_;\n      }\n      return pTVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_blocked(in_stack_fffffff4,in_stack_fffffff8);\n  }\n  return (Task_token *)0x0;\n}\n\n" comment comment (ERROR "Task_token * __thiscall gold::Read_symbols::is_runnable(Read_symbols *this)" (binary_expression "Task_token * __thiscall gold::Read_symbols::is_runnable(Read_symbols *this" (binary_expression "Task_token * __thiscall" identifier * identifier) (ERROR "gold::Read_symbols::is_runnable(Read_symbols" identifier : : identifier : : identifier ( identifier) * identifier) )) (compound_statement "{\n  Input_argument *pIVar1;\n  Dirsearch *pDVar2;\n  Task_token *pTVar3;\n  Task_token *in_stack_fffffff4;\n  Task_token *in_stack_fffffff8;\n  \n  pIVar1 = this->input_argument_;\n  if ((pIVar1->is_file_ != false) &&\n     (((pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY < 2 ||\n      ((pIVar1->file_).extra_search_path_._M_string_length != 0)))) {\n    pDVar2 = this->dirpath_;\n    if ((pDVar2->token_).is_blocker_ != false) {\n      pTVar3 = (Task_token *)0x0;\n      if (0 < (pDVar2->token_).blockers_) {\n        pTVar3 = &pDVar2->token_;\n      }\n      return pTVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_blocked(in_stack_fffffff4,in_stack_fffffff8);\n  }\n  return (Task_token *)0x0;\n}" { (declaration "Input_argument *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (declaration "Dirsearch *pDVar2;" type_identifier (pointer_declarator "*pDVar2" * identifier) ;) (declaration "Task_token *pTVar3;" type_identifier (pointer_declarator "*pTVar3" * identifier) ;) (declaration "Task_token *in_stack_fffffff4;" type_identifier (pointer_declarator "*in_stack_fffffff4" * identifier) ;) (declaration "Task_token *in_stack_fffffff8;" type_identifier (pointer_declarator "*in_stack_fffffff8" * identifier) ;) (expression_statement "pIVar1 = this->input_argument_;" (assignment_expression "pIVar1 = this->input_argument_" identifier = (field_expression "this->input_argument_" identifier -> field_identifier)) ;) (if_statement "if ((pIVar1->is_file_ != false) &&\n     (((pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY < 2 ||\n      ((pIVar1->file_).extra_search_path_._M_string_length != 0)))) {\n    pDVar2 = this->dirpath_;\n    if ((pDVar2->token_).is_blocker_ != false) {\n      pTVar3 = (Task_token *)0x0;\n      if (0 < (pDVar2->token_).blockers_) {\n        pTVar3 = &pDVar2->token_;\n      }\n      return pTVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_blocked(in_stack_fffffff4,in_stack_fffffff8);\n  }" if (parenthesized_expression "((pIVar1->is_file_ != false) &&\n     (((pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY < 2 ||\n      ((pIVar1->file_).extra_search_path_._M_string_length != 0))))" ( (binary_expression "(pIVar1->is_file_ != false) &&\n     (((pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY < 2 ||\n      ((pIVar1->file_).extra_search_path_._M_string_length != 0)))" (parenthesized_expression "(pIVar1->is_file_ != false)" ( (binary_expression "pIVar1->is_file_ != false" (field_expression "pIVar1->is_file_" identifier -> field_identifier) != false) )) && (parenthesized_expression "(((pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY < 2 ||\n      ((pIVar1->file_).extra_search_path_._M_string_length != 0)))" ( (parenthesized_expression "((pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY < 2 ||\n      ((pIVar1->file_).extra_search_path_._M_string_length != 0))" ( (binary_expression "(pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY < 2 ||\n      ((pIVar1->file_).extra_search_path_._M_string_length != 0)" (binary_expression "(pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY < 2" (binary_expression "(pIVar1->file_).type_ - INPUT_FILE_TYPE_LIBRARY" (field_expression "(pIVar1->file_).type_" (parenthesized_expression "(pIVar1->file_)" ( (field_expression "pIVar1->file_" identifier -> field_identifier) )) . field_identifier) - identifier) < number_literal) || (parenthesized_expression "((pIVar1->file_).extra_search_path_._M_string_length != 0)" ( (binary_expression "(pIVar1->file_).extra_search_path_._M_string_length != 0" (field_expression "(pIVar1->file_).extra_search_path_._M_string_length" (field_expression "(pIVar1->file_).extra_search_path_" (parenthesized_expression "(pIVar1->file_)" ( (field_expression "pIVar1->file_" identifier -> field_identifier) )) . field_identifier) . field_identifier) != number_literal) ))) )) ))) )) (compound_statement "{\n    pDVar2 = this->dirpath_;\n    if ((pDVar2->token_).is_blocker_ != false) {\n      pTVar3 = (Task_token *)0x0;\n      if (0 < (pDVar2->token_).blockers_) {\n        pTVar3 = &pDVar2->token_;\n      }\n      return pTVar3;\n    }\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_blocked(in_stack_fffffff4,in_stack_fffffff8);\n  }" { (expression_statement "pDVar2 = this->dirpath_;" (assignment_expression "pDVar2 = this->dirpath_" identifier = (field_expression "this->dirpath_" identifier -> field_identifier)) ;) (if_statement "if ((pDVar2->token_).is_blocker_ != false) {\n      pTVar3 = (Task_token *)0x0;\n      if (0 < (pDVar2->token_).blockers_) {\n        pTVar3 = &pDVar2->token_;\n      }\n      return pTVar3;\n    }" if (parenthesized_expression "((pDVar2->token_).is_blocker_ != false)" ( (binary_expression "(pDVar2->token_).is_blocker_ != false" (field_expression "(pDVar2->token_).is_blocker_" (parenthesized_expression "(pDVar2->token_)" ( (field_expression "pDVar2->token_" identifier -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n      pTVar3 = (Task_token *)0x0;\n      if (0 < (pDVar2->token_).blockers_) {\n        pTVar3 = &pDVar2->token_;\n      }\n      return pTVar3;\n    }" { (expression_statement "pTVar3 = (Task_token *)0x0;" (assignment_expression "pTVar3 = (Task_token *)0x0" identifier = (cast_expression "(Task_token *)0x0" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (0 < (pDVar2->token_).blockers_) {\n        pTVar3 = &pDVar2->token_;\n      }" if (parenthesized_expression "(0 < (pDVar2->token_).blockers_)" ( (binary_expression "0 < (pDVar2->token_).blockers_" number_literal < (field_expression "(pDVar2->token_).blockers_" (parenthesized_expression "(pDVar2->token_)" ( (field_expression "pDVar2->token_" identifier -> field_identifier) )) . field_identifier)) )) (compound_statement "{\n        pTVar3 = &pDVar2->token_;\n      }" { (expression_statement "pTVar3 = &pDVar2->token_;" (assignment_expression "pTVar3 = &pDVar2->token_" identifier = (pointer_expression "&pDVar2->token_" & (field_expression "pDVar2->token_" identifier -> field_identifier))) ;) })) (return_statement "return pTVar3;" return identifier ;) })) comment (labeled_statement "Task_token::is_blocked(in_stack_fffffff4,in_stack_fffffff8);" statement_identifier : (ERROR ":" :) (expression_statement "is_blocked(in_stack_fffffff4,in_stack_fffffff8);" (call_expression "is_blocked(in_stack_fffffff4,in_stack_fffffff8)" identifier (argument_list "(in_stack_fffffff4,in_stack_fffffff8)" ( identifier , identifier ))) ;)) })) (return_statement "return (Task_token *)0x0;" return (cast_expression "(Task_token *)0x0" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "int FUN_000f5590(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = *(char **)(param_1 + 0x3c);\n  if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    \n    FUN_000f53c0();\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_000f5590(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = *(char **)(param_1 + 0x3c);\n  if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    \n    FUN_000f53c0();\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_000f5590(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = *(char **)(param_1 + 0x3c);\n  if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    \n    FUN_000f53c0();\n  }\n  return 0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "pcVar1 = *(char **)(param_1 + 0x3c);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x3c)" identifier = (pointer_expression "*(char **)(param_1 + 0x3c)" * (cast_expression "(char **)(param_1 + 0x3c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    \n    FUN_000f53c0();\n  }" if (parenthesized_expression "((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0))))" ( (binary_expression "(*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))" (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))" ( (parenthesized_expression "(*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0))" ( (binary_expression "*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)" (binary_expression "*(int *)(pcVar1 + 0x1c) - 1U < 2" (binary_expression "*(int *)(pcVar1 + 0x1c) - 1U" (pointer_expression "*(int *)(pcVar1 + 0x1c)" * (cast_expression "(int *)(pcVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + 0x1c)" ( (binary_expression "pcVar1 + 0x1c" identifier + number_literal) )))) - number_literal) < number_literal) || (parenthesized_expression "(*(int *)(pcVar1 + 0x24) != 0)" ( (binary_expression "*(int *)(pcVar1 + 0x24) != 0" (pointer_expression "*(int *)(pcVar1 + 0x24)" * (cast_expression "(int *)(pcVar1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + 0x24)" ( (binary_expression "pcVar1 + 0x24" identifier + number_literal) )))) != number_literal) ))) )) ))) )) (compound_statement "{\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    \n    FUN_000f53c0();\n  }" { (expression_statement "iVar2 = *(int *)(param_1 + 0x30);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x30)" identifier = (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }" if (parenthesized_expression "(*(char *)(iVar2 + 4) != '\0')" ( (binary_expression "*(char *)(iVar2 + 4) != '\0'" (pointer_expression "*(char *)(iVar2 + 4)" * (cast_expression "(char *)(iVar2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }" if (parenthesized_expression "(0 < *(int *)(iVar2 + 8))" ( (binary_expression "0 < *(int *)(iVar2 + 8)" number_literal < (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n        iVar3 = iVar2 + 4;\n      }" { (expression_statement "iVar3 = iVar2 + 4;" (assignment_expression "iVar3 = iVar2 + 4" identifier = (binary_expression "iVar2 + 4" identifier + number_literal)) ;) })) (return_statement "return iVar3;" return identifier ;) })) (expression_statement "FUN_000f53c0();" (call_expression "FUN_000f53c0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT) < LIT) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_000f5590(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = *(char **)(param_1 + 0x3c);\n  if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    \n    FUN_000f53c0();\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_000f5590(int param_1)" (identifier "FUN_000f5590") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  int iVar3;\n  \n  pcVar1 = *(char **)(param_1 + 0x3c);\n  if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    \n    FUN_000f53c0();\n  }\n  return 0;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "pcVar1 = *(char **)(param_1 + 0x3c);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x3c)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(param_1 + 0x3c)" (* "*") (cast_expression "(char **)(param_1 + 0x3c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (if_statement "if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    \n    FUN_000f53c0();\n  }" (if "if") (parenthesized_expression "((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0))))" (( "(") (binary_expression "(*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))" (parenthesized_expression "(*pcVar1 != '\0')" (( "(") (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))" (( "(") (parenthesized_expression "(*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0))" (( "(") (binary_expression "*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)" (binary_expression "*(int *)(pcVar1 + 0x1c) - 1U < 2" (binary_expression "*(int *)(pcVar1 + 0x1c) - 1U" (pointer_expression "*(int *)(pcVar1 + 0x1c)" (* "*") (cast_expression "(int *)(pcVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar1 + 0x1c)" (( "(") (binary_expression "pcVar1 + 0x1c" (identifier "pcVar1") (+ "+") (number_literal "0x1c")) () ")")))) (- "-") (number_literal "1U")) (< "<") (number_literal "2")) (|| "||") (parenthesized_expression "(*(int *)(pcVar1 + 0x24) != 0)" (( "(") (binary_expression "*(int *)(pcVar1 + 0x24) != 0" (pointer_expression "*(int *)(pcVar1 + 0x24)" (* "*") (cast_expression "(int *)(pcVar1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar1 + 0x24)" (( "(") (binary_expression "pcVar1 + 0x24" (identifier "pcVar1") (+ "+") (number_literal "0x24")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    iVar2 = *(int *)(param_1 + 0x30);\n    if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }\n                    \n    FUN_000f53c0();\n  }" ({ "{") (expression_statement "iVar2 = *(int *)(param_1 + 0x30);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x30)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (*(char *)(iVar2 + 4) != '\0') {\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar2 + 4) != '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 4) != '\0'" (pointer_expression "*(char *)(iVar2 + 4)" (* "*") (cast_expression "(char *)(iVar2 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar3 = 0;\n      if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }\n      return iVar3;\n    }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < *(int *)(iVar2 + 8)) {\n        iVar3 = iVar2 + 4;\n      }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar2 + 8))" (( "(") (binary_expression "0 < *(int *)(iVar2 + 8)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n        iVar3 = iVar2 + 4;\n      }" ({ "{") (expression_statement "iVar3 = iVar2 + 4;" (assignment_expression "iVar3 = iVar2 + 4" (identifier "iVar3") (= "=") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4"))) (; ";")) (} "}"))) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "FUN_000f53c0();" (call_expression "FUN_000f53c0()" (identifier "FUN_000f53c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Task_token * is_runnable(Read_symbols * this) */

type_3 * __thiscall gold::Read_symbols::is_runnable(Read_symbols *this)

{
  type_1 *pIVar1;
  type_2 *pDVar2;
  type_3 *pTVar3;
  type_3 *in_stack_fffffff4;
  type_3 *in_stack_fffffff8;
  
  pIVar1 = this->input_argument_;
  if ((pIVar1->is_file_ != false) &&
     (((pIVar1->file_).type_ - var_1 < 2 ||
      ((pIVar1->file_).extra_search_path_._M_string_length != 0)))) {
    pDVar2 = this->dirpath_;
    if ((pDVar2->token_).is_blocker_ != false) {
      pTVar3 = (type_3 *)0x0;
      if (0 < (pDVar2->token_).blockers_) {
        pTVar3 = &pDVar2->token_;
      }
      return pTVar3;
    }
                    /* WARNING: Subroutine does not return */
    Task_token::var_2(in_stack_fffffff4,in_stack_fffffff8);
  }
  return (type_3 *)0x0;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) 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 (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement (number_literal)))))

int MASKED(int param_1)

{
  char *pcVar1;
  int iVar2;
  int iVar3;
  
  pcVar1 = *(char **)(param_1 + 0x3c);
  if ((*pcVar1 != '\0') && ((*(int *)(pcVar1 + 0x1c) - 1U < 2 || (*(int *)(pcVar1 + 0x24) != 0)))) {
    iVar2 = *(int *)(param_1 + 0x30);
    if (*(char *)(iVar2 + 4) != '\0') {
      iVar3 = 0;
      if (0 < *(int *)(iVar2 + 8)) {
        iVar3 = iVar2 + 4;
      }
      return iVar3;
    }
                    /* WARNING: Subroutine does not return */
    FUN_000f53c0();
  }
  return 0;
}

