
mp_limb_t __gmpn_lshiftc_fat(mp_ptr rp,mp_srcptr up,mp_size_t n,uint cnt)

{
  uint uVar1;
  uint uVar2;
  byte bVar3;
  uint uVar4;
  int iVar5;
  mp_ptr local_1c;
  
  bVar3 = (byte)cnt;
  local_1c = rp + n;
  uVar1 = up[n + -1];
  uVar4 = uVar1 << (bVar3 & 0x1f);
  iVar5 = n + -1;
  if (iVar5 != 0) {
    do {
      uVar2 = up[iVar5 + -1];
      local_1c[iVar5 - n] = ~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f));
      uVar4 = uVar2 << (bVar3 & 0x1f);
      iVar5 = iVar5 + -1;
    } while (iVar5 != 0);
    local_1c = local_1c + (1 - n);
  }
  local_1c[-1] = ~uVar4;
  return uVar1 >> (0x20 - bVar3 & 0x1f);
}



uint __gmpn_lshiftc_fat(int param_1,int param_2,int param_3,byte param_4)

{
  uint uVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  undefined4 local_1c;
  
  param_2 = param_2 + param_3 * 4;
  local_1c = param_1 + param_3 * 4;
  uVar1 = *(uint *)(param_2 + -4);
  uVar3 = uVar1 << (param_4 & 0x1f);
  iVar4 = param_3 + -1;
  if (iVar4 != 0) {
    param_3 = param_3 * -4;
    do {
      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);
      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));
      uVar3 = uVar2 << (param_4 & 0x1f);
      iVar4 = iVar4 + -1;
    } while (iVar4 != 0);
    local_1c = local_1c + 4 + param_3;
  }
  *(uint *)(local_1c + -4) = ~uVar3;
  return uVar1 >> (0x20 - param_4 & 0x1f);
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,0x20
PUSH EBX
SUB ESP,0x10
MOV EAX,dword ptr [ESP + 0x2c]
MOV EDI,dword ptr [ESP + 0x28]
SUB ESI,dword ptr [ESP + 0x30]
MOV EBP,dword ptr [ESP + 0x24]
LEA EBX,[EAX*0x4 + 0x0]
MOV ECX,ESI
ADD EDI,EBX
ADD EBP,EBX
MOV EAX,dword ptr [EDI + -0x4]
MOV dword ptr [ESP + 0x4],EBP
MOV EDX,EAX
SHR EDX,CL
MOVZX ECX,byte ptr [ESP + 0x30]
MOV dword ptr [ESP + 0x8],EDX
MOV EDX,dword ptr [ESP + 0x2c]
SHL EAX,CL
SUB EDX,0x1
JZ 0x0003747a
NEG EBX
MOV dword ptr [ESP],ESI
MOV dword ptr [ESP + 0xc],EBX
ADD EDI,EBX
ADD EBP,EBX
LEA ESI,[ESI]
MOV EBX,dword ptr [EDI + EDX*0x4 + -0x4]
MOVZX ECX,byte ptr [ESP]
MOV ESI,EBX
SHR ESI,CL
MOVZX ECX,byte ptr [ESP + 0x30]
OR EAX,ESI
NOT EAX
MOV dword ptr [EBP + EDX*0x4],EAX
MOV EAX,EBX
SHL EAX,CL
SUB EDX,0x1
JNZ 0x00037448
MOV EDI,dword ptr [ESP + 0x4]
MOV ESI,dword ptr [ESP + 0xc]
LEA EDI,[EDI + ESI*0x1 + 0x4]
MOV dword ptr [ESP + 0x4],EDI
MOV EDI,dword ptr [ESP + 0x4]
NOT EAX
MOV dword ptr [EDI + -0x4],EAX
MOV EAX,dword ptr [ESP + 0x8]
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "uint __gmpn_lshiftc_fat(int param_1,int param_2,int param_3,byte param_4)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 local_1c;\n  \n  param_2 = param_2 + param_3 * 4;\n  local_1c = param_1 + param_3 * 4;\n  uVar1 = *(uint *)(param_2 + -4);\n  uVar3 = uVar1 << (param_4 & 0x1f);\n  iVar4 = param_3 + -1;\n  if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }\n  *(uint *)(local_1c + -4) = ~uVar3;\n  return uVar1 >> (0x20 - param_4 & 0x1f);\n}\n\n" (function_definition "uint __gmpn_lshiftc_fat(int param_1,int param_2,int param_3,byte param_4)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 local_1c;\n  \n  param_2 = param_2 + param_3 * 4;\n  local_1c = param_1 + param_3 * 4;\n  uVar1 = *(uint *)(param_2 + -4);\n  uVar3 = uVar1 << (param_4 & 0x1f);\n  iVar4 = param_3 + -1;\n  if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }\n  *(uint *)(local_1c + -4) = ~uVar3;\n  return uVar1 >> (0x20 - param_4 & 0x1f);\n}" type_identifier (function_declarator "__gmpn_lshiftc_fat(int param_1,int param_2,int param_3,byte param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,byte param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "byte param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 local_1c;\n  \n  param_2 = param_2 + param_3 * 4;\n  local_1c = param_1 + param_3 * 4;\n  uVar1 = *(uint *)(param_2 + -4);\n  uVar3 = uVar1 << (param_4 & 0x1f);\n  iVar4 = param_3 + -1;\n  if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }\n  *(uint *)(local_1c + -4) = ~uVar3;\n  return uVar1 >> (0x20 - param_4 & 0x1f);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (expression_statement "param_2 = param_2 + param_3 * 4;" (assignment_expression "param_2 = param_2 + param_3 * 4" identifier = (binary_expression "param_2 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (expression_statement "local_1c = param_1 + param_3 * 4;" (assignment_expression "local_1c = param_1 + param_3 * 4" identifier = (binary_expression "param_1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + -4);" (assignment_expression "uVar1 = *(uint *)(param_2 + -4)" identifier = (pointer_expression "*(uint *)(param_2 + -4)" * (cast_expression "(uint *)(param_2 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + -4)" ( (binary_expression "param_2 + -4" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = uVar1 << (param_4 & 0x1f);" (assignment_expression "uVar3 = uVar1 << (param_4 & 0x1f)" identifier = (binary_expression "uVar1 << (param_4 & 0x1f)" identifier << (parenthesized_expression "(param_4 & 0x1f)" ( (binary_expression "param_4 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "iVar4 = param_3 + -1;" (assignment_expression "iVar4 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (if_statement "if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }" { (expression_statement "param_3 = param_3 * -4;" (assignment_expression "param_3 = param_3 * -4" identifier = (binary_expression "param_3 * -4" identifier * number_literal)) ;) (do_statement "do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);" do (compound_statement "{\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    }" { (expression_statement "uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);" (assignment_expression "uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4)" identifier = (pointer_expression "*(uint *)(param_2 + param_3 + -4 + iVar4 * 4)" * (cast_expression "(uint *)(param_2 + param_3 + -4 + iVar4 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_3 + -4 + iVar4 * 4)" ( (binary_expression "param_2 + param_3 + -4 + iVar4 * 4" (binary_expression "param_2 + param_3 + -4" (binary_expression "param_2 + param_3" identifier + identifier) + number_literal) + (binary_expression "iVar4 * 4" identifier * number_literal)) ))))) ;) (expression_statement "*(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));" (assignment_expression "*(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f))" (pointer_expression "*(uint *)(local_1c + param_3 + iVar4 * 4)" * (cast_expression "(uint *)(local_1c + param_3 + iVar4 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_1c + param_3 + iVar4 * 4)" ( (binary_expression "local_1c + param_3 + iVar4 * 4" (binary_expression "local_1c + param_3" identifier + identifier) + (binary_expression "iVar4 * 4" identifier * number_literal)) )))) = (unary_expression "~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f))" ~ (parenthesized_expression "(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f))" ( (binary_expression "uVar3 | uVar2 >> (0x20 - param_4 & 0x1f)" identifier | (binary_expression "uVar2 >> (0x20 - param_4 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - param_4 & 0x1f)" ( (binary_expression "0x20 - param_4 & 0x1f" (binary_expression "0x20 - param_4" number_literal - identifier) & number_literal) )))) )))) ;) (expression_statement "uVar3 = uVar2 << (param_4 & 0x1f);" (assignment_expression "uVar3 = uVar2 << (param_4 & 0x1f)" identifier = (binary_expression "uVar2 << (param_4 & 0x1f)" identifier << (parenthesized_expression "(param_4 & 0x1f)" ( (binary_expression "param_4 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "local_1c = local_1c + 4 + param_3;" (assignment_expression "local_1c = local_1c + 4 + param_3" identifier = (binary_expression "local_1c + 4 + param_3" (binary_expression "local_1c + 4" identifier + number_literal) + identifier)) ;) })) (expression_statement "*(uint *)(local_1c + -4) = ~uVar3;" (assignment_expression "*(uint *)(local_1c + -4) = ~uVar3" (pointer_expression "*(uint *)(local_1c + -4)" * (cast_expression "(uint *)(local_1c + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_1c + -4)" ( (binary_expression "local_1c + -4" identifier + number_literal) )))) = (unary_expression "~uVar3" ~ identifier)) ;) (return_statement "return uVar1 >> (0x20 - param_4 & 0x1f);" return (binary_expression "uVar1 >> (0x20 - param_4 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - param_4 & 0x1f)" ( (binary_expression "0x20 - param_4 & 0x1f" (binary_expression "0x20 - param_4" number_literal - identifier) & number_literal) ))) ;) })))
(translation_unit "mp_limb_t __gmpn_lshiftc_fat(mp_ptr rp,mp_srcptr up,mp_size_t n,uint cnt)\n\n{\n  uint uVar1;\n  uint uVar2;\n  byte bVar3;\n  uint uVar4;\n  int iVar5;\n  mp_ptr local_1c;\n  \n  bVar3 = (byte)cnt;\n  local_1c = rp + n;\n  uVar1 = up[n + -1];\n  uVar4 = uVar1 << (bVar3 & 0x1f);\n  iVar5 = n + -1;\n  if (iVar5 != 0) {\n    do {\n      uVar2 = up[iVar5 + -1];\n      local_1c[iVar5 - n] = ~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f));\n      uVar4 = uVar2 << (bVar3 & 0x1f);\n      iVar5 = iVar5 + -1;\n    } while (iVar5 != 0);\n    local_1c = local_1c + (1 - n);\n  }\n  local_1c[-1] = ~uVar4;\n  return uVar1 >> (0x20 - bVar3 & 0x1f);\n}\n\n" (function_definition "mp_limb_t __gmpn_lshiftc_fat(mp_ptr rp,mp_srcptr up,mp_size_t n,uint cnt)\n\n{\n  uint uVar1;\n  uint uVar2;\n  byte bVar3;\n  uint uVar4;\n  int iVar5;\n  mp_ptr local_1c;\n  \n  bVar3 = (byte)cnt;\n  local_1c = rp + n;\n  uVar1 = up[n + -1];\n  uVar4 = uVar1 << (bVar3 & 0x1f);\n  iVar5 = n + -1;\n  if (iVar5 != 0) {\n    do {\n      uVar2 = up[iVar5 + -1];\n      local_1c[iVar5 - n] = ~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f));\n      uVar4 = uVar2 << (bVar3 & 0x1f);\n      iVar5 = iVar5 + -1;\n    } while (iVar5 != 0);\n    local_1c = local_1c + (1 - n);\n  }\n  local_1c[-1] = ~uVar4;\n  return uVar1 >> (0x20 - bVar3 & 0x1f);\n}" type_identifier (function_declarator "__gmpn_lshiftc_fat(mp_ptr rp,mp_srcptr up,mp_size_t n,uint cnt)" identifier (parameter_list "(mp_ptr rp,mp_srcptr up,mp_size_t n,uint cnt)" ( (parameter_declaration "mp_ptr rp" type_identifier identifier) , (parameter_declaration "mp_srcptr up" type_identifier identifier) , (parameter_declaration "mp_size_t n" type_identifier identifier) , (parameter_declaration "uint cnt" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  byte bVar3;\n  uint uVar4;\n  int iVar5;\n  mp_ptr local_1c;\n  \n  bVar3 = (byte)cnt;\n  local_1c = rp + n;\n  uVar1 = up[n + -1];\n  uVar4 = uVar1 << (bVar3 & 0x1f);\n  iVar5 = n + -1;\n  if (iVar5 != 0) {\n    do {\n      uVar2 = up[iVar5 + -1];\n      local_1c[iVar5 - n] = ~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f));\n      uVar4 = uVar2 << (bVar3 & 0x1f);\n      iVar5 = iVar5 + -1;\n    } while (iVar5 != 0);\n    local_1c = local_1c + (1 - n);\n  }\n  local_1c[-1] = ~uVar4;\n  return uVar1 >> (0x20 - bVar3 & 0x1f);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "mp_ptr local_1c;" type_identifier identifier ;) (expression_statement "bVar3 = (byte)cnt;" (assignment_expression "bVar3 = (byte)cnt" identifier = (cast_expression "(byte)cnt" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "local_1c = rp + n;" (assignment_expression "local_1c = rp + n" identifier = (binary_expression "rp + n" identifier + identifier)) ;) (expression_statement "uVar1 = up[n + -1];" (assignment_expression "uVar1 = up[n + -1]" identifier = (subscript_expression "up[n + -1]" identifier [ (binary_expression "n + -1" identifier + number_literal) ])) ;) (expression_statement "uVar4 = uVar1 << (bVar3 & 0x1f);" (assignment_expression "uVar4 = uVar1 << (bVar3 & 0x1f)" identifier = (binary_expression "uVar1 << (bVar3 & 0x1f)" identifier << (parenthesized_expression "(bVar3 & 0x1f)" ( (binary_expression "bVar3 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "iVar5 = n + -1;" (assignment_expression "iVar5 = n + -1" identifier = (binary_expression "n + -1" identifier + number_literal)) ;) (if_statement "if (iVar5 != 0) {\n    do {\n      uVar2 = up[iVar5 + -1];\n      local_1c[iVar5 - n] = ~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f));\n      uVar4 = uVar2 << (bVar3 & 0x1f);\n      iVar5 = iVar5 + -1;\n    } while (iVar5 != 0);\n    local_1c = local_1c + (1 - n);\n  }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      uVar2 = up[iVar5 + -1];\n      local_1c[iVar5 - n] = ~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f));\n      uVar4 = uVar2 << (bVar3 & 0x1f);\n      iVar5 = iVar5 + -1;\n    } while (iVar5 != 0);\n    local_1c = local_1c + (1 - n);\n  }" { (do_statement "do {\n      uVar2 = up[iVar5 + -1];\n      local_1c[iVar5 - n] = ~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f));\n      uVar4 = uVar2 << (bVar3 & 0x1f);\n      iVar5 = iVar5 + -1;\n    } while (iVar5 != 0);" do (compound_statement "{\n      uVar2 = up[iVar5 + -1];\n      local_1c[iVar5 - n] = ~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f));\n      uVar4 = uVar2 << (bVar3 & 0x1f);\n      iVar5 = iVar5 + -1;\n    }" { (expression_statement "uVar2 = up[iVar5 + -1];" (assignment_expression "uVar2 = up[iVar5 + -1]" identifier = (subscript_expression "up[iVar5 + -1]" identifier [ (binary_expression "iVar5 + -1" identifier + number_literal) ])) ;) (expression_statement "local_1c[iVar5 - n] = ~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f));" (assignment_expression "local_1c[iVar5 - n] = ~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f))" (subscript_expression "local_1c[iVar5 - n]" identifier [ (binary_expression "iVar5 - n" identifier - identifier) ]) = (unary_expression "~(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f))" ~ (parenthesized_expression "(uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f))" ( (binary_expression "uVar4 | uVar2 >> (0x20 - bVar3 & 0x1f)" identifier | (binary_expression "uVar2 >> (0x20 - bVar3 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - bVar3 & 0x1f)" ( (binary_expression "0x20 - bVar3 & 0x1f" (binary_expression "0x20 - bVar3" number_literal - identifier) & number_literal) )))) )))) ;) (expression_statement "uVar4 = uVar2 << (bVar3 & 0x1f);" (assignment_expression "uVar4 = uVar2 << (bVar3 & 0x1f)" identifier = (binary_expression "uVar2 << (bVar3 & 0x1f)" identifier << (parenthesized_expression "(bVar3 & 0x1f)" ( (binary_expression "bVar3 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (expression_statement "local_1c = local_1c + (1 - n);" (assignment_expression "local_1c = local_1c + (1 - n)" identifier = (binary_expression "local_1c + (1 - n)" identifier + (parenthesized_expression "(1 - n)" ( (binary_expression "1 - n" number_literal - identifier) )))) ;) })) (expression_statement "local_1c[-1] = ~uVar4;" (assignment_expression "local_1c[-1] = ~uVar4" (subscript_expression "local_1c[-1]" identifier [ number_literal ]) = (unary_expression "~uVar4" ~ identifier)) ;) (return_statement "return uVar1 >> (0x20 - bVar3 & 0x1f);" return (binary_expression "uVar1 >> (0x20 - bVar3 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - bVar3 & 0x1f)" ( (binary_expression "0x20 - bVar3 & 0x1f" (binary_expression "0x20 - bVar3" number_literal - identifier) & number_literal) ))) ;) })))
(translation_unit "uint __gmpn_lshiftc_fat(int param_1,int param_2,int param_3,byte param_4)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 local_1c;\n  \n  param_2 = param_2 + param_3 * 4;\n  local_1c = param_1 + param_3 * 4;\n  uVar1 = *(uint *)(param_2 + -4);\n  uVar3 = uVar1 << (param_4 & 0x1f);\n  iVar4 = param_3 + -1;\n  if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }\n  *(uint *)(local_1c + -4) = ~uVar3;\n  return uVar1 >> (0x20 - param_4 & 0x1f);\n}\n\n" (function_definition "uint __gmpn_lshiftc_fat(int param_1,int param_2,int param_3,byte param_4)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 local_1c;\n  \n  param_2 = param_2 + param_3 * 4;\n  local_1c = param_1 + param_3 * 4;\n  uVar1 = *(uint *)(param_2 + -4);\n  uVar3 = uVar1 << (param_4 & 0x1f);\n  iVar4 = param_3 + -1;\n  if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }\n  *(uint *)(local_1c + -4) = ~uVar3;\n  return uVar1 >> (0x20 - param_4 & 0x1f);\n}" type_identifier (function_declarator "__gmpn_lshiftc_fat(int param_1,int param_2,int param_3,byte param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,byte param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "byte param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 local_1c;\n  \n  param_2 = param_2 + param_3 * 4;\n  local_1c = param_1 + param_3 * 4;\n  uVar1 = *(uint *)(param_2 + -4);\n  uVar3 = uVar1 << (param_4 & 0x1f);\n  iVar4 = param_3 + -1;\n  if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }\n  *(uint *)(local_1c + -4) = ~uVar3;\n  return uVar1 >> (0x20 - param_4 & 0x1f);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (expression_statement "param_2 = param_2 + param_3 * 4;" (assignment_expression "param_2 = param_2 + param_3 * 4" identifier = (binary_expression "param_2 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (expression_statement "local_1c = param_1 + param_3 * 4;" (assignment_expression "local_1c = param_1 + param_3 * 4" identifier = (binary_expression "param_1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (expression_statement "uVar1 = *(uint *)(param_2 + -4);" (assignment_expression "uVar1 = *(uint *)(param_2 + -4)" identifier = (pointer_expression "*(uint *)(param_2 + -4)" * (cast_expression "(uint *)(param_2 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + -4)" ( (binary_expression "param_2 + -4" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = uVar1 << (param_4 & 0x1f);" (assignment_expression "uVar3 = uVar1 << (param_4 & 0x1f)" identifier = (binary_expression "uVar1 << (param_4 & 0x1f)" identifier << (parenthesized_expression "(param_4 & 0x1f)" ( (binary_expression "param_4 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "iVar4 = param_3 + -1;" (assignment_expression "iVar4 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (if_statement "if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }" { (expression_statement "param_3 = param_3 * -4;" (assignment_expression "param_3 = param_3 * -4" identifier = (binary_expression "param_3 * -4" identifier * number_literal)) ;) (do_statement "do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);" do (compound_statement "{\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    }" { (expression_statement "uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);" (assignment_expression "uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4)" identifier = (pointer_expression "*(uint *)(param_2 + param_3 + -4 + iVar4 * 4)" * (cast_expression "(uint *)(param_2 + param_3 + -4 + iVar4 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_3 + -4 + iVar4 * 4)" ( (binary_expression "param_2 + param_3 + -4 + iVar4 * 4" (binary_expression "param_2 + param_3 + -4" (binary_expression "param_2 + param_3" identifier + identifier) + number_literal) + (binary_expression "iVar4 * 4" identifier * number_literal)) ))))) ;) (expression_statement "*(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));" (assignment_expression "*(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f))" (pointer_expression "*(uint *)(local_1c + param_3 + iVar4 * 4)" * (cast_expression "(uint *)(local_1c + param_3 + iVar4 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_1c + param_3 + iVar4 * 4)" ( (binary_expression "local_1c + param_3 + iVar4 * 4" (binary_expression "local_1c + param_3" identifier + identifier) + (binary_expression "iVar4 * 4" identifier * number_literal)) )))) = (unary_expression "~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f))" ~ (parenthesized_expression "(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f))" ( (binary_expression "uVar3 | uVar2 >> (0x20 - param_4 & 0x1f)" identifier | (binary_expression "uVar2 >> (0x20 - param_4 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - param_4 & 0x1f)" ( (binary_expression "0x20 - param_4 & 0x1f" (binary_expression "0x20 - param_4" number_literal - identifier) & number_literal) )))) )))) ;) (expression_statement "uVar3 = uVar2 << (param_4 & 0x1f);" (assignment_expression "uVar3 = uVar2 << (param_4 & 0x1f)" identifier = (binary_expression "uVar2 << (param_4 & 0x1f)" identifier << (parenthesized_expression "(param_4 & 0x1f)" ( (binary_expression "param_4 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "local_1c = local_1c + 4 + param_3;" (assignment_expression "local_1c = local_1c + 4 + param_3" identifier = (binary_expression "local_1c + 4 + param_3" (binary_expression "local_1c + 4" identifier + number_literal) + identifier)) ;) })) (expression_statement "*(uint *)(local_1c + -4) = ~uVar3;" (assignment_expression "*(uint *)(local_1c + -4) = ~uVar3" (pointer_expression "*(uint *)(local_1c + -4)" * (cast_expression "(uint *)(local_1c + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_1c + -4)" ( (binary_expression "local_1c + -4" identifier + number_literal) )))) = (unary_expression "~uVar3" ~ identifier)) ;) (return_statement "return uVar1 >> (0x20 - param_4 & 0x1f);" return (binary_expression "uVar1 >> (0x20 - param_4 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - param_4 & 0x1f)" ( (binary_expression "0x20 - param_4 & 0x1f" (binary_expression "0x20 - param_4" number_literal - identifier) & number_literal) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + IDENT) + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + (binary_expression IDENT * LIT)) )))) = (unary_expression ~ (parenthesized_expression ( (binary_expression IDENT | (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) & LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (unary_expression ~ IDENT)) ;) (return_statement return (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) & LIT) ))) ;) })))
(function_definition "uint __gmpn_lshiftc_fat(int param_1,int param_2,int param_3,byte param_4)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 local_1c;\n  \n  param_2 = param_2 + param_3 * 4;\n  local_1c = param_1 + param_3 * 4;\n  uVar1 = *(uint *)(param_2 + -4);\n  uVar3 = uVar1 << (param_4 & 0x1f);\n  iVar4 = param_3 + -1;\n  if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }\n  *(uint *)(local_1c + -4) = ~uVar3;\n  return uVar1 >> (0x20 - param_4 & 0x1f);\n}" (type_identifier "uint") (function_declarator "__gmpn_lshiftc_fat(int param_1,int param_2,int param_3,byte param_4)" (identifier "__gmpn_lshiftc_fat") (parameter_list "(int param_1,int param_2,int param_3,byte param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "byte param_4" (type_identifier "byte") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  undefined4 local_1c;\n  \n  param_2 = param_2 + param_3 * 4;\n  local_1c = param_1 + param_3 * 4;\n  uVar1 = *(uint *)(param_2 + -4);\n  uVar3 = uVar1 << (param_4 & 0x1f);\n  iVar4 = param_3 + -1;\n  if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }\n  *(uint *)(local_1c + -4) = ~uVar3;\n  return uVar1 >> (0x20 - param_4 & 0x1f);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 local_1c;" (type_identifier "undefined4") (identifier "local_1c") (; ";")) (expression_statement "param_2 = param_2 + param_3 * 4;" (assignment_expression "param_2 = param_2 + param_3 * 4" (identifier "param_2") (= "=") (binary_expression "param_2 + param_3 * 4" (identifier "param_2") (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4")))) (; ";")) (expression_statement "local_1c = param_1 + param_3 * 4;" (assignment_expression "local_1c = param_1 + param_3 * 4" (identifier "local_1c") (= "=") (binary_expression "param_1 + param_3 * 4" (identifier "param_1") (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4")))) (; ";")) (expression_statement "uVar1 = *(uint *)(param_2 + -4);" (assignment_expression "uVar1 = *(uint *)(param_2 + -4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + -4)" (* "*") (cast_expression "(uint *)(param_2 + -4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + -4)" (( "(") (binary_expression "param_2 + -4" (identifier "param_2") (+ "+") (number_literal "-4")) () ")"))))) (; ";")) (expression_statement "uVar3 = uVar1 << (param_4 & 0x1f);" (assignment_expression "uVar3 = uVar1 << (param_4 & 0x1f)" (identifier "uVar3") (= "=") (binary_expression "uVar1 << (param_4 & 0x1f)" (identifier "uVar1") (<< "<<") (parenthesized_expression "(param_4 & 0x1f)" (( "(") (binary_expression "param_4 & 0x1f" (identifier "param_4") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "iVar4 = param_3 + -1;" (assignment_expression "iVar4 = param_3 + -1" (identifier "iVar4") (= "=") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar4 != 0) {\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    param_3 = param_3 * -4;\n    do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);\n    local_1c = local_1c + 4 + param_3;\n  }" ({ "{") (expression_statement "param_3 = param_3 * -4;" (assignment_expression "param_3 = param_3 * -4" (identifier "param_3") (= "=") (binary_expression "param_3 * -4" (identifier "param_3") (* "*") (number_literal "-4"))) (; ";")) (do_statement "do {\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    } while (iVar4 != 0);" (do "do") (compound_statement "{\n      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);\n      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));\n      uVar3 = uVar2 << (param_4 & 0x1f);\n      iVar4 = iVar4 + -1;\n    }" ({ "{") (expression_statement "uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);" (assignment_expression "uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_2 + param_3 + -4 + iVar4 * 4)" (* "*") (cast_expression "(uint *)(param_2 + param_3 + -4 + iVar4 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + param_3 + -4 + iVar4 * 4)" (( "(") (binary_expression "param_2 + param_3 + -4 + iVar4 * 4" (binary_expression "param_2 + param_3 + -4" (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3")) (+ "+") (number_literal "-4")) (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "*(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));" (assignment_expression "*(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f))" (pointer_expression "*(uint *)(local_1c + param_3 + iVar4 * 4)" (* "*") (cast_expression "(uint *)(local_1c + param_3 + iVar4 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_1c + param_3 + iVar4 * 4)" (( "(") (binary_expression "local_1c + param_3 + iVar4 * 4" (binary_expression "local_1c + param_3" (identifier "local_1c") (+ "+") (identifier "param_3")) (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) () ")")))) (= "=") (unary_expression "~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f))" (~ "~") (parenthesized_expression "(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f))" (( "(") (binary_expression "uVar3 | uVar2 >> (0x20 - param_4 & 0x1f)" (identifier "uVar3") (| "|") (binary_expression "uVar2 >> (0x20 - param_4 & 0x1f)" (identifier "uVar2") (>> ">>") (parenthesized_expression "(0x20 - param_4 & 0x1f)" (( "(") (binary_expression "0x20 - param_4 & 0x1f" (binary_expression "0x20 - param_4" (number_literal "0x20") (- "-") (identifier "param_4")) (& "&") (number_literal "0x1f")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar3 = uVar2 << (param_4 & 0x1f);" (assignment_expression "uVar3 = uVar2 << (param_4 & 0x1f)" (identifier "uVar3") (= "=") (binary_expression "uVar2 << (param_4 & 0x1f)" (identifier "uVar2") (<< "<<") (parenthesized_expression "(param_4 & 0x1f)" (( "(") (binary_expression "param_4 & 0x1f" (identifier "param_4") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "local_1c = local_1c + 4 + param_3;" (assignment_expression "local_1c = local_1c + 4 + param_3" (identifier "local_1c") (= "=") (binary_expression "local_1c + 4 + param_3" (binary_expression "local_1c + 4" (identifier "local_1c") (+ "+") (number_literal "4")) (+ "+") (identifier "param_3"))) (; ";")) (} "}"))) (expression_statement "*(uint *)(local_1c + -4) = ~uVar3;" (assignment_expression "*(uint *)(local_1c + -4) = ~uVar3" (pointer_expression "*(uint *)(local_1c + -4)" (* "*") (cast_expression "(uint *)(local_1c + -4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_1c + -4)" (( "(") (binary_expression "local_1c + -4" (identifier "local_1c") (+ "+") (number_literal "-4")) () ")")))) (= "=") (unary_expression "~uVar3" (~ "~") (identifier "uVar3"))) (; ";")) (return_statement "return uVar1 >> (0x20 - param_4 & 0x1f);" (return "return") (binary_expression "uVar1 >> (0x20 - param_4 & 0x1f)" (identifier "uVar1") (>> ">>") (parenthesized_expression "(0x20 - param_4 & 0x1f)" (( "(") (binary_expression "0x20 - param_4 & 0x1f" (binary_expression "0x20 - param_4" (number_literal "0x20") (- "-") (identifier "param_4")) (& "&") (number_literal "0x1f")) () ")"))) (; ";")) (} "}")))

type_1 function_1(type_2 var_1,type_3 up,type_4 var_2,type_5 cnt)

{
  type_5 var_3;
  type_5 var_7;
  type_6 var_4;
  type_5 var_6;
  int var_5;
  type_2 var_8;
  
  var_4 = (type_6)cnt;
  var_8 = var_1 + var_2;
  var_3 = up[var_2 + -1];
  var_6 = var_3 << (var_4 & 0x1f);
  var_5 = var_2 + -1;
  if (var_5 != 0) {
    do {
      var_7 = up[var_5 + -1];
      var_8[var_5 - var_2] = ~(var_6 | var_7 >> (0x20 - var_4 & 0x1f));
      var_6 = var_7 << (var_4 & 0x1f);
      var_5 = var_5 + -1;
    } while (var_5 != 0);
    var_8 = var_8 + (1 - var_2);
  }
  var_8[-1] = ~var_6;
  return var_3 >> (0x20 - var_4 & 0x1f);
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (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: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (unary_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))) (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: (unary_expression argument: (identifier)))) (return_statement (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (number_literal))))))))

uint MASKED(int param_1,int param_2,int param_3,byte param_4)

{
  uint uVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  undefined4 local_1c;
  
  param_2 = param_2 + param_3 * 4;
  local_1c = param_1 + param_3 * 4;
  uVar1 = *(uint *)(param_2 + -4);
  uVar3 = uVar1 << (param_4 & 0x1f);
  iVar4 = param_3 + -1;
  if (iVar4 != 0) {
    param_3 = param_3 * -4;
    do {
      uVar2 = *(uint *)(param_2 + param_3 + -4 + iVar4 * 4);
      *(uint *)(local_1c + param_3 + iVar4 * 4) = ~(uVar3 | uVar2 >> (0x20 - param_4 & 0x1f));
      uVar3 = uVar2 << (param_4 & 0x1f);
      iVar4 = iVar4 + -1;
    } while (iVar4 != 0);
    local_1c = local_1c + 4 + param_3;
  }
  *(uint *)(local_1c + -4) = ~uVar3;
  return uVar1 >> (0x20 - param_4 & 0x1f);
}

