
int __gmpq_equal(mpq_srcptr op1,mpq_srcptr op2)

{
  mp_limb_t *pmVar1;
  mp_limb_t *pmVar2;
  int iVar3;
  int iVar4;
  
  iVar3 = (op1->_mp_num)._mp_size;
  if (iVar3 != (op2->_mp_num)._mp_size) {
    return 0;
  }
  pmVar2 = (op1->_mp_num)._mp_d;
  pmVar1 = (op2->_mp_num)._mp_d;
  if (iVar3 < 0) {
    iVar3 = -iVar3;
  }
  if (0 < iVar3) {
    if (*pmVar2 != *pmVar1) {
      return 0;
    }
    iVar4 = 0;
    while( true ) {
      pmVar2 = pmVar2 + 1;
      pmVar1 = pmVar1 + 1;
      iVar4 = iVar4 + 1;
      if (iVar3 == iVar4) break;
      if (*pmVar2 != *pmVar1) {
        return 0;
      }
    }
  }
  iVar3 = (op1->_mp_den)._mp_size;
  if (iVar3 != (op2->_mp_den)._mp_size) {
    return 0;
  }
  pmVar2 = (op1->_mp_den)._mp_d;
  pmVar1 = (op2->_mp_den)._mp_d;
  if (0 < iVar3) {
    if (*pmVar2 != *pmVar1) {
      return 0;
    }
    iVar4 = 0;
    do {
      pmVar2 = pmVar2 + 1;
      pmVar1 = pmVar1 + 1;
      iVar4 = iVar4 + 1;
      if (iVar3 == iVar4) {
        return 1;
      }
    } while (*pmVar2 == *pmVar1);
    return 0;
  }
  return 1;
}



undefined4 __gmpq_equal(int param_1,int param_2)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  
  iVar3 = *(int *)(param_1 + 4);
  if (iVar3 != *(int *)(param_2 + 4)) {
    return 0;
  }
  piVar2 = *(int **)(param_1 + 8);
  piVar1 = *(int **)(param_2 + 8);
  if (iVar3 < 0) {
    iVar3 = -iVar3;
  }
  if (0 < iVar3) {
    if (*piVar2 != *piVar1) {
      return 0;
    }
    iVar4 = 0;
    while( true ) {
      piVar2 = piVar2 + 1;
      piVar1 = piVar1 + 1;
      iVar4 = iVar4 + 1;
      if (iVar3 == iVar4) break;
      if (*piVar2 != *piVar1) {
        return 0;
      }
    }
  }
  iVar3 = *(int *)(param_1 + 0x10);
  if (iVar3 != *(int *)(param_2 + 0x10)) {
    return 0;
  }
  piVar2 = *(int **)(param_1 + 0x14);
  piVar1 = *(int **)(param_2 + 0x14);
  if (0 < iVar3) {
    if (*piVar2 != *piVar1) {
      return 0;
    }
    iVar4 = 0;
    do {
      piVar2 = piVar2 + 1;
      piVar1 = piVar1 + 1;
      iVar4 = iVar4 + 1;
      if (iVar3 == iVar4) {
        return 1;
      }
    } while (*piVar2 == *piVar1);
    return 0;
  }
  return 1;
}


