
void print_int(size_t n_bytes,char *block,char *fmt_string)

{
  int iVar1;
  
  if (3 < n_bytes) {
    iVar1 = (n_bytes >> 2) - 1;
    do {
      (*(code *)PTR___printf_chk_00131e4c)(1,fmt_string,*(undefined4 *)block);
      iVar1 = iVar1 + -1;
      block = block + 4;
    } while (iVar1 != -1);
  }
  return;
}



void FUN_000c183c(uint param_1,undefined4 *param_2,undefined4 param_3)

{
  int iVar1;
  
  if (3 < param_1) {
    iVar1 = (param_1 >> 2) - 1;
    do {
      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);
      iVar1 = iVar1 + -1;
      param_2 = param_2 + 1;
    } while (iVar1 != -1);
  }
  return;
}


lui gp,0x7
addiu gp,gp,0x7914
addu gp,gp,t9
addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
sltiu v0,a0,0x4
bne v0,zero,0x000c18a8
_or s1,a1,zero
or s3,a2,zero
srl a0,a0,0x2
addiu s0,a0,-0x1
li s2,-0x1
lw a2,0x0(s1)
or a1,s3,zero
li a0,0x1
lw t9,-0x7304(gp)
jalr t9
_nop
lw gp,0x10(sp)
addiu s0,s0,-0x1
bne s0,s2,0x000c1880
_addiu s1,s1,0x4
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "void FUN_000c183c(uint param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000c183c(uint param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000c183c(uint param_1,undefined4 *param_2,undefined4 param_3)" identifier (parameter_list "(uint param_1,undefined4 *param_2,undefined4 param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }" if (parenthesized_expression "(3 < param_1)" ( (binary_expression "3 < param_1" number_literal < identifier) )) (compound_statement "{\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }" { (expression_statement "iVar1 = (param_1 >> 2) - 1;" (assignment_expression "iVar1 = (param_1 >> 2) - 1" identifier = (binary_expression "(param_1 >> 2) - 1" (parenthesized_expression "(param_1 >> 2)" ( (binary_expression "param_1 >> 2" identifier >> number_literal) )) - number_literal)) ;) (do_statement "do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);" do (compound_statement "{\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    }" { (expression_statement "(*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" ( (pointer_expression "*(code *)PTR___printf_chk_00131e4c" * (cast_expression "(code *)PTR___printf_chk_00131e4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,param_3,*param_2)" ( number_literal , identifier , (pointer_expression "*param_2" * identifier) ))) ;) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void print_int(size_t n_bytes,char *block,char *fmt_string)\n\n{\n  int iVar1;\n  \n  if (3 < n_bytes) {\n    iVar1 = (n_bytes >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,fmt_string,*(undefined4 *)block);\n      iVar1 = iVar1 + -1;\n      block = block + 4;\n    } while (iVar1 != -1);\n  }\n  return;\n}\n\n" (function_definition "void print_int(size_t n_bytes,char *block,char *fmt_string)\n\n{\n  int iVar1;\n  \n  if (3 < n_bytes) {\n    iVar1 = (n_bytes >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,fmt_string,*(undefined4 *)block);\n      iVar1 = iVar1 + -1;\n      block = block + 4;\n    } while (iVar1 != -1);\n  }\n  return;\n}" primitive_type (function_declarator "print_int(size_t n_bytes,char *block,char *fmt_string)" identifier (parameter_list "(size_t n_bytes,char *block,char *fmt_string)" ( (parameter_declaration "size_t n_bytes" primitive_type identifier) , (parameter_declaration "char *block" primitive_type (pointer_declarator "*block" * identifier)) , (parameter_declaration "char *fmt_string" primitive_type (pointer_declarator "*fmt_string" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (3 < n_bytes) {\n    iVar1 = (n_bytes >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,fmt_string,*(undefined4 *)block);\n      iVar1 = iVar1 + -1;\n      block = block + 4;\n    } while (iVar1 != -1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (3 < n_bytes) {\n    iVar1 = (n_bytes >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,fmt_string,*(undefined4 *)block);\n      iVar1 = iVar1 + -1;\n      block = block + 4;\n    } while (iVar1 != -1);\n  }" if (parenthesized_expression "(3 < n_bytes)" ( (binary_expression "3 < n_bytes" number_literal < identifier) )) (compound_statement "{\n    iVar1 = (n_bytes >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,fmt_string,*(undefined4 *)block);\n      iVar1 = iVar1 + -1;\n      block = block + 4;\n    } while (iVar1 != -1);\n  }" { (expression_statement "iVar1 = (n_bytes >> 2) - 1;" (assignment_expression "iVar1 = (n_bytes >> 2) - 1" identifier = (binary_expression "(n_bytes >> 2) - 1" (parenthesized_expression "(n_bytes >> 2)" ( (binary_expression "n_bytes >> 2" identifier >> number_literal) )) - number_literal)) ;) (do_statement "do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,fmt_string,*(undefined4 *)block);\n      iVar1 = iVar1 + -1;\n      block = block + 4;\n    } while (iVar1 != -1);" do (compound_statement "{\n      (*(code *)PTR___printf_chk_00131e4c)(1,fmt_string,*(undefined4 *)block);\n      iVar1 = iVar1 + -1;\n      block = block + 4;\n    }" { (expression_statement "(*(code *)PTR___printf_chk_00131e4c)(1,fmt_string,*(undefined4 *)block);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)(1,fmt_string,*(undefined4 *)block)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" ( (pointer_expression "*(code *)PTR___printf_chk_00131e4c" * (cast_expression "(code *)PTR___printf_chk_00131e4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,fmt_string,*(undefined4 *)block)" ( number_literal , identifier , (pointer_expression "*(undefined4 *)block" * (cast_expression "(undefined4 *)block" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "block = block + 4;" (assignment_expression "block = block + 4" identifier = (binary_expression "block + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000c183c(uint param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000c183c(uint param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000c183c(uint param_1,undefined4 *param_2,undefined4 param_3)" identifier (parameter_list "(uint param_1,undefined4 *param_2,undefined4 param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }" if (parenthesized_expression "(3 < param_1)" ( (binary_expression "3 < param_1" number_literal < identifier) )) (compound_statement "{\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }" { (expression_statement "iVar1 = (param_1 >> 2) - 1;" (assignment_expression "iVar1 = (param_1 >> 2) - 1" identifier = (binary_expression "(param_1 >> 2) - 1" (parenthesized_expression "(param_1 >> 2)" ( (binary_expression "param_1 >> 2" identifier >> number_literal) )) - number_literal)) ;) (do_statement "do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);" do (compound_statement "{\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    }" { (expression_statement "(*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" ( (pointer_expression "*(code *)PTR___printf_chk_00131e4c" * (cast_expression "(code *)PTR___printf_chk_00131e4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,param_3,*param_2)" ( number_literal , identifier , (pointer_expression "*param_2" * identifier) ))) ;) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) - LIT)) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000c183c(uint param_1,undefined4 *param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000c183c(uint param_1,undefined4 *param_2,undefined4 param_3)" (identifier "FUN_000c183c") (parameter_list "(uint param_1,undefined4 *param_2,undefined4 param_3)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (3 < param_1) {\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }" (if "if") (parenthesized_expression "(3 < param_1)" (( "(") (binary_expression "3 < param_1" (number_literal "3") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n    iVar1 = (param_1 >> 2) - 1;\n    do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);\n  }" ({ "{") (expression_statement "iVar1 = (param_1 >> 2) - 1;" (assignment_expression "iVar1 = (param_1 >> 2) - 1" (identifier "iVar1") (= "=") (binary_expression "(param_1 >> 2) - 1" (parenthesized_expression "(param_1 >> 2)" (( "(") (binary_expression "param_1 >> 2" (identifier "param_1") (>> ">>") (number_literal "2")) () ")")) (- "-") (number_literal "1"))) (; ";")) (do_statement "do {\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    } while (iVar1 != -1);" (do "do") (compound_statement "{\n      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);\n      iVar1 = iVar1 + -1;\n      param_2 = param_2 + 1;\n    }" ({ "{") (expression_statement "(*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);" (call_expression "(*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2)" (parenthesized_expression "(*(code *)PTR___printf_chk_00131e4c)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_00131e4c" (* "*") (cast_expression "(code *)PTR___printf_chk_00131e4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_00131e4c"))) () ")")) (argument_list "(1,param_3,*param_2)" (( "(") (number_literal "1") (, ",") (identifier "param_3") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != -1)" (( "(") (binary_expression "iVar1 != -1" (identifier "iVar1") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (do_statement body: (compound_statement (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 (number_literal) (identifier) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

void MASKED(uint param_1,undefined4 *param_2,undefined4 param_3)

{
  int iVar1;
  
  if (3 < param_1) {
    iVar1 = (param_1 >> 2) - 1;
    do {
      (*(code *)PTR___printf_chk_00131e4c)(1,param_3,*param_2);
      iVar1 = iVar1 + -1;
      param_2 = param_2 + 1;
    } while (iVar1 != -1);
  }
  return;
}

