
int mb_width_aux(wint_t wc)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = (*(code *)PTR_wcwidth_00039380)();
  if ((int)uVar1 < 0) {
    iVar2 = (*(code *)PTR_iswcntrl_00039334)(wc);
    uVar1 = (uint)(iVar2 == 0);
  }
  return uVar1;
}



uint FUN_00021200(undefined4 param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = (*(code *)PTR_wcwidth_00039380)();
  if ((int)uVar1 < 0) {
    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);
    uVar1 = (uint)(iVar2 == 0);
  }
  return uVar1;
}


lui gp,0x2
addiu gp,gp,-0x130
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7d50(gp)
sw gp,0x10(sp)
sw s0,0x18(sp)
sw ra,0x1c(sp)
jalr t9
_or s0,a0,zero
bgez v0,0x00021240
_lw gp,0x10(sp)
lw t9,-0x7d9c(gp)
jalr t9
_or a0,s0,zero
sltiu v0,v0,0x1
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "uint FUN_00021200(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_00021200(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00021200(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = (*(code *)PTR_wcwidth_00039380)();" (assignment_expression "uVar1 = (*(code *)PTR_wcwidth_00039380)()" identifier = (call_expression "(*(code *)PTR_wcwidth_00039380)()" (parenthesized_expression "(*(code *)PTR_wcwidth_00039380)" ( (pointer_expression "*(code *)PTR_wcwidth_00039380" * (cast_expression "(code *)PTR_wcwidth_00039380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1)" identifier = (call_expression "(*(code *)PTR_iswcntrl_00039334)(param_1)" (parenthesized_expression "(*(code *)PTR_iswcntrl_00039334)" ( (pointer_expression "*(code *)PTR_iswcntrl_00039334" * (cast_expression "(code *)PTR_iswcntrl_00039334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar1 = (uint)(iVar2 == 0);" (assignment_expression "uVar1 = (uint)(iVar2 == 0)" identifier = (call_expression "(uint)(iVar2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "int mb_width_aux(wint_t wc)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(wc);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}\n\n" (function_definition "int mb_width_aux(wint_t wc)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(wc);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}" primitive_type (function_declarator "mb_width_aux(wint_t wc)" identifier (parameter_list "(wint_t wc)" ( (parameter_declaration "wint_t wc" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(wc);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = (*(code *)PTR_wcwidth_00039380)();" (assignment_expression "uVar1 = (*(code *)PTR_wcwidth_00039380)()" identifier = (call_expression "(*(code *)PTR_wcwidth_00039380)()" (parenthesized_expression "(*(code *)PTR_wcwidth_00039380)" ( (pointer_expression "*(code *)PTR_wcwidth_00039380" * (cast_expression "(code *)PTR_wcwidth_00039380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(wc);\n    uVar1 = (uint)(iVar2 == 0);\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(wc);\n    uVar1 = (uint)(iVar2 == 0);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_iswcntrl_00039334)(wc);" (assignment_expression "iVar2 = (*(code *)PTR_iswcntrl_00039334)(wc)" identifier = (call_expression "(*(code *)PTR_iswcntrl_00039334)(wc)" (parenthesized_expression "(*(code *)PTR_iswcntrl_00039334)" ( (pointer_expression "*(code *)PTR_iswcntrl_00039334" * (cast_expression "(code *)PTR_iswcntrl_00039334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wc)" ( identifier )))) ;) (expression_statement "uVar1 = (uint)(iVar2 == 0);" (assignment_expression "uVar1 = (uint)(iVar2 == 0)" identifier = (call_expression "(uint)(iVar2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint FUN_00021200(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_00021200(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00021200(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = (*(code *)PTR_wcwidth_00039380)();" (assignment_expression "uVar1 = (*(code *)PTR_wcwidth_00039380)()" identifier = (call_expression "(*(code *)PTR_wcwidth_00039380)()" (parenthesized_expression "(*(code *)PTR_wcwidth_00039380)" ( (pointer_expression "*(code *)PTR_wcwidth_00039380" * (cast_expression "(code *)PTR_wcwidth_00039380" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }" { (expression_statement "iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1)" identifier = (call_expression "(*(code *)PTR_iswcntrl_00039334)(param_1)" (parenthesized_expression "(*(code *)PTR_iswcntrl_00039334)" ( (pointer_expression "*(code *)PTR_iswcntrl_00039334" * (cast_expression "(code *)PTR_iswcntrl_00039334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar1 = (uint)(iVar2 == 0);" (assignment_expression "uVar1 = (uint)(iVar2 == 0)" identifier = (call_expression "(uint)(iVar2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00021200(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_00021200(undefined4 param_1)" (identifier "FUN_00021200") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = (*(code *)PTR_wcwidth_00039380)();\n  if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "uVar1 = (*(code *)PTR_wcwidth_00039380)();" (assignment_expression "uVar1 = (*(code *)PTR_wcwidth_00039380)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_wcwidth_00039380)()" (parenthesized_expression "(*(code *)PTR_wcwidth_00039380)" (( "(") (pointer_expression "*(code *)PTR_wcwidth_00039380" (* "*") (cast_expression "(code *)PTR_wcwidth_00039380" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_wcwidth_00039380"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((int)uVar1 < 0) {\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }" (if "if") (parenthesized_expression "((int)uVar1 < 0)" (( "(") (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);\n    uVar1 = (uint)(iVar2 == 0);\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_iswcntrl_00039334)(param_1)" (parenthesized_expression "(*(code *)PTR_iswcntrl_00039334)" (( "(") (pointer_expression "*(code *)PTR_iswcntrl_00039334" (* "*") (cast_expression "(code *)PTR_iswcntrl_00039334" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_iswcntrl_00039334"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar1 = (uint)(iVar2 == 0);" (assignment_expression "uVar1 = (uint)(iVar2 == 0)" (identifier "uVar1") (= "=") (call_expression "(uint)(iVar2 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

int function_1(type_1 wc)

{
  type_2 uVar1;
  int var_1;
  
  uVar1 = (*(type_3 *)PTR_wcwidth_00039380)();
  if ((int)uVar1 < 0) {
    var_1 = (*(type_3 *)PTR_iswcntrl_00039334)(wc);
    uVar1 = (type_2)(var_1 == 0);
  }
  return uVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) 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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement (identifier)))))

uint MASKED(undefined4 param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = (*(code *)PTR_wcwidth_00039380)();
  if ((int)uVar1 < 0) {
    iVar2 = (*(code *)PTR_iswcntrl_00039334)(param_1);
    uVar1 = (uint)(iVar2 == 0);
  }
  return uVar1;
}

