
int loc_offsets_compar(void *ap,void *bp)

{
  int iVar1;
  uint *puVar2;
  uint uVar3;
  uint uVar4;
  uint *puVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  
                    /* WARNING: Load size is inaccurate */
  iVar1 = 1;
                    /* WARNING: Load size is inaccurate */
  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *ap * 8);
  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *bp * 8);
  uVar3 = *puVar5;
  uVar4 = *puVar2;
  uVar7 = puVar2[1];
  uVar8 = puVar5[1];
  if (uVar3 <= uVar4) {
    if (uVar3 == uVar4) {
      if (uVar8 <= uVar7) {
        iVar1 = 0;
      }
    }
    else {
      iVar1 = 0;
    }
  }
  iVar6 = 1;
  if (uVar4 <= uVar3) {
    if (uVar4 == uVar3) {
      if (uVar7 <= uVar8) {
        iVar6 = 0;
      }
    }
    else {
      iVar6 = 0;
    }
  }
  iVar1 = iVar1 - iVar6;
  if (iVar1 == 0) {
    iVar1 = 1;
    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8);
    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8);
    uVar3 = *puVar2;
    uVar4 = *puVar5;
    uVar8 = puVar2[1];
    uVar7 = puVar5[1];
    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {
      iVar1 = 0;
    }
    if (uVar4 <= uVar3) {
      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {
        return iVar1 + -1;
      }
      return iVar1;
    }
    iVar1 = iVar1 + -1;
  }
  return iVar1;
}



int FUN_0001e0c0(int *param_1,int *param_2)

{
  int iVar1;
  uint *puVar2;
  uint uVar3;
  uint uVar4;
  uint *puVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  
  iVar1 = 1;
  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);
  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);
  uVar3 = *puVar5;
  uVar4 = *puVar2;
  uVar7 = puVar2[1];
  uVar8 = puVar5[1];
  if (uVar3 <= uVar4) {
    if (uVar3 == uVar4) {
      if (uVar8 <= uVar7) {
        iVar1 = 0;
      }
    }
    else {
      iVar1 = 0;
    }
  }
  iVar6 = 1;
  if (uVar4 <= uVar3) {
    if (uVar4 == uVar3) {
      if (uVar7 <= uVar8) {
        iVar6 = 0;
      }
    }
    else {
      iVar6 = 0;
    }
  }
  iVar1 = iVar1 - iVar6;
  if (iVar1 == 0) {
    iVar1 = 1;
    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);
    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);
    uVar3 = *puVar2;
    uVar4 = *puVar5;
    uVar8 = puVar2[1];
    uVar7 = puVar5[1];
    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {
      iVar1 = 0;
    }
    if (uVar4 <= uVar3) {
      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {
        return iVar1 + -1;
      }
      return iVar1;
    }
    iVar1 = iVar1 + -1;
  }
  return iVar1;
}


