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

void ssh2_msg_unexpected(Ssh_conflict ssh,Packet *pktin)

{
  char *pcVar1;
  
  pcVar1 = ssh2_pkt_type(ssh->pkt_kctx,ssh->pkt_actx,pktin->type);
  pcVar1 = dupprintf(PTR_E1_202__001112f8 + -0x32d4,pcVar1);
                    /* WARNING: Subroutine does not return */
  ssh_disconnect(ssh,(char *)0x0,pcVar1,2,0);
}



void FUN_00058c68(int param_1,int param_2)

{
  undefined4 uVar1;
  
  uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),
                       *(undefined4 *)(param_2 + 8));
  uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);
  FUN_00057e04(param_1,0,uVar1,2,0);
  safefree(uVar1);
  return;
}


lui gp,0xc
addiu gp,gp,0x648
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7b3c(gp)
lw a2,0x8(a1)
sw s0,0x24(sp)
or s0,a0,zero
sw ra,0x2c(sp)
addiu t9,t9,-0x6204
sw s1,0x28(sp)
sw gp,0x18(sp)
lw a1,0x188(s0)
bal 0x00049dfc
_lw a0,0x184(a0)
lw gp,0x18(sp)
or a1,v0,zero
lw a0,-0x7fb8(gp)
lw t9,-0x7f08(gp)
bal 0x00039eb8
_addiu a0,a0,-0x32d4
li a3,0x2
lw gp,0x18(sp)
or a1,zero,zero
or a0,s0,zero
sw zero,0x10(sp)
or a2,v0,zero
lw t9,-0x7b3c(gp)
addiu t9,t9,0x7e04
bal 0x00057e04
_or s1,v0,zero
or a0,s1,zero
lw gp,0x18(sp)
lw ra,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
lw t9,-0x7fc0(gp)
b 0x0003a244
_addiu sp,sp,0x30
(translation_unit "void FUN_00058c68(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));\n  uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);\n  FUN_00057e04(param_1,0,uVar1,2,0);\n  safefree(uVar1);\n  return;\n}\n\n" (function_definition "void FUN_00058c68(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));\n  uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);\n  FUN_00057e04(param_1,0,uVar1,2,0);\n  safefree(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00058c68(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));\n  uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);\n  FUN_00057e04(param_1,0,uVar1,2,0);\n  safefree(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));" (assignment_expression "uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8))" identifier = (call_expression "FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x184)" * (cast_expression "(undefined4 *)(param_1 + 0x184)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x184)" ( (binary_expression "param_1 + 0x184" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x188)" * (cast_expression "(undefined4 *)(param_1 + 0x188)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x188)" ( (binary_expression "param_1 + 0x188" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);" (assignment_expression "uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1)" identifier = (call_expression "dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1)" identifier (argument_list "(PTR_DAT_001112f8 + -0x32d4,uVar1)" ( (binary_expression "PTR_DAT_001112f8 + -0x32d4" identifier + number_literal) , identifier )))) ;) (expression_statement "FUN_00057e04(param_1,0,uVar1,2,0);" (call_expression "FUN_00057e04(param_1,0,uVar1,2,0)" identifier (argument_list "(param_1,0,uVar1,2,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "safefree(uVar1);" (call_expression "safefree(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_unexpected(Ssh_conflict ssh,Packet *pktin)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = ssh2_pkt_type(ssh->pkt_kctx,ssh->pkt_actx,pktin->type);\n  pcVar1 = dupprintf(PTR_E1_202__001112f8 + -0x32d4,pcVar1);\n                    /* WARNING: Subroutine does not return */\n  ssh_disconnect(ssh,(char *)0x0,pcVar1,2,0);\n}\n\n" comment (function_definition "void ssh2_msg_unexpected(Ssh_conflict ssh,Packet *pktin)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = ssh2_pkt_type(ssh->pkt_kctx,ssh->pkt_actx,pktin->type);\n  pcVar1 = dupprintf(PTR_E1_202__001112f8 + -0x32d4,pcVar1);\n                    /* WARNING: Subroutine does not return */\n  ssh_disconnect(ssh,(char *)0x0,pcVar1,2,0);\n}" primitive_type (function_declarator "ssh2_msg_unexpected(Ssh_conflict ssh,Packet *pktin)" identifier (parameter_list "(Ssh_conflict ssh,Packet *pktin)" ( (parameter_declaration "Ssh_conflict ssh" type_identifier identifier) , (parameter_declaration "Packet *pktin" type_identifier (pointer_declarator "*pktin" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = ssh2_pkt_type(ssh->pkt_kctx,ssh->pkt_actx,pktin->type);\n  pcVar1 = dupprintf(PTR_E1_202__001112f8 + -0x32d4,pcVar1);\n                    /* WARNING: Subroutine does not return */\n  ssh_disconnect(ssh,(char *)0x0,pcVar1,2,0);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = ssh2_pkt_type(ssh->pkt_kctx,ssh->pkt_actx,pktin->type);" (assignment_expression "pcVar1 = ssh2_pkt_type(ssh->pkt_kctx,ssh->pkt_actx,pktin->type)" identifier = (call_expression "ssh2_pkt_type(ssh->pkt_kctx,ssh->pkt_actx,pktin->type)" identifier (argument_list "(ssh->pkt_kctx,ssh->pkt_actx,pktin->type)" ( (field_expression "ssh->pkt_kctx" identifier -> field_identifier) , (field_expression "ssh->pkt_actx" identifier -> field_identifier) , (field_expression "pktin->type" identifier -> field_identifier) )))) ;) (expression_statement "pcVar1 = dupprintf(PTR_E1_202__001112f8 + -0x32d4,pcVar1);" (assignment_expression "pcVar1 = dupprintf(PTR_E1_202__001112f8 + -0x32d4,pcVar1)" identifier = (call_expression "dupprintf(PTR_E1_202__001112f8 + -0x32d4,pcVar1)" identifier (argument_list "(PTR_E1_202__001112f8 + -0x32d4,pcVar1)" ( (binary_expression "PTR_E1_202__001112f8 + -0x32d4" identifier + number_literal) , identifier )))) ;) comment (expression_statement "ssh_disconnect(ssh,(char *)0x0,pcVar1,2,0);" (call_expression "ssh_disconnect(ssh,(char *)0x0,pcVar1,2,0)" identifier (argument_list "(ssh,(char *)0x0,pcVar1,2,0)" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , number_literal , number_literal ))) ;) })))
(translation_unit "void FUN_00058c68(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));\n  uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);\n  FUN_00057e04(param_1,0,uVar1,2,0);\n  safefree(uVar1);\n  return;\n}\n\n" (function_definition "void FUN_00058c68(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));\n  uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);\n  FUN_00057e04(param_1,0,uVar1,2,0);\n  safefree(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00058c68(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));\n  uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);\n  FUN_00057e04(param_1,0,uVar1,2,0);\n  safefree(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));" (assignment_expression "uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8))" identifier = (call_expression "FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x184)" * (cast_expression "(undefined4 *)(param_1 + 0x184)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x184)" ( (binary_expression "param_1 + 0x184" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x188)" * (cast_expression "(undefined4 *)(param_1 + 0x188)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x188)" ( (binary_expression "param_1 + 0x188" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);" (assignment_expression "uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1)" identifier = (call_expression "dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1)" identifier (argument_list "(PTR_DAT_001112f8 + -0x32d4,uVar1)" ( (binary_expression "PTR_DAT_001112f8 + -0x32d4" identifier + number_literal) , identifier )))) ;) (expression_statement "FUN_00057e04(param_1,0,uVar1,2,0);" (call_expression "FUN_00057e04(param_1,0,uVar1,2,0)" identifier (argument_list "(param_1,0,uVar1,2,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) (expression_statement "safefree(uVar1);" (call_expression "safefree(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (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) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00058c68(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));\n  uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);\n  FUN_00057e04(param_1,0,uVar1,2,0);\n  safefree(uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00058c68(int param_1,int param_2)" (identifier "FUN_00058c68") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));\n  uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);\n  FUN_00057e04(param_1,0,uVar1,2,0);\n  safefree(uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8));" (assignment_expression "uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8))" (identifier "uVar1") (= "=") (call_expression "FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8))" (identifier "FUN_00049dfc") (argument_list "(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),\n                       *(undefined4 *)(param_2 + 8))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x184)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x184)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x184)" (( "(") (binary_expression "param_1 + 0x184" (identifier "param_1") (+ "+") (number_literal "0x184")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x188)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x188)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x188)" (( "(") (binary_expression "param_1 + 0x188" (identifier "param_1") (+ "+") (number_literal "0x188")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);" (assignment_expression "uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1)" (identifier "uVar1") (= "=") (call_expression "dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1)" (identifier "dupprintf") (argument_list "(PTR_DAT_001112f8 + -0x32d4,uVar1)" (( "(") (binary_expression "PTR_DAT_001112f8 + -0x32d4" (identifier "PTR_DAT_001112f8") (+ "+") (number_literal "-0x32d4")) (, ",") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "FUN_00057e04(param_1,0,uVar1,2,0);" (call_expression "FUN_00057e04(param_1,0,uVar1,2,0)" (identifier "FUN_00057e04") (argument_list "(param_1,0,uVar1,2,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (identifier "uVar1") (, ",") (number_literal "2") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "safefree(uVar1);" (call_expression "safefree(uVar1)" (identifier "safefree") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 ssh,type_2 *pktin)

{
  char *pcVar1;
  
  pcVar1 = var_1(ssh->pkt_kctx,ssh->pkt_actx,pktin->type);
  pcVar1 = var_2(var_3 + -0x32d4,pcVar1);
                    /* WARNING: Subroutine does not return */
  var_4(ssh,(char *)0x0,pcVar1,2,0);
}


(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) 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))))) (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))))) (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))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (number_literal) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  
  uVar1 = FUN_00049dfc(*(undefined4 *)(param_1 + 0x184),*(undefined4 *)(param_1 + 0x188),
                       *(undefined4 *)(param_2 + 8));
  uVar1 = dupprintf(PTR_DAT_001112f8 + -0x32d4,uVar1);
  FUN_00057e04(param_1,0,uVar1,2,0);
  safefree(uVar1);
  return;
}

