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

int ssh_agent_forwarding_permitted(Ssh_conflict ssh)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(ssh->conf,0x1d);
  if (iVar1 == 0) {
    return 0;
  }
  iVar1 = (*(code *)PTR_agent_exists_001117f8)();
  return (uint)(iVar1 != 0);
}



bool ssh_agent_forwarding_permitted(int param_1)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);
  if (iVar1 == 0) {
    return false;
  }
  iVar1 = (*(code *)PTR_agent_exists_001117f8)();
  return iVar1 != 0;
}


lui gp,0xd
addiu gp,gp,-0x6020
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7efc(gp)
lw a0,0x248(a0)
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_li a1,0x1d
bne v0,zero,0x0004f30c
_lw gp,0x10(sp)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw t9,-0x7ab8(gp)
jalr t9
_nop
lw ra,0x1c(sp)
sltu v0,zero,v0
jr ra
_addiu sp,sp,0x20
(translation_unit "bool ssh_agent_forwarding_permitted(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);\n  if (iVar1 == 0) {\n    return false;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return iVar1 != 0;\n}\n\n" (function_definition "bool ssh_agent_forwarding_permitted(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);\n  if (iVar1 == 0) {\n    return false;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return iVar1 != 0;\n}" primitive_type (function_declarator "ssh_agent_forwarding_permitted(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 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);\n  if (iVar1 == 0) {\n    return false;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return iVar1 != 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);" (assignment_expression "iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d)" identifier = (call_expression "(*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d)" (parenthesized_expression "(*(code *)PTR_conf_get_int_001113b4)" ( (pointer_expression "*(code *)PTR_conf_get_int_001113b4" * (cast_expression "(code *)PTR_conf_get_int_001113b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x248),0x1d)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x248)" * (cast_expression "(undefined4 *)(param_1 + 0x248)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x248)" ( (binary_expression "param_1 + 0x248" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return false;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar1 = (*(code *)PTR_agent_exists_001117f8)();" (assignment_expression "iVar1 = (*(code *)PTR_agent_exists_001117f8)()" identifier = (call_expression "(*(code *)PTR_agent_exists_001117f8)()" (parenthesized_expression "(*(code *)PTR_agent_exists_001117f8)" ( (pointer_expression "*(code *)PTR_agent_exists_001117f8" * (cast_expression "(code *)PTR_agent_exists_001117f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh_agent_forwarding_permitted(Ssh_conflict ssh)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(ssh->conf,0x1d);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return (uint)(iVar1 != 0);\n}\n\n" comment (function_definition "int ssh_agent_forwarding_permitted(Ssh_conflict ssh)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(ssh->conf,0x1d);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return (uint)(iVar1 != 0);\n}" primitive_type (function_declarator "ssh_agent_forwarding_permitted(Ssh_conflict ssh)" identifier (parameter_list "(Ssh_conflict ssh)" ( (parameter_declaration "Ssh_conflict ssh" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(ssh->conf,0x1d);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return (uint)(iVar1 != 0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_conf_get_int_001113b4)(ssh->conf,0x1d);" (assignment_expression "iVar1 = (*(code *)PTR_conf_get_int_001113b4)(ssh->conf,0x1d)" identifier = (call_expression "(*(code *)PTR_conf_get_int_001113b4)(ssh->conf,0x1d)" (parenthesized_expression "(*(code *)PTR_conf_get_int_001113b4)" ( (pointer_expression "*(code *)PTR_conf_get_int_001113b4" * (cast_expression "(code *)PTR_conf_get_int_001113b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ssh->conf,0x1d)" ( (field_expression "ssh->conf" identifier -> field_identifier) , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = (*(code *)PTR_agent_exists_001117f8)();" (assignment_expression "iVar1 = (*(code *)PTR_agent_exists_001117f8)()" identifier = (call_expression "(*(code *)PTR_agent_exists_001117f8)()" (parenthesized_expression "(*(code *)PTR_agent_exists_001117f8)" ( (pointer_expression "*(code *)PTR_agent_exists_001117f8" * (cast_expression "(code *)PTR_agent_exists_001117f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return (uint)(iVar1 != 0);" return (call_expression "(uint)(iVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) ))) ;) })))
(translation_unit "bool ssh_agent_forwarding_permitted(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);\n  if (iVar1 == 0) {\n    return false;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return iVar1 != 0;\n}\n\n" (function_definition "bool ssh_agent_forwarding_permitted(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);\n  if (iVar1 == 0) {\n    return false;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return iVar1 != 0;\n}" primitive_type (function_declarator "ssh_agent_forwarding_permitted(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 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);\n  if (iVar1 == 0) {\n    return false;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return iVar1 != 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);" (assignment_expression "iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d)" identifier = (call_expression "(*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d)" (parenthesized_expression "(*(code *)PTR_conf_get_int_001113b4)" ( (pointer_expression "*(code *)PTR_conf_get_int_001113b4" * (cast_expression "(code *)PTR_conf_get_int_001113b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x248),0x1d)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x248)" * (cast_expression "(undefined4 *)(param_1 + 0x248)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x248)" ( (binary_expression "param_1 + 0x248" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return false;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "iVar1 = (*(code *)PTR_agent_exists_001117f8)();" (assignment_expression "iVar1 = (*(code *)PTR_agent_exists_001117f8)()" identifier = (call_expression "(*(code *)PTR_agent_exists_001117f8)()" (parenthesized_expression "(*(code *)PTR_agent_exists_001117f8)" ( (pointer_expression "*(code *)PTR_agent_exists_001117f8" * (cast_expression "(code *)PTR_agent_exists_001117f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })))
(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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (return_statement return (binary_expression IDENT != LIT) ;) })))
(function_definition "bool ssh_agent_forwarding_permitted(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);\n  if (iVar1 == 0) {\n    return false;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return iVar1 != 0;\n}" (primitive_type "bool") (function_declarator "ssh_agent_forwarding_permitted(int param_1)" (identifier "ssh_agent_forwarding_permitted") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);\n  if (iVar1 == 0) {\n    return false;\n  }\n  iVar1 = (*(code *)PTR_agent_exists_001117f8)();\n  return iVar1 != 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);" (assignment_expression "iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d)" (parenthesized_expression "(*(code *)PTR_conf_get_int_001113b4)" (( "(") (pointer_expression "*(code *)PTR_conf_get_int_001113b4" (* "*") (cast_expression "(code *)PTR_conf_get_int_001113b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_conf_get_int_001113b4"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x248),0x1d)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x248)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x248)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x248)" (( "(") (binary_expression "param_1 + 0x248" (identifier "param_1") (+ "+") (number_literal "0x248")) () ")")))) (, ",") (number_literal "0x1d") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return false;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return false;\n  }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_agent_exists_001117f8)();" (assignment_expression "iVar1 = (*(code *)PTR_agent_exists_001117f8)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_agent_exists_001117f8)()" (parenthesized_expression "(*(code *)PTR_agent_exists_001117f8)" (( "(") (pointer_expression "*(code *)PTR_agent_exists_001117f8" (* "*") (cast_expression "(code *)PTR_agent_exists_001117f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_agent_exists_001117f8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar1 != 0;" (return "return") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";")) (} "}")))
(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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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))))) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (false)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

bool MASKED(int param_1)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_conf_get_int_001113b4)(*(undefined4 *)(param_1 + 0x248),0x1d);
  if (iVar1 == 0) {
    return false;
  }
  iVar1 = (*(code *)PTR_agent_exists_001117f8)();
  return iVar1 != 0;
}

