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

void lpage_send(void *handle,int codepage,char *buf,int len,int interactive)

{
  if (-1 < codepage) {
                    /* WARNING: Subroutine does not return */
    safemalloc(len << 1,4);
  }
  ldisc_send(handle,buf,len,interactive);
  return;
}



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

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  if (-1 < param_2) {
    uVar1 = safemalloc(param_4 << 1,4);
    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);
    luni_send(param_1,uVar1,uVar2,param_5);
    safefree(uVar1);
    return;
  }
  ldisc_send(param_1,param_3,param_4,param_5);
  return;
}


lui gp,0xe
addiu gp,gp,0x4978
addu gp,gp,t9
addiu sp,sp,-0x40
sw gp,0x18(sp)
sw s6,0x38(sp)
sw s2,0x28(sp)
or s2,a2,zero
sw s1,0x24(sp)
or s1,a3,zero
sw ra,0x3c(sp)
sw s5,0x34(sp)
sw s4,0x30(sp)
sw s3,0x2c(sp)
sw s0,0x20(sp)
bltz a1,0x00034a10
_lw s6,0x50(sp)
sll s5,a3,0x1
lw t9,-0x7fc4(gp)
or s0,a1,zero
li a1,0x4
or s3,a0,zero
bal 0x00039514
_or a0,s5,zero
or a1,zero,zero
lw gp,0x18(sp)
or a3,s1,zero
sw s5,0x14(sp)
or a2,s2,zero
or a0,s0,zero
sw v0,0x10(sp)
lw t9,-0x7ce4(gp)
jalr t9
_or s4,v0,zero
or a0,s3,zero
lw gp,0x18(sp)
or a3,s6,zero
or a1,s4,zero
lw t9,-0x7ce0(gp)
bal 0x000346f0
_or a2,v0,zero
or a0,s4,zero
lw gp,0x18(sp)
lw ra,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
lw t9,-0x7fc0(gp)
b 0x0003a244
_addiu sp,sp,0x40
lw ra,0x3c(sp)
or a3,s6,zero
lw s5,0x34(sp)
or a2,s1,zero
lw s6,0x38(sp)
or a1,s2,zero
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
lw t9,-0x7ce8(gp)
b 0x00033b1c
_addiu sp,sp,0x40
(translation_unit "void lpage_send(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }\n  ldisc_send(param_1,param_3,param_4,param_5);\n  return;\n}\n\n" (function_definition "void lpage_send(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }\n  ldisc_send(param_1,param_3,param_4,param_5);\n  return;\n}" primitive_type (function_declarator "lpage_send(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }\n  ldisc_send(param_1,param_3,param_4,param_5);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }" if (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) (compound_statement "{\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }" { (expression_statement "uVar1 = safemalloc(param_4 << 1,4);" (assignment_expression "uVar1 = safemalloc(param_4 << 1,4)" identifier = (call_expression "safemalloc(param_4 << 1,4)" identifier (argument_list "(param_4 << 1,4)" ( (binary_expression "param_4 << 1" identifier << number_literal) , number_literal )))) ;) (expression_statement "uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);" (assignment_expression "uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1)" identifier = (call_expression "(*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1)" (parenthesized_expression "(*(code *)PTR_mb_to_wc_001115cc)" ( (pointer_expression "*(code *)PTR_mb_to_wc_001115cc" * (cast_expression "(code *)PTR_mb_to_wc_001115cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0,param_3,param_4,uVar1,param_4 << 1)" ( identifier , number_literal , identifier , identifier , identifier , (binary_expression "param_4 << 1" identifier << number_literal) )))) ;) (expression_statement "luni_send(param_1,uVar1,uVar2,param_5);" (call_expression "luni_send(param_1,uVar1,uVar2,param_5)" identifier (argument_list "(param_1,uVar1,uVar2,param_5)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "safefree(uVar1);" (call_expression "safefree(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "ldisc_send(param_1,param_3,param_4,param_5);" (call_expression "ldisc_send(param_1,param_3,param_4,param_5)" identifier (argument_list "(param_1,param_3,param_4,param_5)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid lpage_send(void *handle,int codepage,char *buf,int len,int interactive)\n\n{\n  if (-1 < codepage) {\n                    /* WARNING: Subroutine does not return */\n    safemalloc(len << 1,4);\n  }\n  ldisc_send(handle,buf,len,interactive);\n  return;\n}\n\n" comment (function_definition "void lpage_send(void *handle,int codepage,char *buf,int len,int interactive)\n\n{\n  if (-1 < codepage) {\n                    /* WARNING: Subroutine does not return */\n    safemalloc(len << 1,4);\n  }\n  ldisc_send(handle,buf,len,interactive);\n  return;\n}" primitive_type (function_declarator "lpage_send(void *handle,int codepage,char *buf,int len,int interactive)" identifier (parameter_list "(void *handle,int codepage,char *buf,int len,int interactive)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "int codepage" primitive_type identifier) , (parameter_declaration "char *buf" primitive_type (pointer_declarator "*buf" * identifier)) , (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "int interactive" primitive_type identifier) ))) (compound_statement "{\n  if (-1 < codepage) {\n                    /* WARNING: Subroutine does not return */\n    safemalloc(len << 1,4);\n  }\n  ldisc_send(handle,buf,len,interactive);\n  return;\n}" { (if_statement "if (-1 < codepage) {\n                    /* WARNING: Subroutine does not return */\n    safemalloc(len << 1,4);\n  }" if (parenthesized_expression "(-1 < codepage)" ( (binary_expression "-1 < codepage" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    safemalloc(len << 1,4);\n  }" { comment (expression_statement "safemalloc(len << 1,4);" (call_expression "safemalloc(len << 1,4)" identifier (argument_list "(len << 1,4)" ( (binary_expression "len << 1" identifier << number_literal) , number_literal ))) ;) })) (expression_statement "ldisc_send(handle,buf,len,interactive);" (call_expression "ldisc_send(handle,buf,len,interactive)" identifier (argument_list "(handle,buf,len,interactive)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void lpage_send(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }\n  ldisc_send(param_1,param_3,param_4,param_5);\n  return;\n}\n\n" (function_definition "void lpage_send(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }\n  ldisc_send(param_1,param_3,param_4,param_5);\n  return;\n}" primitive_type (function_declarator "lpage_send(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }\n  ldisc_send(param_1,param_3,param_4,param_5);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }" if (parenthesized_expression "(-1 < param_2)" ( (binary_expression "-1 < param_2" number_literal < identifier) )) (compound_statement "{\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }" { (expression_statement "uVar1 = safemalloc(param_4 << 1,4);" (assignment_expression "uVar1 = safemalloc(param_4 << 1,4)" identifier = (call_expression "safemalloc(param_4 << 1,4)" identifier (argument_list "(param_4 << 1,4)" ( (binary_expression "param_4 << 1" identifier << number_literal) , number_literal )))) ;) (expression_statement "uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);" (assignment_expression "uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1)" identifier = (call_expression "(*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1)" (parenthesized_expression "(*(code *)PTR_mb_to_wc_001115cc)" ( (pointer_expression "*(code *)PTR_mb_to_wc_001115cc" * (cast_expression "(code *)PTR_mb_to_wc_001115cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,0,param_3,param_4,uVar1,param_4 << 1)" ( identifier , number_literal , identifier , identifier , identifier , (binary_expression "param_4 << 1" identifier << number_literal) )))) ;) (expression_statement "luni_send(param_1,uVar1,uVar2,param_5);" (call_expression "luni_send(param_1,uVar1,uVar2,param_5)" identifier (argument_list "(param_1,uVar1,uVar2,param_5)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "safefree(uVar1);" (call_expression "safefree(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "ldisc_send(param_1,param_3,param_4,param_5);" (call_expression "ldisc_send(param_1,param_3,param_4,param_5)" identifier (argument_list "(param_1,param_3,param_4,param_5)" ( identifier , identifier , identifier , identifier ))) ;) (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 { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT << LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , IDENT , IDENT , (binary_expression IDENT << LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void lpage_send(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 param_5)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }\n  ldisc_send(param_1,param_3,param_4,param_5);\n  return;\n}" (primitive_type "void") (function_declarator "lpage_send(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 param_5)" (identifier "lpage_send") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,int param_4,undefined4 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 "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }\n  ldisc_send(param_1,param_3,param_4,param_5);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (-1 < param_2) {\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }" (if "if") (parenthesized_expression "(-1 < param_2)" (( "(") (binary_expression "-1 < param_2" (number_literal "-1") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    uVar1 = safemalloc(param_4 << 1,4);\n    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);\n    luni_send(param_1,uVar1,uVar2,param_5);\n    safefree(uVar1);\n    return;\n  }" ({ "{") (expression_statement "uVar1 = safemalloc(param_4 << 1,4);" (assignment_expression "uVar1 = safemalloc(param_4 << 1,4)" (identifier "uVar1") (= "=") (call_expression "safemalloc(param_4 << 1,4)" (identifier "safemalloc") (argument_list "(param_4 << 1,4)" (( "(") (binary_expression "param_4 << 1" (identifier "param_4") (<< "<<") (number_literal "1")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);" (assignment_expression "uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1)" (parenthesized_expression "(*(code *)PTR_mb_to_wc_001115cc)" (( "(") (pointer_expression "*(code *)PTR_mb_to_wc_001115cc" (* "*") (cast_expression "(code *)PTR_mb_to_wc_001115cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mb_to_wc_001115cc"))) () ")")) (argument_list "(param_2,0,param_3,param_4,uVar1,param_4 << 1)" (( "(") (identifier "param_2") (, ",") (number_literal "0") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "uVar1") (, ",") (binary_expression "param_4 << 1" (identifier "param_4") (<< "<<") (number_literal "1")) () ")")))) (; ";")) (expression_statement "luni_send(param_1,uVar1,uVar2,param_5);" (call_expression "luni_send(param_1,uVar1,uVar2,param_5)" (identifier "luni_send") (argument_list "(param_1,uVar1,uVar2,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (identifier "uVar2") (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "safefree(uVar1);" (call_expression "safefree(uVar1)" (identifier "safefree") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "ldisc_send(param_1,param_3,param_4,param_5);" (call_expression "ldisc_send(param_1,param_3,param_4,param_5)" (identifier "ldisc_send") (argument_list "(param_1,param_3,param_4,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void *handle,int var_1,char *buf,int var_3,int interactive)

{
  if (-1 < var_1) {
                    /* WARNING: Subroutine does not return */
    var_2(var_3 << 1,4);
  }
  var_4(handle,buf,var_3,interactive);
  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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (return_statement))))

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

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  if (-1 < param_2) {
    uVar1 = safemalloc(param_4 << 1,4);
    uVar2 = (*(code *)PTR_mb_to_wc_001115cc)(param_2,0,param_3,param_4,uVar1,param_4 << 1);
    luni_send(param_1,uVar1,uVar2,param_5);
    safefree(uVar1);
    return;
  }
  ldisc_send(param_1,param_3,param_4,param_5);
  return;
}

