
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int symbol_list_length(symbol_list *l)

{
  int iVar1;
  
  iVar1 = 0;
  if (l == (symbol_list *)0x0) {
    return 0;
  }
  while ((l->content_type != CODE_PROPS_NONE || ((l->content).sym != (symbol *)0x0))) {
    iVar1 = iVar1 + 1;
    l = l->next;
    if (l == (symbol_list *)0x0) {
      return iVar1;
    }
  }
  return iVar1;
}



int FUN_00131be4(int *param_1)

{
  int iVar1;
  
  iVar1 = 0;
  if (param_1 == (int *)0x0) {
    return iVar1;
  }
  while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {
    iVar1 = iVar1 + 1;
    param_1 = *(int **)(param_1 + 0x50);
    if (param_1 == (int *)0x0) {
      return iVar1;
    }
  }
  return iVar1;
}


MOV EAX,0x0
TEST RDI,RDI
JNZ 0x00131bfe
RET
ADD EAX,0x1
MOV RDI,qword ptr [RDI + 0x140]
TEST RDI,RDI
JZ 0x00131c0a
CMP dword ptr [RDI],0x0
JNZ 0x00131bef
CMP qword ptr [RDI + 0x8],0x0
JNZ 0x00131bef
RET
(translation_unit "int FUN_00131be4(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 == (int *)0x0) {\n    return iVar1;\n  }\n  while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_00131be4(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 == (int *)0x0) {\n    return iVar1;\n  }\n  while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00131be4(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 == (int *)0x0) {\n    return iVar1;\n  }\n  while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_1 == (int *)0x0) {\n    return iVar1;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (while_statement "while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }" while (parenthesized_expression "((*param_1 != 0 || (*(long *)(param_1 + 2) != 0)))" ( (parenthesized_expression "(*param_1 != 0 || (*(long *)(param_1 + 2) != 0))" ( (binary_expression "*param_1 != 0 || (*(long *)(param_1 + 2) != 0)" (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) || (parenthesized_expression "(*(long *)(param_1 + 2) != 0)" ( (binary_expression "*(long *)(param_1 + 2) != 0" (pointer_expression "*(long *)(param_1 + 2)" * (cast_expression "(long *)(param_1 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) != number_literal) ))) )) )) (compound_statement "{\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = *(int **)(param_1 + 0x50);" (assignment_expression "param_1 = *(int **)(param_1 + 0x50)" identifier = (pointer_expression "*(int **)(param_1 + 0x50)" * (cast_expression "(int **)(param_1 + 0x50)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == (int *)0x0) {\n      return iVar1;\n    }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint symbol_list_length(symbol_list *l)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (l == (symbol_list *)0x0) {\n    return 0;\n  }\n  while ((l->content_type != CODE_PROPS_NONE || ((l->content).sym != (symbol *)0x0))) {\n    iVar1 = iVar1 + 1;\n    l = l->next;\n    if (l == (symbol_list *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int symbol_list_length(symbol_list *l)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (l == (symbol_list *)0x0) {\n    return 0;\n  }\n  while ((l->content_type != CODE_PROPS_NONE || ((l->content).sym != (symbol *)0x0))) {\n    iVar1 = iVar1 + 1;\n    l = l->next;\n    if (l == (symbol_list *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "symbol_list_length(symbol_list *l)" identifier (parameter_list "(symbol_list *l)" ( (parameter_declaration "symbol_list *l" type_identifier (pointer_declarator "*l" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (l == (symbol_list *)0x0) {\n    return 0;\n  }\n  while ((l->content_type != CODE_PROPS_NONE || ((l->content).sym != (symbol *)0x0))) {\n    iVar1 = iVar1 + 1;\n    l = l->next;\n    if (l == (symbol_list *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (l == (symbol_list *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(l == (symbol_list *)0x0)" ( (binary_expression "l == (symbol_list *)0x0" identifier == (cast_expression "(symbol_list *)0x0" ( (type_descriptor "symbol_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (while_statement "while ((l->content_type != CODE_PROPS_NONE || ((l->content).sym != (symbol *)0x0))) {\n    iVar1 = iVar1 + 1;\n    l = l->next;\n    if (l == (symbol_list *)0x0) {\n      return iVar1;\n    }\n  }" while (parenthesized_expression "((l->content_type != CODE_PROPS_NONE || ((l->content).sym != (symbol *)0x0)))" ( (parenthesized_expression "(l->content_type != CODE_PROPS_NONE || ((l->content).sym != (symbol *)0x0))" ( (binary_expression "l->content_type != CODE_PROPS_NONE || ((l->content).sym != (symbol *)0x0)" (binary_expression "l->content_type != CODE_PROPS_NONE" (field_expression "l->content_type" identifier -> field_identifier) != identifier) || (parenthesized_expression "((l->content).sym != (symbol *)0x0)" ( (binary_expression "(l->content).sym != (symbol *)0x0" (field_expression "(l->content).sym" (parenthesized_expression "(l->content)" ( (field_expression "l->content" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(symbol *)0x0" ( (type_descriptor "symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) )) (compound_statement "{\n    iVar1 = iVar1 + 1;\n    l = l->next;\n    if (l == (symbol_list *)0x0) {\n      return iVar1;\n    }\n  }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "l = l->next;" (assignment_expression "l = l->next" identifier = (field_expression "l->next" identifier -> field_identifier)) ;) (if_statement "if (l == (symbol_list *)0x0) {\n      return iVar1;\n    }" if (parenthesized_expression "(l == (symbol_list *)0x0)" ( (binary_expression "l == (symbol_list *)0x0" identifier == (cast_expression "(symbol_list *)0x0" ( (type_descriptor "symbol_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int FUN_00131be4(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 == (int *)0x0) {\n    return iVar1;\n  }\n  while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_00131be4(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 == (int *)0x0) {\n    return iVar1;\n  }\n  while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00131be4(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 == (int *)0x0) {\n    return iVar1;\n  }\n  while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_1 == (int *)0x0) {\n    return iVar1;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (while_statement "while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }" while (parenthesized_expression "((*param_1 != 0 || (*(long *)(param_1 + 2) != 0)))" ( (parenthesized_expression "(*param_1 != 0 || (*(long *)(param_1 + 2) != 0))" ( (binary_expression "*param_1 != 0 || (*(long *)(param_1 + 2) != 0)" (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) || (parenthesized_expression "(*(long *)(param_1 + 2) != 0)" ( (binary_expression "*(long *)(param_1 + 2) != 0" (pointer_expression "*(long *)(param_1 + 2)" * (cast_expression "(long *)(param_1 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) != number_literal) ))) )) )) (compound_statement "{\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = *(int **)(param_1 + 0x50);" (assignment_expression "param_1 = *(int **)(param_1 + 0x50)" identifier = (pointer_expression "*(int **)(param_1 + 0x50)" * (cast_expression "(int **)(param_1 + 0x50)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == (int *)0x0) {\n      return iVar1;\n    }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (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 { (return_statement return IDENT ;) })) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) != LIT) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_00131be4(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 == (int *)0x0) {\n    return iVar1;\n  }\n  while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00131be4(int *param_1)" (identifier "FUN_00131be4") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  if (param_1 == (int *)0x0) {\n    return iVar1;\n  }\n  while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return iVar1;\n  }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (while_statement "while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }" (while "while") (parenthesized_expression "((*param_1 != 0 || (*(long *)(param_1 + 2) != 0)))" (( "(") (parenthesized_expression "(*param_1 != 0 || (*(long *)(param_1 + 2) != 0))" (( "(") (binary_expression "*param_1 != 0 || (*(long *)(param_1 + 2) != 0)" (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "(*(long *)(param_1 + 2) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 2) != 0" (pointer_expression "*(long *)(param_1 + 2)" (* "*") (cast_expression "(long *)(param_1 + 2)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")")) (compound_statement "{\n    iVar1 = iVar1 + 1;\n    param_1 = *(int **)(param_1 + 0x50);\n    if (param_1 == (int *)0x0) {\n      return iVar1;\n    }\n  }" ({ "{") (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = *(int **)(param_1 + 0x50);" (assignment_expression "param_1 = *(int **)(param_1 + 0x50)" (identifier "param_1") (= "=") (pointer_expression "*(int **)(param_1 + 0x50)" (* "*") (cast_expression "(int **)(param_1 + 0x50)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return iVar1;\n    }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int function_1(type_1 *var_1)

{
  int var_3;
  
  var_3 = 0;
  if (var_1 == (type_1 *)0x0) {
    return 0;
  }
  while ((var_1->content_type != var_2 || ((var_1->content).sym != (type_2 *)0x0))) {
    var_3 = var_3 + 1;
    var_1 = var_1->next;
    if (var_1 == (type_1 *)0x0) {
      return var_3;
    }
  }
  return var_3;
}


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

int MASKED(int *param_1)

{
  int iVar1;
  
  iVar1 = 0;
  if (param_1 == (int *)0x0) {
    return iVar1;
  }
  while ((*param_1 != 0 || (*(long *)(param_1 + 2) != 0))) {
    iVar1 = iVar1 + 1;
    param_1 = *(int **)(param_1 + 0x50);
    if (param_1 == (int *)0x0) {
      return iVar1;
    }
  }
  return iVar1;
}

