
png_uint_32 png_get_uint_31(png_const_structrp png_ptr,png_const_bytep buf)

{
  png_uint_32 pVar1;
  
  pVar1 = (uint)*buf * 0x1000000 + (uint)buf[1] * 0x10000 + (uint)buf[3] + (uint)buf[2] * 0x100;
  if (-1 < (int)pVar1) {
    return pVar1;
  }
  (*(code *)PTR_png_error_0005340c)(png_ptr,PTR_s_nt_0005301c + 0x5ec);
  return (uint)*(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc * 0x1000000 +
         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1) * 0x10000 +
         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3) +
         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2) * 0x100;
}



int png_get_uint_31(byte *param_1,byte *param_2)

{
  int iVar1;
  
  iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +
          (uint)param_2[2] * 0x100;
  if (-1 < iVar1) {
    return iVar1;
  }
  (*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);
  return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +
         (uint)param_1[2] * 0x100;
}


lui gp,0x3
addiu gp,gp,0x308
addu gp,gp,t9
lbu v1,0x0(a1)
lbu a2,0x1(a1)
lbu a3,0x3(a1)
sll v1,v1,0x18
lbu a1,0x2(a1)
sll v0,a2,0x10
addu v0,v1,v0
sll a1,a1,0x8
addu v0,v0,a3
addu v0,v0,a1
bltz v0,0x0002ad2c
_lw a1,-0x7fd4(gp)
jr ra
_nop
addiu sp,sp,-0x20
lw t9,-0x7be4(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_addiu a1,a1,0x5ec
(translation_unit "int png_get_uint_31(byte *param_1,byte *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;\n  if (-1 < iVar1) {\n    return iVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;\n}\n\n" (function_definition "int png_get_uint_31(byte *param_1,byte *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;\n  if (-1 < iVar1) {\n    return iVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;\n}" primitive_type (function_declarator "png_get_uint_31(byte *param_1,byte *param_2)" identifier (parameter_list "(byte *param_1,byte *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;\n  if (-1 < iVar1) {\n    return iVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;" (assignment_expression "iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100" identifier = (binary_expression "(uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100" (binary_expression "(uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3]" (binary_expression "(uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000" (binary_expression "(uint)*param_2 * 0x1000000" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)param_2[1] * 0x10000" (cast_expression "(uint)param_2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)param_2[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[3]" identifier [ number_literal ]))) + (binary_expression "(uint)param_2[2] * 0x100" (cast_expression "(uint)param_2[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[2]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if (-1 < iVar1) {\n    return iVar1;\n  }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);" (call_expression "(*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec)" (parenthesized_expression "(*(code *)PTR_png_error_0005340c)" ( (pointer_expression "*(code *)PTR_png_error_0005340c" * (cast_expression "(code *)PTR_png_error_0005340c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_nt_0005301c + 0x5ec)" ( identifier , (binary_expression "PTR_s_nt_0005301c + 0x5ec" identifier + number_literal) ))) ;) (return_statement "return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;" return (binary_expression "(uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100" (binary_expression "(uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3]" (binary_expression "(uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000" (binary_expression "(uint)*param_1 * 0x1000000" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)param_1[1] * 0x10000" (cast_expression "(uint)param_1[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) + (binary_expression "(uint)param_1[2] * 0x100" (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) * number_literal)) ;) })))
(translation_unit "png_uint_32 png_get_uint_31(png_const_structrp png_ptr,png_const_bytep buf)\n\n{\n  png_uint_32 pVar1;\n  \n  pVar1 = (uint)*buf * 0x1000000 + (uint)buf[1] * 0x10000 + (uint)buf[3] + (uint)buf[2] * 0x100;\n  if (-1 < (int)pVar1) {\n    return pVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(png_ptr,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc * 0x1000000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1) * 0x10000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3) +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2) * 0x100;\n}\n\n" (function_definition "png_uint_32 png_get_uint_31(png_const_structrp png_ptr,png_const_bytep buf)\n\n{\n  png_uint_32 pVar1;\n  \n  pVar1 = (uint)*buf * 0x1000000 + (uint)buf[1] * 0x10000 + (uint)buf[3] + (uint)buf[2] * 0x100;\n  if (-1 < (int)pVar1) {\n    return pVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(png_ptr,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc * 0x1000000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1) * 0x10000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3) +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2) * 0x100;\n}" type_identifier (function_declarator "png_get_uint_31(png_const_structrp png_ptr,png_const_bytep buf)" identifier (parameter_list "(png_const_structrp png_ptr,png_const_bytep buf)" ( (parameter_declaration "png_const_structrp png_ptr" type_identifier identifier) , (parameter_declaration "png_const_bytep buf" type_identifier identifier) ))) (compound_statement "{\n  png_uint_32 pVar1;\n  \n  pVar1 = (uint)*buf * 0x1000000 + (uint)buf[1] * 0x10000 + (uint)buf[3] + (uint)buf[2] * 0x100;\n  if (-1 < (int)pVar1) {\n    return pVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(png_ptr,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc * 0x1000000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1) * 0x10000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3) +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2) * 0x100;\n}" { (declaration "png_uint_32 pVar1;" type_identifier identifier ;) (expression_statement "pVar1 = (uint)*buf * 0x1000000 + (uint)buf[1] * 0x10000 + (uint)buf[3] + (uint)buf[2] * 0x100;" (assignment_expression "pVar1 = (uint)*buf * 0x1000000 + (uint)buf[1] * 0x10000 + (uint)buf[3] + (uint)buf[2] * 0x100" identifier = (binary_expression "(uint)*buf * 0x1000000 + (uint)buf[1] * 0x10000 + (uint)buf[3] + (uint)buf[2] * 0x100" (binary_expression "(uint)*buf * 0x1000000 + (uint)buf[1] * 0x10000 + (uint)buf[3]" (binary_expression "(uint)*buf * 0x1000000 + (uint)buf[1] * 0x10000" (binary_expression "(uint)*buf * 0x1000000" (binary_expression "(uint)*buf" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)buf[1] * 0x10000" (cast_expression "(uint)buf[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "buf[1]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)buf[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "buf[3]" identifier [ number_literal ]))) + (binary_expression "(uint)buf[2] * 0x100" (cast_expression "(uint)buf[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "buf[2]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if (-1 < (int)pVar1) {\n    return pVar1;\n  }" if (parenthesized_expression "(-1 < (int)pVar1)" ( (binary_expression "-1 < (int)pVar1" number_literal < (cast_expression "(int)pVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    return pVar1;\n  }" { (return_statement "return pVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_png_error_0005340c)(png_ptr,PTR_s_nt_0005301c + 0x5ec);" (call_expression "(*(code *)PTR_png_error_0005340c)(png_ptr,PTR_s_nt_0005301c + 0x5ec)" (parenthesized_expression "(*(code *)PTR_png_error_0005340c)" ( (pointer_expression "*(code *)PTR_png_error_0005340c" * (cast_expression "(code *)PTR_png_error_0005340c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(png_ptr,PTR_s_nt_0005301c + 0x5ec)" ( identifier , (binary_expression "PTR_s_nt_0005301c + 0x5ec" identifier + number_literal) ))) ;) (return_statement "return (uint)*(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc * 0x1000000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1) * 0x10000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3) +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2) * 0x100;" return (binary_expression "(uint)*(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc * 0x1000000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1) * 0x10000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3) +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2) * 0x100" (binary_expression "(uint)*(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc * 0x1000000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1) * 0x10000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3)" (binary_expression "(uint)*(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc * 0x1000000 +\n         (uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1) * 0x10000" (binary_expression "(uint)*(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc * 0x1000000" (binary_expression "(uint)*(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" & (field_expression "png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" (subscript_expression "png_ptr->jmp_buf_local[0].__jmpbuf[0]" (field_expression "png_ptr->jmp_buf_local[0].__jmpbuf" (subscript_expression "png_ptr->jmp_buf_local[0]" (field_expression "png_ptr->jmp_buf_local" identifier -> field_identifier) [ number_literal ]) . field_identifier) [ number_literal ]) . field_identifier)))) * number_literal) + (binary_expression "(uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1) * 0x10000" (binary_expression "(uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1)" ( (binary_expression "(int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 1" (cast_expression "(int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" & (field_expression "png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" (subscript_expression "png_ptr->jmp_buf_local[0].__jmpbuf[0]" (field_expression "png_ptr->jmp_buf_local[0].__jmpbuf" (subscript_expression "png_ptr->jmp_buf_local[0]" (field_expression "png_ptr->jmp_buf_local" identifier -> field_identifier) [ number_literal ]) . field_identifier) [ number_literal ]) . field_identifier))) + number_literal) )))) * number_literal)) + (binary_expression "(uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3)" ( (binary_expression "(int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 3" (cast_expression "(int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" & (field_expression "png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" (subscript_expression "png_ptr->jmp_buf_local[0].__jmpbuf[0]" (field_expression "png_ptr->jmp_buf_local[0].__jmpbuf" (subscript_expression "png_ptr->jmp_buf_local[0]" (field_expression "png_ptr->jmp_buf_local" identifier -> field_identifier) [ number_literal ]) . field_identifier) [ number_literal ]) . field_identifier))) + number_literal) ))))) + (binary_expression "(uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2) * 0x100" (binary_expression "(uint)*(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2)" ( (binary_expression "(int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc + 2" (cast_expression "(int)&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" & (field_expression "png_ptr->jmp_buf_local[0].__jmpbuf[0].__pc" (subscript_expression "png_ptr->jmp_buf_local[0].__jmpbuf[0]" (field_expression "png_ptr->jmp_buf_local[0].__jmpbuf" (subscript_expression "png_ptr->jmp_buf_local[0]" (field_expression "png_ptr->jmp_buf_local" identifier -> field_identifier) [ number_literal ]) . field_identifier) [ number_literal ]) . field_identifier))) + number_literal) )))) * number_literal)) ;) })))
(translation_unit "int png_get_uint_31(byte *param_1,byte *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;\n  if (-1 < iVar1) {\n    return iVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;\n}\n\n" (function_definition "int png_get_uint_31(byte *param_1,byte *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;\n  if (-1 < iVar1) {\n    return iVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;\n}" primitive_type (function_declarator "png_get_uint_31(byte *param_1,byte *param_2)" identifier (parameter_list "(byte *param_1,byte *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;\n  if (-1 < iVar1) {\n    return iVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;" (assignment_expression "iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100" identifier = (binary_expression "(uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100" (binary_expression "(uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3]" (binary_expression "(uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000" (binary_expression "(uint)*param_2 * 0x1000000" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)param_2[1] * 0x10000" (cast_expression "(uint)param_2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)param_2[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[3]" identifier [ number_literal ]))) + (binary_expression "(uint)param_2[2] * 0x100" (cast_expression "(uint)param_2[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[2]" identifier [ number_literal ])) * number_literal))) ;) (if_statement "if (-1 < iVar1) {\n    return iVar1;\n  }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "(*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);" (call_expression "(*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec)" (parenthesized_expression "(*(code *)PTR_png_error_0005340c)" ( (pointer_expression "*(code *)PTR_png_error_0005340c" * (cast_expression "(code *)PTR_png_error_0005340c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,PTR_s_nt_0005301c + 0x5ec)" ( identifier , (binary_expression "PTR_s_nt_0005301c + 0x5ec" identifier + number_literal) ))) ;) (return_statement "return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;" return (binary_expression "(uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100" (binary_expression "(uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3]" (binary_expression "(uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000" (binary_expression "(uint)*param_1 * 0x1000000" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + (binary_expression "(uint)param_1[1] * 0x10000" (cast_expression "(uint)param_1[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) * number_literal)) + (cast_expression "(uint)param_1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) + (binary_expression "(uint)param_1[2] * 0x100" (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) * number_literal)) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (return_statement return (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) ;) })))
(function_definition "int png_get_uint_31(byte *param_1,byte *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;\n  if (-1 < iVar1) {\n    return iVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;\n}" (primitive_type "int") (function_declarator "png_get_uint_31(byte *param_1,byte *param_2)" (identifier "png_get_uint_31") (parameter_list "(byte *param_1,byte *param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;\n  if (-1 < iVar1) {\n    return iVar1;\n  }\n  (*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);\n  return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100;" (assignment_expression "iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100" (identifier "iVar1") (= "=") (binary_expression "(uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +\n          (uint)param_2[2] * 0x100" (binary_expression "(uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3]" (binary_expression "(uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000" (binary_expression "(uint)*param_2 * 0x1000000" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2")) (* "*") (number_literal "0x1000000")) (+ "+") (binary_expression "(uint)param_2[1] * 0x10000" (cast_expression "(uint)param_2[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (* "*") (number_literal "0x10000"))) (+ "+") (cast_expression "(uint)param_2[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")))) (+ "+") (binary_expression "(uint)param_2[2] * 0x100" (cast_expression "(uint)param_2[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (* "*") (number_literal "0x100")))) (; ";")) (if_statement "if (-1 < iVar1) {\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n    return iVar1;\n  }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);" (call_expression "(*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec)" (parenthesized_expression "(*(code *)PTR_png_error_0005340c)" (( "(") (pointer_expression "*(code *)PTR_png_error_0005340c" (* "*") (cast_expression "(code *)PTR_png_error_0005340c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_png_error_0005340c"))) () ")")) (argument_list "(param_1,PTR_s_nt_0005301c + 0x5ec)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_nt_0005301c + 0x5ec" (identifier "PTR_s_nt_0005301c") (+ "+") (number_literal "0x5ec")) () ")"))) (; ";")) (return_statement "return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100;" (return "return") (binary_expression "(uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +\n         (uint)param_1[2] * 0x100" (binary_expression "(uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3]" (binary_expression "(uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000" (binary_expression "(uint)*param_1 * 0x1000000" (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1")) (* "*") (number_literal "0x1000000")) (+ "+") (binary_expression "(uint)param_1[1] * 0x10000" (cast_expression "(uint)param_1[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (* "*") (number_literal "0x10000"))) (+ "+") (cast_expression "(uint)param_1[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (+ "+") (binary_expression "(uint)param_1[2] * 0x100" (cast_expression "(uint)param_1[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (* "*") (number_literal "0x100"))) (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (return_statement (identifier)))) (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) (binary_expression left: (identifier) right: (number_literal))))) (return_statement (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))))))

int MASKED(byte *param_1,byte *param_2)

{
  int iVar1;
  
  iVar1 = (uint)*param_2 * 0x1000000 + (uint)param_2[1] * 0x10000 + (uint)param_2[3] +
          (uint)param_2[2] * 0x100;
  if (-1 < iVar1) {
    return iVar1;
  }
  (*(code *)PTR_png_error_0005340c)(param_1,PTR_s_nt_0005301c + 0x5ec);
  return (uint)*param_1 * 0x1000000 + (uint)param_1[1] * 0x10000 + (uint)param_1[3] +
         (uint)param_1[2] * 0x100;
}

