
/* WARNING: Unknown calling convention */

mp_size_t __gmpn_hgcd_itch(mp_size_t n)

{
  uint uVar1;
  uint uVar2;
  
  if (399 < n) {
    uVar2 = (n + -1) / 399;
    uVar1 = 0x1f;
    if (uVar2 != 0) {
      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {
      }
    }
    n = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (n + 3 >> 2) * 0x14;
  }
  return n;
}



int __gmpn_hgcd_itch(int param_1)

{
  uint uVar1;
  uint uVar2;
  
  if (399 < param_1) {
    uVar2 = (param_1 + -1) / 399;
    uVar1 = 0x1f;
    if (uVar2 != 0) {
      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {
      }
    }
    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;
  }
  return param_1;
}


PUSH EBX
MOV ECX,dword ptr [ESP + 0x8]
CMP ECX,0x18f
JLE 0x00059c33
LEA EBX,[ECX + -0x1]
MOV EDX,0xa4402911
ADD ECX,0x3
MOV EAX,EBX
SAR ECX,0x2
IMUL EDX
MOV EAX,0x20
LEA ECX,[ECX + ECX*0x4]
ADD EDX,EBX
SAR EBX,0x1f
SAR EDX,0x8
SUB EDX,EBX
BSR EDX,EDX
XOR EDX,0x1f
SUB EAX,EDX
IMUL EAX,EAX,0x16
LEA ECX,[EAX + ECX*0x4 + 0x190]
MOV EAX,ECX
POP EBX
RET
(translation_unit "int __gmpn_hgcd_itch(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }\n  return param_1;\n}\n\n" (function_definition "int __gmpn_hgcd_itch(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }\n  return param_1;\n}" primitive_type (function_declarator "__gmpn_hgcd_itch(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }" if (parenthesized_expression "(399 < param_1)" ( (binary_expression "399 < param_1" number_literal < identifier) )) (compound_statement "{\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }" { (expression_statement "uVar2 = (param_1 + -1) / 399;" (assignment_expression "uVar2 = (param_1 + -1) / 399" identifier = (binary_expression "(param_1 + -1) / 399" (parenthesized_expression "(param_1 + -1)" ( (binary_expression "param_1 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "uVar1 = 0x1f;" (assignment_expression "uVar1 = 0x1f" identifier = number_literal) ;) (if_statement "if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }" { (for_statement "for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }" for ( ; (binary_expression "uVar2 >> uVar1 == 0" (binary_expression "uVar2 >> uVar1" identifier >> identifier) == number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n      }" { })) })) (expression_statement "param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;" (assignment_expression "param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14" identifier = (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14" (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400" (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16" (parenthesized_expression "(0x20 - (uVar1 ^ 0x1f))" ( (binary_expression "0x20 - (uVar1 ^ 0x1f)" number_literal - (parenthesized_expression "(uVar1 ^ 0x1f)" ( (binary_expression "uVar1 ^ 0x1f" identifier ^ number_literal) ))) )) * number_literal) + number_literal) + (binary_expression "(param_1 + 3 >> 2) * 0x14" (parenthesized_expression "(param_1 + 3 >> 2)" ( (binary_expression "param_1 + 3 >> 2" (binary_expression "param_1 + 3" identifier + number_literal) >> number_literal) )) * number_literal))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nmp_size_t __gmpn_hgcd_itch(mp_size_t n)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < n) {\n    uVar2 = (n + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    n = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (n + 3 >> 2) * 0x14;\n  }\n  return n;\n}\n\n" comment (function_definition "mp_size_t __gmpn_hgcd_itch(mp_size_t n)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < n) {\n    uVar2 = (n + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    n = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (n + 3 >> 2) * 0x14;\n  }\n  return n;\n}" type_identifier (function_declarator "__gmpn_hgcd_itch(mp_size_t n)" identifier (parameter_list "(mp_size_t n)" ( (parameter_declaration "mp_size_t n" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < n) {\n    uVar2 = (n + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    n = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (n + 3 >> 2) * 0x14;\n  }\n  return n;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (399 < n) {\n    uVar2 = (n + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    n = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (n + 3 >> 2) * 0x14;\n  }" if (parenthesized_expression "(399 < n)" ( (binary_expression "399 < n" number_literal < identifier) )) (compound_statement "{\n    uVar2 = (n + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    n = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (n + 3 >> 2) * 0x14;\n  }" { (expression_statement "uVar2 = (n + -1) / 399;" (assignment_expression "uVar2 = (n + -1) / 399" identifier = (binary_expression "(n + -1) / 399" (parenthesized_expression "(n + -1)" ( (binary_expression "n + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "uVar1 = 0x1f;" (assignment_expression "uVar1 = 0x1f" identifier = number_literal) ;) (if_statement "if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }" { (for_statement "for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }" for ( ; (binary_expression "uVar2 >> uVar1 == 0" (binary_expression "uVar2 >> uVar1" identifier >> identifier) == number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n      }" { })) })) (expression_statement "n = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (n + 3 >> 2) * 0x14;" (assignment_expression "n = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (n + 3 >> 2) * 0x14" identifier = (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (n + 3 >> 2) * 0x14" (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400" (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16" (parenthesized_expression "(0x20 - (uVar1 ^ 0x1f))" ( (binary_expression "0x20 - (uVar1 ^ 0x1f)" number_literal - (parenthesized_expression "(uVar1 ^ 0x1f)" ( (binary_expression "uVar1 ^ 0x1f" identifier ^ number_literal) ))) )) * number_literal) + number_literal) + (binary_expression "(n + 3 >> 2) * 0x14" (parenthesized_expression "(n + 3 >> 2)" ( (binary_expression "n + 3 >> 2" (binary_expression "n + 3" identifier + number_literal) >> number_literal) )) * number_literal))) ;) })) (return_statement "return n;" return identifier ;) })))
(translation_unit "int __gmpn_hgcd_itch(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }\n  return param_1;\n}\n\n" (function_definition "int __gmpn_hgcd_itch(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }\n  return param_1;\n}" primitive_type (function_declarator "__gmpn_hgcd_itch(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }" if (parenthesized_expression "(399 < param_1)" ( (binary_expression "399 < param_1" number_literal < identifier) )) (compound_statement "{\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }" { (expression_statement "uVar2 = (param_1 + -1) / 399;" (assignment_expression "uVar2 = (param_1 + -1) / 399" identifier = (binary_expression "(param_1 + -1) / 399" (parenthesized_expression "(param_1 + -1)" ( (binary_expression "param_1 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "uVar1 = 0x1f;" (assignment_expression "uVar1 = 0x1f" identifier = number_literal) ;) (if_statement "if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }" { (for_statement "for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }" for ( ; (binary_expression "uVar2 >> uVar1 == 0" (binary_expression "uVar2 >> uVar1" identifier >> identifier) == number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n      }" { })) })) (expression_statement "param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;" (assignment_expression "param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14" identifier = (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14" (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400" (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16" (parenthesized_expression "(0x20 - (uVar1 ^ 0x1f))" ( (binary_expression "0x20 - (uVar1 ^ 0x1f)" number_literal - (parenthesized_expression "(uVar1 ^ 0x1f)" ( (binary_expression "uVar1 ^ 0x1f" identifier ^ number_literal) ))) )) * number_literal) + number_literal) + (binary_expression "(param_1 + 3 >> 2) * 0x14" (parenthesized_expression "(param_1 + 3 >> 2)" ( (binary_expression "param_1 + 3 >> 2" (binary_expression "param_1 + 3" identifier + number_literal) >> number_literal) )) * number_literal))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) / LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (for_statement for ( ; (binary_expression (binary_expression IDENT >> IDENT) == LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { })) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression LIT - (parenthesized_expression ( (binary_expression IDENT ^ LIT) ))) )) * LIT) + LIT) + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) >> LIT) )) * LIT))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int __gmpn_hgcd_itch(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }\n  return param_1;\n}" (primitive_type "int") (function_declarator "__gmpn_hgcd_itch(int param_1)" (identifier "__gmpn_hgcd_itch") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  \n  if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }\n  return param_1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (if_statement "if (399 < param_1) {\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }" (if "if") (parenthesized_expression "(399 < param_1)" (( "(") (binary_expression "399 < param_1" (number_literal "399") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n    uVar2 = (param_1 + -1) / 399;\n    uVar1 = 0x1f;\n    if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }\n    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;\n  }" ({ "{") (expression_statement "uVar2 = (param_1 + -1) / 399;" (assignment_expression "uVar2 = (param_1 + -1) / 399" (identifier "uVar2") (= "=") (binary_expression "(param_1 + -1) / 399" (parenthesized_expression "(param_1 + -1)" (( "(") (binary_expression "param_1 + -1" (identifier "param_1") (+ "+") (number_literal "-1")) () ")")) (/ "/") (number_literal "399"))) (; ";")) (expression_statement "uVar1 = 0x1f;" (assignment_expression "uVar1 = 0x1f" (identifier "uVar1") (= "=") (number_literal "0x1f")) (; ";")) (if_statement "if (uVar2 != 0) {\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }\n    }" ({ "{") (for_statement "for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {\n      }" (for "for") (( "(") (; ";") (binary_expression "uVar2 >> uVar1 == 0" (binary_expression "uVar2 >> uVar1" (identifier "uVar2") (>> ">>") (identifier "uVar1")) (== "==") (number_literal "0")) (; ";") (assignment_expression "uVar1 = uVar1 - 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 - 1" (identifier "uVar1") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n      }" ({ "{") (} "}"))) (} "}"))) (expression_statement "param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;" (assignment_expression "param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14" (identifier "param_1") (= "=") (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14" (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400" (binary_expression "(0x20 - (uVar1 ^ 0x1f)) * 0x16" (parenthesized_expression "(0x20 - (uVar1 ^ 0x1f))" (( "(") (binary_expression "0x20 - (uVar1 ^ 0x1f)" (number_literal "0x20") (- "-") (parenthesized_expression "(uVar1 ^ 0x1f)" (( "(") (binary_expression "uVar1 ^ 0x1f" (identifier "uVar1") (^ "^") (number_literal "0x1f")) () ")"))) () ")")) (* "*") (number_literal "0x16")) (+ "+") (number_literal "400")) (+ "+") (binary_expression "(param_1 + 3 >> 2) * 0x14" (parenthesized_expression "(param_1 + 3 >> 2)" (( "(") (binary_expression "param_1 + 3 >> 2" (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) (>> ">>") (number_literal "2")) () ")")) (* "*") (number_literal "0x14")))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(type_1 var_1)

{
  type_2 var_3;
  type_2 var_2;
  
  if (399 < var_1) {
    var_2 = (var_1 + -1) / 399;
    var_3 = 0x1f;
    if (var_2 != 0) {
      for (; var_2 >> var_3 == 0; var_3 = var_3 - 1) {
      }
    }
    var_1 = (0x20 - (var_3 ^ 0x1f)) * 0x16 + 400 + (var_1 + 3 >> 2) * 0x14;
  }
  return var_1;
}


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

int MASKED(int param_1)

{
  uint uVar1;
  uint uVar2;
  
  if (399 < param_1) {
    uVar2 = (param_1 + -1) / 399;
    uVar1 = 0x1f;
    if (uVar2 != 0) {
      for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {
      }
    }
    param_1 = (0x20 - (uVar1 ^ 0x1f)) * 0x16 + 400 + (param_1 + 3 >> 2) * 0x14;
  }
  return param_1;
}

