
void png_write_chunk_start(png_structrp png_ptr,png_const_bytep chunk_string,png_uint_32 length)

{
  if (png_ptr != (png_structrp)0x0) {
    png_write_chunk_header(png_ptr,*(png_uint_32 *)chunk_string,length);
    return;
  }
  return;
}



void png_write_chunk_start(int param_1,undefined4 *param_2)

{
  if (param_1 != 0) {
    FUN_00039938(param_1,*param_2);
    return;
  }
  return;
}


lui gp,0x2
addiu gp,gp,0x14f0
addu gp,gp,t9
beq a0,zero,0x00039b28
_lw t9,-0x7fd4(gp)
lwl v0,0x0(a1)
lwr v0,0x3(a1)
addiu t9,t9,-0x66c8
b 0x00039938
_or a1,v0,zero
jr ra
_nop
(translation_unit "void png_write_chunk_start(int param_1,undefined4 *param_2)\n\n{\n  if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void png_write_chunk_start(int param_1,undefined4 *param_2)\n\n{\n  if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "png_write_chunk_start(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00039938(param_1,*param_2);\n    return;\n  }" { (expression_statement "FUN_00039938(param_1,*param_2);" (call_expression "FUN_00039938(param_1,*param_2)" identifier (argument_list "(param_1,*param_2)" ( identifier , (pointer_expression "*param_2" * identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void png_write_chunk_start(png_structrp png_ptr,png_const_bytep chunk_string,png_uint_32 length)\n\n{\n  if (png_ptr != (png_structrp)0x0) {\n    png_write_chunk_header(png_ptr,*(png_uint_32 *)chunk_string,length);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void png_write_chunk_start(png_structrp png_ptr,png_const_bytep chunk_string,png_uint_32 length)\n\n{\n  if (png_ptr != (png_structrp)0x0) {\n    png_write_chunk_header(png_ptr,*(png_uint_32 *)chunk_string,length);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "png_write_chunk_start(png_structrp png_ptr,png_const_bytep chunk_string,png_uint_32 length)" identifier (parameter_list "(png_structrp png_ptr,png_const_bytep chunk_string,png_uint_32 length)" ( (parameter_declaration "png_structrp png_ptr" type_identifier identifier) , (parameter_declaration "png_const_bytep chunk_string" type_identifier identifier) , (parameter_declaration "png_uint_32 length" type_identifier identifier) ))) (compound_statement "{\n  if (png_ptr != (png_structrp)0x0) {\n    png_write_chunk_header(png_ptr,*(png_uint_32 *)chunk_string,length);\n    return;\n  }\n  return;\n}" { (if_statement "if (png_ptr != (png_structrp)0x0) {\n    png_write_chunk_header(png_ptr,*(png_uint_32 *)chunk_string,length);\n    return;\n  }" if (parenthesized_expression "(png_ptr != (png_structrp)0x0)" ( (binary_expression "png_ptr != (png_structrp)0x0" identifier != (cast_expression "(png_structrp)0x0" ( (type_descriptor "png_structrp" type_identifier) ) number_literal)) )) (compound_statement "{\n    png_write_chunk_header(png_ptr,*(png_uint_32 *)chunk_string,length);\n    return;\n  }" { (expression_statement "png_write_chunk_header(png_ptr,*(png_uint_32 *)chunk_string,length);" (call_expression "png_write_chunk_header(png_ptr,*(png_uint_32 *)chunk_string,length)" identifier (argument_list "(png_ptr,*(png_uint_32 *)chunk_string,length)" ( identifier , (pointer_expression "*(png_uint_32 *)chunk_string" * (cast_expression "(png_uint_32 *)chunk_string" ( (type_descriptor "png_uint_32 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void png_write_chunk_start(int param_1,undefined4 *param_2)\n\n{\n  if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void png_write_chunk_start(int param_1,undefined4 *param_2)\n\n{\n  if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "png_write_chunk_start(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00039938(param_1,*param_2);\n    return;\n  }" { (expression_statement "FUN_00039938(param_1,*param_2);" (call_expression "FUN_00039938(param_1,*param_2)" identifier (argument_list "(param_1,*param_2)" ( identifier , (pointer_expression "*param_2" * identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void png_write_chunk_start(int param_1,undefined4 *param_2)\n\n{\n  if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "png_write_chunk_start(int param_1,undefined4 *param_2)" (identifier "png_write_chunk_start") (parameter_list "(int param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    FUN_00039938(param_1,*param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00039938(param_1,*param_2);\n    return;\n  }" ({ "{") (expression_statement "FUN_00039938(param_1,*param_2);" (call_expression "FUN_00039938(param_1,*param_2)" (identifier "FUN_00039938") (argument_list "(param_1,*param_2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))) (return_statement))) (return_statement))))

void MASKED(int param_1,undefined4 *param_2)

{
  if (param_1 != 0) {
    FUN_00039938(param_1,*param_2);
    return;
  }
  return;
}

