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

int sblines(Terminal *term)

{
  int iVar1;
  
  iVar1 = count234(term->scrollback);
  if (((term->erase_to_scrollback != 0) && (term->alt_which != 0)) &&
     (term->alt_screen != (tree234 *)0x0)) {
    iVar1 = iVar1 + term->alt_sblines;
  }
  return iVar1;
}



int FUN_0003be30(int param_1)

{
  int iVar1;
  
  iVar1 = count234(*(undefined4 *)(param_1 + 4));
  if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&
     (*(int *)(param_1 + 0xc) != 0)) {
    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);
  }
  return iVar1;
}


lui gp,0x7
addiu gp,gp,0x3260
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7c38(gp)
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
bal 0x0004bc3c
_lw a0,0x4(a0)
lw v1,0x1118(s0)
beq v1,zero,0x0003be88
_lw ra,0x1c(sp)
lw v1,0x1a4(s0)
beq v1,zero,0x0003be88
_nop
lw v1,0xc(s0)
beq v1,zero,0x0003be88
_nop
lw v1,0x1a8(s0)
addu v0,v0,v1
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "int FUN_0003be30(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = count234(*(undefined4 *)(param_1 + 4));\n  if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0003be30(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = count234(*(undefined4 *)(param_1 + 4));\n  if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0003be30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = count234(*(undefined4 *)(param_1 + 4));\n  if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = count234(*(undefined4 *)(param_1 + 4));" (assignment_expression "iVar1 = count234(*(undefined4 *)(param_1 + 4))" identifier = (call_expression "count234(*(undefined4 *)(param_1 + 4))" identifier (argument_list "(*(undefined4 *)(param_1 + 4))" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }" if (parenthesized_expression "(((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0))" ( (binary_expression "((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)" (parenthesized_expression "((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0))" ( (binary_expression "(*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x1118) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1118) != 0" (pointer_expression "*(int *)(param_1 + 0x1118)" * (cast_expression "(int *)(param_1 + 0x1118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1118)" ( (binary_expression "param_1 + 0x1118" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x1a4) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1a4) != 0" (pointer_expression "*(int *)(param_1 + 0x1a4)" * (cast_expression "(int *)(param_1 + 0x1a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1a4)" ( (binary_expression "param_1 + 0x1a4" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }" { (expression_statement "iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);" (assignment_expression "iVar1 = iVar1 + *(int *)(param_1 + 0x1a8)" identifier = (binary_expression "iVar1 + *(int *)(param_1 + 0x1a8)" identifier + (pointer_expression "*(int *)(param_1 + 0x1a8)" * (cast_expression "(int *)(param_1 + 0x1a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1a8)" ( (binary_expression "param_1 + 0x1a8" identifier + number_literal) )))))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sblines(Terminal *term)\n\n{\n  int iVar1;\n  \n  iVar1 = count234(term->scrollback);\n  if (((term->erase_to_scrollback != 0) && (term->alt_which != 0)) &&\n     (term->alt_screen != (tree234 *)0x0)) {\n    iVar1 = iVar1 + term->alt_sblines;\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int sblines(Terminal *term)\n\n{\n  int iVar1;\n  \n  iVar1 = count234(term->scrollback);\n  if (((term->erase_to_scrollback != 0) && (term->alt_which != 0)) &&\n     (term->alt_screen != (tree234 *)0x0)) {\n    iVar1 = iVar1 + term->alt_sblines;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "sblines(Terminal *term)" identifier (parameter_list "(Terminal *term)" ( (parameter_declaration "Terminal *term" type_identifier (pointer_declarator "*term" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = count234(term->scrollback);\n  if (((term->erase_to_scrollback != 0) && (term->alt_which != 0)) &&\n     (term->alt_screen != (tree234 *)0x0)) {\n    iVar1 = iVar1 + term->alt_sblines;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = count234(term->scrollback);" (assignment_expression "iVar1 = count234(term->scrollback)" identifier = (call_expression "count234(term->scrollback)" identifier (argument_list "(term->scrollback)" ( (field_expression "term->scrollback" identifier -> field_identifier) )))) ;) (if_statement "if (((term->erase_to_scrollback != 0) && (term->alt_which != 0)) &&\n     (term->alt_screen != (tree234 *)0x0)) {\n    iVar1 = iVar1 + term->alt_sblines;\n  }" if (parenthesized_expression "(((term->erase_to_scrollback != 0) && (term->alt_which != 0)) &&\n     (term->alt_screen != (tree234 *)0x0))" ( (binary_expression "((term->erase_to_scrollback != 0) && (term->alt_which != 0)) &&\n     (term->alt_screen != (tree234 *)0x0)" (parenthesized_expression "((term->erase_to_scrollback != 0) && (term->alt_which != 0))" ( (binary_expression "(term->erase_to_scrollback != 0) && (term->alt_which != 0)" (parenthesized_expression "(term->erase_to_scrollback != 0)" ( (binary_expression "term->erase_to_scrollback != 0" (field_expression "term->erase_to_scrollback" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(term->alt_which != 0)" ( (binary_expression "term->alt_which != 0" (field_expression "term->alt_which" identifier -> field_identifier) != number_literal) ))) )) && (parenthesized_expression "(term->alt_screen != (tree234 *)0x0)" ( (binary_expression "term->alt_screen != (tree234 *)0x0" (field_expression "term->alt_screen" identifier -> field_identifier) != (cast_expression "(tree234 *)0x0" ( (type_descriptor "tree234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    iVar1 = iVar1 + term->alt_sblines;\n  }" { (expression_statement "iVar1 = iVar1 + term->alt_sblines;" (assignment_expression "iVar1 = iVar1 + term->alt_sblines" identifier = (binary_expression "iVar1 + term->alt_sblines" identifier + (field_expression "term->alt_sblines" identifier -> field_identifier))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int FUN_0003be30(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = count234(*(undefined4 *)(param_1 + 4));\n  if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0003be30(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = count234(*(undefined4 *)(param_1 + 4));\n  if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0003be30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = count234(*(undefined4 *)(param_1 + 4));\n  if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = count234(*(undefined4 *)(param_1 + 4));" (assignment_expression "iVar1 = count234(*(undefined4 *)(param_1 + 4))" identifier = (call_expression "count234(*(undefined4 *)(param_1 + 4))" identifier (argument_list "(*(undefined4 *)(param_1 + 4))" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }" if (parenthesized_expression "(((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0))" ( (binary_expression "((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)" (parenthesized_expression "((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0))" ( (binary_expression "(*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x1118) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1118) != 0" (pointer_expression "*(int *)(param_1 + 0x1118)" * (cast_expression "(int *)(param_1 + 0x1118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1118)" ( (binary_expression "param_1 + 0x1118" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x1a4) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1a4) != 0" (pointer_expression "*(int *)(param_1 + 0x1a4)" * (cast_expression "(int *)(param_1 + 0x1a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1a4)" ( (binary_expression "param_1 + 0x1a4" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }" { (expression_statement "iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);" (assignment_expression "iVar1 = iVar1 + *(int *)(param_1 + 0x1a8)" identifier = (binary_expression "iVar1 + *(int *)(param_1 + 0x1a8)" identifier + (pointer_expression "*(int *)(param_1 + 0x1a8)" * (cast_expression "(int *)(param_1 + 0x1a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1a8)" ( (binary_expression "param_1 + 0x1a8" identifier + number_literal) )))))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0003be30(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = count234(*(undefined4 *)(param_1 + 4));\n  if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0003be30(int param_1)" (identifier "FUN_0003be30") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = count234(*(undefined4 *)(param_1 + 4));\n  if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = count234(*(undefined4 *)(param_1 + 4));" (assignment_expression "iVar1 = count234(*(undefined4 *)(param_1 + 4))" (identifier "iVar1") (= "=") (call_expression "count234(*(undefined4 *)(param_1 + 4))" (identifier "count234") (argument_list "(*(undefined4 *)(param_1 + 4))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (if_statement "if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)) {\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }" (if "if") (parenthesized_expression "(((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0))" (( "(") (binary_expression "((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&\n     (*(int *)(param_1 + 0xc) != 0)" (parenthesized_expression "((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0))" (( "(") (binary_expression "(*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x1118) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1118) != 0" (pointer_expression "*(int *)(param_1 + 0x1118)" (* "*") (cast_expression "(int *)(param_1 + 0x1118)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1118)" (( "(") (binary_expression "param_1 + 0x1118" (identifier "param_1") (+ "+") (number_literal "0x1118")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0x1a4) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1a4) != 0" (pointer_expression "*(int *)(param_1 + 0x1a4)" (* "*") (cast_expression "(int *)(param_1 + 0x1a4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1a4)" (( "(") (binary_expression "param_1 + 0x1a4" (identifier "param_1") (+ "+") (number_literal "0x1a4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);\n  }" ({ "{") (expression_statement "iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);" (assignment_expression "iVar1 = iVar1 + *(int *)(param_1 + 0x1a8)" (identifier "iVar1") (= "=") (binary_expression "iVar1 + *(int *)(param_1 + 0x1a8)" (identifier "iVar1") (+ "+") (pointer_expression "*(int *)(param_1 + 0x1a8)" (* "*") (cast_expression "(int *)(param_1 + 0x1a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1a8)" (( "(") (binary_expression "param_1 + 0x1a8" (identifier "param_1") (+ "+") (number_literal "0x1a8")) () ")")))))) (; ";")) (} "}"))) (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 *term)

{
  int var_2;
  
  var_2 = var_1(term->scrollback);
  if (((term->erase_to_scrollback != 0) && (term->alt_which != 0)) &&
     (term->alt_screen != (type_2 *)0x0)) {
    var_2 = var_2 + term->alt_sblines;
  }
  return var_2;
}


(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: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (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)))))))))) (return_statement (identifier)))))

int MASKED(int param_1)

{
  int iVar1;
  
  iVar1 = count234(*(undefined4 *)(param_1 + 4));
  if (((*(int *)(param_1 + 0x1118) != 0) && (*(int *)(param_1 + 0x1a4) != 0)) &&
     (*(int *)(param_1 + 0xc) != 0)) {
    iVar1 = iVar1 + *(int *)(param_1 + 0x1a8);
  }
  return iVar1;
}

