
int abs_sub_add_n(mp_ptr rm,mp_ptr rp,mp_srcptr rs,mp_size_t n)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  
  iVar2 = n + -1;
  iVar1 = iVar2 * 4;
  uVar3 = rp[iVar2];
  uVar4 = rs[iVar2];
  iVar5 = n;
  if (uVar3 == uVar4) {
    rm[iVar2] = 0;
    iVar5 = iVar2;
    do {
      iVar1 = iVar1 + -4;
      uVar3 = *(uint *)((int)rp + iVar1);
      uVar4 = *(uint *)((int)rs + iVar1);
      iVar2 = iVar5 + -1;
      if (uVar3 != uVar4) goto LAB_0005b744;
      *(undefined4 *)((int)rm + iVar1) = 0;
      iVar5 = iVar2;
    } while (iVar2 != 0);
    iVar5 = 0;
  }
  else {
LAB_0005b744:
    if (uVar4 < uVar3) {
      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);
      iVar5 = 0;
    }
    else {
      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);
      iVar5 = -1;
    }
  }
  (*(code *)PTR___gmpn_add_n_00097334)(rp,rp,rs,n);
  return iVar5;
}



undefined4 FUN_0005b680(int param_1,int param_2,int param_3,int param_4)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  undefined4 uVar6;
  
  iVar1 = (param_4 + -1) * 4;
  uVar4 = *(uint *)(param_2 + iVar1);
  uVar5 = *(uint *)(param_3 + iVar1);
  iVar2 = param_4;
  if (uVar4 == uVar5) {
    *(undefined4 *)(param_1 + iVar1) = 0;
    iVar2 = param_4 + -1;
    do {
      iVar1 = iVar1 + -4;
      uVar4 = *(uint *)(param_2 + iVar1);
      uVar5 = *(uint *)(param_3 + iVar1);
      iVar3 = iVar2 + -1;
      if (uVar4 != uVar5) goto LAB_0005b744;
      *(undefined4 *)(param_1 + iVar1) = 0;
      iVar2 = iVar3;
    } while (iVar3 != 0);
    uVar6 = 0;
  }
  else {
LAB_0005b744:
    if (uVar5 < uVar4) {
      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);
      uVar6 = 0;
    }
    else {
      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);
      uVar6 = 0xffffffff;
    }
  }
  (*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);
  return uVar6;
}


