
int make_gray_colormap(png_image_read_control *display)

{
  png_uint_32 ip;
  
  ip = 0;
  do {
    png_create_colormap_entry(display,ip,ip,ip,ip,0xff,1);
    ip = ip + 1;
  } while (ip != 0x100);
  return 0x100;
}



undefined4 FUN_000206d8(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = 0;
  do {
    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);
    iVar1 = iVar1 + 1;
  } while (iVar1 != 0x100);
  return 0x100;
}


lui gp,0x4
addiu gp,gp,-0x26e8
addu gp,gp,t9
addiu sp,sp,-0x48
sw ra,0x44(sp)
sw s5,0x40(sp)
sw s4,0x3c(sp)
sw s3,0x38(sp)
sw s2,0x34(sp)
sw s1,0x30(sp)
sw s0,0x2c(sp)
sw gp,0x20(sp)
or s5,a0,zero
or s0,zero,zero
li s4,0x1
li s3,0xff
lw s1,-0x7f9c(gp)
addiu s1,s1,-0x164
li s2,0x100
sw s4,0x18(sp)
sw s3,0x14(sp)
sw s0,0x10(sp)
or a3,s0,zero
or a2,s0,zero
or a1,s0,zero
or a0,s5,zero
or t9,s1,zero
bal 0x0001fe9c
_nop
lw gp,0x20(sp)
addiu s0,s0,0x1
bne s0,s2,0x00020724
_li v0,0x100
lw ra,0x44(sp)
lw s5,0x40(sp)
lw s4,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x48
(translation_unit "undefined4 FUN_000206d8(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);\n  return 0x100;\n}\n\n" (function_definition "undefined4 FUN_000206d8(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);\n  return 0x100;\n}" type_identifier (function_declarator "FUN_000206d8(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);\n  return 0x100;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);" do (compound_statement "{\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  }" { (expression_statement "FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);" (call_expression "FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1)" identifier (argument_list "(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1)" ( identifier , identifier , identifier , identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x100)" ( (binary_expression "iVar1 != 0x100" identifier != number_literal) )) ;) (return_statement "return 0x100;" return number_literal ;) })))
(translation_unit "int make_gray_colormap(png_image_read_control *display)\n\n{\n  png_uint_32 ip;\n  \n  ip = 0;\n  do {\n    png_create_colormap_entry(display,ip,ip,ip,ip,0xff,1);\n    ip = ip + 1;\n  } while (ip != 0x100);\n  return 0x100;\n}\n\n" (function_definition "int make_gray_colormap(png_image_read_control *display)\n\n{\n  png_uint_32 ip;\n  \n  ip = 0;\n  do {\n    png_create_colormap_entry(display,ip,ip,ip,ip,0xff,1);\n    ip = ip + 1;\n  } while (ip != 0x100);\n  return 0x100;\n}" primitive_type (function_declarator "make_gray_colormap(png_image_read_control *display)" identifier (parameter_list "(png_image_read_control *display)" ( (parameter_declaration "png_image_read_control *display" type_identifier (pointer_declarator "*display" * identifier)) ))) (compound_statement "{\n  png_uint_32 ip;\n  \n  ip = 0;\n  do {\n    png_create_colormap_entry(display,ip,ip,ip,ip,0xff,1);\n    ip = ip + 1;\n  } while (ip != 0x100);\n  return 0x100;\n}" { (declaration "png_uint_32 ip;" type_identifier identifier ;) (expression_statement "ip = 0;" (assignment_expression "ip = 0" identifier = number_literal) ;) (do_statement "do {\n    png_create_colormap_entry(display,ip,ip,ip,ip,0xff,1);\n    ip = ip + 1;\n  } while (ip != 0x100);" do (compound_statement "{\n    png_create_colormap_entry(display,ip,ip,ip,ip,0xff,1);\n    ip = ip + 1;\n  }" { (expression_statement "png_create_colormap_entry(display,ip,ip,ip,ip,0xff,1);" (call_expression "png_create_colormap_entry(display,ip,ip,ip,ip,0xff,1)" identifier (argument_list "(display,ip,ip,ip,ip,0xff,1)" ( identifier , identifier , identifier , identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "ip = ip + 1;" (assignment_expression "ip = ip + 1" identifier = (binary_expression "ip + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(ip != 0x100)" ( (binary_expression "ip != 0x100" identifier != number_literal) )) ;) (return_statement "return 0x100;" return number_literal ;) })))
(translation_unit "undefined4 FUN_000206d8(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);\n  return 0x100;\n}\n\n" (function_definition "undefined4 FUN_000206d8(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);\n  return 0x100;\n}" type_identifier (function_declarator "FUN_000206d8(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);\n  return 0x100;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);" do (compound_statement "{\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  }" { (expression_statement "FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);" (call_expression "FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1)" identifier (argument_list "(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1)" ( identifier , identifier , identifier , identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x100)" ( (binary_expression "iVar1 != 0x100" identifier != number_literal) )) ;) (return_statement "return 0x100;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000206d8(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);\n  return 0x100;\n}" (type_identifier "undefined4") (function_declarator "FUN_000206d8(undefined4 param_1)" (identifier "FUN_000206d8") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);\n  return 0x100;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  } while (iVar1 != 0x100);" (do "do") (compound_statement "{\n    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);\n    iVar1 = iVar1 + 1;\n  }" ({ "{") (expression_statement "FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);" (call_expression "FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1)" (identifier "FUN_0001fe9c") (argument_list "(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1)" (( "(") (identifier "param_1") (, ",") (identifier "iVar1") (, ",") (identifier "iVar1") (, ",") (identifier "iVar1") (, ",") (identifier "iVar1") (, ",") (number_literal "0xff") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x100)" (( "(") (binary_expression "iVar1 != 0x100" (identifier "iVar1") (!= "!=") (number_literal "0x100")) () ")")) (; ";")) (return_statement "return 0x100;" (return "return") (number_literal "0x100") (; ";")) (} "}")))
(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: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (number_literal) (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 (number_literal)))))

undefined4 MASKED(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = 0;
  do {
    FUN_0001fe9c(param_1,iVar1,iVar1,iVar1,iVar1,0xff,1);
    iVar1 = iVar1 + 1;
  } while (iVar1 != 0x100);
  return 0x100;
}

