
int gnu_mbswidth(char *string,int flags)

{
  size_t nbytes;
  int iVar1;
  
  nbytes = (*(code *)PTR_strlen_0004953c)();
  iVar1 = mbsnwidth(string,nbytes,flags);
  return iVar1;
}



void gnu_mbswidth(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = (*(code *)PTR_strlen_0004953c)();
  mbsnwidth(param_1,uVar1,param_2);
  return;
}


lui gp,0x3
addiu gp,gp,-0x286c
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7ca4(gp)
sw s1,0x20(sp)
or s1,a1,zero
sw s0,0x1c(sp)
sw ra,0x24(sp)
sw gp,0x10(sp)
jalr t9
_or s0,a0,zero
or a2,s1,zero
lw gp,0x10(sp)
or a0,s0,zero
lw ra,0x24(sp)
or a1,v0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7f84(gp)
b 0x00023790
_addiu sp,sp,0x28
(translation_unit "void gnu_mbswidth(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_strlen_0004953c)();\n  mbsnwidth(param_1,uVar1,param_2);\n  return;\n}\n\n" (function_definition "void gnu_mbswidth(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_strlen_0004953c)();\n  mbsnwidth(param_1,uVar1,param_2);\n  return;\n}" primitive_type (function_declarator "gnu_mbswidth(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_strlen_0004953c)();\n  mbsnwidth(param_1,uVar1,param_2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_strlen_0004953c)();" (assignment_expression "uVar1 = (*(code *)PTR_strlen_0004953c)()" identifier = (call_expression "(*(code *)PTR_strlen_0004953c)()" (parenthesized_expression "(*(code *)PTR_strlen_0004953c)" ( (pointer_expression "*(code *)PTR_strlen_0004953c" * (cast_expression "(code *)PTR_strlen_0004953c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "mbsnwidth(param_1,uVar1,param_2);" (call_expression "mbsnwidth(param_1,uVar1,param_2)" identifier (argument_list "(param_1,uVar1,param_2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "int gnu_mbswidth(char *string,int flags)\n\n{\n  size_t nbytes;\n  int iVar1;\n  \n  nbytes = (*(code *)PTR_strlen_0004953c)();\n  iVar1 = mbsnwidth(string,nbytes,flags);\n  return iVar1;\n}\n\n" (function_definition "int gnu_mbswidth(char *string,int flags)\n\n{\n  size_t nbytes;\n  int iVar1;\n  \n  nbytes = (*(code *)PTR_strlen_0004953c)();\n  iVar1 = mbsnwidth(string,nbytes,flags);\n  return iVar1;\n}" primitive_type (function_declarator "gnu_mbswidth(char *string,int flags)" identifier (parameter_list "(char *string,int flags)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) ))) (compound_statement "{\n  size_t nbytes;\n  int iVar1;\n  \n  nbytes = (*(code *)PTR_strlen_0004953c)();\n  iVar1 = mbsnwidth(string,nbytes,flags);\n  return iVar1;\n}" { (declaration "size_t nbytes;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "nbytes = (*(code *)PTR_strlen_0004953c)();" (assignment_expression "nbytes = (*(code *)PTR_strlen_0004953c)()" identifier = (call_expression "(*(code *)PTR_strlen_0004953c)()" (parenthesized_expression "(*(code *)PTR_strlen_0004953c)" ( (pointer_expression "*(code *)PTR_strlen_0004953c" * (cast_expression "(code *)PTR_strlen_0004953c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar1 = mbsnwidth(string,nbytes,flags);" (assignment_expression "iVar1 = mbsnwidth(string,nbytes,flags)" identifier = (call_expression "mbsnwidth(string,nbytes,flags)" identifier (argument_list "(string,nbytes,flags)" ( identifier , identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void gnu_mbswidth(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_strlen_0004953c)();\n  mbsnwidth(param_1,uVar1,param_2);\n  return;\n}\n\n" (function_definition "void gnu_mbswidth(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_strlen_0004953c)();\n  mbsnwidth(param_1,uVar1,param_2);\n  return;\n}" primitive_type (function_declarator "gnu_mbswidth(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_strlen_0004953c)();\n  mbsnwidth(param_1,uVar1,param_2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_strlen_0004953c)();" (assignment_expression "uVar1 = (*(code *)PTR_strlen_0004953c)()" identifier = (call_expression "(*(code *)PTR_strlen_0004953c)()" (parenthesized_expression "(*(code *)PTR_strlen_0004953c)" ( (pointer_expression "*(code *)PTR_strlen_0004953c" * (cast_expression "(code *)PTR_strlen_0004953c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "mbsnwidth(param_1,uVar1,param_2);" (call_expression "mbsnwidth(param_1,uVar1,param_2)" identifier (argument_list "(param_1,uVar1,param_2)" ( 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) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void gnu_mbswidth(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_strlen_0004953c)();\n  mbsnwidth(param_1,uVar1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "gnu_mbswidth(undefined4 param_1,undefined4 param_2)" (identifier "gnu_mbswidth") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = (*(code *)PTR_strlen_0004953c)();\n  mbsnwidth(param_1,uVar1,param_2);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = (*(code *)PTR_strlen_0004953c)();" (assignment_expression "uVar1 = (*(code *)PTR_strlen_0004953c)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_strlen_0004953c)()" (parenthesized_expression "(*(code *)PTR_strlen_0004953c)" (( "(") (pointer_expression "*(code *)PTR_strlen_0004953c" (* "*") (cast_expression "(code *)PTR_strlen_0004953c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0004953c"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "mbsnwidth(param_1,uVar1,param_2);" (call_expression "mbsnwidth(param_1,uVar1,param_2)" (identifier "mbsnwidth") (argument_list "(param_1,uVar1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

int function_1(char *string,int flags)

{
  size_t nbytes;
  int iVar1;
  
  nbytes = (*(type_1 *)PTR_strlen_0004953c)();
  iVar1 = var_1(string,nbytes,flags);
  return iVar1;
}


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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = (*(code *)PTR_strlen_0004953c)();
  mbsnwidth(param_1,uVar1,param_2);
  return;
}

