
int __gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)

{
  uint uVar1;
  longlong lVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  bool bVar6;
  
  iVar4 = 0;
  bVar6 = false;
  uVar5 = param_3 - 1U ^ 0xffffffff;
  param_1 = param_1 + param_3 * 4;
  do {
    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +
            (ulonglong)(iVar4 + (uint)bVar6);
    uVar3 = (uint)lVar2;
    uVar1 = *(uint *)(param_1 + uVar5 * 4);
    iVar4 = (int)((ulonglong)lVar2 >> 0x20);
    bVar6 = uVar1 < uVar3;
    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;
    uVar5 = uVar5 + 1;
  } while (uVar5 != 0);
  return iVar4 + (uint)bVar6;
}



int __gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)

{
  uint uVar1;
  longlong lVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  bool bVar6;
  
  iVar4 = 0;
  bVar6 = false;
  uVar5 = param_3 - 1U ^ 0xffffffff;
  param_1 = param_1 + param_3 * 4;
  do {
    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +
            (ulonglong)(iVar4 + (uint)bVar6);
    uVar3 = (uint)lVar2;
    uVar1 = *(uint *)(param_1 + uVar5 * 4);
    iVar4 = (int)((ulonglong)lVar2 >> 0x20);
    bVar6 = uVar1 < uVar3;
    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;
    uVar5 = uVar5 + 1;
  } while (uVar5 != 0);
  return iVar4 + (uint)bVar6;
}


