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

void ssh_connshare_log(Ssh_conflict ssh,int event,char *logtext,char *ds_err,char *us_err)

{
  if (event == 0) {
    if (logtext != (char *)0x0) {
                    /* WARNING: Subroutine does not return */
      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);
    }
    if (ds_err != (char *)0x0) {
                    /* WARNING: Subroutine does not return */
      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err);
    }
    if (us_err != (char *)0x0) {
                    /* WARNING: Subroutine does not return */
      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err);
    }
  }
  else {
    if (event == 1) {
                    /* WARNING: Subroutine does not return */
      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);
    }
    if (event == 2) {
                    /* WARNING: Subroutine does not return */
      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);
    }
  }
  return;
}



void ssh_connshare_log(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)

{
  if (param_2 == 0) {
    if (param_3 == 0) {
      if (param_4 != 0) {
        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);
      }
      if (param_5 != 0) {
        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);
      }
    }
    else {
      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);
    }
  }
  else if (param_2 == 1) {
    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);
    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {
      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);
    }
  }
  else if (param_2 == 2) {
    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);
  }
  return;
}


lui gp,0x8
addiu gp,gp,0x1f10
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
bne a1,zero,0x000422e4
_or s0,a0,zero
beq a2,zero,0x0004228c
_lw a1,-0x7fc8(gp)
addiu a1,a1,-0x1de4
lw t9,-0x7b74(gp)
addiu t9,t9,-0x5a74
bal 0x0003a58c
_nop
lw gp,0x10(sp)
b 0x000422fc
_lw ra,0x1c(sp)
beq a3,zero,0x000422b0
_or a2,a3,zero
lw a1,-0x7fc8(gp)
addiu a1,a1,-0x1dbc
lw t9,-0x7b74(gp)
addiu t9,t9,-0x5a74
bal 0x0003a58c
_nop
lw gp,0x10(sp)
lw v0,0x30(sp)
beq v0,zero,0x000422f8
_lw a1,-0x7fc8(gp)
or a2,v0,zero
addiu a1,a1,-0x1d84
or a0,s0,zero
lw t9,-0x7b74(gp)
addiu t9,t9,-0x5a74
bal 0x0003a58c
_nop
lw gp,0x10(sp)
b 0x000422fc
_lw ra,0x1c(sp)
li v0,0x1
beq a1,v0,0x00042308
_li v0,0x2
beq a1,v0,0x0004235c
_lw a1,-0x7fc8(gp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw a1,-0x7fc8(gp)
addiu a1,a1,-0x1d50
lw t9,-0x7b74(gp)
addiu t9,t9,-0x5a74
bal 0x0003a58c
_nop
lw gp,0x10(sp)
lw v0,-0x7f44(gp)
lw v0,0x0(v0)
andi v0,v0,0x5
beq v0,zero,0x000422f8
_lw a1,-0x7fc8(gp)
addiu a1,a1,-0x1d28
or a0,s0,zero
lw t9,-0x7b74(gp)
addiu t9,t9,-0x5ae4
bal 0x0003a51c
_nop
lw gp,0x10(sp)
b 0x000422fc
_lw ra,0x1c(sp)
addiu a1,a1,-0x1cf8
lw t9,-0x7b74(gp)
addiu t9,t9,-0x5a74
bal 0x0003a58c
_nop
lw gp,0x10(sp)
b 0x000422fc
_lw ra,0x1c(sp)
(translation_unit "void ssh_connshare_log(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }\n  return;\n}\n\n" (function_definition "void ssh_connshare_log(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }\n  return;\n}" primitive_type (function_declarator "ssh_connshare_log(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }\n  return;\n}" { (if_statement "if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }" { (if_statement "if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }" { (if_statement "if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }" { (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }" { (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84" identifier + number_literal) , identifier ))) ;) })) }) (else_clause "else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" else (compound_statement "{\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" { (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4" identifier + number_literal) ))) ;) }))) }) (else_clause "else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" else (if_statement "if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }" { (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50" identifier + number_literal) ))) ;) (if_statement "if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }" if (parenthesized_expression "((*(uint *)PTR_flags_000bc20c & 5) != 0)" ( (binary_expression "(*(uint *)PTR_flags_000bc20c & 5) != 0" (parenthesized_expression "(*(uint *)PTR_flags_000bc20c & 5)" ( (binary_expression "*(uint *)PTR_flags_000bc20c & 5" (pointer_expression "*(uint *)PTR_flags_000bc20c" * (cast_expression "(uint *)PTR_flags_000bc20c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }" { (expression_statement "FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);" (call_expression "FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28" identifier + number_literal) ))) ;) })) }) (else_clause "else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" else (if_statement "if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" { (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8" identifier + number_literal) ))) ;) })))))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_connshare_log(Ssh_conflict ssh,int event,char *logtext,char *ds_err,char *us_err)\n\n{\n  if (event == 0) {\n    if (logtext != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n    if (ds_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err);\n    }\n    if (us_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err);\n    }\n  }\n  else {\n    if (event == 1) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    }\n    if (event == 2) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void ssh_connshare_log(Ssh_conflict ssh,int event,char *logtext,char *ds_err,char *us_err)\n\n{\n  if (event == 0) {\n    if (logtext != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n    if (ds_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err);\n    }\n    if (us_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err);\n    }\n  }\n  else {\n    if (event == 1) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    }\n    if (event == 2) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "ssh_connshare_log(Ssh_conflict ssh,int event,char *logtext,char *ds_err,char *us_err)" identifier (parameter_list "(Ssh_conflict ssh,int event,char *logtext,char *ds_err,char *us_err)" ( (parameter_declaration "Ssh_conflict ssh" type_identifier identifier) , (parameter_declaration "int event" primitive_type identifier) , (parameter_declaration "char *logtext" primitive_type (pointer_declarator "*logtext" * identifier)) , (parameter_declaration "char *ds_err" primitive_type (pointer_declarator "*ds_err" * identifier)) , (parameter_declaration "char *us_err" primitive_type (pointer_declarator "*us_err" * identifier)) ))) (compound_statement "{\n  if (event == 0) {\n    if (logtext != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n    if (ds_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err);\n    }\n    if (us_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err);\n    }\n  }\n  else {\n    if (event == 1) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    }\n    if (event == 2) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n    }\n  }\n  return;\n}" { (if_statement "if (event == 0) {\n    if (logtext != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n    if (ds_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err);\n    }\n    if (us_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err);\n    }\n  }\n  else {\n    if (event == 1) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    }\n    if (event == 2) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n    }\n  }" if (parenthesized_expression "(event == 0)" ( (binary_expression "event == 0" identifier == number_literal) )) (compound_statement "{\n    if (logtext != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n    if (ds_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err);\n    }\n    if (us_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err);\n    }\n  }" { (if_statement "if (logtext != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" if (parenthesized_expression "(logtext != (char *)0x0)" ( (binary_expression "logtext != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" { comment (expression_statement "logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);" (call_expression "logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4)" identifier (argument_list "(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4" identifier + number_literal) ))) ;) })) (if_statement "if (ds_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err);\n    }" if (parenthesized_expression "(ds_err != (char *)0x0)" ( (binary_expression "ds_err != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err);\n    }" { comment (expression_statement "logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err);" (call_expression "logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err)" identifier (argument_list "(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,ds_err)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (us_err != (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err);\n    }" if (parenthesized_expression "(us_err != (char *)0x0)" ( (binary_expression "us_err != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err);\n    }" { comment (expression_statement "logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err);" (call_expression "logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err)" identifier (argument_list "(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,us_err)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84" identifier + number_literal) , identifier ))) ;) })) }) (else_clause "else {\n    if (event == 1) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    }\n    if (event == 2) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n    }\n  }" else (compound_statement "{\n    if (event == 1) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    }\n    if (event == 2) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n    }\n  }" { (if_statement "if (event == 1) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    }" if (parenthesized_expression "(event == 1)" ( (binary_expression "event == 1" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    }" { comment (expression_statement "logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);" (call_expression "logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50)" identifier (argument_list "(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50" identifier + number_literal) ))) ;) })) (if_statement "if (event == 2) {\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n    }" if (parenthesized_expression "(event == 2)" ( (binary_expression "event == 2" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n    }" { comment (expression_statement "logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);" (call_expression "logeventf(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8)" identifier (argument_list "(ssh,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8" identifier + number_literal) ))) ;) })) }))) (return_statement "return;" return ;) })))
(translation_unit "void ssh_connshare_log(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }\n  return;\n}\n\n" (function_definition "void ssh_connshare_log(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }\n  return;\n}" primitive_type (function_declarator "ssh_connshare_log(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }\n  return;\n}" { (if_statement "if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }" { (if_statement "if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }" { (if_statement "if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }" { (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }" { (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84" identifier + number_literal) , identifier ))) ;) })) }) (else_clause "else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" else (compound_statement "{\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" { (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4" identifier + number_literal) ))) ;) }))) }) (else_clause "else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" else (if_statement "if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }" { (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50" identifier + number_literal) ))) ;) (if_statement "if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }" if (parenthesized_expression "((*(uint *)PTR_flags_000bc20c & 5) != 0)" ( (binary_expression "(*(uint *)PTR_flags_000bc20c & 5) != 0" (parenthesized_expression "(*(uint *)PTR_flags_000bc20c & 5)" ( (binary_expression "*(uint *)PTR_flags_000bc20c & 5" (pointer_expression "*(uint *)PTR_flags_000bc20c" * (cast_expression "(uint *)PTR_flags_000bc20c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }" { (expression_statement "FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);" (call_expression "FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28" identifier + number_literal) ))) ;) })) }) (else_clause "else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" else (if_statement "if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" { (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8)" identifier (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8)" ( identifier , (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8" identifier + number_literal) ))) ;) })))))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) }))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) })))))) (return_statement return ;) })))
(function_definition "void ssh_connshare_log(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "ssh_connshare_log(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)" (identifier "ssh_connshare_log") (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }\n  return;\n}" ({ "{") (if_statement "if (param_2 == 0) {\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }\n  else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }\n  }" ({ "{") (if_statement "if (param_3 == 0) {\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }\n    else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }\n      if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }\n    }" ({ "{") (if_statement "if (param_4 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }" (if "if") (parenthesized_expression "(param_4 != 0)" (( "(") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);\n      }" ({ "{") (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4)" (identifier "FUN_0003a58c") (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc" (identifier "PTR_s_Server_sent_command_exit_status___000bc188") (+ "+") (number_literal "-0x1dbc")) (, ",") (identifier "param_4") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_5 != 0) {\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }" (if "if") (parenthesized_expression "(param_5 != 0)" (( "(") (binary_expression "param_5 != 0" (identifier "param_5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);\n      }" ({ "{") (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5)" (identifier "FUN_0003a58c") (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84" (identifier "PTR_s_Server_sent_command_exit_status___000bc188") (+ "+") (number_literal "-0x1d84")) (, ",") (identifier "param_5") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" (else "else") (compound_statement "{\n      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);\n    }" ({ "{") (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4)" (identifier "FUN_0003a58c") (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4" (identifier "PTR_s_Server_sent_command_exit_status___000bc188") (+ "+") (number_literal "-0x1de4")) () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" (else "else") (if_statement "if (param_2 == 1) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }\n  else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" (if "if") (parenthesized_expression "(param_2 == 1)" (( "(") (binary_expression "param_2 == 1" (identifier "param_2") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);\n    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }\n  }" ({ "{") (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50)" (identifier "FUN_0003a58c") (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50" (identifier "PTR_s_Server_sent_command_exit_status___000bc188") (+ "+") (number_literal "-0x1d50")) () ")"))) (; ";")) (if_statement "if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }" (if "if") (parenthesized_expression "((*(uint *)PTR_flags_000bc20c & 5) != 0)" (( "(") (binary_expression "(*(uint *)PTR_flags_000bc20c & 5) != 0" (parenthesized_expression "(*(uint *)PTR_flags_000bc20c & 5)" (( "(") (binary_expression "*(uint *)PTR_flags_000bc20c & 5" (pointer_expression "*(uint *)PTR_flags_000bc20c" (* "*") (cast_expression "(uint *)PTR_flags_000bc20c" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_flags_000bc20c"))) (& "&") (number_literal "5")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);\n    }" ({ "{") (expression_statement "FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);" (call_expression "FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28)" (identifier "FUN_0003a51c") (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28" (identifier "PTR_s_Server_sent_command_exit_status___000bc188") (+ "+") (number_literal "-0x1d28")) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" (else "else") (if_statement "if (param_2 == 2) {\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" (if "if") (parenthesized_expression "(param_2 == 2)" (( "(") (binary_expression "param_2 == 2" (identifier "param_2") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);\n  }" ({ "{") (expression_statement "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);" (call_expression "FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8)" (identifier "FUN_0003a58c") (argument_list "(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8" (identifier "PTR_s_Server_sent_command_exit_status___000bc188") (+ "+") (number_literal "-0x1cf8")) () ")"))) (; ";")) (} "}"))))))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 ssh,int var_1,char *var_2,char *var_5,char *var_6)

{
  if (var_1 == 0) {
    if (var_2 != (char *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_3(ssh,var_4 + -0x1de4);
    }
    if (var_5 != (char *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_3(ssh,var_4 + -0x1dbc,var_5);
    }
    if (var_6 != (char *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_3(ssh,var_4 + -0x1d84,var_6);
    }
  }
  else {
    if (var_1 == 1) {
                    /* WARNING: Subroutine does not return */
      var_3(ssh,var_4 + -0x1d50);
    }
    if (var_1 == 2) {
                    /* WARNING: Subroutine does not return */
      var_3(ssh,var_4 + -0x1cf8);
    }
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))))))))) (return_statement))))

void MASKED(undefined4 param_1,int param_2,int param_3,int param_4,int param_5)

{
  if (param_2 == 0) {
    if (param_3 == 0) {
      if (param_4 != 0) {
        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1dbc,param_4);
      }
      if (param_5 != 0) {
        FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d84,param_5);
      }
    }
    else {
      FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1de4);
    }
  }
  else if (param_2 == 1) {
    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d50);
    if ((*(uint *)PTR_flags_000bc20c & 5) != 0) {
      FUN_0003a51c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1d28);
    }
  }
  else if (param_2 == 2) {
    FUN_0003a58c(param_1,PTR_s_Server_sent_command_exit_status___000bc188 + -0x1cf8);
  }
  return;
}

