
void set_scsi_pt_flags(sg_pt_base *vp,int flags)

{
  if ((flags & 0x20U) != 0) {
    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffef | 0x20;
    return;
  }
  if ((flags & 0x10U) != 0) {
    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffdf | 0x10;
  }
  return;
}



void set_scsi_pt_flags(int param_1,uint param_2)

{
  if ((param_2 & 0x20) != 0) {
    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;
    return;
  }
  if ((param_2 & 0x10) != 0) {
    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;
  }
  return;
}


MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0x4]
TEST AL,0x20
JZ 0x0002c020
MOV EAX,dword ptr [EDX + 0x5c]
AND EAX,0xffffffef
OR EAX,0x20
MOV dword ptr [EDX + 0x5c],EAX
RET
TEST AL,0x10
JZ 0x0002c030
MOV EAX,dword ptr [EDX + 0x5c]
AND EAX,0xffffffdf
OR EAX,0x10
MOV dword ptr [EDX + 0x5c],EAX
RET
(translation_unit "void set_scsi_pt_flags(int param_1,uint param_2)\n\n{\n  if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }\n  if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }\n  return;\n}\n\n" (function_definition "void set_scsi_pt_flags(int param_1,uint param_2)\n\n{\n  if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }\n  if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }\n  return;\n}" primitive_type (function_declarator "set_scsi_pt_flags(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }\n  if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }\n  return;\n}" { (if_statement "if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }" if (parenthesized_expression "((param_2 & 0x20) != 0)" ( (binary_expression "(param_2 & 0x20) != 0" (parenthesized_expression "(param_2 & 0x20)" ( (binary_expression "param_2 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }" { (expression_statement "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;" (assignment_expression "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20" (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20" (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffef" (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (return_statement "return;" return ;) })) (if_statement "if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }" if (parenthesized_expression "((param_2 & 0x10) != 0)" ( (binary_expression "(param_2 & 0x10) != 0" (parenthesized_expression "(param_2 & 0x10)" ( (binary_expression "param_2 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }" { (expression_statement "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;" (assignment_expression "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10" (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10" (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffdf" (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) & number_literal) | number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void set_scsi_pt_flags(sg_pt_base *vp,int flags)\n\n{\n  if ((flags & 0x20U) != 0) {\n    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffef | 0x20;\n    return;\n  }\n  if ((flags & 0x10U) != 0) {\n    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffdf | 0x10;\n  }\n  return;\n}\n\n" (function_definition "void set_scsi_pt_flags(sg_pt_base *vp,int flags)\n\n{\n  if ((flags & 0x20U) != 0) {\n    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffef | 0x20;\n    return;\n  }\n  if ((flags & 0x10U) != 0) {\n    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffdf | 0x10;\n  }\n  return;\n}" primitive_type (function_declarator "set_scsi_pt_flags(sg_pt_base *vp,int flags)" identifier (parameter_list "(sg_pt_base *vp,int flags)" ( (parameter_declaration "sg_pt_base *vp" type_identifier (pointer_declarator "*vp" * identifier)) , (parameter_declaration "int flags" primitive_type identifier) ))) (compound_statement "{\n  if ((flags & 0x20U) != 0) {\n    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffef | 0x20;\n    return;\n  }\n  if ((flags & 0x10U) != 0) {\n    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffdf | 0x10;\n  }\n  return;\n}" { (if_statement "if ((flags & 0x20U) != 0) {\n    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffef | 0x20;\n    return;\n  }" if (parenthesized_expression "((flags & 0x20U) != 0)" ( (binary_expression "(flags & 0x20U) != 0" (parenthesized_expression "(flags & 0x20U)" ( (binary_expression "flags & 0x20U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffef | 0x20;\n    return;\n  }" { (expression_statement "(vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffef | 0x20;" (assignment_expression "(vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffef | 0x20" (field_expression "(vp->impl).io_hdr.flags" (field_expression "(vp->impl).io_hdr" (parenthesized_expression "(vp->impl)" ( (field_expression "vp->impl" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (binary_expression "(vp->impl).io_hdr.flags & 0xffffffef | 0x20" (binary_expression "(vp->impl).io_hdr.flags & 0xffffffef" (field_expression "(vp->impl).io_hdr.flags" (field_expression "(vp->impl).io_hdr" (parenthesized_expression "(vp->impl)" ( (field_expression "vp->impl" identifier -> field_identifier) )) . field_identifier) . field_identifier) & number_literal) | number_literal)) ;) (return_statement "return;" return ;) })) (if_statement "if ((flags & 0x10U) != 0) {\n    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffdf | 0x10;\n  }" if (parenthesized_expression "((flags & 0x10U) != 0)" ( (binary_expression "(flags & 0x10U) != 0" (parenthesized_expression "(flags & 0x10U)" ( (binary_expression "flags & 0x10U" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    (vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffdf | 0x10;\n  }" { (expression_statement "(vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffdf | 0x10;" (assignment_expression "(vp->impl).io_hdr.flags = (vp->impl).io_hdr.flags & 0xffffffdf | 0x10" (field_expression "(vp->impl).io_hdr.flags" (field_expression "(vp->impl).io_hdr" (parenthesized_expression "(vp->impl)" ( (field_expression "vp->impl" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (binary_expression "(vp->impl).io_hdr.flags & 0xffffffdf | 0x10" (binary_expression "(vp->impl).io_hdr.flags & 0xffffffdf" (field_expression "(vp->impl).io_hdr.flags" (field_expression "(vp->impl).io_hdr" (parenthesized_expression "(vp->impl)" ( (field_expression "vp->impl" identifier -> field_identifier) )) . field_identifier) . field_identifier) & number_literal) | number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void set_scsi_pt_flags(int param_1,uint param_2)\n\n{\n  if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }\n  if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }\n  return;\n}\n\n" (function_definition "void set_scsi_pt_flags(int param_1,uint param_2)\n\n{\n  if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }\n  if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }\n  return;\n}" primitive_type (function_declarator "set_scsi_pt_flags(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }\n  if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }\n  return;\n}" { (if_statement "if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }" if (parenthesized_expression "((param_2 & 0x20) != 0)" ( (binary_expression "(param_2 & 0x20) != 0" (parenthesized_expression "(param_2 & 0x20)" ( (binary_expression "param_2 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }" { (expression_statement "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;" (assignment_expression "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20" (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20" (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffef" (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (return_statement "return;" return ;) })) (if_statement "if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }" if (parenthesized_expression "((param_2 & 0x10) != 0)" ( (binary_expression "(param_2 & 0x10) != 0" (parenthesized_expression "(param_2 & 0x10)" ( (binary_expression "param_2 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }" { (expression_statement "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;" (assignment_expression "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10" (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10" (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffdf" (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) & number_literal) | number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) })) (return_statement return ;) })))
(function_definition "void set_scsi_pt_flags(int param_1,uint param_2)\n\n{\n  if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }\n  if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "set_scsi_pt_flags(int param_1,uint param_2)" (identifier "set_scsi_pt_flags") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }\n  if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }\n  return;\n}" ({ "{") (if_statement "if ((param_2 & 0x20) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }" (if "if") (parenthesized_expression "((param_2 & 0x20) != 0)" (( "(") (binary_expression "(param_2 & 0x20) != 0" (parenthesized_expression "(param_2 & 0x20)" (( "(") (binary_expression "param_2 & 0x20" (identifier "param_2") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;\n    return;\n  }" ({ "{") (expression_statement "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;" (assignment_expression "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20" (pointer_expression "*(uint *)(param_1 + 0x5c)" (* "*") (cast_expression "(uint *)(param_1 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20" (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffef" (pointer_expression "*(uint *)(param_1 + 0x5c)" (* "*") (cast_expression "(uint *)(param_1 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (& "&") (number_literal "0xffffffef")) (| "|") (number_literal "0x20"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((param_2 & 0x10) != 0) {\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }" (if "if") (parenthesized_expression "((param_2 & 0x10) != 0)" (( "(") (binary_expression "(param_2 & 0x10) != 0" (parenthesized_expression "(param_2 & 0x10)" (( "(") (binary_expression "param_2 & 0x10" (identifier "param_2") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;\n  }" ({ "{") (expression_statement "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;" (assignment_expression "*(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10" (pointer_expression "*(uint *)(param_1 + 0x5c)" (* "*") (cast_expression "(uint *)(param_1 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10" (binary_expression "*(uint *)(param_1 + 0x5c) & 0xffffffdf" (pointer_expression "*(uint *)(param_1 + 0x5c)" (* "*") (cast_expression "(uint *)(param_1 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (& "&") (number_literal "0xffffffdf")) (| "|") (number_literal "0x10"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *vp,int var_1)

{
  if ((var_1 & 0x20U) != 0) {
    (vp->impl).io_hdr.var_1 = (vp->impl).io_hdr.var_1 & 0xffffffef | 0x20;
    return;
  }
  if ((var_1 & 0x10U) != 0) {
    (vp->impl).io_hdr.var_1 = (vp->impl).io_hdr.var_1 & 0xffffffdf | 0x10;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (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 (expression_statement (assignment_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: (binary_expression left: (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)) right: (number_literal)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_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: (binary_expression left: (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)) right: (number_literal)))))) (return_statement))))

void MASKED(int param_1,uint param_2)

{
  if ((param_2 & 0x20) != 0) {
    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffef | 0x20;
    return;
  }
  if ((param_2 & 0x10) != 0) {
    *(uint *)(param_1 + 0x5c) = *(uint *)(param_1 + 0x5c) & 0xffffffdf | 0x10;
  }
  return;
}

