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

void ssh1_smsg_exit_status(Ssh_conflict ssh,Packet *pktin)

{
  ulong uVar1;
  
  uVar1 = ssh_pkt_getuint32(pktin);
  ssh->exitcode = uVar1;
  logeventf(ssh,PTR_DAT_000ad2c8 + -0xad0,uVar1);
  send_packet(ssh,0x21,0);
  ssh_disconnect(ssh,(char *)0x0,(char *)0x0,0,1);
  return;
}



void FUN_00043e80(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = FUN_0002f068(param_2);
  *(undefined4 *)(param_1 + 0x130) = uVar1;
  FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);
  FUN_00041954(param_1,0x21,0);
  FUN_0003fe14(param_1,0,0,0,1);
  return;
}


lui gp,0x7
addiu gp,gp,0x1410
addu gp,gp,t9
lw t9,-0x7ce0(gp)
addiu sp,sp,-0x28
addiu t9,t9,-0xf98
sw ra,0x24(sp)
sw s0,0x20(sp)
or s0,a0,zero
sw gp,0x18(sp)
bal 0x0002f068
_or a0,a1,zero
or a0,s0,zero
lw gp,0x18(sp)
or a2,v0,zero
sw v0,0x130(s0)
lw a1,-0x7fc8(gp)
lw t9,-0x7ce0(gp)
addiu t9,t9,-0xe98
bal 0x0002f168
_addiu a1,a1,-0xad0
or a2,zero,zero
lw gp,0x18(sp)
li a1,0x21
lw t9,-0x7b94(gp)
addiu t9,t9,0x1954
bal 0x00041954
_or a0,s0,zero
li v0,0x1
lw gp,0x18(sp)
or a3,zero,zero
or a2,zero,zero
sw v0,0x10(sp)
or a1,zero,zero
lw t9,-0x7b94(gp)
addiu t9,t9,-0x1ec
bal 0x0003fe14
_or a0,s0,zero
lw ra,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_00043e80(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0002f068(param_2);\n  *(undefined4 *)(param_1 + 0x130) = uVar1;\n  FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  FUN_00041954(param_1,0x21,0);\n  FUN_0003fe14(param_1,0,0,0,1);\n  return;\n}\n\n" (function_definition "void FUN_00043e80(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0002f068(param_2);\n  *(undefined4 *)(param_1 + 0x130) = uVar1;\n  FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  FUN_00041954(param_1,0x21,0);\n  FUN_0003fe14(param_1,0,0,0,1);\n  return;\n}" primitive_type (function_declarator "FUN_00043e80(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0002f068(param_2);\n  *(undefined4 *)(param_1 + 0x130) = uVar1;\n  FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  FUN_00041954(param_1,0x21,0);\n  FUN_0003fe14(param_1,0,0,0,1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_0002f068(param_2);" (assignment_expression "uVar1 = FUN_0002f068(param_2)" identifier = (call_expression "FUN_0002f068(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x130) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x130) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x130)" * (cast_expression "(undefined4 *)(param_1 + 0x130)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);" (call_expression "FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1)" identifier (argument_list "(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0xad0" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_00041954(param_1,0x21,0);" (call_expression "FUN_00041954(param_1,0x21,0)" identifier (argument_list "(param_1,0x21,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "FUN_0003fe14(param_1,0,0,0,1);" (call_expression "FUN_0003fe14(param_1,0,0,0,1)" identifier (argument_list "(param_1,0,0,0,1)" ( identifier , number_literal , number_literal , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_smsg_exit_status(Ssh_conflict ssh,Packet *pktin)\n\n{\n  ulong uVar1;\n  \n  uVar1 = ssh_pkt_getuint32(pktin);\n  ssh->exitcode = uVar1;\n  logeventf(ssh,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  send_packet(ssh,0x21,0);\n  ssh_disconnect(ssh,(char *)0x0,(char *)0x0,0,1);\n  return;\n}\n\n" comment (function_definition "void ssh1_smsg_exit_status(Ssh_conflict ssh,Packet *pktin)\n\n{\n  ulong uVar1;\n  \n  uVar1 = ssh_pkt_getuint32(pktin);\n  ssh->exitcode = uVar1;\n  logeventf(ssh,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  send_packet(ssh,0x21,0);\n  ssh_disconnect(ssh,(char *)0x0,(char *)0x0,0,1);\n  return;\n}" primitive_type (function_declarator "ssh1_smsg_exit_status(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  ulong uVar1;\n  \n  uVar1 = ssh_pkt_getuint32(pktin);\n  ssh->exitcode = uVar1;\n  logeventf(ssh,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  send_packet(ssh,0x21,0);\n  ssh_disconnect(ssh,(char *)0x0,(char *)0x0,0,1);\n  return;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = ssh_pkt_getuint32(pktin);" (assignment_expression "uVar1 = ssh_pkt_getuint32(pktin)" identifier = (call_expression "ssh_pkt_getuint32(pktin)" identifier (argument_list "(pktin)" ( identifier )))) ;) (expression_statement "ssh->exitcode = uVar1;" (assignment_expression "ssh->exitcode = uVar1" (field_expression "ssh->exitcode" identifier -> field_identifier) = identifier) ;) (expression_statement "logeventf(ssh,PTR_DAT_000ad2c8 + -0xad0,uVar1);" (call_expression "logeventf(ssh,PTR_DAT_000ad2c8 + -0xad0,uVar1)" identifier (argument_list "(ssh,PTR_DAT_000ad2c8 + -0xad0,uVar1)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0xad0" identifier + number_literal) , identifier ))) ;) (expression_statement "send_packet(ssh,0x21,0);" (call_expression "send_packet(ssh,0x21,0)" identifier (argument_list "(ssh,0x21,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "ssh_disconnect(ssh,(char *)0x0,(char *)0x0,0,1);" (call_expression "ssh_disconnect(ssh,(char *)0x0,(char *)0x0,0,1)" identifier (argument_list "(ssh,(char *)0x0,(char *)0x0,0,1)" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00043e80(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0002f068(param_2);\n  *(undefined4 *)(param_1 + 0x130) = uVar1;\n  FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  FUN_00041954(param_1,0x21,0);\n  FUN_0003fe14(param_1,0,0,0,1);\n  return;\n}\n\n" (function_definition "void FUN_00043e80(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0002f068(param_2);\n  *(undefined4 *)(param_1 + 0x130) = uVar1;\n  FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  FUN_00041954(param_1,0x21,0);\n  FUN_0003fe14(param_1,0,0,0,1);\n  return;\n}" primitive_type (function_declarator "FUN_00043e80(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0002f068(param_2);\n  *(undefined4 *)(param_1 + 0x130) = uVar1;\n  FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  FUN_00041954(param_1,0x21,0);\n  FUN_0003fe14(param_1,0,0,0,1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_0002f068(param_2);" (assignment_expression "uVar1 = FUN_0002f068(param_2)" identifier = (call_expression "FUN_0002f068(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x130) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x130) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x130)" * (cast_expression "(undefined4 *)(param_1 + 0x130)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);" (call_expression "FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1)" identifier (argument_list "(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1)" ( identifier , (binary_expression "PTR_DAT_000ad2c8 + -0xad0" identifier + number_literal) , identifier ))) ;) (expression_statement "FUN_00041954(param_1,0x21,0);" (call_expression "FUN_00041954(param_1,0x21,0)" identifier (argument_list "(param_1,0x21,0)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "FUN_0003fe14(param_1,0,0,0,1);" (call_expression "FUN_0003fe14(param_1,0,0,0,1)" identifier (argument_list "(param_1,0,0,0,1)" ( identifier , number_literal , number_literal , number_literal , number_literal ))) ;) (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 ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00043e80(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0002f068(param_2);\n  *(undefined4 *)(param_1 + 0x130) = uVar1;\n  FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  FUN_00041954(param_1,0x21,0);\n  FUN_0003fe14(param_1,0,0,0,1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00043e80(int param_1,undefined4 param_2)" (identifier "FUN_00043e80") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0002f068(param_2);\n  *(undefined4 *)(param_1 + 0x130) = uVar1;\n  FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);\n  FUN_00041954(param_1,0x21,0);\n  FUN_0003fe14(param_1,0,0,0,1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_0002f068(param_2);" (assignment_expression "uVar1 = FUN_0002f068(param_2)" (identifier "uVar1") (= "=") (call_expression "FUN_0002f068(param_2)" (identifier "FUN_0002f068") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x130) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x130) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x130)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x130)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x130)" (( "(") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);" (call_expression "FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1)" (identifier "FUN_0002f168") (argument_list "(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_DAT_000ad2c8 + -0xad0" (identifier "PTR_DAT_000ad2c8") (+ "+") (number_literal "-0xad0")) (, ",") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "FUN_00041954(param_1,0x21,0);" (call_expression "FUN_00041954(param_1,0x21,0)" (identifier "FUN_00041954") (argument_list "(param_1,0x21,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0x21") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_0003fe14(param_1,0,0,0,1);" (call_expression "FUN_0003fe14(param_1,0,0,0,1)" (identifier "FUN_0003fe14") (argument_list "(param_1,0,0,0,1)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "1") () ")"))) (; ";")) (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)

{
  type_3 uVar1;
  
  uVar1 = var_1(pktin);
  ssh->exitcode = uVar1;
  var_2(ssh,var_3 + -0xad0,uVar1);
  var_4(ssh,0x21,0);
  var_5(ssh,(char *)0x0,(char *)0x0,0,1);
  return;
}


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

void MASKED(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = FUN_0002f068(param_2);
  *(undefined4 *)(param_1 + 0x130) = uVar1;
  FUN_0002f168(param_1,PTR_DAT_000ad2c8 + -0xad0,uVar1);
  FUN_00041954(param_1,0x21,0);
  FUN_0003fe14(param_1,0,0,0,1);
  return;
}

