
/* WARNING: Unknown calling convention */
/* WARNING: Enum "MHD_FEATURE": Some values do not have unique names */

int MHD_is_feature_supported(MHD_FEATURE feature)

{
  uint uVar1;
  
  uVar1 = 0;
  if (feature < (MHD_FEATURE_THREADS|MHD_FEATURE_MESSAGES)) {
    uVar1 = (uint)((1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0);
  }
  return uVar1;
}



bool MHD_is_feature_supported(uint param_1)

{
  bool bVar1;
  
  bVar1 = false;
  if (param_1 < 0x17) {
    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;
  }
  return bVar1;
}


MOV ECX,dword ptr [ESP + 0x4]
XOR EAX,EAX
CMP ECX,0x16
JA 0x00020a1d
MOV EAX,0x1
SHL EAX,CL
TEST EAX,0x7ffdfe
SETNZ AL
MOVZX EAX,AL
RET
(translation_unit "bool MHD_is_feature_supported(uint param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }\n  return bVar1;\n}\n\n" (function_definition "bool MHD_is_feature_supported(uint param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }\n  return bVar1;\n}" primitive_type (function_declarator "MHD_is_feature_supported(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (if_statement "if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }" if (parenthesized_expression "(param_1 < 0x17)" ( (binary_expression "param_1 < 0x17" identifier < number_literal) )) (compound_statement "{\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }" { (expression_statement "bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;" (assignment_expression "bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0" identifier = (binary_expression "(1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0" (parenthesized_expression "(1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU)" ( (binary_expression "1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU" (binary_expression "1 << ((byte)param_1 & 0x1f)" number_literal << (parenthesized_expression "((byte)param_1 & 0x1f)" ( (binary_expression "(byte)param_1 & 0x1f" (cast_expression "(byte)param_1" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) & number_literal) )) != number_literal)) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "MHD_FEATURE": Some values do not have unique names */\n\nint MHD_is_feature_supported(MHD_FEATURE feature)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (feature < (MHD_FEATURE_THREADS|MHD_FEATURE_MESSAGES)) {\n    uVar1 = (uint)((1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0);\n  }\n  return uVar1;\n}\n\n" comment comment (function_definition "int MHD_is_feature_supported(MHD_FEATURE feature)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (feature < (MHD_FEATURE_THREADS|MHD_FEATURE_MESSAGES)) {\n    uVar1 = (uint)((1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0);\n  }\n  return uVar1;\n}" primitive_type (function_declarator "MHD_is_feature_supported(MHD_FEATURE feature)" identifier (parameter_list "(MHD_FEATURE feature)" ( (parameter_declaration "MHD_FEATURE feature" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if (feature < (MHD_FEATURE_THREADS|MHD_FEATURE_MESSAGES)) {\n    uVar1 = (uint)((1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0);\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (feature < (MHD_FEATURE_THREADS|MHD_FEATURE_MESSAGES)) {\n    uVar1 = (uint)((1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0);\n  }" if (parenthesized_expression "(feature < (MHD_FEATURE_THREADS|MHD_FEATURE_MESSAGES))" ( (binary_expression "feature < (MHD_FEATURE_THREADS|MHD_FEATURE_MESSAGES)" identifier < (parenthesized_expression "(MHD_FEATURE_THREADS|MHD_FEATURE_MESSAGES)" ( (binary_expression "MHD_FEATURE_THREADS|MHD_FEATURE_MESSAGES" identifier | identifier) ))) )) (compound_statement "{\n    uVar1 = (uint)((1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0);\n  }" { (expression_statement "uVar1 = (uint)((1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0);" (assignment_expression "uVar1 = (uint)((1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0)" identifier = (call_expression "(uint)((1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0)" ( (binary_expression "(1 << ((byte)feature & 0x1f) & 0x7ffdfeU) != 0" (parenthesized_expression "(1 << ((byte)feature & 0x1f) & 0x7ffdfeU)" ( (binary_expression "1 << ((byte)feature & 0x1f) & 0x7ffdfeU" (binary_expression "1 << ((byte)feature & 0x1f)" number_literal << (parenthesized_expression "((byte)feature & 0x1f)" ( (binary_expression "(byte)feature & 0x1f" (cast_expression "(byte)feature" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) & number_literal) )) != number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "bool MHD_is_feature_supported(uint param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }\n  return bVar1;\n}\n\n" (function_definition "bool MHD_is_feature_supported(uint param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }\n  return bVar1;\n}" primitive_type (function_declarator "MHD_is_feature_supported(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (if_statement "if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }" if (parenthesized_expression "(param_1 < 0x17)" ( (binary_expression "param_1 < 0x17" identifier < number_literal) )) (compound_statement "{\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }" { (expression_statement "bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;" (assignment_expression "bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0" identifier = (binary_expression "(1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0" (parenthesized_expression "(1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU)" ( (binary_expression "1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU" (binary_expression "1 << ((byte)param_1 & 0x1f)" number_literal << (parenthesized_expression "((byte)param_1 & 0x1f)" ( (binary_expression "(byte)param_1 & 0x1f" (cast_expression "(byte)param_1" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) & number_literal) )) != number_literal)) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) & LIT) )) != LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "bool MHD_is_feature_supported(uint param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }\n  return bVar1;\n}" (primitive_type "bool") (function_declarator "MHD_is_feature_supported(uint param_1)" (identifier "MHD_is_feature_supported") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = false;\n  if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }\n  return bVar1;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (if_statement "if (param_1 < 0x17) {\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }" (if "if") (parenthesized_expression "(param_1 < 0x17)" (( "(") (binary_expression "param_1 < 0x17" (identifier "param_1") (< "<") (number_literal "0x17")) () ")")) (compound_statement "{\n    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;\n  }" ({ "{") (expression_statement "bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;" (assignment_expression "bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0" (identifier "bVar1") (= "=") (binary_expression "(1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0" (parenthesized_expression "(1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU)" (( "(") (binary_expression "1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU" (binary_expression "1 << ((byte)param_1 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)param_1 & 0x1f)" (( "(") (binary_expression "(byte)param_1 & 0x1f" (cast_expression "(byte)param_1" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_1")) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "0x7ffdfeU")) () ")")) (!= "!=") (number_literal "0"))) (; ";")) (} "}"))) (return_statement "return bVar1;" (return "return") (identifier "bVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */
/* WARNING: Enum "MHD_FEATURE": Some values do not have unique names */

int function_1(type_1 var_1)

{
  type_2 uVar1;
  
  uVar1 = 0;
  if (var_1 < (var_2|var_3)) {
    uVar1 = (type_2)((1 << ((type_3)var_1 & 0x1f) & 0x7ffdfeU) != 0);
  }
  return uVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (false))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (number_literal)))))) (return_statement (identifier)))))

bool MASKED(uint param_1)

{
  bool bVar1;
  
  bVar1 = false;
  if (param_1 < 0x17) {
    bVar1 = (1 << ((byte)param_1 & 0x1f) & 0x7ffdfeU) != 0;
  }
  return bVar1;
}

