
uint16_t xatou16(char *numstr)

{
  ulong uVar1;
  
  uVar1 = xstrtoul_range_sfx(numstr,10,0,0xffff,(suffix_mult *)0x0);
  return (uint16_t)uVar1;
}



undefined2 FUN_000fb638(undefined4 param_1)

{
  undefined2 uVar1;
  
  uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);
  return uVar1;
}


lui gp,0x3
addiu gp,gp,0x6b18
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7510(gp)
ori a3,zero,0xffff
or a2,zero,zero
sw ra,0x24(sp)
sw gp,0x18(sp)
sw zero,0x10(sp)
bal 0x000fb138
_li a1,0xa
lw ra,0x24(sp)
andi v0,v0,0xffff
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined2 FUN_000fb638(undefined4 param_1)\n\n{\n  undefined2 uVar1;\n  \n  uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);\n  return uVar1;\n}\n\n" (function_definition "undefined2 FUN_000fb638(undefined4 param_1)\n\n{\n  undefined2 uVar1;\n  \n  uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000fb638(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined2 uVar1;\n  \n  uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);\n  return uVar1;\n}" { (declaration "undefined2 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);" (assignment_expression "uVar1 = FUN_000fb138(param_1,10,0,0xffff,0)" identifier = (call_expression "FUN_000fb138(param_1,10,0,0xffff,0)" identifier (argument_list "(param_1,10,0,0xffff,0)" ( identifier , number_literal , number_literal , number_literal , number_literal )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint16_t xatou16(char *numstr)\n\n{\n  ulong uVar1;\n  \n  uVar1 = xstrtoul_range_sfx(numstr,10,0,0xffff,(suffix_mult *)0x0);\n  return (uint16_t)uVar1;\n}\n\n" (function_definition "uint16_t xatou16(char *numstr)\n\n{\n  ulong uVar1;\n  \n  uVar1 = xstrtoul_range_sfx(numstr,10,0,0xffff,(suffix_mult *)0x0);\n  return (uint16_t)uVar1;\n}" primitive_type (function_declarator "xatou16(char *numstr)" identifier (parameter_list "(char *numstr)" ( (parameter_declaration "char *numstr" primitive_type (pointer_declarator "*numstr" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  \n  uVar1 = xstrtoul_range_sfx(numstr,10,0,0xffff,(suffix_mult *)0x0);\n  return (uint16_t)uVar1;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = xstrtoul_range_sfx(numstr,10,0,0xffff,(suffix_mult *)0x0);" (assignment_expression "uVar1 = xstrtoul_range_sfx(numstr,10,0,0xffff,(suffix_mult *)0x0)" identifier = (call_expression "xstrtoul_range_sfx(numstr,10,0,0xffff,(suffix_mult *)0x0)" identifier (argument_list "(numstr,10,0,0xffff,(suffix_mult *)0x0)" ( identifier , number_literal , number_literal , number_literal , (cast_expression "(suffix_mult *)0x0" ( (type_descriptor "suffix_mult *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (return_statement "return (uint16_t)uVar1;" return (cast_expression "(uint16_t)uVar1" ( (type_descriptor "uint16_t" primitive_type) ) identifier) ;) })))
(translation_unit "undefined2 FUN_000fb638(undefined4 param_1)\n\n{\n  undefined2 uVar1;\n  \n  uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);\n  return uVar1;\n}\n\n" (function_definition "undefined2 FUN_000fb638(undefined4 param_1)\n\n{\n  undefined2 uVar1;\n  \n  uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000fb638(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined2 uVar1;\n  \n  uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);\n  return uVar1;\n}" { (declaration "undefined2 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);" (assignment_expression "uVar1 = FUN_000fb138(param_1,10,0,0xffff,0)" identifier = (call_expression "FUN_000fb138(param_1,10,0,0xffff,0)" identifier (argument_list "(param_1,10,0,0xffff,0)" ( identifier , number_literal , number_literal , number_literal , 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 ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , LIT )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined2 FUN_000fb638(undefined4 param_1)\n\n{\n  undefined2 uVar1;\n  \n  uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);\n  return uVar1;\n}" (type_identifier "undefined2") (function_declarator "FUN_000fb638(undefined4 param_1)" (identifier "FUN_000fb638") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined2 uVar1;\n  \n  uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);\n  return uVar1;\n}" ({ "{") (declaration "undefined2 uVar1;" (type_identifier "undefined2") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);" (assignment_expression "uVar1 = FUN_000fb138(param_1,10,0,0xffff,0)" (identifier "uVar1") (= "=") (call_expression "FUN_000fb138(param_1,10,0,0xffff,0)" (identifier "FUN_000fb138") (argument_list "(param_1,10,0,0xffff,0)" (( "(") (identifier "param_1") (, ",") (number_literal "10") (, ",") (number_literal "0") (, ",") (number_literal "0xffff") (, ",") (number_literal "0") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

uint16_t function_1(char *numstr)

{
  type_1 uVar1;
  
  uVar1 = var_1(numstr,10,0,0xffff,(type_2 *)0x0);
  return (uint16_t)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)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal) (number_literal))))) (return_statement (identifier)))))

undefined2 MASKED(undefined4 param_1)

{
  undefined2 uVar1;
  
  uVar1 = FUN_000fb138(param_1,10,0,0xffff,0);
  return uVar1;
}

