
/* WARNING: Unknown calling convention */

void clean_up_expression(expressionS *expressionP)

{
  ulong uVar1;
  
  if ((byte)expressionP->field_0x18 < 9) {
    uVar1 = 1L << (expressionP->field_0x18 & 0x3f);
    if ((uVar1 & 0x188) == 0) {
      if ((uVar1 & 100) == 0) {
        if ((uVar1 & 3) == 0) {
          return;
        }
        expressionP->X_add_number = 0;
      }
      expressionP->X_add_symbol = (symbolS *)0x0;
    }
    expressionP->X_op_symbol = (symbolS *)0x0;
  }
  return;
}



void FUN_00115970(undefined8 *param_1)

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


MOVZX ECX,byte ptr [RDI + 0x18]
CMP CL,0x8
JA 0x001159a7
MOV EAX,0x1
SHL RAX,CL
TEST EAX,0x188
JNZ 0x0011599f
TEST AL,0x64
JNZ 0x00115998
TEST AL,0x3
JZ 0x001159a7
MOV qword ptr [RDI + 0x10],0x0
MOV qword ptr [RDI],0x0
MOV qword ptr [RDI + 0x8],0x0
RET
(translation_unit "void FUN_00115970(undefined8 *param_1)\n\n{\n  ulong uVar1;\n  \n  if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00115970(undefined8 *param_1)\n\n{\n  ulong uVar1;\n  \n  if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00115970(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  \n  if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (if_statement "if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" if (parenthesized_expression "(*(byte *)(param_1 + 3) < 9)" ( (binary_expression "*(byte *)(param_1 + 3) < 9" (pointer_expression "*(byte *)(param_1 + 3)" * (cast_expression "(byte *)(param_1 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" { (expression_statement "uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);" (assignment_expression "uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f)" identifier = (binary_expression "1L << (*(byte *)(param_1 + 3) & 0x3f)" number_literal << (parenthesized_expression "(*(byte *)(param_1 + 3) & 0x3f)" ( (binary_expression "*(byte *)(param_1 + 3) & 0x3f" (pointer_expression "*(byte *)(param_1 + 3)" * (cast_expression "(byte *)(param_1 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" 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      }\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      }\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      }" 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      }" { (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 = 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  ulong uVar1;\n  \n  if ((byte)expressionP->field_0x18 < 9) {\n    uVar1 = 1L << (expressionP->field_0x18 & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        expressionP->X_add_number = 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  ulong uVar1;\n  \n  if ((byte)expressionP->field_0x18 < 9) {\n    uVar1 = 1L << (expressionP->field_0x18 & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        expressionP->X_add_number = 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  ulong uVar1;\n  \n  if ((byte)expressionP->field_0x18 < 9) {\n    uVar1 = 1L << (expressionP->field_0x18 & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        expressionP->X_add_number = 0;\n      }\n      expressionP->X_add_symbol = (symbolS *)0x0;\n    }\n    expressionP->X_op_symbol = (symbolS *)0x0;\n  }\n  return;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (if_statement "if ((byte)expressionP->field_0x18 < 9) {\n    uVar1 = 1L << (expressionP->field_0x18 & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        expressionP->X_add_number = 0;\n      }\n      expressionP->X_add_symbol = (symbolS *)0x0;\n    }\n    expressionP->X_op_symbol = (symbolS *)0x0;\n  }" if (parenthesized_expression "((byte)expressionP->field_0x18 < 9)" ( (binary_expression "(byte)expressionP->field_0x18 < 9" (cast_expression "(byte)expressionP->field_0x18" ( (type_descriptor "byte" type_identifier) ) (field_expression "expressionP->field_0x18" identifier -> field_identifier)) < number_literal) )) (compound_statement "{\n    uVar1 = 1L << (expressionP->field_0x18 & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        expressionP->X_add_number = 0;\n      }\n      expressionP->X_add_symbol = (symbolS *)0x0;\n    }\n    expressionP->X_op_symbol = (symbolS *)0x0;\n  }" { (expression_statement "uVar1 = 1L << (expressionP->field_0x18 & 0x3f);" (assignment_expression "uVar1 = 1L << (expressionP->field_0x18 & 0x3f)" identifier = (binary_expression "1L << (expressionP->field_0x18 & 0x3f)" number_literal << (parenthesized_expression "(expressionP->field_0x18 & 0x3f)" ( (binary_expression "expressionP->field_0x18 & 0x3f" (field_expression "expressionP->field_0x18" 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        expressionP->X_add_number = 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        expressionP->X_add_number = 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        expressionP->X_add_number = 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        expressionP->X_add_number = 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 "expressionP->X_add_number = 0;" (assignment_expression "expressionP->X_add_number = 0" (field_expression "expressionP->X_add_number" identifier -> field_identifier) = 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 FUN_00115970(undefined8 *param_1)\n\n{\n  ulong uVar1;\n  \n  if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00115970(undefined8 *param_1)\n\n{\n  ulong uVar1;\n  \n  if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00115970(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  \n  if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (if_statement "if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" if (parenthesized_expression "(*(byte *)(param_1 + 3) < 9)" ( (binary_expression "*(byte *)(param_1 + 3) < 9" (pointer_expression "*(byte *)(param_1 + 3)" * (cast_expression "(byte *)(param_1 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" { (expression_statement "uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);" (assignment_expression "uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f)" identifier = (binary_expression "1L << (*(byte *)(param_1 + 3) & 0x3f)" number_literal << (parenthesized_expression "(*(byte *)(param_1 + 3) & 0x3f)" ( (binary_expression "*(byte *)(param_1 + 3) & 0x3f" (pointer_expression "*(byte *)(param_1 + 3)" * (cast_expression "(byte *)(param_1 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" 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      }\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      }\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      }" 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      }" { (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 = 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 (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 (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00115970(undefined8 *param_1)\n\n{\n  ulong uVar1;\n  \n  if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00115970(undefined8 *param_1)" (identifier "FUN_00115970") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  ulong uVar1;\n  \n  if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }\n  return;\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (if_statement "if (*(byte *)(param_1 + 3) < 9) {\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" (if "if") (parenthesized_expression "(*(byte *)(param_1 + 3) < 9)" (( "(") (binary_expression "*(byte *)(param_1 + 3) < 9" (pointer_expression "*(byte *)(param_1 + 3)" (* "*") (cast_expression "(byte *)(param_1 + 3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (< "<") (number_literal "9")) () ")")) (compound_statement "{\n    uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);\n    if ((uVar1 & 0x188) == 0) {\n      if ((uVar1 & 100) == 0) {\n        if ((uVar1 & 3) == 0) {\n          return;\n        }\n        param_1[2] = 0;\n      }\n      *param_1 = 0;\n    }\n    param_1[1] = 0;\n  }" ({ "{") (expression_statement "uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f);" (assignment_expression "uVar1 = 1L << (*(byte *)(param_1 + 3) & 0x3f)" (identifier "uVar1") (= "=") (binary_expression "1L << (*(byte *)(param_1 + 3) & 0x3f)" (number_literal "1L") (<< "<<") (parenthesized_expression "(*(byte *)(param_1 + 3) & 0x3f)" (( "(") (binary_expression "*(byte *)(param_1 + 3) & 0x3f" (pointer_expression "*(byte *)(param_1 + 3)" (* "*") (cast_expression "(byte *)(param_1 + 3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (& "&") (number_literal "0x3f")) () ")")))) (; ";")) (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      }\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      }\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      }" (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      }" ({ "{") (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 = 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_0x18 < 9) {
    var_1 = 1L << (expressionP->field_0x18 & 0x3f);
    if ((var_1 & 0x188) == 0) {
      if ((var_1 & 100) == 0) {
        if ((var_1 & 3) == 0) {
          return;
        }
        expressionP->X_add_number = 0;
      }
      expressionP->X_add_symbol = (type_4 *)0x0;
    }
    expressionP->X_op_symbol = (type_4 *)0x0;
  }
  return;
}


(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))))) 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: (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 MASKED(undefined8 *param_1)

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

