
int usleep_main(int argc,char **argv)

{
  undefined4 uVar1;
  
  if (argv[1] == (char *)0x0) {
    (*(code *)PTR_bb_show_usage_0012a1dc)();
  }
  uVar1 = (*(code *)PTR_xatoul_0012a3a4)();
  (*(code *)PTR_usleep_0012b020)(uVar1);
  return 0;
}



undefined4 FUN_000c731c(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (*(int *)(param_2 + 4) == 0) {
    uVar1 = (*(code *)PTR_FUN_0012a1dc)();
    return uVar1;
  }
  uVar1 = (*(code *)PTR_FUN_0012a3a4)();
  (*(code *)PTR_usleep_0012b020)(uVar1);
  return 0;
}


lui gp,0x7
addiu gp,gp,-0x51cc
addu gp,gp,t9
addiu sp,sp,-0x20
lw a0,0x4(a1)
sw gp,0x10(sp)
sw ra,0x1c(sp)
bne a0,zero,0x000c7348
_lw t9,-0x7f74(gp)
jalr t9
_nop
lw t9,-0x7dac(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw t9,-0x7130(gp)
jalr t9
_or a0,v0,zero
or v0,zero,zero
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "undefined4 FUN_000c731c(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }\n  uVar1 = (*(code *)PTR_FUN_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000c731c(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }\n  uVar1 = (*(code *)PTR_FUN_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_000c731c(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }\n  uVar1 = (*(code *)PTR_FUN_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" ( (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_FUN_0012a1dc)();" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0012a1dc)()" identifier = (call_expression "(*(code *)PTR_FUN_0012a1dc)()" (parenthesized_expression "(*(code *)PTR_FUN_0012a1dc)" ( (pointer_expression "*(code *)PTR_FUN_0012a1dc" * (cast_expression "(code *)PTR_FUN_0012a1dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "uVar1 = (*(code *)PTR_FUN_0012a3a4)();" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0012a3a4)()" identifier = (call_expression "(*(code *)PTR_FUN_0012a3a4)()" (parenthesized_expression "(*(code *)PTR_FUN_0012a3a4)" ( (pointer_expression "*(code *)PTR_FUN_0012a3a4" * (cast_expression "(code *)PTR_FUN_0012a3a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "(*(code *)PTR_usleep_0012b020)(uVar1);" (call_expression "(*(code *)PTR_usleep_0012b020)(uVar1)" (parenthesized_expression "(*(code *)PTR_usleep_0012b020)" ( (pointer_expression "*(code *)PTR_usleep_0012b020" * (cast_expression "(code *)PTR_usleep_0012b020" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int usleep_main(int argc,char **argv)\n\n{\n  undefined4 uVar1;\n  \n  if (argv[1] == (char *)0x0) {\n    (*(code *)PTR_bb_show_usage_0012a1dc)();\n  }\n  uVar1 = (*(code *)PTR_xatoul_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}\n\n" (function_definition "int usleep_main(int argc,char **argv)\n\n{\n  undefined4 uVar1;\n  \n  if (argv[1] == (char *)0x0) {\n    (*(code *)PTR_bb_show_usage_0012a1dc)();\n  }\n  uVar1 = (*(code *)PTR_xatoul_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}" primitive_type (function_declarator "usleep_main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (argv[1] == (char *)0x0) {\n    (*(code *)PTR_bb_show_usage_0012a1dc)();\n  }\n  uVar1 = (*(code *)PTR_xatoul_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (argv[1] == (char *)0x0) {\n    (*(code *)PTR_bb_show_usage_0012a1dc)();\n  }" if (parenthesized_expression "(argv[1] == (char *)0x0)" ( (binary_expression "argv[1] == (char *)0x0" (subscript_expression "argv[1]" identifier [ number_literal ]) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_bb_show_usage_0012a1dc)();\n  }" { (expression_statement "(*(code *)PTR_bb_show_usage_0012a1dc)();" (call_expression "(*(code *)PTR_bb_show_usage_0012a1dc)()" (parenthesized_expression "(*(code *)PTR_bb_show_usage_0012a1dc)" ( (pointer_expression "*(code *)PTR_bb_show_usage_0012a1dc" * (cast_expression "(code *)PTR_bb_show_usage_0012a1dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar1 = (*(code *)PTR_xatoul_0012a3a4)();" (assignment_expression "uVar1 = (*(code *)PTR_xatoul_0012a3a4)()" identifier = (call_expression "(*(code *)PTR_xatoul_0012a3a4)()" (parenthesized_expression "(*(code *)PTR_xatoul_0012a3a4)" ( (pointer_expression "*(code *)PTR_xatoul_0012a3a4" * (cast_expression "(code *)PTR_xatoul_0012a3a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "(*(code *)PTR_usleep_0012b020)(uVar1);" (call_expression "(*(code *)PTR_usleep_0012b020)(uVar1)" (parenthesized_expression "(*(code *)PTR_usleep_0012b020)" ( (pointer_expression "*(code *)PTR_usleep_0012b020" * (cast_expression "(code *)PTR_usleep_0012b020" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_000c731c(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }\n  uVar1 = (*(code *)PTR_FUN_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000c731c(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }\n  uVar1 = (*(code *)PTR_FUN_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_000c731c(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }\n  uVar1 = (*(code *)PTR_FUN_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" ( (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }" { (expression_statement "uVar1 = (*(code *)PTR_FUN_0012a1dc)();" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0012a1dc)()" identifier = (call_expression "(*(code *)PTR_FUN_0012a1dc)()" (parenthesized_expression "(*(code *)PTR_FUN_0012a1dc)" ( (pointer_expression "*(code *)PTR_FUN_0012a1dc" * (cast_expression "(code *)PTR_FUN_0012a1dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "uVar1 = (*(code *)PTR_FUN_0012a3a4)();" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0012a3a4)()" identifier = (call_expression "(*(code *)PTR_FUN_0012a3a4)()" (parenthesized_expression "(*(code *)PTR_FUN_0012a3a4)" ( (pointer_expression "*(code *)PTR_FUN_0012a3a4" * (cast_expression "(code *)PTR_FUN_0012a3a4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "(*(code *)PTR_usleep_0012b020)(uVar1);" (call_expression "(*(code *)PTR_usleep_0012b020)(uVar1)" (parenthesized_expression "(*(code *)PTR_usleep_0012b020)" ( (pointer_expression "*(code *)PTR_usleep_0012b020" * (cast_expression "(code *)PTR_usleep_0012b020" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == 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 ( )))) ;) (return_statement return 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 (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000c731c(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }\n  uVar1 = (*(code *)PTR_FUN_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000c731c(undefined4 param_1,int param_2)" (identifier "FUN_000c731c") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }\n  uVar1 = (*(code *)PTR_FUN_0012a3a4)();\n  (*(code *)PTR_usleep_0012b020)(uVar1);\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (*(int *)(param_2 + 4) == 0) {\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = (*(code *)PTR_FUN_0012a1dc)();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = (*(code *)PTR_FUN_0012a1dc)();" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0012a1dc)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_FUN_0012a1dc)()" (parenthesized_expression "(*(code *)PTR_FUN_0012a1dc)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a1dc" (* "*") (cast_expression "(code *)PTR_FUN_0012a1dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a1dc"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "uVar1 = (*(code *)PTR_FUN_0012a3a4)();" (assignment_expression "uVar1 = (*(code *)PTR_FUN_0012a3a4)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_FUN_0012a3a4)()" (parenthesized_expression "(*(code *)PTR_FUN_0012a3a4)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a3a4" (* "*") (cast_expression "(code *)PTR_FUN_0012a3a4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a3a4"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_usleep_0012b020)(uVar1);" (call_expression "(*(code *)PTR_usleep_0012b020)(uVar1)" (parenthesized_expression "(*(code *)PTR_usleep_0012b020)" (( "(") (pointer_expression "*(code *)PTR_usleep_0012b020" (* "*") (cast_expression "(code *)PTR_usleep_0012b020" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_usleep_0012b020"))) () ")")) (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

int function_1(int argc,char **argv)

{
  type_1 uVar1;
  
  if (argv[1] == (char *)0x0) {
    (*(type_2 *)PTR_bb_show_usage_0012a1dc)();
  }
  uVar1 = (*(type_2 *)PTR_xatoul_0012a3a4)();
  (*(type_2 *)PTR_usleep_0012b020)(uVar1);
  return 0;
}


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

undefined4 MASKED(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (*(int *)(param_2 + 4) == 0) {
    uVar1 = (*(code *)PTR_FUN_0012a1dc)();
    return uVar1;
  }
  uVar1 = (*(code *)PTR_FUN_0012a3a4)();
  (*(code *)PTR_usleep_0012b020)(uVar1);
  return 0;
}