XOR ECX,ECX
PUSH ESI
MOV ESI,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x10]
PUSH EDI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
LEA EBX,[EAX + -0x1]
LEA ESI,[ESI + EAX*0x4]
XOR EBX,0xffffffff
LEA EDI,[EDI + EAX*0x4]
ADC ECX,0x0
MOV EAX,dword ptr [ESI + EBX*0x4]
MUL dword ptr [ESP + 0x1c]
ADD EAX,ECX
MOV ECX,dword ptr [EDI + EBX*0x4]
ADC EDX,0x0
SUB ECX,EAX
MOV dword ptr [EDI + EBX*0x4],ECX
INC EBX
MOV ECX,EDX
JNZ 0x0003d045
ADC ECX,0x0
POP EBX
MOV EAX,ECX
POP EDI
POP ESI
RET
(translation_unit "int __gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}\n\n" (function_definition "int __gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}" primitive_type (function_declarator "__gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,uint 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 "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "uVar5 = param_3 - 1U ^ 0xffffffff;" (assignment_expression "uVar5 = param_3 - 1U ^ 0xffffffff" identifier = (binary_expression "param_3 - 1U ^ 0xffffffff" (binary_expression "param_3 - 1U" identifier - number_literal) ^ number_literal)) ;) (expression_statement "param_1 = param_1 + param_3 * 4;" (assignment_expression "param_1 = param_1 + param_3 * 4" identifier = (binary_expression "param_1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (do_statement "do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);" do (compound_statement "{\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  }" { (expression_statement "lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);" (assignment_expression "lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6)" identifier = (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6)" (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4" (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4)" (parenthesized_expression "(ulonglong)" ( identifier )) * (cast_expression "(uint *)(param_2 + param_3 * 4 + uVar5 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_3 * 4 + uVar5 * 4)" ( (binary_expression "param_2 + param_3 * 4 + uVar5 * 4" (binary_expression "param_2 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) * (cast_expression "(ulonglong)param_4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) + (call_expression "(ulonglong)(iVar4 + (uint)bVar6)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(iVar4 + (uint)bVar6)" ( (binary_expression "iVar4 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) (expression_statement "uVar3 = (uint)lVar2;" (assignment_expression "uVar3 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar1 = *(uint *)(param_1 + uVar5 * 4);" (assignment_expression "uVar1 = *(uint *)(param_1 + uVar5 * 4)" identifier = (pointer_expression "*(uint *)(param_1 + uVar5 * 4)" * (cast_expression "(uint *)(param_1 + uVar5 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + uVar5 * 4)" ( (binary_expression "param_1 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar4 = (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "iVar4 = (int)((ulonglong)lVar2 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "bVar6 = uVar1 < uVar3;" (assignment_expression "bVar6 = uVar1 < uVar3" identifier = (binary_expression "uVar1 < uVar3" identifier < identifier)) ;) (expression_statement "*(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;" (assignment_expression "*(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3" (pointer_expression "*(uint *)(param_1 + uVar5 * 4)" * (cast_expression "(uint *)(param_1 + uVar5 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + uVar5 * 4)" ( (binary_expression "param_1 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) = (binary_expression "uVar1 - uVar3" identifier - identifier)) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) ;) (return_statement "return iVar4 + (uint)bVar6;" return (binary_expression "iVar4 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })))
(translation_unit "int __gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}\n\n" (function_definition "int __gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}" primitive_type (function_declarator "__gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,uint 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 "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "uVar5 = param_3 - 1U ^ 0xffffffff;" (assignment_expression "uVar5 = param_3 - 1U ^ 0xffffffff" identifier = (binary_expression "param_3 - 1U ^ 0xffffffff" (binary_expression "param_3 - 1U" identifier - number_literal) ^ number_literal)) ;) (expression_statement "param_1 = param_1 + param_3 * 4;" (assignment_expression "param_1 = param_1 + param_3 * 4" identifier = (binary_expression "param_1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (do_statement "do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);" do (compound_statement "{\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  }" { (expression_statement "lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);" (assignment_expression "lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6)" identifier = (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6)" (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4" (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4)" (parenthesized_expression "(ulonglong)" ( identifier )) * (cast_expression "(uint *)(param_2 + param_3 * 4 + uVar5 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_3 * 4 + uVar5 * 4)" ( (binary_expression "param_2 + param_3 * 4 + uVar5 * 4" (binary_expression "param_2 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) * (cast_expression "(ulonglong)param_4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) + (call_expression "(ulonglong)(iVar4 + (uint)bVar6)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(iVar4 + (uint)bVar6)" ( (binary_expression "iVar4 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) (expression_statement "uVar3 = (uint)lVar2;" (assignment_expression "uVar3 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar1 = *(uint *)(param_1 + uVar5 * 4);" (assignment_expression "uVar1 = *(uint *)(param_1 + uVar5 * 4)" identifier = (pointer_expression "*(uint *)(param_1 + uVar5 * 4)" * (cast_expression "(uint *)(param_1 + uVar5 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + uVar5 * 4)" ( (binary_expression "param_1 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar4 = (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "iVar4 = (int)((ulonglong)lVar2 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "bVar6 = uVar1 < uVar3;" (assignment_expression "bVar6 = uVar1 < uVar3" identifier = (binary_expression "uVar1 < uVar3" identifier < identifier)) ;) (expression_statement "*(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;" (assignment_expression "*(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3" (pointer_expression "*(uint *)(param_1 + uVar5 * 4)" * (cast_expression "(uint *)(param_1 + uVar5 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + uVar5 * 4)" ( (binary_expression "param_1 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) = (binary_expression "uVar1 - uVar3" identifier - identifier)) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) ;) (return_statement "return iVar4 + (uint)bVar6;" return (binary_expression "iVar4 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })))
(translation_unit "int __gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}\n\n" (function_definition "int __gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}" primitive_type (function_declarator "__gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,uint 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 "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "uVar5 = param_3 - 1U ^ 0xffffffff;" (assignment_expression "uVar5 = param_3 - 1U ^ 0xffffffff" identifier = (binary_expression "param_3 - 1U ^ 0xffffffff" (binary_expression "param_3 - 1U" identifier - number_literal) ^ number_literal)) ;) (expression_statement "param_1 = param_1 + param_3 * 4;" (assignment_expression "param_1 = param_1 + param_3 * 4" identifier = (binary_expression "param_1 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal))) ;) (do_statement "do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);" do (compound_statement "{\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  }" { (expression_statement "lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);" (assignment_expression "lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6)" identifier = (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6)" (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4" (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4)" (parenthesized_expression "(ulonglong)" ( identifier )) * (cast_expression "(uint *)(param_2 + param_3 * 4 + uVar5 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + param_3 * 4 + uVar5 * 4)" ( (binary_expression "param_2 + param_3 * 4 + uVar5 * 4" (binary_expression "param_2 + param_3 * 4" identifier + (binary_expression "param_3 * 4" identifier * number_literal)) + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) * (cast_expression "(ulonglong)param_4" ( (type_descriptor "ulonglong" type_identifier) ) identifier)) + (call_expression "(ulonglong)(iVar4 + (uint)bVar6)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(iVar4 + (uint)bVar6)" ( (binary_expression "iVar4 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) (expression_statement "uVar3 = (uint)lVar2;" (assignment_expression "uVar3 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar1 = *(uint *)(param_1 + uVar5 * 4);" (assignment_expression "uVar1 = *(uint *)(param_1 + uVar5 * 4)" identifier = (pointer_expression "*(uint *)(param_1 + uVar5 * 4)" * (cast_expression "(uint *)(param_1 + uVar5 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + uVar5 * 4)" ( (binary_expression "param_1 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar4 = (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "iVar4 = (int)((ulonglong)lVar2 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "bVar6 = uVar1 < uVar3;" (assignment_expression "bVar6 = uVar1 < uVar3" identifier = (binary_expression "uVar1 < uVar3" identifier < identifier)) ;) (expression_statement "*(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;" (assignment_expression "*(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3" (pointer_expression "*(uint *)(param_1 + uVar5 * 4)" * (cast_expression "(uint *)(param_1 + uVar5 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + uVar5 * 4)" ( (binary_expression "param_1 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) = (binary_expression "uVar1 - uVar3" identifier - identifier)) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) ;) (return_statement "return iVar4 + (uint)bVar6;" return (binary_expression "iVar4 + (uint)bVar6" identifier + (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) })))
(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 ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) ^ LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + (binary_expression IDENT * LIT)) )))) * (cast_expression ( (type_descriptor TYPE) ) IDENT)) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })))
(function_definition "int __gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)\n\n{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}" (primitive_type "int") (function_declarator "__gmpn_submul_1_pentium(int param_1,int param_2,int param_3,uint param_4)" (identifier "__gmpn_submul_1_pentium") (parameter_list "(int param_1,int param_2,int param_3,uint 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 "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  longlong lVar2;\n  uint uVar3;\n  int iVar4;\n  uint uVar5;\n  bool bVar6;\n  \n  iVar4 = 0;\n  bVar6 = false;\n  uVar5 = param_3 - 1U ^ 0xffffffff;\n  param_1 = param_1 + param_3 * 4;\n  do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);\n  return iVar4 + (uint)bVar6;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "longlong lVar2;" (type_identifier "longlong") (identifier "lVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" (identifier "bVar6") (= "=") (false "false")) (; ";")) (expression_statement "uVar5 = param_3 - 1U ^ 0xffffffff;" (assignment_expression "uVar5 = param_3 - 1U ^ 0xffffffff" (identifier "uVar5") (= "=") (binary_expression "param_3 - 1U ^ 0xffffffff" (binary_expression "param_3 - 1U" (identifier "param_3") (- "-") (number_literal "1U")) (^ "^") (number_literal "0xffffffff"))) (; ";")) (expression_statement "param_1 = param_1 + param_3 * 4;" (assignment_expression "param_1 = param_1 + param_3 * 4" (identifier "param_1") (= "=") (binary_expression "param_1 + param_3 * 4" (identifier "param_1") (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4")))) (; ";")) (do_statement "do {\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  } while (uVar5 != 0);" (do "do") (compound_statement "{\n    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);\n    uVar3 = (uint)lVar2;\n    uVar1 = *(uint *)(param_1 + uVar5 * 4);\n    iVar4 = (int)((ulonglong)lVar2 >> 0x20);\n    bVar6 = uVar1 < uVar3;\n    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;\n    uVar5 = uVar5 + 1;\n  }" ({ "{") (expression_statement "lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6);" (assignment_expression "lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6)" (identifier "lVar2") (= "=") (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +\n            (ulonglong)(iVar4 + (uint)bVar6)" (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4" (binary_expression "(ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (* "*") (cast_expression "(uint *)(param_2 + param_3 * 4 + uVar5 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + param_3 * 4 + uVar5 * 4)" (( "(") (binary_expression "param_2 + param_3 * 4 + uVar5 * 4" (binary_expression "param_2 + param_3 * 4" (identifier "param_2") (+ "+") (binary_expression "param_3 * 4" (identifier "param_3") (* "*") (number_literal "4"))) (+ "+") (binary_expression "uVar5 * 4" (identifier "uVar5") (* "*") (number_literal "4"))) () ")")))) (* "*") (cast_expression "(ulonglong)param_4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_4"))) (+ "+") (call_expression "(ulonglong)(iVar4 + (uint)bVar6)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "(iVar4 + (uint)bVar6)" (( "(") (binary_expression "iVar4 + (uint)bVar6" (identifier "iVar4") (+ "+") (cast_expression "(uint)bVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar6"))) () ")"))))) (; ";")) (expression_statement "uVar3 = (uint)lVar2;" (assignment_expression "uVar3 = (uint)lVar2" (identifier "uVar3") (= "=") (cast_expression "(uint)lVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar2"))) (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + uVar5 * 4);" (assignment_expression "uVar1 = *(uint *)(param_1 + uVar5 * 4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + uVar5 * 4)" (* "*") (cast_expression "(uint *)(param_1 + uVar5 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + uVar5 * 4)" (( "(") (binary_expression "param_1 + uVar5 * 4" (identifier "param_1") (+ "+") (binary_expression "uVar5 * 4" (identifier "uVar5") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar4 = (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "iVar4 = (int)((ulonglong)lVar2 >> 0x20)" (identifier "iVar4") (= "=") (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar2")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "bVar6 = uVar1 < uVar3;" (assignment_expression "bVar6 = uVar1 < uVar3" (identifier "bVar6") (= "=") (binary_expression "uVar1 < uVar3" (identifier "uVar1") (< "<") (identifier "uVar3"))) (; ";")) (expression_statement "*(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;" (assignment_expression "*(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3" (pointer_expression "*(uint *)(param_1 + uVar5 * 4)" (* "*") (cast_expression "(uint *)(param_1 + uVar5 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + uVar5 * 4)" (( "(") (binary_expression "param_1 + uVar5 * 4" (identifier "param_1") (+ "+") (binary_expression "uVar5 * 4" (identifier "uVar5") (* "*") (number_literal "4"))) () ")")))) (= "=") (binary_expression "uVar1 - uVar3" (identifier "uVar1") (- "-") (identifier "uVar3"))) (; ";")) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (; ";")) (return_statement "return iVar4 + (uint)bVar6;" (return "return") (binary_expression "iVar4 + (uint)bVar6" (identifier "iVar4") (+ "+") (cast_expression "(uint)bVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar6"))) (; ";")) (} "}")))

int function_1(int var_2,int var_3,int var_1,type_1 param_4)

{
  type_1 var_6;
  type_2 lVar2;
  type_1 var_7;
  int var_5;
  type_1 var_4;
  bool bVar6;
  
  var_5 = 0;
  bVar6 = false;
  var_4 = var_1 - 1U ^ 0xffffffff;
  var_2 = var_2 + var_1 * 4;
  do {
    lVar2 = (type_3)*(type_1 *)(var_3 + var_1 * 4 + var_4 * 4) * (type_3)param_4 +
            (type_3)(var_5 + (type_1)bVar6);
    var_7 = (type_1)lVar2;
    var_6 = *(type_1 *)(var_2 + var_4 * 4);
    var_5 = (int)((type_3)lVar2 >> 0x20);
    bVar6 = var_6 < var_7;
    *(type_1 *)(var_2 + var_4 * 4) = var_6 - var_7;
    var_4 = var_4 + 1;
  } while (var_4 != 0);
  return var_5 + (type_1)bVar6;
}


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

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

{
  uint uVar1;
  longlong lVar2;
  uint uVar3;
  int iVar4;
  uint uVar5;
  bool bVar6;
  
  iVar4 = 0;
  bVar6 = false;
  uVar5 = param_3 - 1U ^ 0xffffffff;
  param_1 = param_1 + param_3 * 4;
  do {
    lVar2 = (ulonglong)*(uint *)(param_2 + param_3 * 4 + uVar5 * 4) * (ulonglong)param_4 +
            (ulonglong)(iVar4 + (uint)bVar6);
    uVar3 = (uint)lVar2;
    uVar1 = *(uint *)(param_1 + uVar5 * 4);
    iVar4 = (int)((ulonglong)lVar2 >> 0x20);
    bVar6 = uVar1 < uVar3;
    *(uint *)(param_1 + uVar5 * 4) = uVar1 - uVar3;
    uVar5 = uVar5 + 1;
  } while (uVar5 != 0);
  return iVar4 + (uint)bVar6;
}

