
int match_ssh_id(int stringlen,void *string,char *id)

{
  int iVar1;
  uint uVar2;
  
  iVar1 = (*(code *)PTR_strlen_00122558)(id);
  if (iVar1 == stringlen) {
    iVar1 = (*(code *)PTR_memcmp_00122454)(string,id,iVar1);
    uVar2 = (uint)(iVar1 == 0);
  }
  else {
    uVar2 = 0;
  }
  return uVar2;
}



bool match_ssh_id(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  bool bVar2;
  
  iVar1 = (*(code *)PTR_strlen_00122558)(param_3);
  if (iVar1 == param_1) {
    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);
    bVar2 = iVar1 == 0;
  }
  else {
    bVar2 = false;
  }
  return bVar2;
}


lui gp,0xf
addiu gp,gp,-0x39c4
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s1,a0,zero
or s2,a1,zero
or s0,a2,zero
or a0,a2,zero
lw t9,-0x6d58(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,s1,0x0003ccdc
_or a2,v0,zero
or v0,zero,zero
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
or a1,s0,zero
or a0,s2,zero
lw t9,-0x6e5c(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x0003ccc4
_sltiu v0,v0,0x1
(translation_unit "bool match_ssh_id(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(param_3);\n  if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }\n  return bVar2;\n}\n\n" (function_definition "bool match_ssh_id(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(param_3);\n  if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }\n  return bVar2;\n}" primitive_type (function_declarator "match_ssh_id(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(param_3);\n  if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }\n  return bVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strlen_00122558)(param_3);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00122558)(param_3)" identifier = (call_expression "(*(code *)PTR_strlen_00122558)(param_3)" (parenthesized_expression "(*(code *)PTR_strlen_00122558)" ( (pointer_expression "*(code *)PTR_strlen_00122558" * (cast_expression "(code *)PTR_strlen_00122558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }" if (parenthesized_expression "(iVar1 == param_1)" ( (binary_expression "iVar1 == param_1" identifier == identifier) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);" (assignment_expression "iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1)" identifier = (call_expression "(*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1)" (parenthesized_expression "(*(code *)PTR_memcmp_00122454)" ( (pointer_expression "*(code *)PTR_memcmp_00122454" * (cast_expression "(code *)PTR_memcmp_00122454" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,param_3,iVar1)" ( identifier , identifier , identifier )))) ;) (expression_statement "bVar2 = iVar1 == 0;" (assignment_expression "bVar2 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) }) (else_clause "else {\n    bVar2 = false;\n  }" else (compound_statement "{\n    bVar2 = false;\n  }" { (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit "int match_ssh_id(int stringlen,void *string,char *id)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(id);\n  if (iVar1 == stringlen) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(string,id,iVar1);\n    uVar2 = (uint)(iVar1 == 0);\n  }\n  else {\n    uVar2 = 0;\n  }\n  return uVar2;\n}\n\n" (function_definition "int match_ssh_id(int stringlen,void *string,char *id)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(id);\n  if (iVar1 == stringlen) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(string,id,iVar1);\n    uVar2 = (uint)(iVar1 == 0);\n  }\n  else {\n    uVar2 = 0;\n  }\n  return uVar2;\n}" primitive_type (function_declarator "match_ssh_id(int stringlen,void *string,char *id)" identifier (parameter_list "(int stringlen,void *string,char *id)" ( (parameter_declaration "int stringlen" primitive_type identifier) , (parameter_declaration "void *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "char *id" primitive_type (pointer_declarator "*id" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(id);\n  if (iVar1 == stringlen) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(string,id,iVar1);\n    uVar2 = (uint)(iVar1 == 0);\n  }\n  else {\n    uVar2 = 0;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strlen_00122558)(id);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00122558)(id)" identifier = (call_expression "(*(code *)PTR_strlen_00122558)(id)" (parenthesized_expression "(*(code *)PTR_strlen_00122558)" ( (pointer_expression "*(code *)PTR_strlen_00122558" * (cast_expression "(code *)PTR_strlen_00122558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(id)" ( identifier )))) ;) (if_statement "if (iVar1 == stringlen) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(string,id,iVar1);\n    uVar2 = (uint)(iVar1 == 0);\n  }\n  else {\n    uVar2 = 0;\n  }" if (parenthesized_expression "(iVar1 == stringlen)" ( (binary_expression "iVar1 == stringlen" identifier == identifier) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_memcmp_00122454)(string,id,iVar1);\n    uVar2 = (uint)(iVar1 == 0);\n  }" { (expression_statement "iVar1 = (*(code *)PTR_memcmp_00122454)(string,id,iVar1);" (assignment_expression "iVar1 = (*(code *)PTR_memcmp_00122454)(string,id,iVar1)" identifier = (call_expression "(*(code *)PTR_memcmp_00122454)(string,id,iVar1)" (parenthesized_expression "(*(code *)PTR_memcmp_00122454)" ( (pointer_expression "*(code *)PTR_memcmp_00122454" * (cast_expression "(code *)PTR_memcmp_00122454" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(string,id,iVar1)" ( identifier , identifier , identifier )))) ;) (expression_statement "uVar2 = (uint)(iVar1 == 0);" (assignment_expression "uVar2 = (uint)(iVar1 == 0)" identifier = (call_expression "(uint)(iVar1 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )))) ;) }) (else_clause "else {\n    uVar2 = 0;\n  }" else (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "bool match_ssh_id(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(param_3);\n  if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }\n  return bVar2;\n}\n\n" (function_definition "bool match_ssh_id(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(param_3);\n  if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }\n  return bVar2;\n}" primitive_type (function_declarator "match_ssh_id(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(param_3);\n  if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }\n  return bVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_strlen_00122558)(param_3);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00122558)(param_3)" identifier = (call_expression "(*(code *)PTR_strlen_00122558)(param_3)" (parenthesized_expression "(*(code *)PTR_strlen_00122558)" ( (pointer_expression "*(code *)PTR_strlen_00122558" * (cast_expression "(code *)PTR_strlen_00122558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }" if (parenthesized_expression "(iVar1 == param_1)" ( (binary_expression "iVar1 == param_1" identifier == identifier) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);" (assignment_expression "iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1)" identifier = (call_expression "(*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1)" (parenthesized_expression "(*(code *)PTR_memcmp_00122454)" ( (pointer_expression "*(code *)PTR_memcmp_00122454" * (cast_expression "(code *)PTR_memcmp_00122454" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,param_3,iVar1)" ( identifier , identifier , identifier )))) ;) (expression_statement "bVar2 = iVar1 == 0;" (assignment_expression "bVar2 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) }) (else_clause "else {\n    bVar2 = false;\n  }" else (compound_statement "{\n    bVar2 = false;\n  }" { (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }))) (return_statement return IDENT ;) })))
(function_definition "bool match_ssh_id(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(param_3);\n  if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }\n  return bVar2;\n}" (primitive_type "bool") (function_declarator "match_ssh_id(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "match_ssh_id") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  iVar1 = (*(code *)PTR_strlen_00122558)(param_3);\n  if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }\n  return bVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_strlen_00122558)(param_3);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00122558)(param_3)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_strlen_00122558)(param_3)" (parenthesized_expression "(*(code *)PTR_strlen_00122558)" (( "(") (pointer_expression "*(code *)PTR_strlen_00122558" (* "*") (cast_expression "(code *)PTR_strlen_00122558" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00122558"))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar1 == param_1) {\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }\n  else {\n    bVar2 = false;\n  }" (if "if") (parenthesized_expression "(iVar1 == param_1)" (( "(") (binary_expression "iVar1 == param_1" (identifier "iVar1") (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);\n    bVar2 = iVar1 == 0;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);" (assignment_expression "iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1)" (parenthesized_expression "(*(code *)PTR_memcmp_00122454)" (( "(") (pointer_expression "*(code *)PTR_memcmp_00122454" (* "*") (cast_expression "(code *)PTR_memcmp_00122454" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcmp_00122454"))) () ")")) (argument_list "(param_2,param_3,iVar1)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "bVar2 = iVar1 == 0;" (assignment_expression "bVar2 = iVar1 == 0" (identifier "bVar2") (= "=") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) (; ";")) (} "}")) (else_clause "else {\n    bVar2 = false;\n  }" (else "else") (compound_statement "{\n    bVar2 = false;\n  }" ({ "{") (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (} "}")))) (return_statement "return bVar2;" (return "return") (identifier "bVar2") (; ";")) (} "}")))

int function_1(int var_2,void *string,char *id)

{
  int var_1;
  type_1 uVar2;
  
  var_1 = (*(type_2 *)PTR_strlen_00122558)(id);
  if (var_1 == var_2) {
    var_1 = (*(type_2 *)PTR_memcmp_00122454)(string,id,var_1);
    uVar2 = (type_1)(var_1 == 0);
  }
  else {
    uVar2 = 0;
  }
  return uVar2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (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 (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (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 (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (false)))))) (return_statement (identifier)))))

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

{
  int iVar1;
  bool bVar2;
  
  iVar1 = (*(code *)PTR_strlen_00122558)(param_3);
  if (iVar1 == param_1) {
    iVar1 = (*(code *)PTR_memcmp_00122454)(param_2,param_3,iVar1);
    bVar2 = iVar1 == 0;
  }
  else {
    bVar2 = false;
  }
  return bVar2;
}

