
Packet * ssh2_pkt_init(int pkt_type)

{
                    /* WARNING: Subroutine does not return */
  ssh_new_packet();
}



int * FUN_000317a0(uint param_1)

{
  int *piVar1;
  
  piVar1 = (int *)FUN_00031244();
  *piVar1 = 5;
  piVar1[1] = 0;
  piVar1[2] = param_1;
  FUN_000316c8(piVar1,param_1 & 0xff);
  piVar1[5] = piVar1[4] + *piVar1;
  piVar1[9] = 0;
  piVar1[10] = 0;
  return piVar1;
}


lui gp,0x9
addiu gp,gp,-0x1510
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s1,a0,zero
lw t9,-0x7da8(gp)
addiu t9,t9,0x1244
bal 0x00031244
_nop
lw gp,0x10(sp)
or s0,v0,zero
li v0,0x5
sw v0,0x0(s0)
sw zero,0x4(s0)
sw s1,0x8(s0)
andi a1,s1,0xff
or a0,s0,zero
lw t9,-0x7da8(gp)
addiu t9,t9,0x16c8
bal 0x000316c8
_nop
lw gp,0x10(sp)
lw v0,0x10(s0)
lw v1,0x0(s0)
addu v0,v0,v1
sw v0,0x14(s0)
sw zero,0x24(s0)
sw zero,0x28(s0)
or v0,s0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "int * FUN_000317a0(uint param_1)\n\n{\n  int *piVar1;\n  \n  piVar1 = (int *)FUN_00031244();\n  *piVar1 = 5;\n  piVar1[1] = 0;\n  piVar1[2] = param_1;\n  FUN_000316c8(piVar1,param_1 & 0xff);\n  piVar1[5] = piVar1[4] + *piVar1;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  return piVar1;\n}\n\n" (function_definition "int * FUN_000317a0(uint param_1)\n\n{\n  int *piVar1;\n  \n  piVar1 = (int *)FUN_00031244();\n  *piVar1 = 5;\n  piVar1[1] = 0;\n  piVar1[2] = param_1;\n  FUN_000316c8(piVar1,param_1 & 0xff);\n  piVar1[5] = piVar1[4] + *piVar1;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  return piVar1;\n}" primitive_type (pointer_declarator "* FUN_000317a0(uint param_1)" * (function_declarator "FUN_000317a0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = (int *)FUN_00031244();\n  *piVar1 = 5;\n  piVar1[1] = 0;\n  piVar1[2] = param_1;\n  FUN_000316c8(piVar1,param_1 & 0xff);\n  piVar1[5] = piVar1[4] + *piVar1;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = (int *)FUN_00031244();" (assignment_expression "piVar1 = (int *)FUN_00031244()" identifier = (cast_expression "(int *)FUN_00031244()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00031244()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*piVar1 = 5;" (assignment_expression "*piVar1 = 5" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[2] = param_1;" (assignment_expression "piVar1[2] = param_1" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_000316c8(piVar1,param_1 & 0xff);" (call_expression "FUN_000316c8(piVar1,param_1 & 0xff)" identifier (argument_list "(piVar1,param_1 & 0xff)" ( identifier , (binary_expression "param_1 & 0xff" identifier & number_literal) ))) ;) (expression_statement "piVar1[5] = piVar1[4] + *piVar1;" (assignment_expression "piVar1[5] = piVar1[4] + *piVar1" (subscript_expression "piVar1[5]" identifier [ number_literal ]) = (binary_expression "piVar1[4] + *piVar1" (subscript_expression "piVar1[4]" identifier [ number_literal ]) + (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "piVar1[9] = 0;" (assignment_expression "piVar1[9] = 0" (subscript_expression "piVar1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[10] = 0;" (assignment_expression "piVar1[10] = 0" (subscript_expression "piVar1[10]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit "Packet * ssh2_pkt_init(int pkt_type)\n\n{\n                    /* WARNING: Subroutine does not return */\n  ssh_new_packet();\n}\n\n" (function_definition "Packet * ssh2_pkt_init(int pkt_type)\n\n{\n                    /* WARNING: Subroutine does not return */\n  ssh_new_packet();\n}" type_identifier (pointer_declarator "* ssh2_pkt_init(int pkt_type)" * (function_declarator "ssh2_pkt_init(int pkt_type)" identifier (parameter_list "(int pkt_type)" ( (parameter_declaration "int pkt_type" primitive_type identifier) )))) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n  ssh_new_packet();\n}" { comment (expression_statement "ssh_new_packet();" (call_expression "ssh_new_packet()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int * FUN_000317a0(uint param_1)\n\n{\n  int *piVar1;\n  \n  piVar1 = (int *)FUN_00031244();\n  *piVar1 = 5;\n  piVar1[1] = 0;\n  piVar1[2] = param_1;\n  FUN_000316c8(piVar1,param_1 & 0xff);\n  piVar1[5] = piVar1[4] + *piVar1;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  return piVar1;\n}\n\n" (function_definition "int * FUN_000317a0(uint param_1)\n\n{\n  int *piVar1;\n  \n  piVar1 = (int *)FUN_00031244();\n  *piVar1 = 5;\n  piVar1[1] = 0;\n  piVar1[2] = param_1;\n  FUN_000316c8(piVar1,param_1 & 0xff);\n  piVar1[5] = piVar1[4] + *piVar1;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  return piVar1;\n}" primitive_type (pointer_declarator "* FUN_000317a0(uint param_1)" * (function_declarator "FUN_000317a0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = (int *)FUN_00031244();\n  *piVar1 = 5;\n  piVar1[1] = 0;\n  piVar1[2] = param_1;\n  FUN_000316c8(piVar1,param_1 & 0xff);\n  piVar1[5] = piVar1[4] + *piVar1;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = (int *)FUN_00031244();" (assignment_expression "piVar1 = (int *)FUN_00031244()" identifier = (cast_expression "(int *)FUN_00031244()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00031244()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*piVar1 = 5;" (assignment_expression "*piVar1 = 5" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[2] = param_1;" (assignment_expression "piVar1[2] = param_1" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_000316c8(piVar1,param_1 & 0xff);" (call_expression "FUN_000316c8(piVar1,param_1 & 0xff)" identifier (argument_list "(piVar1,param_1 & 0xff)" ( identifier , (binary_expression "param_1 & 0xff" identifier & number_literal) ))) ;) (expression_statement "piVar1[5] = piVar1[4] + *piVar1;" (assignment_expression "piVar1[5] = piVar1[4] + *piVar1" (subscript_expression "piVar1[5]" identifier [ number_literal ]) = (binary_expression "piVar1[4] + *piVar1" (subscript_expression "piVar1[4]" identifier [ number_literal ]) + (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "piVar1[9] = 0;" (assignment_expression "piVar1[9] = 0" (subscript_expression "piVar1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[10] = 0;" (assignment_expression "piVar1[10] = 0" (subscript_expression "piVar1[10]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT & LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_000317a0(uint param_1)\n\n{\n  int *piVar1;\n  \n  piVar1 = (int *)FUN_00031244();\n  *piVar1 = 5;\n  piVar1[1] = 0;\n  piVar1[2] = param_1;\n  FUN_000316c8(piVar1,param_1 & 0xff);\n  piVar1[5] = piVar1[4] + *piVar1;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  return piVar1;\n}" (primitive_type "int") (pointer_declarator "* FUN_000317a0(uint param_1)" (* "*") (function_declarator "FUN_000317a0(uint param_1)" (identifier "FUN_000317a0") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")")))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = (int *)FUN_00031244();\n  *piVar1 = 5;\n  piVar1[1] = 0;\n  piVar1[2] = param_1;\n  FUN_000316c8(piVar1,param_1 & 0xff);\n  piVar1[5] = piVar1[4] + *piVar1;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  return piVar1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (expression_statement "piVar1 = (int *)FUN_00031244();" (assignment_expression "piVar1 = (int *)FUN_00031244()" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_00031244()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00031244()" (identifier "FUN_00031244") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*piVar1 = 5;" (assignment_expression "*piVar1 = 5" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "5")) (; ";")) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[2] = param_1;" (assignment_expression "piVar1[2] = param_1" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "FUN_000316c8(piVar1,param_1 & 0xff);" (call_expression "FUN_000316c8(piVar1,param_1 & 0xff)" (identifier "FUN_000316c8") (argument_list "(piVar1,param_1 & 0xff)" (( "(") (identifier "piVar1") (, ",") (binary_expression "param_1 & 0xff" (identifier "param_1") (& "&") (number_literal "0xff")) () ")"))) (; ";")) (expression_statement "piVar1[5] = piVar1[4] + *piVar1;" (assignment_expression "piVar1[5] = piVar1[4] + *piVar1" (subscript_expression "piVar1[5]" (identifier "piVar1") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "piVar1[4] + *piVar1" (subscript_expression "piVar1[4]" (identifier "piVar1") ([ "[") (number_literal "4") (] "]")) (+ "+") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (; ";")) (expression_statement "piVar1[9] = 0;" (assignment_expression "piVar1[9] = 0" (subscript_expression "piVar1[9]" (identifier "piVar1") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[10] = 0;" (assignment_expression "piVar1[10] = 0" (subscript_expression "piVar1[10]" (identifier "piVar1") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}")))

type_1 * function_1(int pkt_type)

{
                    /* WARNING: Subroutine does not return */
  var_1();
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (identifier)))))

int * MASKED(uint param_1)

{
  int *piVar1;
  
  piVar1 = (int *)FUN_00031244();
  *piVar1 = 5;
  piVar1[1] = 0;
  piVar1[2] = param_1;
  FUN_000316c8(piVar1,param_1 & 0xff);
  piVar1[5] = piVar1[4] + *piVar1;
  piVar1[9] = 0;
  piVar1[10] = 0;
  return piVar1;
}