lw a2,0x4(a0)
lw v0,0x4(a1)
bne a2,v0,0x0003a4d4
_nop
lw v1,0x8(a0)
lw v0,0x8(a1)
bltz a2,0x0003a468
_or t1,a2,zero
blez t1,0x0003a470
_nop
lw a3,0x0(v1)
lw a2,0x0(v0)
bne a3,a2,0x0003a4dc
_addiu v1,v1,0x4
addiu v0,v0,0x4
or a2,zero,zero
addiu a2,a2,0x1
beq t1,a2,0x0003a470
_nop
lw t0,0x0(v1)
lw a3,0x0(v0)
addiu v1,v1,0x4
beq t0,a3,0x0003a440
_addiu v0,v0,0x4
jr ra
_or v0,zero,zero
b 0x0003a420
_subu t1,zero,a2
lw a3,0x10(a0)
lw v0,0x10(a1)
bne a3,v0,0x0003a4e4
_nop
lw v1,0x14(a0)
blez a3,0x0003a4ec
_lw v0,0x14(a1)
lw a1,0x0(v1)
lw a0,0x0(v0)
bne a1,a0,0x0003a4f4
_addiu v1,v1,0x4
addiu v0,v0,0x4
or a0,zero,zero
addiu a0,a0,0x1
beq a3,a0,0x0003a4cc
_nop
lw a2,0x0(v1)
lw a1,0x0(v0)
addiu v1,v1,0x4
beq a2,a1,0x0003a4a4
_addiu v0,v0,0x4
jr ra
_or v0,zero,zero
jr ra
_li v0,0x1
jr ra
_or v0,zero,zero
jr ra
_or v0,zero,zero
jr ra
_or v0,zero,zero
jr ra
_li v0,0x1
jr ra
_or v0,zero,zero
(translation_unit "undefined4 __gmpq_equal(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 8);\n  piVar1 = *(int **)(param_2 + 8);\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 0x14);\n  piVar1 = *(int **)(param_2 + 0x14);\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 __gmpq_equal(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 8);\n  piVar1 = *(int **)(param_2 + 8);\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 0x14);\n  piVar1 = *(int **)(param_2 + 0x14);\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }\n  return 1;\n}" type_identifier (function_declarator "__gmpq_equal(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 8);\n  piVar1 = *(int **)(param_2 + 8);\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 0x14);\n  piVar1 = *(int **)(param_2 + 0x14);\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }\n  return 1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 != *(int *)(param_2 + 4))" ( (binary_expression "iVar3 != *(int *)(param_2 + 4)" identifier != (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "piVar2 = *(int **)(param_1 + 8);" (assignment_expression "piVar2 = *(int **)(param_1 + 8)" identifier = (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(param_2 + 8);" (assignment_expression "piVar1 = *(int **)(param_2 + 8)" identifier = (pointer_expression "*(int **)(param_2 + 8)" * (cast_expression "(int **)(param_2 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar3 = -iVar3;\n  }" { (expression_statement "iVar3 = -iVar3;" (assignment_expression "iVar3 = -iVar3" identifier = (unary_expression "-iVar3" - identifier)) ;) })) (if_statement "if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }" { (if_statement "if (*piVar2 != *piVar1) {\n      return 0;\n    }" if (parenthesized_expression "(*piVar2 != *piVar1)" ( (binary_expression "*piVar2 != *piVar1" (pointer_expression "*piVar2" * identifier) != (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }" { (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == iVar4) break;" if (parenthesized_expression "(iVar3 == iVar4)" ( (binary_expression "iVar3 == iVar4" identifier == identifier) )) (break_statement "break;" break ;)) (if_statement "if (*piVar2 != *piVar1) {\n        return 0;\n      }" if (parenthesized_expression "(*piVar2 != *piVar1)" ( (binary_expression "*piVar2 != *piVar1" (pointer_expression "*piVar2" * identifier) != (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) })) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 != *(int *)(param_2 + 0x10))" ( (binary_expression "iVar3 != *(int *)(param_2 + 0x10)" identifier != (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "piVar2 = *(int **)(param_1 + 0x14);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x14)" identifier = (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(param_2 + 0x14);" (assignment_expression "piVar1 = *(int **)(param_2 + 0x14)" identifier = (pointer_expression "*(int **)(param_2 + 0x14)" * (cast_expression "(int **)(param_2 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }" { (if_statement "if (*piVar2 != *piVar1) {\n      return 0;\n    }" if (parenthesized_expression "(*piVar2 != *piVar1)" ( (binary_expression "*piVar2 != *piVar1" (pointer_expression "*piVar2" * identifier) != (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);" do (compound_statement "{\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    }" { (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == iVar4) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 == iVar4)" ( (binary_expression "iVar3 == iVar4" identifier == identifier) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }) while (parenthesized_expression "(*piVar2 == *piVar1)" ( (binary_expression "*piVar2 == *piVar1" (pointer_expression "*piVar2" * identifier) == (pointer_expression "*piVar1" * identifier)) )) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int __gmpq_equal(mpq_srcptr op1,mpq_srcptr op2)\n\n{\n  mp_limb_t *pmVar1;\n  mp_limb_t *pmVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = (op1->_mp_num)._mp_size;\n  if (iVar3 != (op2->_mp_num)._mp_size) {\n    return 0;\n  }\n  pmVar2 = (op1->_mp_num)._mp_d;\n  pmVar1 = (op2->_mp_num)._mp_d;\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*pmVar2 != *pmVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*pmVar2 != *pmVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = (op1->_mp_den)._mp_size;\n  if (iVar3 != (op2->_mp_den)._mp_size) {\n    return 0;\n  }\n  pmVar2 = (op1->_mp_den)._mp_d;\n  pmVar1 = (op2->_mp_den)._mp_d;\n  if (0 < iVar3) {\n    if (*pmVar2 != *pmVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*pmVar2 == *pmVar1);\n    return 0;\n  }\n  return 1;\n}\n\n" (function_definition "int __gmpq_equal(mpq_srcptr op1,mpq_srcptr op2)\n\n{\n  mp_limb_t *pmVar1;\n  mp_limb_t *pmVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = (op1->_mp_num)._mp_size;\n  if (iVar3 != (op2->_mp_num)._mp_size) {\n    return 0;\n  }\n  pmVar2 = (op1->_mp_num)._mp_d;\n  pmVar1 = (op2->_mp_num)._mp_d;\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*pmVar2 != *pmVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*pmVar2 != *pmVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = (op1->_mp_den)._mp_size;\n  if (iVar3 != (op2->_mp_den)._mp_size) {\n    return 0;\n  }\n  pmVar2 = (op1->_mp_den)._mp_d;\n  pmVar1 = (op2->_mp_den)._mp_d;\n  if (0 < iVar3) {\n    if (*pmVar2 != *pmVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*pmVar2 == *pmVar1);\n    return 0;\n  }\n  return 1;\n}" primitive_type (function_declarator "__gmpq_equal(mpq_srcptr op1,mpq_srcptr op2)" identifier (parameter_list "(mpq_srcptr op1,mpq_srcptr op2)" ( (parameter_declaration "mpq_srcptr op1" type_identifier identifier) , (parameter_declaration "mpq_srcptr op2" type_identifier identifier) ))) (compound_statement "{\n  mp_limb_t *pmVar1;\n  mp_limb_t *pmVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = (op1->_mp_num)._mp_size;\n  if (iVar3 != (op2->_mp_num)._mp_size) {\n    return 0;\n  }\n  pmVar2 = (op1->_mp_num)._mp_d;\n  pmVar1 = (op2->_mp_num)._mp_d;\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*pmVar2 != *pmVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*pmVar2 != *pmVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = (op1->_mp_den)._mp_size;\n  if (iVar3 != (op2->_mp_den)._mp_size) {\n    return 0;\n  }\n  pmVar2 = (op1->_mp_den)._mp_d;\n  pmVar1 = (op2->_mp_den)._mp_d;\n  if (0 < iVar3) {\n    if (*pmVar2 != *pmVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*pmVar2 == *pmVar1);\n    return 0;\n  }\n  return 1;\n}" { (declaration "mp_limb_t *pmVar1;" type_identifier (pointer_declarator "*pmVar1" * identifier) ;) (declaration "mp_limb_t *pmVar2;" type_identifier (pointer_declarator "*pmVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar3 = (op1->_mp_num)._mp_size;" (assignment_expression "iVar3 = (op1->_mp_num)._mp_size" identifier = (field_expression "(op1->_mp_num)._mp_size" (parenthesized_expression "(op1->_mp_num)" ( (field_expression "op1->_mp_num" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (iVar3 != (op2->_mp_num)._mp_size) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 != (op2->_mp_num)._mp_size)" ( (binary_expression "iVar3 != (op2->_mp_num)._mp_size" identifier != (field_expression "(op2->_mp_num)._mp_size" (parenthesized_expression "(op2->_mp_num)" ( (field_expression "op2->_mp_num" identifier -> field_identifier) )) . field_identifier)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pmVar2 = (op1->_mp_num)._mp_d;" (assignment_expression "pmVar2 = (op1->_mp_num)._mp_d" identifier = (field_expression "(op1->_mp_num)._mp_d" (parenthesized_expression "(op1->_mp_num)" ( (field_expression "op1->_mp_num" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pmVar1 = (op2->_mp_num)._mp_d;" (assignment_expression "pmVar1 = (op2->_mp_num)._mp_d" identifier = (field_expression "(op2->_mp_num)._mp_d" (parenthesized_expression "(op2->_mp_num)" ( (field_expression "op2->_mp_num" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar3 = -iVar3;\n  }" { (expression_statement "iVar3 = -iVar3;" (assignment_expression "iVar3 = -iVar3" identifier = (unary_expression "-iVar3" - identifier)) ;) })) (if_statement "if (0 < iVar3) {\n    if (*pmVar2 != *pmVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*pmVar2 != *pmVar1) {\n        return 0;\n      }\n    }\n  }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n    if (*pmVar2 != *pmVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*pmVar2 != *pmVar1) {\n        return 0;\n      }\n    }\n  }" { (if_statement "if (*pmVar2 != *pmVar1) {\n      return 0;\n    }" if (parenthesized_expression "(*pmVar2 != *pmVar1)" ( (binary_expression "*pmVar2 != *pmVar1" (pointer_expression "*pmVar2" * identifier) != (pointer_expression "*pmVar1" * identifier)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*pmVar2 != *pmVar1) {\n        return 0;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*pmVar2 != *pmVar1) {\n        return 0;\n      }\n    }" { (expression_statement "pmVar2 = pmVar2 + 1;" (assignment_expression "pmVar2 = pmVar2 + 1" identifier = (binary_expression "pmVar2 + 1" identifier + number_literal)) ;) (expression_statement "pmVar1 = pmVar1 + 1;" (assignment_expression "pmVar1 = pmVar1 + 1" identifier = (binary_expression "pmVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == iVar4) break;" if (parenthesized_expression "(iVar3 == iVar4)" ( (binary_expression "iVar3 == iVar4" identifier == identifier) )) (break_statement "break;" break ;)) (if_statement "if (*pmVar2 != *pmVar1) {\n        return 0;\n      }" if (parenthesized_expression "(*pmVar2 != *pmVar1)" ( (binary_expression "*pmVar2 != *pmVar1" (pointer_expression "*pmVar2" * identifier) != (pointer_expression "*pmVar1" * identifier)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) })) })) (expression_statement "iVar3 = (op1->_mp_den)._mp_size;" (assignment_expression "iVar3 = (op1->_mp_den)._mp_size" identifier = (field_expression "(op1->_mp_den)._mp_size" (parenthesized_expression "(op1->_mp_den)" ( (field_expression "op1->_mp_den" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (iVar3 != (op2->_mp_den)._mp_size) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 != (op2->_mp_den)._mp_size)" ( (binary_expression "iVar3 != (op2->_mp_den)._mp_size" identifier != (field_expression "(op2->_mp_den)._mp_size" (parenthesized_expression "(op2->_mp_den)" ( (field_expression "op2->_mp_den" identifier -> field_identifier) )) . field_identifier)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pmVar2 = (op1->_mp_den)._mp_d;" (assignment_expression "pmVar2 = (op1->_mp_den)._mp_d" identifier = (field_expression "(op1->_mp_den)._mp_d" (parenthesized_expression "(op1->_mp_den)" ( (field_expression "op1->_mp_den" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pmVar1 = (op2->_mp_den)._mp_d;" (assignment_expression "pmVar1 = (op2->_mp_den)._mp_d" identifier = (field_expression "(op2->_mp_den)._mp_d" (parenthesized_expression "(op2->_mp_den)" ( (field_expression "op2->_mp_den" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (0 < iVar3) {\n    if (*pmVar2 != *pmVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*pmVar2 == *pmVar1);\n    return 0;\n  }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n    if (*pmVar2 != *pmVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*pmVar2 == *pmVar1);\n    return 0;\n  }" { (if_statement "if (*pmVar2 != *pmVar1) {\n      return 0;\n    }" if (parenthesized_expression "(*pmVar2 != *pmVar1)" ( (binary_expression "*pmVar2 != *pmVar1" (pointer_expression "*pmVar2" * identifier) != (pointer_expression "*pmVar1" * identifier)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*pmVar2 == *pmVar1);" do (compound_statement "{\n      pmVar2 = pmVar2 + 1;\n      pmVar1 = pmVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    }" { (expression_statement "pmVar2 = pmVar2 + 1;" (assignment_expression "pmVar2 = pmVar2 + 1" identifier = (binary_expression "pmVar2 + 1" identifier + number_literal)) ;) (expression_statement "pmVar1 = pmVar1 + 1;" (assignment_expression "pmVar1 = pmVar1 + 1" identifier = (binary_expression "pmVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == iVar4) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 == iVar4)" ( (binary_expression "iVar3 == iVar4" identifier == identifier) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }) while (parenthesized_expression "(*pmVar2 == *pmVar1)" ( (binary_expression "*pmVar2 == *pmVar1" (pointer_expression "*pmVar2" * identifier) == (pointer_expression "*pmVar1" * identifier)) )) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 __gmpq_equal(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 8);\n  piVar1 = *(int **)(param_2 + 8);\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 0x14);\n  piVar1 = *(int **)(param_2 + 0x14);\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 __gmpq_equal(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 8);\n  piVar1 = *(int **)(param_2 + 8);\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 0x14);\n  piVar1 = *(int **)(param_2 + 0x14);\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }\n  return 1;\n}" type_identifier (function_declarator "__gmpq_equal(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 8);\n  piVar1 = *(int **)(param_2 + 8);\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 0x14);\n  piVar1 = *(int **)(param_2 + 0x14);\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }\n  return 1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 != *(int *)(param_2 + 4))" ( (binary_expression "iVar3 != *(int *)(param_2 + 4)" identifier != (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "piVar2 = *(int **)(param_1 + 8);" (assignment_expression "piVar2 = *(int **)(param_1 + 8)" identifier = (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(param_2 + 8);" (assignment_expression "piVar1 = *(int **)(param_2 + 8)" identifier = (pointer_expression "*(int **)(param_2 + 8)" * (cast_expression "(int **)(param_2 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar3 = -iVar3;\n  }" { (expression_statement "iVar3 = -iVar3;" (assignment_expression "iVar3 = -iVar3" identifier = (unary_expression "-iVar3" - identifier)) ;) })) (if_statement "if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }" { (if_statement "if (*piVar2 != *piVar1) {\n      return 0;\n    }" if (parenthesized_expression "(*piVar2 != *piVar1)" ( (binary_expression "*piVar2 != *piVar1" (pointer_expression "*piVar2" * identifier) != (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }" { (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == iVar4) break;" if (parenthesized_expression "(iVar3 == iVar4)" ( (binary_expression "iVar3 == iVar4" identifier == identifier) )) (break_statement "break;" break ;)) (if_statement "if (*piVar2 != *piVar1) {\n        return 0;\n      }" if (parenthesized_expression "(*piVar2 != *piVar1)" ( (binary_expression "*piVar2 != *piVar1" (pointer_expression "*piVar2" * identifier) != (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) })) })) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 != *(int *)(param_2 + 0x10))" ( (binary_expression "iVar3 != *(int *)(param_2 + 0x10)" identifier != (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "piVar2 = *(int **)(param_1 + 0x14);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x14)" identifier = (pointer_expression "*(int **)(param_1 + 0x14)" * (cast_expression "(int **)(param_1 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(param_2 + 0x14);" (assignment_expression "piVar1 = *(int **)(param_2 + 0x14)" identifier = (pointer_expression "*(int **)(param_2 + 0x14)" * (cast_expression "(int **)(param_2 + 0x14)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }" { (if_statement "if (*piVar2 != *piVar1) {\n      return 0;\n    }" if (parenthesized_expression "(*piVar2 != *piVar1)" ( (binary_expression "*piVar2 != *piVar1" (pointer_expression "*piVar2" * identifier) != (pointer_expression "*piVar1" * identifier)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);" do (compound_statement "{\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    }" { (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 == iVar4) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 == iVar4)" ( (binary_expression "iVar3 == iVar4" identifier == identifier) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }) while (parenthesized_expression "(*piVar2 == *piVar1)" ( (binary_expression "*piVar2 == *piVar1" (pointer_expression "*piVar2" * identifier) == (pointer_expression "*piVar1" * identifier)) )) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (pointer_expression * IDENT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (pointer_expression * IDENT)) )) (compound_statement { (return_statement return LIT ;) })) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (pointer_expression * IDENT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return LIT ;) })) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT)) )) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __gmpq_equal(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 8);\n  piVar1 = *(int **)(param_2 + 8);\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 0x14);\n  piVar1 = *(int **)(param_2 + 0x14);\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "__gmpq_equal(int param_1,int param_2)" (identifier "__gmpq_equal") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = *(int *)(param_1 + 4);\n  if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 8);\n  piVar1 = *(int **)(param_2 + 8);\n  if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }\n  iVar3 = *(int *)(param_1 + 0x10);\n  if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }\n  piVar2 = *(int **)(param_1 + 0x14);\n  piVar1 = *(int **)(param_2 + 0x14);\n  if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }\n  return 1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 4);" (assignment_expression "iVar3 = *(int *)(param_1 + 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar3 != *(int *)(param_2 + 4)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar3 != *(int *)(param_2 + 4))" (( "(") (binary_expression "iVar3 != *(int *)(param_2 + 4)" (identifier "iVar3") (!= "!=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "piVar2 = *(int **)(param_1 + 8);" (assignment_expression "piVar2 = *(int **)(param_1 + 8)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "piVar1 = *(int **)(param_2 + 8);" (assignment_expression "piVar1 = *(int **)(param_2 + 8)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_2 + 8)" (* "*") (cast_expression "(int **)(param_2 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar3 < 0) {\n    iVar3 = -iVar3;\n  }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = -iVar3;\n  }" ({ "{") (expression_statement "iVar3 = -iVar3;" (assignment_expression "iVar3 = -iVar3" (identifier "iVar3") (= "=") (unary_expression "-iVar3" (- "-") (identifier "iVar3"))) (; ";")) (} "}"))) (if_statement "if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(0 < iVar3)" (( "(") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }\n  }" ({ "{") (if_statement "if (*piVar2 != *piVar1) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*piVar2 != *piVar1)" (( "(") (binary_expression "*piVar2 != *piVar1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) break;\n      if (*piVar2 != *piVar1) {\n        return 0;\n      }\n    }" ({ "{") (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" (identifier "piVar1") (= "=") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar3 == iVar4) break;" (if "if") (parenthesized_expression "(iVar3 == iVar4)" (( "(") (binary_expression "iVar3 == iVar4" (identifier "iVar3") (== "==") (identifier "iVar4")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (*piVar2 != *piVar1) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(*piVar2 != *piVar1)" (( "(") (binary_expression "*piVar2 != *piVar1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "iVar3 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x10)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (iVar3 != *(int *)(param_2 + 0x10)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar3 != *(int *)(param_2 + 0x10))" (( "(") (binary_expression "iVar3 != *(int *)(param_2 + 0x10)" (identifier "iVar3") (!= "!=") (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "piVar2 = *(int **)(param_1 + 0x14);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x14)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x14)" (* "*") (cast_expression "(int **)(param_1 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "piVar1 = *(int **)(param_2 + 0x14);" (assignment_expression "piVar1 = *(int **)(param_2 + 0x14)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_2 + 0x14)" (* "*") (cast_expression "(int **)(param_2 + 0x14)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (0 < iVar3) {\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }" (if "if") (parenthesized_expression "(0 < iVar3)" (( "(") (binary_expression "0 < iVar3" (number_literal "0") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n    if (*piVar2 != *piVar1) {\n      return 0;\n    }\n    iVar4 = 0;\n    do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);\n    return 0;\n  }" ({ "{") (if_statement "if (*piVar2 != *piVar1) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*piVar2 != *piVar1)" (( "(") (binary_expression "*piVar2 != *piVar1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    } while (*piVar2 == *piVar1);" (do "do") (compound_statement "{\n      piVar2 = piVar2 + 1;\n      piVar1 = piVar1 + 1;\n      iVar4 = iVar4 + 1;\n      if (iVar3 == iVar4) {\n        return 1;\n      }\n    }" ({ "{") (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" (identifier "piVar1") (= "=") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar3 == iVar4) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar3 == iVar4)" (( "(") (binary_expression "iVar3 == iVar4" (identifier "iVar3") (== "==") (identifier "iVar4")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(*piVar2 == *piVar1)" (( "(") (binary_expression "*piVar2 == *piVar1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (== "==") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) () ")")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(type_1 op1,type_1 op2)

{
  type_2 *var_3;
  type_2 *var_2;
  int var_1;
  int var_4;
  
  var_1 = (op1->_mp_num)._mp_size;
  if (var_1 != (op2->_mp_num)._mp_size) {
    return 0;
  }
  var_2 = (op1->_mp_num)._mp_d;
  var_3 = (op2->_mp_num)._mp_d;
  if (var_1 < 0) {
    var_1 = -var_1;
  }
  if (0 < var_1) {
    if (*var_2 != *var_3) {
      return 0;
    }
    var_4 = 0;
    while( true ) {
      var_2 = var_2 + 1;
      var_3 = var_3 + 1;
      var_4 = var_4 + 1;
      if (var_1 == var_4) break;
      if (*var_2 != *var_3) {
        return 0;
      }
    }
  }
  var_1 = (op1->_mp_den)._mp_size;
  if (var_1 != (op2->_mp_den)._mp_size) {
    return 0;
  }
  var_2 = (op1->_mp_den)._mp_d;
  var_3 = (op2->_mp_den)._mp_d;
  if (0 < var_1) {
    if (*var_2 != *var_3) {
      return 0;
    }
    var_4 = 0;
    do {
      var_2 = var_2 + 1;
      var_3 = var_3 + 1;
      var_4 = var_4 + 1;
      if (var_1 == var_4) {
        return 1;
      }
    } while (*var_2 == *var_3);
    return 0;
  }
  return 1;
}


(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)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (return_statement (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))))) (return_statement (number_literal)))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,int param_2)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  
  iVar3 = *(int *)(param_1 + 4);
  if (iVar3 != *(int *)(param_2 + 4)) {
    return 0;
  }
  piVar2 = *(int **)(param_1 + 8);
  piVar1 = *(int **)(param_2 + 8);
  if (iVar3 < 0) {
    iVar3 = -iVar3;
  }
  if (0 < iVar3) {
    if (*piVar2 != *piVar1) {
      return 0;
    }
    iVar4 = 0;
    while( true ) {
      piVar2 = piVar2 + 1;
      piVar1 = piVar1 + 1;
      iVar4 = iVar4 + 1;
      if (iVar3 == iVar4) break;
      if (*piVar2 != *piVar1) {
        return 0;
      }
    }
  }
  iVar3 = *(int *)(param_1 + 0x10);
  if (iVar3 != *(int *)(param_2 + 0x10)) {
    return 0;
  }
  piVar2 = *(int **)(param_1 + 0x14);
  piVar1 = *(int **)(param_2 + 0x14);
  if (0 < iVar3) {
    if (*piVar2 != *piVar1) {
      return 0;
    }
    iVar4 = 0;
    do {
      piVar2 = piVar2 + 1;
      piVar1 = piVar1 + 1;
      iVar4 = iVar4 + 1;
      if (iVar3 == iVar4) {
        return 1;
      }
    } while (*piVar2 == *piVar1);
    return 0;
  }
  return 1;
}