lui gp,0x4
addiu gp,gp,0x39c0
addu gp,gp,t9
addiu v1,a3,-0x1
addiu sp,sp,-0x30
sll v0,v1,0x2
sw s1,0x20(sp)
or s1,a2,zero
sw s0,0x1c(sp)
addu a2,a2,v0
or s0,a1,zero
sw gp,0x10(sp)
addu a1,a1,v0
sw s2,0x24(sp)
sw ra,0x2c(sp)
sw s3,0x28(sp)
lw a1,0x0(a1)
lw a2,0x0(a2)
bne a1,a2,0x0005b744
_or s2,a3,zero
addu a1,a0,v0
addiu v0,v0,-0x4
sw zero,0x0(a1)
addu a1,s0,v0
addu a2,s1,v0
addu t0,a0,v0
lw a1,0x0(a1)
or a3,v1,zero
lw a2,0x0(a2)
addiu v1,v1,-0x1
bne a1,a2,0x0005b744
_addiu v0,v0,-0x4
bne v1,zero,0x0005b6dc
_sw zero,0x0(t0)
or s3,zero,zero
lw t9,-0x7d0c(gp)
or a3,s2,zero
or a2,s1,zero
or a1,s0,zero
jalr t9
_or a0,s0,zero
or v0,s3,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
sltu a1,a2,a1
beq a1,zero,0x0005b768
_lw t9,-0x7b2c(gp)
or a2,s1,zero
jalr t9
_or a1,s0,zero
or s3,zero,zero
b 0x0005b70c
_lw gp,0x10(sp)
or a2,s0,zero
jalr t9
_or a1,s1,zero
li s3,-0x1
b 0x0005b70c
_lw gp,0x10(sp)
(translation_unit "undefined4 FUN_0005b680(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  \n  iVar1 = (param_4 + -1) * 4;\n  uVar4 = *(uint *)(param_2 + iVar1);\n  uVar5 = *(uint *)(param_3 + iVar1);\n  iVar2 = param_4;\n  if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);\n  return uVar6;\n}\n\n" (function_definition "undefined4 FUN_0005b680(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  \n  iVar1 = (param_4 + -1) * 4;\n  uVar4 = *(uint *)(param_2 + iVar1);\n  uVar5 = *(uint *)(param_3 + iVar1);\n  iVar2 = param_4;\n  if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);\n  return uVar6;\n}" type_identifier (function_declarator "FUN_0005b680(int param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,int 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 "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  \n  iVar1 = (param_4 + -1) * 4;\n  uVar4 = *(uint *)(param_2 + iVar1);\n  uVar5 = *(uint *)(param_3 + iVar1);\n  iVar2 = param_4;\n  if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);\n  return uVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "iVar1 = (param_4 + -1) * 4;" (assignment_expression "iVar1 = (param_4 + -1) * 4" identifier = (binary_expression "(param_4 + -1) * 4" (parenthesized_expression "(param_4 + -1)" ( (binary_expression "param_4 + -1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "uVar4 = *(uint *)(param_2 + iVar1);" (assignment_expression "uVar4 = *(uint *)(param_2 + iVar1)" identifier = (pointer_expression "*(uint *)(param_2 + iVar1)" * (cast_expression "(uint *)(param_2 + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1)" ( (binary_expression "param_2 + iVar1" identifier + identifier) ))))) ;) (expression_statement "uVar5 = *(uint *)(param_3 + iVar1);" (assignment_expression "uVar5 = *(uint *)(param_3 + iVar1)" identifier = (pointer_expression "*(uint *)(param_3 + iVar1)" * (cast_expression "(uint *)(param_3 + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + iVar1)" ( (binary_expression "param_3 + iVar1" identifier + identifier) ))))) ;) (expression_statement "iVar2 = param_4;" (assignment_expression "iVar2 = param_4" identifier = identifier) ;) (if_statement "if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }" if (parenthesized_expression "(uVar4 == uVar5)" ( (binary_expression "uVar4 == uVar5" identifier == identifier) )) (compound_statement "{\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }" { (expression_statement "*(undefined4 *)(param_1 + iVar1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + iVar1) = 0" (pointer_expression "*(undefined4 *)(param_1 + iVar1)" * (cast_expression "(undefined4 *)(param_1 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar1)" ( (binary_expression "param_1 + iVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "iVar2 = param_4 + -1;" (assignment_expression "iVar2 = param_4 + -1" identifier = (binary_expression "param_4 + -1" identifier + number_literal)) ;) (do_statement "do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);" do (compound_statement "{\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    }" { (expression_statement "iVar1 = iVar1 + -4;" (assignment_expression "iVar1 = iVar1 + -4" identifier = (binary_expression "iVar1 + -4" identifier + number_literal)) ;) (expression_statement "uVar4 = *(uint *)(param_2 + iVar1);" (assignment_expression "uVar4 = *(uint *)(param_2 + iVar1)" identifier = (pointer_expression "*(uint *)(param_2 + iVar1)" * (cast_expression "(uint *)(param_2 + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1)" ( (binary_expression "param_2 + iVar1" identifier + identifier) ))))) ;) (expression_statement "uVar5 = *(uint *)(param_3 + iVar1);" (assignment_expression "uVar5 = *(uint *)(param_3 + iVar1)" identifier = (pointer_expression "*(uint *)(param_3 + iVar1)" * (cast_expression "(uint *)(param_3 + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + iVar1)" ( (binary_expression "param_3 + iVar1" identifier + identifier) ))))) ;) (expression_statement "iVar3 = iVar2 + -1;" (assignment_expression "iVar3 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (if_statement "if (uVar4 != uVar5) goto LAB_0005b744;" if (parenthesized_expression "(uVar4 != uVar5)" ( (binary_expression "uVar4 != uVar5" identifier != identifier) )) (goto_statement "goto LAB_0005b744;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(param_1 + iVar1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + iVar1) = 0" (pointer_expression "*(undefined4 *)(param_1 + iVar1)" * (cast_expression "(undefined4 *)(param_1 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar1)" ( (binary_expression "param_1 + iVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }" else (compound_statement "{\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }" { (labeled_statement "LAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" statement_identifier : (if_statement "if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" if (parenthesized_expression "(uVar5 < uVar4)" ( (binary_expression "uVar5 < uVar4" identifier < identifier) )) (compound_statement "{\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }" { (expression_statement "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);" (call_expression "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_00097514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_00097514" * (cast_expression "(code *)PTR___gmpn_sub_n_00097514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" else (compound_statement "{\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" { (expression_statement "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);" (call_expression "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_00097514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_00097514" * (cast_expression "(code *)PTR___gmpn_sub_n_00097514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_3,param_2,iVar2)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "uVar6 = 0xffffffff;" (assignment_expression "uVar6 = 0xffffffff" identifier = number_literal) ;) })))) }))) (expression_statement "(*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);" (call_expression "(*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_00097334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_00097334" * (cast_expression "(code *)PTR___gmpn_add_n_00097334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return uVar6;" return identifier ;) })))
(translation_unit "int abs_sub_add_n(mp_ptr rm,mp_ptr rp,mp_srcptr rs,mp_size_t n)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  \n  iVar2 = n + -1;\n  iVar1 = iVar2 * 4;\n  uVar3 = rp[iVar2];\n  uVar4 = rs[iVar2];\n  iVar5 = n;\n  if (uVar3 == uVar4) {\n    rm[iVar2] = 0;\n    iVar5 = iVar2;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar3 = *(uint *)((int)rp + iVar1);\n      uVar4 = *(uint *)((int)rs + iVar1);\n      iVar2 = iVar5 + -1;\n      if (uVar3 != uVar4) goto LAB_0005b744;\n      *(undefined4 *)((int)rm + iVar1) = 0;\n      iVar5 = iVar2;\n    } while (iVar2 != 0);\n    iVar5 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar4 < uVar3) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);\n      iVar5 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);\n      iVar5 = -1;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(rp,rp,rs,n);\n  return iVar5;\n}\n\n" (function_definition "int abs_sub_add_n(mp_ptr rm,mp_ptr rp,mp_srcptr rs,mp_size_t n)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  \n  iVar2 = n + -1;\n  iVar1 = iVar2 * 4;\n  uVar3 = rp[iVar2];\n  uVar4 = rs[iVar2];\n  iVar5 = n;\n  if (uVar3 == uVar4) {\n    rm[iVar2] = 0;\n    iVar5 = iVar2;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar3 = *(uint *)((int)rp + iVar1);\n      uVar4 = *(uint *)((int)rs + iVar1);\n      iVar2 = iVar5 + -1;\n      if (uVar3 != uVar4) goto LAB_0005b744;\n      *(undefined4 *)((int)rm + iVar1) = 0;\n      iVar5 = iVar2;\n    } while (iVar2 != 0);\n    iVar5 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar4 < uVar3) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);\n      iVar5 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);\n      iVar5 = -1;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(rp,rp,rs,n);\n  return iVar5;\n}" primitive_type (function_declarator "abs_sub_add_n(mp_ptr rm,mp_ptr rp,mp_srcptr rs,mp_size_t n)" identifier (parameter_list "(mp_ptr rm,mp_ptr rp,mp_srcptr rs,mp_size_t n)" ( (parameter_declaration "mp_ptr rm" type_identifier identifier) , (parameter_declaration "mp_ptr rp" type_identifier identifier) , (parameter_declaration "mp_srcptr rs" type_identifier identifier) , (parameter_declaration "mp_size_t n" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  \n  iVar2 = n + -1;\n  iVar1 = iVar2 * 4;\n  uVar3 = rp[iVar2];\n  uVar4 = rs[iVar2];\n  iVar5 = n;\n  if (uVar3 == uVar4) {\n    rm[iVar2] = 0;\n    iVar5 = iVar2;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar3 = *(uint *)((int)rp + iVar1);\n      uVar4 = *(uint *)((int)rs + iVar1);\n      iVar2 = iVar5 + -1;\n      if (uVar3 != uVar4) goto LAB_0005b744;\n      *(undefined4 *)((int)rm + iVar1) = 0;\n      iVar5 = iVar2;\n    } while (iVar2 != 0);\n    iVar5 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar4 < uVar3) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);\n      iVar5 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);\n      iVar5 = -1;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(rp,rp,rs,n);\n  return iVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "iVar2 = n + -1;" (assignment_expression "iVar2 = n + -1" identifier = (binary_expression "n + -1" identifier + number_literal)) ;) (expression_statement "iVar1 = iVar2 * 4;" (assignment_expression "iVar1 = iVar2 * 4" identifier = (binary_expression "iVar2 * 4" identifier * number_literal)) ;) (expression_statement "uVar3 = rp[iVar2];" (assignment_expression "uVar3 = rp[iVar2]" identifier = (subscript_expression "rp[iVar2]" identifier [ identifier ])) ;) (expression_statement "uVar4 = rs[iVar2];" (assignment_expression "uVar4 = rs[iVar2]" identifier = (subscript_expression "rs[iVar2]" identifier [ identifier ])) ;) (expression_statement "iVar5 = n;" (assignment_expression "iVar5 = n" identifier = identifier) ;) (if_statement "if (uVar3 == uVar4) {\n    rm[iVar2] = 0;\n    iVar5 = iVar2;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar3 = *(uint *)((int)rp + iVar1);\n      uVar4 = *(uint *)((int)rs + iVar1);\n      iVar2 = iVar5 + -1;\n      if (uVar3 != uVar4) goto LAB_0005b744;\n      *(undefined4 *)((int)rm + iVar1) = 0;\n      iVar5 = iVar2;\n    } while (iVar2 != 0);\n    iVar5 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar4 < uVar3) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);\n      iVar5 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);\n      iVar5 = -1;\n    }\n  }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n    rm[iVar2] = 0;\n    iVar5 = iVar2;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar3 = *(uint *)((int)rp + iVar1);\n      uVar4 = *(uint *)((int)rs + iVar1);\n      iVar2 = iVar5 + -1;\n      if (uVar3 != uVar4) goto LAB_0005b744;\n      *(undefined4 *)((int)rm + iVar1) = 0;\n      iVar5 = iVar2;\n    } while (iVar2 != 0);\n    iVar5 = 0;\n  }" { (expression_statement "rm[iVar2] = 0;" (assignment_expression "rm[iVar2] = 0" (subscript_expression "rm[iVar2]" identifier [ identifier ]) = number_literal) ;) (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) (do_statement "do {\n      iVar1 = iVar1 + -4;\n      uVar3 = *(uint *)((int)rp + iVar1);\n      uVar4 = *(uint *)((int)rs + iVar1);\n      iVar2 = iVar5 + -1;\n      if (uVar3 != uVar4) goto LAB_0005b744;\n      *(undefined4 *)((int)rm + iVar1) = 0;\n      iVar5 = iVar2;\n    } while (iVar2 != 0);" do (compound_statement "{\n      iVar1 = iVar1 + -4;\n      uVar3 = *(uint *)((int)rp + iVar1);\n      uVar4 = *(uint *)((int)rs + iVar1);\n      iVar2 = iVar5 + -1;\n      if (uVar3 != uVar4) goto LAB_0005b744;\n      *(undefined4 *)((int)rm + iVar1) = 0;\n      iVar5 = iVar2;\n    }" { (expression_statement "iVar1 = iVar1 + -4;" (assignment_expression "iVar1 = iVar1 + -4" identifier = (binary_expression "iVar1 + -4" identifier + number_literal)) ;) (expression_statement "uVar3 = *(uint *)((int)rp + iVar1);" (assignment_expression "uVar3 = *(uint *)((int)rp + iVar1)" identifier = (pointer_expression "*(uint *)((int)rp + iVar1)" * (cast_expression "(uint *)((int)rp + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)rp + iVar1)" ( (binary_expression "(int)rp + iVar1" (cast_expression "(int)rp" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "uVar4 = *(uint *)((int)rs + iVar1);" (assignment_expression "uVar4 = *(uint *)((int)rs + iVar1)" identifier = (pointer_expression "*(uint *)((int)rs + iVar1)" * (cast_expression "(uint *)((int)rs + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)rs + iVar1)" ( (binary_expression "(int)rs + iVar1" (cast_expression "(int)rs" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "iVar2 = iVar5 + -1;" (assignment_expression "iVar2 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (if_statement "if (uVar3 != uVar4) goto LAB_0005b744;" if (parenthesized_expression "(uVar3 != uVar4)" ( (binary_expression "uVar3 != uVar4" identifier != identifier) )) (goto_statement "goto LAB_0005b744;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)((int)rm + iVar1) = 0;" (assignment_expression "*(undefined4 *)((int)rm + iVar1) = 0" (pointer_expression "*(undefined4 *)((int)rm + iVar1)" * (cast_expression "(undefined4 *)((int)rm + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)rm + iVar1)" ( (binary_expression "(int)rm + iVar1" (cast_expression "(int)rm" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_0005b744:\n    if (uVar4 < uVar3) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);\n      iVar5 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);\n      iVar5 = -1;\n    }\n  }" else (compound_statement "{\nLAB_0005b744:\n    if (uVar4 < uVar3) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);\n      iVar5 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);\n      iVar5 = -1;\n    }\n  }" { (labeled_statement "LAB_0005b744:\n    if (uVar4 < uVar3) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);\n      iVar5 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);\n      iVar5 = -1;\n    }" statement_identifier : (if_statement "if (uVar4 < uVar3) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);\n      iVar5 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);\n      iVar5 = -1;\n    }" if (parenthesized_expression "(uVar4 < uVar3)" ( (binary_expression "uVar4 < uVar3" identifier < identifier) )) (compound_statement "{\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);\n      iVar5 = 0;\n    }" { (expression_statement "(*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);" (call_expression "(*(code *)PTR___gmpn_sub_n_00097514)(rm,rp,rs)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_00097514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_00097514" * (cast_expression "(code *)PTR___gmpn_sub_n_00097514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(rm,rp,rs)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);\n      iVar5 = -1;\n    }" else (compound_statement "{\n      (*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);\n      iVar5 = -1;\n    }" { (expression_statement "(*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5);" (call_expression "(*(code *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,iVar5)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_00097514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_00097514" * (cast_expression "(code *)PTR___gmpn_sub_n_00097514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(rm,rs,rp,iVar5)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar5 = -1;" (assignment_expression "iVar5 = -1" identifier = number_literal) ;) })))) }))) (expression_statement "(*(code *)PTR___gmpn_add_n_00097334)(rp,rp,rs,n);" (call_expression "(*(code *)PTR___gmpn_add_n_00097334)(rp,rp,rs,n)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_00097334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_00097334" * (cast_expression "(code *)PTR___gmpn_add_n_00097334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(rp,rp,rs,n)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "undefined4 FUN_0005b680(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  \n  iVar1 = (param_4 + -1) * 4;\n  uVar4 = *(uint *)(param_2 + iVar1);\n  uVar5 = *(uint *)(param_3 + iVar1);\n  iVar2 = param_4;\n  if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);\n  return uVar6;\n}\n\n" (function_definition "undefined4 FUN_0005b680(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  \n  iVar1 = (param_4 + -1) * 4;\n  uVar4 = *(uint *)(param_2 + iVar1);\n  uVar5 = *(uint *)(param_3 + iVar1);\n  iVar2 = param_4;\n  if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);\n  return uVar6;\n}" type_identifier (function_declarator "FUN_0005b680(int param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,int 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 "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  \n  iVar1 = (param_4 + -1) * 4;\n  uVar4 = *(uint *)(param_2 + iVar1);\n  uVar5 = *(uint *)(param_3 + iVar1);\n  iVar2 = param_4;\n  if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);\n  return uVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "iVar1 = (param_4 + -1) * 4;" (assignment_expression "iVar1 = (param_4 + -1) * 4" identifier = (binary_expression "(param_4 + -1) * 4" (parenthesized_expression "(param_4 + -1)" ( (binary_expression "param_4 + -1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "uVar4 = *(uint *)(param_2 + iVar1);" (assignment_expression "uVar4 = *(uint *)(param_2 + iVar1)" identifier = (pointer_expression "*(uint *)(param_2 + iVar1)" * (cast_expression "(uint *)(param_2 + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1)" ( (binary_expression "param_2 + iVar1" identifier + identifier) ))))) ;) (expression_statement "uVar5 = *(uint *)(param_3 + iVar1);" (assignment_expression "uVar5 = *(uint *)(param_3 + iVar1)" identifier = (pointer_expression "*(uint *)(param_3 + iVar1)" * (cast_expression "(uint *)(param_3 + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + iVar1)" ( (binary_expression "param_3 + iVar1" identifier + identifier) ))))) ;) (expression_statement "iVar2 = param_4;" (assignment_expression "iVar2 = param_4" identifier = identifier) ;) (if_statement "if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }" if (parenthesized_expression "(uVar4 == uVar5)" ( (binary_expression "uVar4 == uVar5" identifier == identifier) )) (compound_statement "{\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }" { (expression_statement "*(undefined4 *)(param_1 + iVar1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + iVar1) = 0" (pointer_expression "*(undefined4 *)(param_1 + iVar1)" * (cast_expression "(undefined4 *)(param_1 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar1)" ( (binary_expression "param_1 + iVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "iVar2 = param_4 + -1;" (assignment_expression "iVar2 = param_4 + -1" identifier = (binary_expression "param_4 + -1" identifier + number_literal)) ;) (do_statement "do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);" do (compound_statement "{\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    }" { (expression_statement "iVar1 = iVar1 + -4;" (assignment_expression "iVar1 = iVar1 + -4" identifier = (binary_expression "iVar1 + -4" identifier + number_literal)) ;) (expression_statement "uVar4 = *(uint *)(param_2 + iVar1);" (assignment_expression "uVar4 = *(uint *)(param_2 + iVar1)" identifier = (pointer_expression "*(uint *)(param_2 + iVar1)" * (cast_expression "(uint *)(param_2 + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1)" ( (binary_expression "param_2 + iVar1" identifier + identifier) ))))) ;) (expression_statement "uVar5 = *(uint *)(param_3 + iVar1);" (assignment_expression "uVar5 = *(uint *)(param_3 + iVar1)" identifier = (pointer_expression "*(uint *)(param_3 + iVar1)" * (cast_expression "(uint *)(param_3 + iVar1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + iVar1)" ( (binary_expression "param_3 + iVar1" identifier + identifier) ))))) ;) (expression_statement "iVar3 = iVar2 + -1;" (assignment_expression "iVar3 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (if_statement "if (uVar4 != uVar5) goto LAB_0005b744;" if (parenthesized_expression "(uVar4 != uVar5)" ( (binary_expression "uVar4 != uVar5" identifier != identifier) )) (goto_statement "goto LAB_0005b744;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(param_1 + iVar1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + iVar1) = 0" (pointer_expression "*(undefined4 *)(param_1 + iVar1)" * (cast_expression "(undefined4 *)(param_1 + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar1)" ( (binary_expression "param_1 + iVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }" else (compound_statement "{\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }" { (labeled_statement "LAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" statement_identifier : (if_statement "if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" if (parenthesized_expression "(uVar5 < uVar4)" ( (binary_expression "uVar5 < uVar4" identifier < identifier) )) (compound_statement "{\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }" { (expression_statement "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);" (call_expression "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_00097514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_00097514" * (cast_expression "(code *)PTR___gmpn_sub_n_00097514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" else (compound_statement "{\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" { (expression_statement "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);" (call_expression "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_00097514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_00097514" * (cast_expression "(code *)PTR___gmpn_sub_n_00097514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_3,param_2,iVar2)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "uVar6 = 0xffffffff;" (assignment_expression "uVar6 = 0xffffffff" identifier = number_literal) ;) })))) }))) (expression_statement "(*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);" (call_expression "(*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_00097334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_00097334" * (cast_expression "(code *)PTR___gmpn_add_n_00097334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return uVar6;" return 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 = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_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 + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })))) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0005b680(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  \n  iVar1 = (param_4 + -1) * 4;\n  uVar4 = *(uint *)(param_2 + iVar1);\n  uVar5 = *(uint *)(param_3 + iVar1);\n  iVar2 = param_4;\n  if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);\n  return uVar6;\n}" (type_identifier "undefined4") (function_declarator "FUN_0005b680(int param_1,int param_2,int param_3,int param_4)" (identifier "FUN_0005b680") (parameter_list "(int param_1,int param_2,int param_3,int 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 "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 uVar6;\n  \n  iVar1 = (param_4 + -1) * 4;\n  uVar4 = *(uint *)(param_2 + iVar1);\n  uVar5 = *(uint *)(param_3 + iVar1);\n  iVar2 = param_4;\n  if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);\n  return uVar6;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (expression_statement "iVar1 = (param_4 + -1) * 4;" (assignment_expression "iVar1 = (param_4 + -1) * 4" (identifier "iVar1") (= "=") (binary_expression "(param_4 + -1) * 4" (parenthesized_expression "(param_4 + -1)" (( "(") (binary_expression "param_4 + -1" (identifier "param_4") (+ "+") (number_literal "-1")) () ")")) (* "*") (number_literal "4"))) (; ";")) (expression_statement "uVar4 = *(uint *)(param_2 + iVar1);" (assignment_expression "uVar4 = *(uint *)(param_2 + iVar1)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(param_2 + iVar1)" (* "*") (cast_expression "(uint *)(param_2 + iVar1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar1)" (( "(") (binary_expression "param_2 + iVar1" (identifier "param_2") (+ "+") (identifier "iVar1")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(param_3 + iVar1);" (assignment_expression "uVar5 = *(uint *)(param_3 + iVar1)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(param_3 + iVar1)" (* "*") (cast_expression "(uint *)(param_3 + iVar1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + iVar1)" (( "(") (binary_expression "param_3 + iVar1" (identifier "param_3") (+ "+") (identifier "iVar1")) () ")"))))) (; ";")) (expression_statement "iVar2 = param_4;" (assignment_expression "iVar2 = param_4" (identifier "iVar2") (= "=") (identifier "param_4")) (; ";")) (if_statement "if (uVar4 == uVar5) {\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }\n  else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }" (if "if") (parenthesized_expression "(uVar4 == uVar5)" (( "(") (binary_expression "uVar4 == uVar5" (identifier "uVar4") (== "==") (identifier "uVar5")) () ")")) (compound_statement "{\n    *(undefined4 *)(param_1 + iVar1) = 0;\n    iVar2 = param_4 + -1;\n    do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);\n    uVar6 = 0;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + iVar1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + iVar1) = 0" (pointer_expression "*(undefined4 *)(param_1 + iVar1)" (* "*") (cast_expression "(undefined4 *)(param_1 + iVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar1)" (( "(") (binary_expression "param_1 + iVar1" (identifier "param_1") (+ "+") (identifier "iVar1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = param_4 + -1;" (assignment_expression "iVar2 = param_4 + -1" (identifier "iVar2") (= "=") (binary_expression "param_4 + -1" (identifier "param_4") (+ "+") (number_literal "-1"))) (; ";")) (do_statement "do {\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    } while (iVar3 != 0);" (do "do") (compound_statement "{\n      iVar1 = iVar1 + -4;\n      uVar4 = *(uint *)(param_2 + iVar1);\n      uVar5 = *(uint *)(param_3 + iVar1);\n      iVar3 = iVar2 + -1;\n      if (uVar4 != uVar5) goto LAB_0005b744;\n      *(undefined4 *)(param_1 + iVar1) = 0;\n      iVar2 = iVar3;\n    }" ({ "{") (expression_statement "iVar1 = iVar1 + -4;" (assignment_expression "iVar1 = iVar1 + -4" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -4" (identifier "iVar1") (+ "+") (number_literal "-4"))) (; ";")) (expression_statement "uVar4 = *(uint *)(param_2 + iVar1);" (assignment_expression "uVar4 = *(uint *)(param_2 + iVar1)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(param_2 + iVar1)" (* "*") (cast_expression "(uint *)(param_2 + iVar1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar1)" (( "(") (binary_expression "param_2 + iVar1" (identifier "param_2") (+ "+") (identifier "iVar1")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(param_3 + iVar1);" (assignment_expression "uVar5 = *(uint *)(param_3 + iVar1)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(param_3 + iVar1)" (* "*") (cast_expression "(uint *)(param_3 + iVar1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + iVar1)" (( "(") (binary_expression "param_3 + iVar1" (identifier "param_3") (+ "+") (identifier "iVar1")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar2 + -1;" (assignment_expression "iVar3 = iVar2 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (uVar4 != uVar5) goto LAB_0005b744;" (if "if") (parenthesized_expression "(uVar4 != uVar5)" (( "(") (binary_expression "uVar4 != uVar5" (identifier "uVar4") (!= "!=") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_0005b744;" (goto "goto") (statement_identifier "LAB_0005b744") (; ";"))) (expression_statement "*(undefined4 *)(param_1 + iVar1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + iVar1) = 0" (pointer_expression "*(undefined4 *)(param_1 + iVar1)" (* "*") (cast_expression "(undefined4 *)(param_1 + iVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar1)" (( "(") (binary_expression "param_1 + iVar1" (identifier "param_1") (+ "+") (identifier "iVar1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" (identifier "iVar2") (= "=") (identifier "iVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }" (else "else") (compound_statement "{\nLAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }\n  }" ({ "{") (labeled_statement "LAB_0005b744:\n    if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" (statement_identifier "LAB_0005b744") (: ":") (if_statement "if (uVar5 < uVar4) {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }\n    else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" (if "if") (parenthesized_expression "(uVar5 < uVar4)" (( "(") (binary_expression "uVar5 < uVar4" (identifier "uVar5") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);\n      uVar6 = 0;\n    }" ({ "{") (expression_statement "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);" (call_expression "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_00097514)" (( "(") (pointer_expression "*(code *)PTR___gmpn_sub_n_00097514" (* "*") (cast_expression "(code *)PTR___gmpn_sub_n_00097514" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_sub_n_00097514"))) () ")")) (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);\n      uVar6 = 0xffffffff;\n    }" ({ "{") (expression_statement "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);" (call_expression "(*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_00097514)" (( "(") (pointer_expression "*(code *)PTR___gmpn_sub_n_00097514" (* "*") (cast_expression "(code *)PTR___gmpn_sub_n_00097514" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_sub_n_00097514"))) () ")")) (argument_list "(param_1,param_3,param_2,iVar2)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (identifier "param_2") (, ",") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "uVar6 = 0xffffffff;" (assignment_expression "uVar6 = 0xffffffff" (identifier "uVar6") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}"))))) (} "}")))) (expression_statement "(*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);" (call_expression "(*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_00097334)" (( "(") (pointer_expression "*(code *)PTR___gmpn_add_n_00097334" (* "*") (cast_expression "(code *)PTR___gmpn_add_n_00097334" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_add_n_00097334"))) () ")")) (argument_list "(param_2,param_2,param_3,param_4)" (( "(") (identifier "param_2") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (return_statement "return uVar6;" (return "return") (identifier "uVar6") (; ";")) (} "}")))

int function_1(type_1 rm,type_1 rp,type_2 rs,type_3 var_1)

{
  int var_5;
  int var_2;
  type_4 var_3;
  type_4 var_4;
  int var_6;
  
  var_2 = var_1 + -1;
  var_5 = var_2 * 4;
  var_3 = rp[var_2];
  var_4 = rs[var_2];
  var_6 = var_1;
  if (var_3 == var_4) {
    rm[var_2] = 0;
    var_6 = var_2;
    do {
      var_5 = var_5 + -4;
      var_3 = *(type_4 *)((int)rp + var_5);
      var_4 = *(type_4 *)((int)rs + var_5);
      var_2 = var_6 + -1;
      if (var_3 != var_4) goto LAB_0005b744;
      *(type_5 *)((int)rm + var_5) = 0;
      var_6 = var_2;
    } while (var_2 != 0);
    var_6 = 0;
  }
  else {
LAB_0005b744:
    if (var_4 < var_3) {
      (*(type_6 *)PTR___gmpn_sub_n_00097514)(rm,rp,rs);
      var_6 = 0;
    }
    else {
      (*(type_6 *)PTR___gmpn_sub_n_00097514)(rm,rs,rp,var_6);
      var_6 = -1;
    }
  }
  (*(type_6 *)PTR___gmpn_add_n_00097334)(rp,rp,rs,var_1);
  return var_6;
}


(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (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: (identifier))))) right: (number_literal))) (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: (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: (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: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_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: (identifier))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (return_statement (identifier)))))

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

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  undefined4 uVar6;
  
  iVar1 = (param_4 + -1) * 4;
  uVar4 = *(uint *)(param_2 + iVar1);
  uVar5 = *(uint *)(param_3 + iVar1);
  iVar2 = param_4;
  if (uVar4 == uVar5) {
    *(undefined4 *)(param_1 + iVar1) = 0;
    iVar2 = param_4 + -1;
    do {
      iVar1 = iVar1 + -4;
      uVar4 = *(uint *)(param_2 + iVar1);
      uVar5 = *(uint *)(param_3 + iVar1);
      iVar3 = iVar2 + -1;
      if (uVar4 != uVar5) goto LAB_0005b744;
      *(undefined4 *)(param_1 + iVar1) = 0;
      iVar2 = iVar3;
    } while (iVar3 != 0);
    uVar6 = 0;
  }
  else {
LAB_0005b744:
    if (uVar5 < uVar4) {
      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_2,param_3);
      uVar6 = 0;
    }
    else {
      (*(code *)PTR___gmpn_sub_n_00097514)(param_1,param_3,param_2,iVar2);
      uVar6 = 0xffffffff;
    }
  }
  (*(code *)PTR___gmpn_add_n_00097334)(param_2,param_2,param_3,param_4);
  return uVar6;
}

