
/* WARNING: Unknown calling convention */

void clean_up_expression(expressionS *expressionP)

{
  uint uVar1;
  
  if ((byte)expressionP->field_0x10 < 9) {
    uVar1 = 1 << (expressionP->field_0x10 & 0x1f);
    if ((uVar1 & 0x188) == 0) {
      if ((uVar1 & 100) == 0) {
        if ((uVar1 & 3) == 0) {
          return;
        }
        *(undefined4 *)&expressionP->X_add_number = 0;
        *(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;
      }
      expressionP->X_add_symbol = (symbolS *)0x0;
    }
    expressionP->X_op_symbol = (symbolS *)0x0;
  }
  return;
}



void __regparm3 FUN_00020900(undefined4 *param_1)

{
  uint uVar1;
  
  if (*(byte *)(param_1 + 4) < 9) {
    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);
    if ((uVar1 & 0x188) == 0) {
      if ((uVar1 & 100) == 0) {
        if ((uVar1 & 3) == 0) {
          return;
        }
        param_1[2] = 0;
        param_1[3] = 0;
      }
      *param_1 = 0;
    }
    param_1[1] = 0;
  }
  return;
}


MOVZX ECX,byte ptr [EAX + 0x10]
CMP CL,0x8
JA 0x0002093d
MOV EDX,0x1
SHL EDX,CL
TEST EDX,0x188
JNZ 0x00020936
TEST DL,0x64
JNZ 0x00020930
AND EDX,0x3
JZ 0x0002093d
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EAX + 0xc],0x0
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],0x0
RET
(translation_unit "void __regparm3 FUN_00020900(undefined4 *param_1)\n\n{\n  uint uVar1;\n  \n  if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00020900(undefined4 *param_1)\n\n{\n  uint uVar1;\n  \n  if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00020900(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" if (parenthesized_expression "(*(byte *)(param_1 + 4) < 9)" ( (binary_expression "*(byte *)(param_1 + 4) < 9" (pointer_expression "*(byte *)(param_1 + 4)" * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" { (expression_statement "uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);" (assignment_expression "uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f)" identifier = (binary_expression "1 << (*(byte *)(param_1 + 4) & 0x1f)" number_literal << (parenthesized_expression "(*(byte *)(param_1 + 4) & 0x1f)" ( (binary_expression "*(byte *)(param_1 + 4) & 0x1f" (pointer_expression "*(byte *)(param_1 + 4)" * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) & number_literal) )))) ;) (if_statement "if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }" if (parenthesized_expression "((uVar1 & 0x188) == 0)" ( (binary_expression "(uVar1 & 0x188) == 0" (parenthesized_expression "(uVar1 & 0x188)" ( (binary_expression "uVar1 & 0x188" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }" { (if_statement "if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }" if (parenthesized_expression "((uVar1 & 100) == 0)" ( (binary_expression "(uVar1 & 100) == 0" (parenthesized_expression "(uVar1 & 100)" ( (binary_expression "uVar1 & 100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }" { (if_statement "if ((uVar1 & 3) == 0) {\n          return;\n        }" if (parenthesized_expression "((uVar1 & 3) == 0)" ( (binary_expression "(uVar1 & 3) == 0" (parenthesized_expression "(uVar1 & 3)" ( (binary_expression "uVar1 & 3" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid clean_up_expression(expressionS *expressionP)\n\n{\n  uint uVar1;\n  \n  if ((byte)expressionP->field_0x10 < 9) {\n    uVar1 = 1 << (expressionP->field_0x10 & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        *(undefined4 *)&expressionP->X_add_number = 0;\n        *(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;\n      }\n      expressionP->X_add_symbol = (symbolS *)0x0;\n    }\n    expressionP->X_op_symbol = (symbolS *)0x0;\n  }\n  return;\n}\n\n" comment (function_definition "void clean_up_expression(expressionS *expressionP)\n\n{\n  uint uVar1;\n  \n  if ((byte)expressionP->field_0x10 < 9) {\n    uVar1 = 1 << (expressionP->field_0x10 & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        *(undefined4 *)&expressionP->X_add_number = 0;\n        *(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;\n      }\n      expressionP->X_add_symbol = (symbolS *)0x0;\n    }\n    expressionP->X_op_symbol = (symbolS *)0x0;\n  }\n  return;\n}" primitive_type (function_declarator "clean_up_expression(expressionS *expressionP)" identifier (parameter_list "(expressionS *expressionP)" ( (parameter_declaration "expressionS *expressionP" type_identifier (pointer_declarator "*expressionP" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if ((byte)expressionP->field_0x10 < 9) {\n    uVar1 = 1 << (expressionP->field_0x10 & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        *(undefined4 *)&expressionP->X_add_number = 0;\n        *(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;\n      }\n      expressionP->X_add_symbol = (symbolS *)0x0;\n    }\n    expressionP->X_op_symbol = (symbolS *)0x0;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if ((byte)expressionP->field_0x10 < 9) {\n    uVar1 = 1 << (expressionP->field_0x10 & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        *(undefined4 *)&expressionP->X_add_number = 0;\n        *(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;\n      }\n      expressionP->X_add_symbol = (symbolS *)0x0;\n    }\n    expressionP->X_op_symbol = (symbolS *)0x0;\n  }" if (parenthesized_expression "((byte)expressionP->field_0x10 < 9)" ( (binary_expression "(byte)expressionP->field_0x10 < 9" (cast_expression "(byte)expressionP->field_0x10" ( (type_descriptor "byte" type_identifier) ) (field_expression "expressionP->field_0x10" identifier -> field_identifier)) < number_literal) )) (compound_statement "{\n    uVar1 = 1 << (expressionP->field_0x10 & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        *(undefined4 *)&expressionP->X_add_number = 0;\n        *(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;\n      }\n      expressionP->X_add_symbol = (symbolS *)0x0;\n    }\n    expressionP->X_op_symbol = (symbolS *)0x0;\n  }" { (expression_statement "uVar1 = 1 << (expressionP->field_0x10 & 0x1f);" (assignment_expression "uVar1 = 1 << (expressionP->field_0x10 & 0x1f)" identifier = (binary_expression "1 << (expressionP->field_0x10 & 0x1f)" number_literal << (parenthesized_expression "(expressionP->field_0x10 & 0x1f)" ( (binary_expression "expressionP->field_0x10 & 0x1f" (field_expression "expressionP->field_0x10" identifier -> field_identifier) & number_literal) )))) ;) (if_statement "if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        *(undefined4 *)&expressionP->X_add_number = 0;\n        *(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;\n      }\n      expressionP->X_add_symbol = (symbolS *)0x0;\n    }" if (parenthesized_expression "((uVar1 & 0x188) == 0)" ( (binary_expression "(uVar1 & 0x188) == 0" (parenthesized_expression "(uVar1 & 0x188)" ( (binary_expression "uVar1 & 0x188" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        *(undefined4 *)&expressionP->X_add_number = 0;\n        *(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;\n      }\n      expressionP->X_add_symbol = (symbolS *)0x0;\n    }" { (if_statement "if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        *(undefined4 *)&expressionP->X_add_number = 0;\n        *(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;\n      }" if (parenthesized_expression "((uVar1 & 100) == 0)" ( (binary_expression "(uVar1 & 100) == 0" (parenthesized_expression "(uVar1 & 100)" ( (binary_expression "uVar1 & 100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        *(undefined4 *)&expressionP->X_add_number = 0;\n        *(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;\n      }" { (if_statement "if ((uVar1 & 3) == 0) {\n          return;\n        }" if (parenthesized_expression "((uVar1 & 3) == 0)" ( (binary_expression "(uVar1 & 3) == 0" (parenthesized_expression "(uVar1 & 3)" ( (binary_expression "uVar1 & 3" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)&expressionP->X_add_number = 0;" (assignment_expression "*(undefined4 *)&expressionP->X_add_number = 0" (pointer_expression "*(undefined4 *)&expressionP->X_add_number" * (cast_expression "(undefined4 *)&expressionP->X_add_number" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&expressionP->X_add_number" & (field_expression "expressionP->X_add_number" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&expressionP->X_add_number + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&expressionP->X_add_number + 4) = 0" (pointer_expression "*(undefined4 *)((int)&expressionP->X_add_number + 4)" * (cast_expression "(undefined4 *)((int)&expressionP->X_add_number + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&expressionP->X_add_number + 4)" ( (binary_expression "(int)&expressionP->X_add_number + 4" (cast_expression "(int)&expressionP->X_add_number" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&expressionP->X_add_number" & (field_expression "expressionP->X_add_number" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) })) (expression_statement "expressionP->X_add_symbol = (symbolS *)0x0;" (assignment_expression "expressionP->X_add_symbol = (symbolS *)0x0" (field_expression "expressionP->X_add_symbol" identifier -> field_identifier) = (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "expressionP->X_op_symbol = (symbolS *)0x0;" (assignment_expression "expressionP->X_op_symbol = (symbolS *)0x0" (field_expression "expressionP->X_op_symbol" identifier -> field_identifier) = (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00020900(undefined4 *param_1)\n\n{\n  uint uVar1;\n  \n  if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00020900(undefined4 *param_1)\n\n{\n  uint uVar1;\n  \n  if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00020900(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" if (parenthesized_expression "(*(byte *)(param_1 + 4) < 9)" ( (binary_expression "*(byte *)(param_1 + 4) < 9" (pointer_expression "*(byte *)(param_1 + 4)" * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" { (expression_statement "uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);" (assignment_expression "uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f)" identifier = (binary_expression "1 << (*(byte *)(param_1 + 4) & 0x1f)" number_literal << (parenthesized_expression "(*(byte *)(param_1 + 4) & 0x1f)" ( (binary_expression "*(byte *)(param_1 + 4) & 0x1f" (pointer_expression "*(byte *)(param_1 + 4)" * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) & number_literal) )))) ;) (if_statement "if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }" if (parenthesized_expression "((uVar1 & 0x188) == 0)" ( (binary_expression "(uVar1 & 0x188) == 0" (parenthesized_expression "(uVar1 & 0x188)" ( (binary_expression "uVar1 & 0x188" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }" { (if_statement "if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }" if (parenthesized_expression "((uVar1 & 100) == 0)" ( (binary_expression "(uVar1 & 100) == 0" (parenthesized_expression "(uVar1 & 100)" ( (binary_expression "uVar1 & 100" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }" { (if_statement "if ((uVar1 & 3) == 0) {\n          return;\n        }" if (parenthesized_expression "((uVar1 & 3) == 0)" ( (binary_expression "(uVar1 & 3) == 0" (parenthesized_expression "(uVar1 & 3)" ( (binary_expression "uVar1 & 3" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00020900(undefined4 *param_1)\n\n{\n  uint uVar1;\n  \n  if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00020900(undefined4 *param_1)" (identifier "FUN_00020900") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if (*(byte *)(param_1 + 4) < 9) {\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" (if "if") (parenthesized_expression "(*(byte *)(param_1 + 4) < 9)" (( "(") (binary_expression "*(byte *)(param_1 + 4) < 9" (pointer_expression "*(byte *)(param_1 + 4)" (* "*") (cast_expression "(byte *)(param_1 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (< "<") (number_literal "9")) () ")")) (compound_statement "{\n    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" ({ "{") (expression_statement "uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);" (assignment_expression "uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f)" (identifier "uVar1") (= "=") (binary_expression "1 << (*(byte *)(param_1 + 4) & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(*(byte *)(param_1 + 4) & 0x1f)" (( "(") (binary_expression "*(byte *)(param_1 + 4) & 0x1f" (pointer_expression "*(byte *)(param_1 + 4)" (* "*") (cast_expression "(byte *)(param_1 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }" (if "if") (parenthesized_expression "((uVar1 & 0x188) == 0)" (( "(") (binary_expression "(uVar1 & 0x188) == 0" (parenthesized_expression "(uVar1 & 0x188)" (( "(") (binary_expression "uVar1 & 0x188" (identifier "uVar1") (& "&") (number_literal "0x188")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }\n      *param_1 = 0;\n    }" ({ "{") (if_statement "if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }" (if "if") (parenthesized_expression "((uVar1 & 100) == 0)" (( "(") (binary_expression "(uVar1 & 100) == 0" (parenthesized_expression "(uVar1 & 100)" (( "(") (binary_expression "uVar1 & 100" (identifier "uVar1") (& "&") (number_literal "100")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n        param_1[3] = 0;\n      }" ({ "{") (if_statement "if ((uVar1 & 3) == 0) {\n          return;\n        }" (if "if") (parenthesized_expression "((uVar1 & 3) == 0)" (( "(") (binary_expression "(uVar1 & 3) == 0" (parenthesized_expression "(uVar1 & 3)" (( "(") (binary_expression "uVar1 & 3" (identifier "uVar1") (& "&") (number_literal "3")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *expressionP)

{
  type_2 var_1;
  
  if ((type_3)expressionP->field_0x10 < 9) {
    var_1 = 1 << (expressionP->field_0x10 & 0x1f);
    if ((var_1 & 0x188) == 0) {
      if ((var_1 & 100) == 0) {
        if ((var_1 & 3) == 0) {
          return;
        }
        *(type_4 *)&expressionP->X_add_number = 0;
        *(type_4 *)((int)&expressionP->X_add_number + 4) = 0;
      }
      expressionP->X_add_symbol = (type_5 *)0x0;
    }
    expressionP->X_op_symbol = (type_5 *)0x0;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (return_statement))))

void __regparm3 MASKED(undefined4 *param_1)

{
  uint uVar1;
  
  if (*(byte *)(param_1 + 4) < 9) {
    uVar1 = 1 << (*(byte *)(param_1 + 4) & 0x1f);
    if ((uVar1 & 0x188) == 0) {
      if ((uVar1 & 100) == 0) {
        if ((uVar1 & 3) == 0) {
          return;
        }
        param_1[2] = 0;
        param_1[3] = 0;
      }
      *param_1 = 0;
    }
    param_1[1] = 0;
  }
  return;
}

