
uint __ffsdi2(uint param_1,uint param_2)

{
  int iVar1;
  
  if (param_1 == 0) {
    if (param_2 != 0) {
      iVar1 = 0;
      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {
        iVar1 = iVar1 + 1;
      }
      param_2 = iVar1 + 0x21;
    }
  }
  else {
    iVar1 = 0;
    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {
      iVar1 = iVar1 + 1;
    }
    param_2 = iVar1 + 1;
  }
  return param_2;
}



uint FUN_0027b5b0(uint param_1,uint param_2)

{
  int iVar1;
  
  if (param_1 == 0) {
    if (param_2 != 0) {
      iVar1 = 0;
      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {
        iVar1 = iVar1 + 1;
      }
      param_2 = iVar1 + 0x21;
    }
  }
  else {
    iVar1 = 0;
    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {
      iVar1 = iVar1 + 1;
    }
    param_2 = iVar1 + 1;
  }
  return param_2;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
TEST EAX,EAX
JZ 0x0027b5d0
MOV EDX,0x1
TZCNT EAX,EAX
ADD EAX,EDX
RET
MOV EAX,EDX
TEST EDX,EDX
JZ 0x0027b5c7
MOV EDX,0x21
TZCNT EAX,EAX
ADD EAX,EDX
JMP 0x0027b5c7
(translation_unit "uint FUN_0027b5b0(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}\n\n" (function_definition "uint FUN_0027b5b0(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}" type_identifier (function_declarator "FUN_0027b5b0(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }" { (if_statement "if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (for_statement "for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }" for ( ; (binary_expression "(param_2 & 1) == 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) == number_literal) ; (assignment_expression "param_2 = param_2 >> 1 | 0x80000000" identifier = (binary_expression "param_2 >> 1 | 0x80000000" (binary_expression "param_2 >> 1" identifier >> number_literal) | number_literal)) ) (compound_statement "{\n        iVar1 = iVar1 + 1;\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "param_2 = iVar1 + 0x21;" (assignment_expression "param_2 = iVar1 + 0x21" identifier = (binary_expression "iVar1 + 0x21" identifier + number_literal)) ;) })) }) (else_clause "else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" else (compound_statement "{\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (for_statement "for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }" for ( ; (binary_expression "(param_1 & 1) == 0" (parenthesized_expression "(param_1 & 1)" ( (binary_expression "param_1 & 1" identifier & number_literal) )) == number_literal) ; (assignment_expression "param_1 = param_1 >> 1 | 0x80000000" identifier = (binary_expression "param_1 >> 1 | 0x80000000" (binary_expression "param_1 >> 1" identifier >> number_literal) | number_literal)) ) (compound_statement "{\n      iVar1 = iVar1 + 1;\n    }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "param_2 = iVar1 + 1;" (assignment_expression "param_2 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) }))) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "uint __ffsdi2(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}\n\n" (function_definition "uint __ffsdi2(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}" type_identifier (function_declarator "__ffsdi2(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }" { (if_statement "if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (for_statement "for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }" for ( ; (binary_expression "(param_2 & 1) == 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) == number_literal) ; (assignment_expression "param_2 = param_2 >> 1 | 0x80000000" identifier = (binary_expression "param_2 >> 1 | 0x80000000" (binary_expression "param_2 >> 1" identifier >> number_literal) | number_literal)) ) (compound_statement "{\n        iVar1 = iVar1 + 1;\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "param_2 = iVar1 + 0x21;" (assignment_expression "param_2 = iVar1 + 0x21" identifier = (binary_expression "iVar1 + 0x21" identifier + number_literal)) ;) })) }) (else_clause "else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" else (compound_statement "{\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (for_statement "for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }" for ( ; (binary_expression "(param_1 & 1) == 0" (parenthesized_expression "(param_1 & 1)" ( (binary_expression "param_1 & 1" identifier & number_literal) )) == number_literal) ; (assignment_expression "param_1 = param_1 >> 1 | 0x80000000" identifier = (binary_expression "param_1 >> 1 | 0x80000000" (binary_expression "param_1 >> 1" identifier >> number_literal) | number_literal)) ) (compound_statement "{\n      iVar1 = iVar1 + 1;\n    }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "param_2 = iVar1 + 1;" (assignment_expression "param_2 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) }))) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "uint FUN_0027b5b0(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}\n\n" (function_definition "uint FUN_0027b5b0(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}" type_identifier (function_declarator "FUN_0027b5b0(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }" { (if_statement "if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (for_statement "for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }" for ( ; (binary_expression "(param_2 & 1) == 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) == number_literal) ; (assignment_expression "param_2 = param_2 >> 1 | 0x80000000" identifier = (binary_expression "param_2 >> 1 | 0x80000000" (binary_expression "param_2 >> 1" identifier >> number_literal) | number_literal)) ) (compound_statement "{\n        iVar1 = iVar1 + 1;\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "param_2 = iVar1 + 0x21;" (assignment_expression "param_2 = iVar1 + 0x21" identifier = (binary_expression "iVar1 + 0x21" identifier + number_literal)) ;) })) }) (else_clause "else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" else (compound_statement "{\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (for_statement "for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }" for ( ; (binary_expression "(param_1 & 1) == 0" (parenthesized_expression "(param_1 & 1)" ( (binary_expression "param_1 & 1" identifier & number_literal) )) == number_literal) ; (assignment_expression "param_1 = param_1 >> 1 | 0x80000000" identifier = (binary_expression "param_1 >> 1 | 0x80000000" (binary_expression "param_1 >> 1" identifier >> number_literal) | number_literal)) ) (compound_statement "{\n      iVar1 = iVar1 + 1;\n    }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "param_2 = iVar1 + 1;" (assignment_expression "param_2 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) }))) (return_statement "return param_2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (for_statement for ( ; (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ; (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) | LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (for_statement for ( ; (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ; (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) | LIT)) ) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0027b5b0(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}" (type_identifier "uint") (function_declarator "FUN_0027b5b0(uint param_1,uint param_2)" (identifier "FUN_0027b5b0") (parameter_list "(uint param_1,uint param_2)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }\n  return param_2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 == 0) {\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }\n  else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }\n  }" ({ "{") (if_statement "if (param_2 != 0) {\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = 0;\n      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }\n      param_2 = iVar1 + 0x21;\n    }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (for_statement "for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {\n        iVar1 = iVar1 + 1;\n      }" (for "for") (( "(") (; ";") (binary_expression "(param_2 & 1) == 0" (parenthesized_expression "(param_2 & 1)" (( "(") (binary_expression "param_2 & 1" (identifier "param_2") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) (; ";") (assignment_expression "param_2 = param_2 >> 1 | 0x80000000" (identifier "param_2") (= "=") (binary_expression "param_2 >> 1 | 0x80000000" (binary_expression "param_2 >> 1" (identifier "param_2") (>> ">>") (number_literal "1")) (| "|") (number_literal "0x80000000"))) () ")") (compound_statement "{\n        iVar1 = iVar1 + 1;\n      }" ({ "{") (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "param_2 = iVar1 + 0x21;" (assignment_expression "param_2 = iVar1 + 0x21" (identifier "param_2") (= "=") (binary_expression "iVar1 + 0x21" (identifier "iVar1") (+ "+") (number_literal "0x21"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" (else "else") (compound_statement "{\n    iVar1 = 0;\n    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }\n    param_2 = iVar1 + 1;\n  }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (for_statement "for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {\n      iVar1 = iVar1 + 1;\n    }" (for "for") (( "(") (; ";") (binary_expression "(param_1 & 1) == 0" (parenthesized_expression "(param_1 & 1)" (( "(") (binary_expression "param_1 & 1" (identifier "param_1") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) (; ";") (assignment_expression "param_1 = param_1 >> 1 | 0x80000000" (identifier "param_1") (= "=") (binary_expression "param_1 >> 1 | 0x80000000" (binary_expression "param_1 >> 1" (identifier "param_1") (>> ">>") (number_literal "1")) (| "|") (number_literal "0x80000000"))) () ")") (compound_statement "{\n      iVar1 = iVar1 + 1;\n    }" ({ "{") (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "param_2 = iVar1 + 1;" (assignment_expression "param_2 = iVar1 + 1" (identifier "param_2") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}")))

type_1 function_1(type_1 var_1,type_1 var_2)

{
  int var_3;
  
  if (var_1 == 0) {
    if (var_2 != 0) {
      var_3 = 0;
      for (; (var_2 & 1) == 0; var_2 = var_2 >> 1 | 0x80000000) {
        var_3 = var_3 + 1;
      }
      var_2 = var_3 + 0x21;
    }
  }
  else {
    var_3 = 0;
    for (; (var_1 & 1) == 0; var_1 = var_1 >> 1 | 0x80000000) {
      var_3 = var_3 + 1;
    }
    var_2 = var_3 + 1;
  }
  return var_2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (for_statement condition: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (for_statement condition: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))))

uint MASKED(uint param_1,uint param_2)

{
  int iVar1;
  
  if (param_1 == 0) {
    if (param_2 != 0) {
      iVar1 = 0;
      for (; (param_2 & 1) == 0; param_2 = param_2 >> 1 | 0x80000000) {
        iVar1 = iVar1 + 1;
      }
      param_2 = iVar1 + 0x21;
    }
  }
  else {
    iVar1 = 0;
    for (; (param_1 & 1) == 0; param_1 = param_1 >> 1 | 0x80000000) {
      iVar1 = iVar1 + 1;
    }
    param_2 = iVar1 + 1;
  }
  return param_2;
}

