
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void init_ext_api(void)

{
  uint uVar1;
  
  uVar1 = *(uint *)PTR_do_flags_004b1b5c;
  api_impl.do_flags[1] = (uVar1 << 0x1b) >> 0x1f;
  api_impl.do_flags[2] = (uVar1 << 0x12) >> 0x1f;
  api_impl.do_flags[3] = (uVar1 << 0x13) >> 0x1f;
  api_impl.do_flags[4] = (uVar1 << 0x11) >> 0x1f;
  api_impl.do_flags[0] = (uint)((uVar1 & 5) != 0);
  api_impl.do_flags[5] = (uVar1 << 0x10) >> 0x1f;
  return;
}



void init_ext_api(void)

{
  uint uVar1;
  
  uVar1 = *(uint *)PTR_do_flags_004b1b5c;
  api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;
  api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;
  api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;
  api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;
  api_impl._24_4_ = (uint)((uVar1 & 5) != 0);
  api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;
  return;
}


lui gp,0x4c
lui v0,0x4b
addiu gp,gp,-0x64e0
addiu v0,v0,0x1770
lw v1,-0x7fc4(gp)
lw v1,0x0(v1)
ext a1,v1,0x4,0x1
ext a3,v1,0xd,0x1
ext a2,v1,0xc,0x1
sw a1,0x1c(v0)
andi a0,v1,0x5
sw a3,0x20(v0)
ext a1,v1,0xe,0x1
sw a2,0x24(v0)
ext v1,v1,0xf,0x1
sltu a0,zero,a0
sw a1,0x28(v0)
sw a0,0x18(v0)
jr ra
_sw v1,0x2c(v0)
(translation_unit "void init_ext_api(void)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;\n  api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;\n  api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;\n  api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;\n  api_impl._24_4_ = (uint)((uVar1 & 5) != 0);\n  api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;\n  return;\n}\n\n" (function_definition "void init_ext_api(void)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;\n  api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;\n  api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;\n  api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;\n  api_impl._24_4_ = (uint)((uVar1 & 5) != 0);\n  api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;\n  return;\n}" primitive_type (function_declarator "init_ext_api(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;\n  api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;\n  api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;\n  api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;\n  api_impl._24_4_ = (uint)((uVar1 & 5) != 0);\n  api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)PTR_do_flags_004b1b5c;" (assignment_expression "uVar1 = *(uint *)PTR_do_flags_004b1b5c" identifier = (pointer_expression "*(uint *)PTR_do_flags_004b1b5c" * (cast_expression "(uint *)PTR_do_flags_004b1b5c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;" (assignment_expression "api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f" (field_expression "api_impl._28_4_" identifier . field_identifier) = (binary_expression "(uVar1 << 0x1b) >> 0x1f" (parenthesized_expression "(uVar1 << 0x1b)" ( (binary_expression "uVar1 << 0x1b" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;" (assignment_expression "api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f" (field_expression "api_impl._32_4_" identifier . field_identifier) = (binary_expression "(uVar1 << 0x12) >> 0x1f" (parenthesized_expression "(uVar1 << 0x12)" ( (binary_expression "uVar1 << 0x12" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;" (assignment_expression "api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f" (field_expression "api_impl._36_4_" identifier . field_identifier) = (binary_expression "(uVar1 << 0x13) >> 0x1f" (parenthesized_expression "(uVar1 << 0x13)" ( (binary_expression "uVar1 << 0x13" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;" (assignment_expression "api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f" (field_expression "api_impl._40_4_" identifier . field_identifier) = (binary_expression "(uVar1 << 0x11) >> 0x1f" (parenthesized_expression "(uVar1 << 0x11)" ( (binary_expression "uVar1 << 0x11" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl._24_4_ = (uint)((uVar1 & 5) != 0);" (assignment_expression "api_impl._24_4_ = (uint)((uVar1 & 5) != 0)" (field_expression "api_impl._24_4_" identifier . field_identifier) = (call_expression "(uint)((uVar1 & 5) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uVar1 & 5) != 0)" ( (binary_expression "(uVar1 & 5) != 0" (parenthesized_expression "(uVar1 & 5)" ( (binary_expression "uVar1 & 5" identifier & number_literal) )) != number_literal) )))) ;) (expression_statement "api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;" (assignment_expression "api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f" (field_expression "api_impl._44_4_" identifier . field_identifier) = (binary_expression "(uVar1 << 0x10) >> 0x1f" (parenthesized_expression "(uVar1 << 0x10)" ( (binary_expression "uVar1 << 0x10" identifier << number_literal) )) >> number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid init_ext_api(void)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl.do_flags[1] = (uVar1 << 0x1b) >> 0x1f;\n  api_impl.do_flags[2] = (uVar1 << 0x12) >> 0x1f;\n  api_impl.do_flags[3] = (uVar1 << 0x13) >> 0x1f;\n  api_impl.do_flags[4] = (uVar1 << 0x11) >> 0x1f;\n  api_impl.do_flags[0] = (uint)((uVar1 & 5) != 0);\n  api_impl.do_flags[5] = (uVar1 << 0x10) >> 0x1f;\n  return;\n}\n\n" comment comment (function_definition "void init_ext_api(void)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl.do_flags[1] = (uVar1 << 0x1b) >> 0x1f;\n  api_impl.do_flags[2] = (uVar1 << 0x12) >> 0x1f;\n  api_impl.do_flags[3] = (uVar1 << 0x13) >> 0x1f;\n  api_impl.do_flags[4] = (uVar1 << 0x11) >> 0x1f;\n  api_impl.do_flags[0] = (uint)((uVar1 & 5) != 0);\n  api_impl.do_flags[5] = (uVar1 << 0x10) >> 0x1f;\n  return;\n}" primitive_type (function_declarator "init_ext_api(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl.do_flags[1] = (uVar1 << 0x1b) >> 0x1f;\n  api_impl.do_flags[2] = (uVar1 << 0x12) >> 0x1f;\n  api_impl.do_flags[3] = (uVar1 << 0x13) >> 0x1f;\n  api_impl.do_flags[4] = (uVar1 << 0x11) >> 0x1f;\n  api_impl.do_flags[0] = (uint)((uVar1 & 5) != 0);\n  api_impl.do_flags[5] = (uVar1 << 0x10) >> 0x1f;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)PTR_do_flags_004b1b5c;" (assignment_expression "uVar1 = *(uint *)PTR_do_flags_004b1b5c" identifier = (pointer_expression "*(uint *)PTR_do_flags_004b1b5c" * (cast_expression "(uint *)PTR_do_flags_004b1b5c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "api_impl.do_flags[1] = (uVar1 << 0x1b) >> 0x1f;" (assignment_expression "api_impl.do_flags[1] = (uVar1 << 0x1b) >> 0x1f" (subscript_expression "api_impl.do_flags[1]" (field_expression "api_impl.do_flags" identifier . field_identifier) [ number_literal ]) = (binary_expression "(uVar1 << 0x1b) >> 0x1f" (parenthesized_expression "(uVar1 << 0x1b)" ( (binary_expression "uVar1 << 0x1b" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl.do_flags[2] = (uVar1 << 0x12) >> 0x1f;" (assignment_expression "api_impl.do_flags[2] = (uVar1 << 0x12) >> 0x1f" (subscript_expression "api_impl.do_flags[2]" (field_expression "api_impl.do_flags" identifier . field_identifier) [ number_literal ]) = (binary_expression "(uVar1 << 0x12) >> 0x1f" (parenthesized_expression "(uVar1 << 0x12)" ( (binary_expression "uVar1 << 0x12" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl.do_flags[3] = (uVar1 << 0x13) >> 0x1f;" (assignment_expression "api_impl.do_flags[3] = (uVar1 << 0x13) >> 0x1f" (subscript_expression "api_impl.do_flags[3]" (field_expression "api_impl.do_flags" identifier . field_identifier) [ number_literal ]) = (binary_expression "(uVar1 << 0x13) >> 0x1f" (parenthesized_expression "(uVar1 << 0x13)" ( (binary_expression "uVar1 << 0x13" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl.do_flags[4] = (uVar1 << 0x11) >> 0x1f;" (assignment_expression "api_impl.do_flags[4] = (uVar1 << 0x11) >> 0x1f" (subscript_expression "api_impl.do_flags[4]" (field_expression "api_impl.do_flags" identifier . field_identifier) [ number_literal ]) = (binary_expression "(uVar1 << 0x11) >> 0x1f" (parenthesized_expression "(uVar1 << 0x11)" ( (binary_expression "uVar1 << 0x11" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl.do_flags[0] = (uint)((uVar1 & 5) != 0);" (assignment_expression "api_impl.do_flags[0] = (uint)((uVar1 & 5) != 0)" (subscript_expression "api_impl.do_flags[0]" (field_expression "api_impl.do_flags" identifier . field_identifier) [ number_literal ]) = (call_expression "(uint)((uVar1 & 5) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uVar1 & 5) != 0)" ( (binary_expression "(uVar1 & 5) != 0" (parenthesized_expression "(uVar1 & 5)" ( (binary_expression "uVar1 & 5" identifier & number_literal) )) != number_literal) )))) ;) (expression_statement "api_impl.do_flags[5] = (uVar1 << 0x10) >> 0x1f;" (assignment_expression "api_impl.do_flags[5] = (uVar1 << 0x10) >> 0x1f" (subscript_expression "api_impl.do_flags[5]" (field_expression "api_impl.do_flags" identifier . field_identifier) [ number_literal ]) = (binary_expression "(uVar1 << 0x10) >> 0x1f" (parenthesized_expression "(uVar1 << 0x10)" ( (binary_expression "uVar1 << 0x10" identifier << number_literal) )) >> number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void init_ext_api(void)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;\n  api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;\n  api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;\n  api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;\n  api_impl._24_4_ = (uint)((uVar1 & 5) != 0);\n  api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;\n  return;\n}\n\n" (function_definition "void init_ext_api(void)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;\n  api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;\n  api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;\n  api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;\n  api_impl._24_4_ = (uint)((uVar1 & 5) != 0);\n  api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;\n  return;\n}" primitive_type (function_declarator "init_ext_api(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;\n  api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;\n  api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;\n  api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;\n  api_impl._24_4_ = (uint)((uVar1 & 5) != 0);\n  api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)PTR_do_flags_004b1b5c;" (assignment_expression "uVar1 = *(uint *)PTR_do_flags_004b1b5c" identifier = (pointer_expression "*(uint *)PTR_do_flags_004b1b5c" * (cast_expression "(uint *)PTR_do_flags_004b1b5c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;" (assignment_expression "api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f" (field_expression "api_impl._28_4_" identifier . field_identifier) = (binary_expression "(uVar1 << 0x1b) >> 0x1f" (parenthesized_expression "(uVar1 << 0x1b)" ( (binary_expression "uVar1 << 0x1b" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;" (assignment_expression "api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f" (field_expression "api_impl._32_4_" identifier . field_identifier) = (binary_expression "(uVar1 << 0x12) >> 0x1f" (parenthesized_expression "(uVar1 << 0x12)" ( (binary_expression "uVar1 << 0x12" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;" (assignment_expression "api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f" (field_expression "api_impl._36_4_" identifier . field_identifier) = (binary_expression "(uVar1 << 0x13) >> 0x1f" (parenthesized_expression "(uVar1 << 0x13)" ( (binary_expression "uVar1 << 0x13" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;" (assignment_expression "api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f" (field_expression "api_impl._40_4_" identifier . field_identifier) = (binary_expression "(uVar1 << 0x11) >> 0x1f" (parenthesized_expression "(uVar1 << 0x11)" ( (binary_expression "uVar1 << 0x11" identifier << number_literal) )) >> number_literal)) ;) (expression_statement "api_impl._24_4_ = (uint)((uVar1 & 5) != 0);" (assignment_expression "api_impl._24_4_ = (uint)((uVar1 & 5) != 0)" (field_expression "api_impl._24_4_" identifier . field_identifier) = (call_expression "(uint)((uVar1 & 5) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uVar1 & 5) != 0)" ( (binary_expression "(uVar1 & 5) != 0" (parenthesized_expression "(uVar1 & 5)" ( (binary_expression "uVar1 & 5" identifier & number_literal) )) != number_literal) )))) ;) (expression_statement "api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;" (assignment_expression "api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f" (field_expression "api_impl._44_4_" identifier . field_identifier) = (binary_expression "(uVar1 << 0x10) >> 0x1f" (parenthesized_expression "(uVar1 << 0x10)" ( (binary_expression "uVar1 << 0x10" identifier << number_literal) )) >> number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (parenthesized_expression ( (binary_expression IDENT << LIT) )) >> LIT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (parenthesized_expression ( (binary_expression IDENT << LIT) )) >> LIT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (parenthesized_expression ( (binary_expression IDENT << LIT) )) >> LIT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (parenthesized_expression ( (binary_expression IDENT << LIT) )) >> LIT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (parenthesized_expression ( (binary_expression IDENT << LIT) )) >> LIT)) ;) (return_statement return ;) })))
(function_definition "void init_ext_api(void)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;\n  api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;\n  api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;\n  api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;\n  api_impl._24_4_ = (uint)((uVar1 & 5) != 0);\n  api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;\n  return;\n}" (primitive_type "void") (function_declarator "init_ext_api(void)" (identifier "init_ext_api") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)PTR_do_flags_004b1b5c;\n  api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;\n  api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;\n  api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;\n  api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;\n  api_impl._24_4_ = (uint)((uVar1 & 5) != 0);\n  api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(uint *)PTR_do_flags_004b1b5c;" (assignment_expression "uVar1 = *(uint *)PTR_do_flags_004b1b5c" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)PTR_do_flags_004b1b5c" (* "*") (cast_expression "(uint *)PTR_do_flags_004b1b5c" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_flags_004b1b5c")))) (; ";")) (expression_statement "api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;" (assignment_expression "api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f" (field_expression "api_impl._28_4_" (identifier "api_impl") (. ".") (field_identifier "_28_4_")) (= "=") (binary_expression "(uVar1 << 0x1b) >> 0x1f" (parenthesized_expression "(uVar1 << 0x1b)" (( "(") (binary_expression "uVar1 << 0x1b" (identifier "uVar1") (<< "<<") (number_literal "0x1b")) () ")")) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;" (assignment_expression "api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f" (field_expression "api_impl._32_4_" (identifier "api_impl") (. ".") (field_identifier "_32_4_")) (= "=") (binary_expression "(uVar1 << 0x12) >> 0x1f" (parenthesized_expression "(uVar1 << 0x12)" (( "(") (binary_expression "uVar1 << 0x12" (identifier "uVar1") (<< "<<") (number_literal "0x12")) () ")")) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;" (assignment_expression "api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f" (field_expression "api_impl._36_4_" (identifier "api_impl") (. ".") (field_identifier "_36_4_")) (= "=") (binary_expression "(uVar1 << 0x13) >> 0x1f" (parenthesized_expression "(uVar1 << 0x13)" (( "(") (binary_expression "uVar1 << 0x13" (identifier "uVar1") (<< "<<") (number_literal "0x13")) () ")")) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;" (assignment_expression "api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f" (field_expression "api_impl._40_4_" (identifier "api_impl") (. ".") (field_identifier "_40_4_")) (= "=") (binary_expression "(uVar1 << 0x11) >> 0x1f" (parenthesized_expression "(uVar1 << 0x11)" (( "(") (binary_expression "uVar1 << 0x11" (identifier "uVar1") (<< "<<") (number_literal "0x11")) () ")")) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "api_impl._24_4_ = (uint)((uVar1 & 5) != 0);" (assignment_expression "api_impl._24_4_ = (uint)((uVar1 & 5) != 0)" (field_expression "api_impl._24_4_" (identifier "api_impl") (. ".") (field_identifier "_24_4_")) (= "=") (call_expression "(uint)((uVar1 & 5) != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uVar1 & 5) != 0)" (( "(") (binary_expression "(uVar1 & 5) != 0" (parenthesized_expression "(uVar1 & 5)" (( "(") (binary_expression "uVar1 & 5" (identifier "uVar1") (& "&") (number_literal "5")) () ")")) (!= "!=") (number_literal "0")) () ")")))) (; ";")) (expression_statement "api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;" (assignment_expression "api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f" (field_expression "api_impl._44_4_" (identifier "api_impl") (. ".") (field_identifier "_44_4_")) (= "=") (binary_expression "(uVar1 << 0x10) >> 0x1f" (parenthesized_expression "(uVar1 << 0x10)" (( "(") (binary_expression "uVar1 << 0x10" (identifier "uVar1") (<< "<<") (number_literal "0x10")) () ")")) (>> ">>") (number_literal "0x1f"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(void)

{
  type_1 var_1;
  
  var_1 = *(type_1 *)PTR_do_flags_004b1b5c;
  api_impl.do_flags[1] = (var_1 << 0x1b) >> 0x1f;
  api_impl.do_flags[2] = (var_1 << 0x12) >> 0x1f;
  api_impl.do_flags[3] = (var_1 << 0x13) >> 0x1f;
  api_impl.do_flags[4] = (var_1 << 0x11) >> 0x1f;
  api_impl.do_flags[0] = (type_1)((var_1 & 5) != 0);
  api_impl.do_flags[5] = (var_1 << 0x10) >> 0x1f;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) (return_statement))))

void MASKED(void)

{
  uint uVar1;
  
  uVar1 = *(uint *)PTR_do_flags_004b1b5c;
  api_impl._28_4_ = (uVar1 << 0x1b) >> 0x1f;
  api_impl._32_4_ = (uVar1 << 0x12) >> 0x1f;
  api_impl._36_4_ = (uVar1 << 0x13) >> 0x1f;
  api_impl._40_4_ = (uVar1 << 0x11) >> 0x1f;
  api_impl._24_4_ = (uint)((uVar1 & 5) != 0);
  api_impl._44_4_ = (uVar1 << 0x10) >> 0x1f;
  return;
}