lui gp,0x7
addiu gp,gp,-0x4150
addu gp,gp,t9
lw v1,0x0(a0)
li v0,0x1
lw a0,-0x7fd8(gp)
lw a1,0x0(a1)
sll v1,v1,0x3
lw a0,0x4c98(a0)
sll a1,a1,0x3
addu t0,a0,v1
addu a0,a0,a1
lw a2,0x0(t0)
lw a3,0x0(a0)
lw t1,0x4(a0)
sltu a0,a3,a2
bne a0,zero,0x0001e114
_lw t2,0x4(t0)
beq a2,a3,0x0001e1a8
_sltu a0,t1,t2
or v0,zero,zero
sltu a0,a2,a3
bne a0,zero,0x0001e12c
_li t0,0x1
beq a3,a2,0x0001e1b8
_nop
or t0,zero,zero
subu v0,v0,t0
bne v0,zero,0x0001e170
_lw a0,-0x7fd8(gp)
li v0,0x1
lw a0,0x4c94(a0)
addu v1,a0,v1
addu a1,a0,a1
lw a0,0x0(v1)
lw a2,0x0(a1)
lw t0,0x4(v1)
sltu v1,a2,a0
beq v1,zero,0x0001e18c
_lw a3,0x4(a1)
sltu v1,a0,a2
beq v1,zero,0x0001e178
_li a1,0x1
subu v0,v0,a1
jr ra
_nop
beq a2,a0,0x0001e1e0
_nop
or a1,zero,zero
jr ra
_subu v0,v0,a1
beq a0,a2,0x0001e1cc
_sltu v1,a0,a2
or v0,zero,zero
bne v1,zero,0x0001e16c
_li a1,0x1
b 0x0001e178
_nop
bne a0,zero,0x0001e118
_sltu a0,a2,a3
b 0x0001e118
_or v0,zero,zero
sltu t1,t2,t1
bne t1,zero,0x0001e12c
_nop
b 0x0001e12c
_or t0,zero,zero
sltu v1,a3,t0
bne v1,zero,0x0001e160
_sltu v1,a0,a2
b 0x0001e198
_or v0,zero,zero
sltu a3,t0,a3
beq a3,zero,0x0001e180
_nop
jr ra
_subu v0,v0,a1
(translation_unit "int FUN_0001e0c0(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n  iVar1 = 1;\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0001e0c0(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n  iVar1 = 1;\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0001e0c0(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n  iVar1 = 1;\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);" (assignment_expression "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c98)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c98" identifier + number_literal) )))) + (binary_expression "*param_1 * 8" (pointer_expression "*param_1" * identifier) * number_literal)) )))) ;) (expression_statement "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);" (assignment_expression "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c98)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c98" identifier + number_literal) )))) + (binary_expression "*param_2 * 8" (pointer_expression "*param_2" * identifier) * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar5;" (assignment_expression "uVar3 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar4 = *puVar2;" (assignment_expression "uVar4 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar7 = puVar2[1];" (assignment_expression "uVar7 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar5[1];" (assignment_expression "uVar8 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }" if (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }" { (if_statement "if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }" { (if_statement "if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }" if (parenthesized_expression "(uVar8 <= uVar7)" ( (binary_expression "uVar8 <= uVar7" identifier <= identifier) )) (compound_statement "{\n        iVar1 = 0;\n      }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar1 = 0;\n    }" else (compound_statement "{\n      iVar1 = 0;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }))) })) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (if_statement "if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" if (parenthesized_expression "(uVar4 <= uVar3)" ( (binary_expression "uVar4 <= uVar3" identifier <= identifier) )) (compound_statement "{\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" { (if_statement "if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }" if (parenthesized_expression "(uVar4 == uVar3)" ( (binary_expression "uVar4 == uVar3" identifier == identifier) )) (compound_statement "{\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }" { (if_statement "if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }" if (parenthesized_expression "(uVar7 <= uVar8)" ( (binary_expression "uVar7 <= uVar8" identifier <= identifier) )) (compound_statement "{\n        iVar6 = 0;\n      }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar6 = 0;\n    }" else (compound_statement "{\n      iVar6 = 0;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) })) (expression_statement "iVar1 = iVar1 - iVar6;" (assignment_expression "iVar1 = iVar1 - iVar6" identifier = (binary_expression "iVar1 - iVar6" identifier - identifier)) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }" { (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);" (assignment_expression "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c94)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c94" identifier + number_literal) )))) + (binary_expression "*param_1 * 8" (pointer_expression "*param_1" * identifier) * number_literal)) )))) ;) (expression_statement "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);" (assignment_expression "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c94)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c94" identifier + number_literal) )))) + (binary_expression "*param_2 * 8" (pointer_expression "*param_2" * identifier) * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar4 = *puVar5;" (assignment_expression "uVar4 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar8 = puVar2[1];" (assignment_expression "uVar8 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar5[1];" (assignment_expression "uVar7 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (if_statement "if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }" if (parenthesized_expression "((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7))))" ( (binary_expression "(uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))" (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) && (parenthesized_expression "((uVar3 != uVar4 || (uVar8 <= uVar7)))" ( (parenthesized_expression "(uVar3 != uVar4 || (uVar8 <= uVar7))" ( (binary_expression "uVar3 != uVar4 || (uVar8 <= uVar7)" (binary_expression "uVar3 != uVar4" identifier != identifier) || (parenthesized_expression "(uVar8 <= uVar7)" ( (binary_expression "uVar8 <= uVar7" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n      iVar1 = 0;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (if_statement "if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }" if (parenthesized_expression "(uVar4 <= uVar3)" ( (binary_expression "uVar4 <= uVar3" identifier <= identifier) )) (compound_statement "{\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }" { (if_statement "if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }" if (parenthesized_expression "((uVar4 == uVar3) && (uVar8 < uVar7))" ( (binary_expression "(uVar4 == uVar3) && (uVar8 < uVar7)" (parenthesized_expression "(uVar4 == uVar3)" ( (binary_expression "uVar4 == uVar3" identifier == identifier) )) && (parenthesized_expression "(uVar8 < uVar7)" ( (binary_expression "uVar8 < uVar7" identifier < identifier) ))) )) (compound_statement "{\n        return iVar1 + -1;\n      }" { (return_statement "return iVar1 + -1;" return (binary_expression "iVar1 + -1" identifier + number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int loc_offsets_compar(void *ap,void *bp)\n\n{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar1 = 1;\n                    /* WARNING: Load size is inaccurate */\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *ap * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *bp * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}\n\n" (function_definition "int loc_offsets_compar(void *ap,void *bp)\n\n{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar1 = 1;\n                    /* WARNING: Load size is inaccurate */\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *ap * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *bp * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "loc_offsets_compar(void *ap,void *bp)" identifier (parameter_list "(void *ap,void *bp)" ( (parameter_declaration "void *ap" primitive_type (pointer_declarator "*ap" * identifier)) , (parameter_declaration "void *bp" primitive_type (pointer_declarator "*bp" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar1 = 1;\n                    /* WARNING: Load size is inaccurate */\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *ap * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *bp * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) comment (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) comment (expression_statement "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *ap * 8);" (assignment_expression "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *ap * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *ap * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *ap * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98) + *ap * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c98)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c98" identifier + number_literal) )))) + (binary_expression "*ap * 8" (pointer_expression "*ap" * identifier) * number_literal)) )))) ;) (expression_statement "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *bp * 8);" (assignment_expression "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *bp * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *bp * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *bp * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98) + *bp * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c98)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c98" identifier + number_literal) )))) + (binary_expression "*bp * 8" (pointer_expression "*bp" * identifier) * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar5;" (assignment_expression "uVar3 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar4 = *puVar2;" (assignment_expression "uVar4 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar7 = puVar2[1];" (assignment_expression "uVar7 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar5[1];" (assignment_expression "uVar8 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }" if (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }" { (if_statement "if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }" { (if_statement "if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }" if (parenthesized_expression "(uVar8 <= uVar7)" ( (binary_expression "uVar8 <= uVar7" identifier <= identifier) )) (compound_statement "{\n        iVar1 = 0;\n      }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar1 = 0;\n    }" else (compound_statement "{\n      iVar1 = 0;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }))) })) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (if_statement "if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" if (parenthesized_expression "(uVar4 <= uVar3)" ( (binary_expression "uVar4 <= uVar3" identifier <= identifier) )) (compound_statement "{\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" { (if_statement "if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }" if (parenthesized_expression "(uVar4 == uVar3)" ( (binary_expression "uVar4 == uVar3" identifier == identifier) )) (compound_statement "{\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }" { (if_statement "if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }" if (parenthesized_expression "(uVar7 <= uVar8)" ( (binary_expression "uVar7 <= uVar8" identifier <= identifier) )) (compound_statement "{\n        iVar6 = 0;\n      }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar6 = 0;\n    }" else (compound_statement "{\n      iVar6 = 0;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) })) (expression_statement "iVar1 = iVar1 - iVar6;" (assignment_expression "iVar1 = iVar1 - iVar6" identifier = (binary_expression "iVar1 - iVar6" identifier - identifier)) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }" { (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8);" (assignment_expression "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94) + *ap * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c94)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c94" identifier + number_literal) )))) + (binary_expression "*ap * 8" (pointer_expression "*ap" * identifier) * number_literal)) )))) ;) (expression_statement "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8);" (assignment_expression "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94) + *bp * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c94)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c94" identifier + number_literal) )))) + (binary_expression "*bp * 8" (pointer_expression "*bp" * identifier) * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar4 = *puVar5;" (assignment_expression "uVar4 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar8 = puVar2[1];" (assignment_expression "uVar8 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar5[1];" (assignment_expression "uVar7 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (if_statement "if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }" if (parenthesized_expression "((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7))))" ( (binary_expression "(uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))" (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) && (parenthesized_expression "((uVar3 != uVar4 || (uVar8 <= uVar7)))" ( (parenthesized_expression "(uVar3 != uVar4 || (uVar8 <= uVar7))" ( (binary_expression "uVar3 != uVar4 || (uVar8 <= uVar7)" (binary_expression "uVar3 != uVar4" identifier != identifier) || (parenthesized_expression "(uVar8 <= uVar7)" ( (binary_expression "uVar8 <= uVar7" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n      iVar1 = 0;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (if_statement "if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }" if (parenthesized_expression "(uVar4 <= uVar3)" ( (binary_expression "uVar4 <= uVar3" identifier <= identifier) )) (compound_statement "{\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }" { (if_statement "if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }" if (parenthesized_expression "((uVar4 == uVar3) && (uVar8 < uVar7))" ( (binary_expression "(uVar4 == uVar3) && (uVar8 < uVar7)" (parenthesized_expression "(uVar4 == uVar3)" ( (binary_expression "uVar4 == uVar3" identifier == identifier) )) && (parenthesized_expression "(uVar8 < uVar7)" ( (binary_expression "uVar8 < uVar7" identifier < identifier) ))) )) (compound_statement "{\n        return iVar1 + -1;\n      }" { (return_statement "return iVar1 + -1;" return (binary_expression "iVar1 + -1" identifier + number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int FUN_0001e0c0(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n  iVar1 = 1;\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_0001e0c0(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n  iVar1 = 1;\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_0001e0c0(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n  iVar1 = 1;\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);" (assignment_expression "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c98)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c98" identifier + number_literal) )))) + (binary_expression "*param_1 * 8" (pointer_expression "*param_1" * identifier) * number_literal)) )))) ;) (expression_statement "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);" (assignment_expression "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c98)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c98" identifier + number_literal) )))) + (binary_expression "*param_2 * 8" (pointer_expression "*param_2" * identifier) * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar5;" (assignment_expression "uVar3 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar4 = *puVar2;" (assignment_expression "uVar4 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar7 = puVar2[1];" (assignment_expression "uVar7 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = puVar5[1];" (assignment_expression "uVar8 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }" if (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) (compound_statement "{\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }" { (if_statement "if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }" if (parenthesized_expression "(uVar3 == uVar4)" ( (binary_expression "uVar3 == uVar4" identifier == identifier) )) (compound_statement "{\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }" { (if_statement "if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }" if (parenthesized_expression "(uVar8 <= uVar7)" ( (binary_expression "uVar8 <= uVar7" identifier <= identifier) )) (compound_statement "{\n        iVar1 = 0;\n      }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar1 = 0;\n    }" else (compound_statement "{\n      iVar1 = 0;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }))) })) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (if_statement "if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" if (parenthesized_expression "(uVar4 <= uVar3)" ( (binary_expression "uVar4 <= uVar3" identifier <= identifier) )) (compound_statement "{\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" { (if_statement "if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }" if (parenthesized_expression "(uVar4 == uVar3)" ( (binary_expression "uVar4 == uVar3" identifier == identifier) )) (compound_statement "{\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }" { (if_statement "if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }" if (parenthesized_expression "(uVar7 <= uVar8)" ( (binary_expression "uVar7 <= uVar8" identifier <= identifier) )) (compound_statement "{\n        iVar6 = 0;\n      }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar6 = 0;\n    }" else (compound_statement "{\n      iVar6 = 0;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) })) (expression_statement "iVar1 = iVar1 - iVar6;" (assignment_expression "iVar1 = iVar1 - iVar6" identifier = (binary_expression "iVar1 - iVar6" identifier - identifier)) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }" { (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);" (assignment_expression "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c94)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c94" identifier + number_literal) )))) + (binary_expression "*param_1 * 8" (pointer_expression "*param_1" * identifier) * number_literal)) )))) ;) (expression_statement "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);" (assignment_expression "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8)" identifier = (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8)" ( (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94)" * (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c94)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c94)" ( (binary_expression "PTR_DAT_00081f98 + 0x4c94" identifier + number_literal) )))) + (binary_expression "*param_2 * 8" (pointer_expression "*param_2" * identifier) * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar4 = *puVar5;" (assignment_expression "uVar4 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar8 = puVar2[1];" (assignment_expression "uVar8 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar5[1];" (assignment_expression "uVar7 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (if_statement "if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }" if (parenthesized_expression "((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7))))" ( (binary_expression "(uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))" (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) && (parenthesized_expression "((uVar3 != uVar4 || (uVar8 <= uVar7)))" ( (parenthesized_expression "(uVar3 != uVar4 || (uVar8 <= uVar7))" ( (binary_expression "uVar3 != uVar4 || (uVar8 <= uVar7)" (binary_expression "uVar3 != uVar4" identifier != identifier) || (parenthesized_expression "(uVar8 <= uVar7)" ( (binary_expression "uVar8 <= uVar7" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n      iVar1 = 0;\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) })) (if_statement "if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }" if (parenthesized_expression "(uVar4 <= uVar3)" ( (binary_expression "uVar4 <= uVar3" identifier <= identifier) )) (compound_statement "{\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }" { (if_statement "if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }" if (parenthesized_expression "((uVar4 == uVar3) && (uVar8 < uVar7))" ( (binary_expression "(uVar4 == uVar3) && (uVar8 < uVar7)" (parenthesized_expression "(uVar4 == uVar3)" ( (binary_expression "uVar4 == uVar3" identifier == identifier) )) && (parenthesized_expression "(uVar8 < uVar7)" ( (binary_expression "uVar8 < uVar7" identifier < identifier) ))) )) (compound_statement "{\n        return iVar1 + -1;\n      }" { (return_statement "return iVar1 + -1;" return (binary_expression "iVar1 + -1" identifier + number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (pointer_expression * IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (pointer_expression * IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (pointer_expression * IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (pointer_expression * IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (parenthesized_expression ( (binary_expression IDENT <= IDENT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (return_statement return (binary_expression IDENT + LIT) ;) })) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0001e0c0(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n  iVar1 = 1;\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_0001e0c0(int *param_1,int *param_2)" (identifier "FUN_0001e0c0") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *puVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  \n  iVar1 = 1;\n  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);\n  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);\n  uVar3 = *puVar5;\n  uVar4 = *puVar2;\n  uVar7 = puVar2[1];\n  uVar8 = puVar5[1];\n  if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }\n  iVar6 = 1;\n  if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  iVar1 = iVar1 - iVar6;\n  if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" (identifier "iVar1") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);" (assignment_expression "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8)" (identifier "puVar5") (= "=") (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8)" (( "(") (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98)" (* "*") (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c98)" (( "(") (binary_expression "PTR_DAT_00081f98 + 0x4c98" (identifier "PTR_DAT_00081f98") (+ "+") (number_literal "0x4c98")) () ")")))) (+ "+") (binary_expression "*param_1 * 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);" (assignment_expression "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8)" (identifier "puVar2") (= "=") (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8)" (( "(") (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c98)" (* "*") (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c98)" (( "(") (binary_expression "PTR_DAT_00081f98 + 0x4c98" (identifier "PTR_DAT_00081f98") (+ "+") (number_literal "0x4c98")) () ")")))) (+ "+") (binary_expression "*param_2 * 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "uVar3 = *puVar5;" (assignment_expression "uVar3 = *puVar5" (identifier "uVar3") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "uVar4 = *puVar2;" (assignment_expression "uVar4 = *puVar2" (identifier "uVar4") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "uVar7 = puVar2[1];" (assignment_expression "uVar7 = puVar2[1]" (identifier "uVar7") (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar8 = puVar5[1];" (assignment_expression "uVar8 = puVar5[1]" (identifier "uVar8") (= "=") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (uVar3 <= uVar4) {\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }" (if "if") (parenthesized_expression "(uVar3 <= uVar4)" (( "(") (binary_expression "uVar3 <= uVar4" (identifier "uVar3") (<= "<=") (identifier "uVar4")) () ")")) (compound_statement "{\n    if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }\n  }" ({ "{") (if_statement "if (uVar3 == uVar4) {\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }\n    else {\n      iVar1 = 0;\n    }" (if "if") (parenthesized_expression "(uVar3 == uVar4)" (( "(") (binary_expression "uVar3 == uVar4" (identifier "uVar3") (== "==") (identifier "uVar4")) () ")")) (compound_statement "{\n      if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }\n    }" ({ "{") (if_statement "if (uVar8 <= uVar7) {\n        iVar1 = 0;\n      }" (if "if") (parenthesized_expression "(uVar8 <= uVar7)" (( "(") (binary_expression "uVar8 <= uVar7" (identifier "uVar8") (<= "<=") (identifier "uVar7")) () ")")) (compound_statement "{\n        iVar1 = 0;\n      }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar1 = 0;\n    }" (else "else") (compound_statement "{\n      iVar1 = 0;\n    }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (if_statement "if (uVar4 <= uVar3) {\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" (if "if") (parenthesized_expression "(uVar4 <= uVar3)" (( "(") (binary_expression "uVar4 <= uVar3" (identifier "uVar4") (<= "<=") (identifier "uVar3")) () ")")) (compound_statement "{\n    if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" ({ "{") (if_statement "if (uVar4 == uVar3) {\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }\n    else {\n      iVar6 = 0;\n    }" (if "if") (parenthesized_expression "(uVar4 == uVar3)" (( "(") (binary_expression "uVar4 == uVar3" (identifier "uVar4") (== "==") (identifier "uVar3")) () ")")) (compound_statement "{\n      if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }\n    }" ({ "{") (if_statement "if (uVar7 <= uVar8) {\n        iVar6 = 0;\n      }" (if "if") (parenthesized_expression "(uVar7 <= uVar8)" (( "(") (binary_expression "uVar7 <= uVar8" (identifier "uVar7") (<= "<=") (identifier "uVar8")) () ")")) (compound_statement "{\n        iVar6 = 0;\n      }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar6 = 0;\n    }" (else "else") (compound_statement "{\n      iVar6 = 0;\n    }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (expression_statement "iVar1 = iVar1 - iVar6;" (assignment_expression "iVar1 = iVar1 - iVar6" (identifier "iVar1") (= "=") (binary_expression "iVar1 - iVar6" (identifier "iVar1") (- "-") (identifier "iVar6"))) (; ";")) (if_statement "if (iVar1 == 0) {\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = 1;\n    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);\n    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);\n    uVar3 = *puVar2;\n    uVar4 = *puVar5;\n    uVar8 = puVar2[1];\n    uVar7 = puVar5[1];\n    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }\n    if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }\n    iVar1 = iVar1 + -1;\n  }" ({ "{") (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" (identifier "iVar1") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);" (assignment_expression "puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8)" (identifier "puVar2") (= "=") (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8)" (( "(") (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94)" (* "*") (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c94)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c94)" (( "(") (binary_expression "PTR_DAT_00081f98 + 0x4c94" (identifier "PTR_DAT_00081f98") (+ "+") (number_literal "0x4c94")) () ")")))) (+ "+") (binary_expression "*param_1 * 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);" (assignment_expression "puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8)" (identifier "puVar5") (= "=") (cast_expression "(uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8)" (( "(") (binary_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8" (pointer_expression "*(int *)(PTR_DAT_00081f98 + 0x4c94)" (* "*") (cast_expression "(int *)(PTR_DAT_00081f98 + 0x4c94)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00081f98 + 0x4c94)" (( "(") (binary_expression "PTR_DAT_00081f98 + 0x4c94" (identifier "PTR_DAT_00081f98") (+ "+") (number_literal "0x4c94")) () ")")))) (+ "+") (binary_expression "*param_2 * 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" (identifier "uVar3") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "uVar4 = *puVar5;" (assignment_expression "uVar4 = *puVar5" (identifier "uVar4") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "uVar8 = puVar2[1];" (assignment_expression "uVar8 = puVar2[1]" (identifier "uVar8") (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar7 = puVar5[1];" (assignment_expression "uVar7 = puVar5[1]" (identifier "uVar7") (= "=") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {\n      iVar1 = 0;\n    }" (if "if") (parenthesized_expression "((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7))))" (( "(") (binary_expression "(uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))" (parenthesized_expression "(uVar3 <= uVar4)" (( "(") (binary_expression "uVar3 <= uVar4" (identifier "uVar3") (<= "<=") (identifier "uVar4")) () ")")) (&& "&&") (parenthesized_expression "((uVar3 != uVar4 || (uVar8 <= uVar7)))" (( "(") (parenthesized_expression "(uVar3 != uVar4 || (uVar8 <= uVar7))" (( "(") (binary_expression "uVar3 != uVar4 || (uVar8 <= uVar7)" (binary_expression "uVar3 != uVar4" (identifier "uVar3") (!= "!=") (identifier "uVar4")) (|| "||") (parenthesized_expression "(uVar8 <= uVar7)" (( "(") (binary_expression "uVar8 <= uVar7" (identifier "uVar8") (<= "<=") (identifier "uVar7")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      iVar1 = 0;\n    }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (uVar4 <= uVar3) {\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(uVar4 <= uVar3)" (( "(") (binary_expression "uVar4 <= uVar3" (identifier "uVar4") (<= "<=") (identifier "uVar3")) () ")")) (compound_statement "{\n      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }\n      return iVar1;\n    }" ({ "{") (if_statement "if ((uVar4 == uVar3) && (uVar8 < uVar7)) {\n        return iVar1 + -1;\n      }" (if "if") (parenthesized_expression "((uVar4 == uVar3) && (uVar8 < uVar7))" (( "(") (binary_expression "(uVar4 == uVar3) && (uVar8 < uVar7)" (parenthesized_expression "(uVar4 == uVar3)" (( "(") (binary_expression "uVar4 == uVar3" (identifier "uVar4") (== "==") (identifier "uVar3")) () ")")) (&& "&&") (parenthesized_expression "(uVar8 < uVar7)" (( "(") (binary_expression "uVar8 < uVar7" (identifier "uVar8") (< "<") (identifier "uVar7")) () ")"))) () ")")) (compound_statement "{\n        return iVar1 + -1;\n      }" ({ "{") (return_statement "return iVar1 + -1;" (return "return") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1")) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

int MASKED(int *param_1,int *param_2)

{
  int iVar1;
  uint *puVar2;
  uint uVar3;
  uint uVar4;
  uint *puVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  
  iVar1 = 1;
  puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_1 * 8);
  puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c98) + *param_2 * 8);
  uVar3 = *puVar5;
  uVar4 = *puVar2;
  uVar7 = puVar2[1];
  uVar8 = puVar5[1];
  if (uVar3 <= uVar4) {
    if (uVar3 == uVar4) {
      if (uVar8 <= uVar7) {
        iVar1 = 0;
      }
    }
    else {
      iVar1 = 0;
    }
  }
  iVar6 = 1;
  if (uVar4 <= uVar3) {
    if (uVar4 == uVar3) {
      if (uVar7 <= uVar8) {
        iVar6 = 0;
      }
    }
    else {
      iVar6 = 0;
    }
  }
  iVar1 = iVar1 - iVar6;
  if (iVar1 == 0) {
    iVar1 = 1;
    puVar2 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_1 * 8);
    puVar5 = (uint *)(*(int *)(PTR_DAT_00081f98 + 0x4c94) + *param_2 * 8);
    uVar3 = *puVar2;
    uVar4 = *puVar5;
    uVar8 = puVar2[1];
    uVar7 = puVar5[1];
    if ((uVar3 <= uVar4) && ((uVar3 != uVar4 || (uVar8 <= uVar7)))) {
      iVar1 = 0;
    }
    if (uVar4 <= uVar3) {
      if ((uVar4 == uVar3) && (uVar8 < uVar7)) {
        return iVar1 + -1;
      }
      return iVar1;
    }
    iVar1 = iVar1 + -1;
  }
  return iVar1;
}

