
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int ssh_portcmp(void *av,void *bv)

{
  int iVar1;
  ssh_portfwd *a;
  ssh_portfwd *b;
  int iVar2;
  
  iVar2 = *(int *)((int)av + 4);
  if (iVar2 <= *(int *)((int)bv + 4)) {
    if (iVar2 < *(int *)((int)bv + 4)) {
      return -1;
    }
    if (*(int *)((int)av + 0x24) <= *(int *)((int)bv + 0x24)) {
      if (*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)) {
        return -1;
      }
      iVar1 = nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10));
      if (iVar1 == 0) {
        if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {
          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {
            return -1;
          }
          if (iVar2 == 0x44) {
            return 0;
          }
          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));
          if (iVar2 != 0) {
            if (iVar2 < 0) {
              return -1;
            }
            return 1;
          }
          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {
            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));
          }
        }
      }
      else if (iVar1 < 0) {
        return -1;
      }
    }
  }
  return 1;
}



int FUN_0003d3a8(int param_1,int param_2)

{
  int iVar1;
  int iVar2;
  
  iVar2 = *(int *)(param_1 + 4);
  if (iVar2 <= *(int *)(param_2 + 4)) {
    if (iVar2 < *(int *)(param_2 + 4)) {
      return -1;
    }
    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {
      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {
        return -1;
      }
      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));
      if (iVar1 == 0) {
        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {
          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {
            return -1;
          }
          if (iVar2 == 0x44) {
            return 0;
          }
          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));
          if (iVar2 != 0) {
            if (iVar2 < 0) {
              return -1;
            }
            return 1;
          }
          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {
            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));
          }
        }
      }
      else if (iVar1 < 0) {
        return -1;
      }
    }
  }
  return 1;
}


lui gp,0x8
addiu gp,gp,-0x5258
addu gp,gp,t9
addiu sp,sp,-0x30
lw v0,0x4(a1)
sw s2,0x24(sp)
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
lw s2,0x4(a0)
slt v1,v0,s2
bne v1,zero,0x0003d488
_slt v0,s2,v0
bne v0,zero,0x0003d4a8
_nop
lw v0,0x24(a0)
lw v1,0x24(a1)
slt a2,v1,v0
bne a2,zero,0x0003d488
_slt v0,v0,v1
bne v0,zero,0x0003d4a8
_lw s3,-0x7c8c(gp)
or s0,a1,zero
or s1,a0,zero
lw a1,0x10(a1)
addiu s3,s3,0x703c
or t9,s3,zero
bal 0x0003703c
_lw a0,0x10(a0)
bne v0,zero,0x0003d480
_nop
lw v1,0x8(s1)
lw a0,0x8(s0)
sltu a1,a0,v1
bne a1,zero,0x0003d488
_sltu v1,v1,a0
bne v1,zero,0x0003d4a8
_li v1,0x44
beq s2,v1,0x0003d48c
_or t9,s3,zero
lw a1,0x14(s0)
bal 0x0003703c
_lw a0,0x14(s1)
bne v0,zero,0x0003d4c8
_li a0,0x1
lw v0,0xc(s1)
lw v1,0xc(s0)
sltu a0,v1,v0
bne a0,zero,0x0003d488
_sltu v0,v0,v1
b 0x0003d48c
_subu v0,zero,v0
bltz v0,0x0003d4ac
_lw ra,0x2c(sp)
li v0,0x1
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw ra,0x2c(sp)
li v0,-0x1
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
li v1,-0x1
slti v0,v0,0x0
movz v1,a0,v0
b 0x0003d48c
_or v0,v1,zero
(translation_unit "int FUN_0003d3a8(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}\n\n" (function_definition "int FUN_0003d3a8(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}" primitive_type (function_declarator "FUN_0003d3a8(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 iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(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 (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }" if (parenthesized_expression "(iVar2 <= *(int *)(param_2 + 4))" ( (binary_expression "iVar2 <= *(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    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }" { (if_statement "if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }" if (parenthesized_expression "(iVar2 < *(int *)(param_2 + 4))" ( (binary_expression "iVar2 < *(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 -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24))" ( (binary_expression "*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) <= (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) )) (compound_statement "{\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }" { (if_statement "if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24))" ( (binary_expression "*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) < (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));" (assignment_expression "iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10))" identifier = (call_expression "FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }" { (if_statement "if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }" if (parenthesized_expression "(*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8))" ( (binary_expression "*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }" { (if_statement "if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8))" ( (binary_expression "*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (iVar2 == 0x44) {\n            return 0;\n          }" if (parenthesized_expression "(iVar2 == 0x44)" ( (binary_expression "iVar2 == 0x44" identifier == number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));" (assignment_expression "iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14))" identifier = (call_expression "FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }" { (if_statement "if (iVar2 < 0) {\n              return -1;\n            }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n              return -1;\n            }" { (return_statement "return -1;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc))" ( (binary_expression "*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_2 + 0xc)" * (cast_expression "(uint *)(param_2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }" { (return_statement "return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));" return (unary_expression "-(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc))" - (call_expression "(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc))" ( (binary_expression "*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc)" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_2 + 0xc)" * (cast_expression "(uint *)(param_2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) )))) ;) })) })) }) (else_clause "else if (iVar1 < 0) {\n        return -1;\n      }" else (if_statement "if (iVar1 < 0) {\n        return -1;\n      }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })))) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh_portcmp(void *av,void *bv)\n\n{\n  int iVar1;\n  ssh_portfwd *a;\n  ssh_portfwd *b;\n  int iVar2;\n  \n  iVar2 = *(int *)((int)av + 4);\n  if (iVar2 <= *(int *)((int)bv + 4)) {\n    if (iVar2 < *(int *)((int)bv + 4)) {\n      return -1;\n    }\n    if (*(int *)((int)av + 0x24) <= *(int *)((int)bv + 0x24)) {\n      if (*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)) {\n        return -1;\n      }\n      iVar1 = nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}\n\n" comment (function_definition "int ssh_portcmp(void *av,void *bv)\n\n{\n  int iVar1;\n  ssh_portfwd *a;\n  ssh_portfwd *b;\n  int iVar2;\n  \n  iVar2 = *(int *)((int)av + 4);\n  if (iVar2 <= *(int *)((int)bv + 4)) {\n    if (iVar2 < *(int *)((int)bv + 4)) {\n      return -1;\n    }\n    if (*(int *)((int)av + 0x24) <= *(int *)((int)bv + 0x24)) {\n      if (*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)) {\n        return -1;\n      }\n      iVar1 = nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}" primitive_type (function_declarator "ssh_portcmp(void *av,void *bv)" identifier (parameter_list "(void *av,void *bv)" ( (parameter_declaration "void *av" primitive_type (pointer_declarator "*av" * identifier)) , (parameter_declaration "void *bv" primitive_type (pointer_declarator "*bv" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  ssh_portfwd *a;\n  ssh_portfwd *b;\n  int iVar2;\n  \n  iVar2 = *(int *)((int)av + 4);\n  if (iVar2 <= *(int *)((int)bv + 4)) {\n    if (iVar2 < *(int *)((int)bv + 4)) {\n      return -1;\n    }\n    if (*(int *)((int)av + 0x24) <= *(int *)((int)bv + 0x24)) {\n      if (*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)) {\n        return -1;\n      }\n      iVar1 = nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "ssh_portfwd *a;" type_identifier (pointer_declarator "*a" * identifier) ;) (declaration "ssh_portfwd *b;" type_identifier (pointer_declarator "*b" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)((int)av + 4);" (assignment_expression "iVar2 = *(int *)((int)av + 4)" identifier = (pointer_expression "*(int *)((int)av + 4)" * (cast_expression "(int *)((int)av + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)av + 4)" ( (binary_expression "(int)av + 4" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (iVar2 <= *(int *)((int)bv + 4)) {\n    if (iVar2 < *(int *)((int)bv + 4)) {\n      return -1;\n    }\n    if (*(int *)((int)av + 0x24) <= *(int *)((int)bv + 0x24)) {\n      if (*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)) {\n        return -1;\n      }\n      iVar1 = nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }" if (parenthesized_expression "(iVar2 <= *(int *)((int)bv + 4))" ( (binary_expression "iVar2 <= *(int *)((int)bv + 4)" identifier <= (pointer_expression "*(int *)((int)bv + 4)" * (cast_expression "(int *)((int)bv + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)bv + 4)" ( (binary_expression "(int)bv + 4" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n    if (iVar2 < *(int *)((int)bv + 4)) {\n      return -1;\n    }\n    if (*(int *)((int)av + 0x24) <= *(int *)((int)bv + 0x24)) {\n      if (*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)) {\n        return -1;\n      }\n      iVar1 = nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }" { (if_statement "if (iVar2 < *(int *)((int)bv + 4)) {\n      return -1;\n    }" if (parenthesized_expression "(iVar2 < *(int *)((int)bv + 4))" ( (binary_expression "iVar2 < *(int *)((int)bv + 4)" identifier < (pointer_expression "*(int *)((int)bv + 4)" * (cast_expression "(int *)((int)bv + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)bv + 4)" ( (binary_expression "(int)bv + 4" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (*(int *)((int)av + 0x24) <= *(int *)((int)bv + 0x24)) {\n      if (*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)) {\n        return -1;\n      }\n      iVar1 = nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }" if (parenthesized_expression "(*(int *)((int)av + 0x24) <= *(int *)((int)bv + 0x24))" ( (binary_expression "*(int *)((int)av + 0x24) <= *(int *)((int)bv + 0x24)" (pointer_expression "*(int *)((int)av + 0x24)" * (cast_expression "(int *)((int)av + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)av + 0x24)" ( (binary_expression "(int)av + 0x24" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) <= (pointer_expression "*(int *)((int)bv + 0x24)" * (cast_expression "(int *)((int)bv + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)bv + 0x24)" ( (binary_expression "(int)bv + 0x24" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n      if (*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)) {\n        return -1;\n      }\n      iVar1 = nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }" { (if_statement "if (*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)) {\n        return -1;\n      }" if (parenthesized_expression "(*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24))" ( (binary_expression "*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)" (pointer_expression "*(int *)((int)av + 0x24)" * (cast_expression "(int *)((int)av + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)av + 0x24)" ( (binary_expression "(int)av + 0x24" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < (pointer_expression "*(int *)((int)bv + 0x24)" * (cast_expression "(int *)((int)bv + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)bv + 0x24)" ( (binary_expression "(int)bv + 0x24" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar1 = nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10));" (assignment_expression "iVar1 = nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10))" identifier = (call_expression "nullstrcmp(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10))" identifier (argument_list "(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10))" ( (pointer_expression "*(char **)((int)av + 0x10)" * (cast_expression "(char **)((int)av + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)av + 0x10)" ( (binary_expression "(int)av + 0x10" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (pointer_expression "*(char **)((int)bv + 0x10)" * (cast_expression "(char **)((int)bv + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)bv + 0x10)" ( (binary_expression "(int)bv + 0x10" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n        if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }\n      }" { (if_statement "if (*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)) {\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }" if (parenthesized_expression "(*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8))" ( (binary_expression "*(uint *)((int)av + 8) <= *(uint *)((int)bv + 8)" (pointer_expression "*(uint *)((int)av + 8)" * (cast_expression "(uint *)((int)av + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)av + 8)" ( (binary_expression "(int)av + 8" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) <= (pointer_expression "*(uint *)((int)bv + 8)" * (cast_expression "(uint *)((int)bv + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)bv + 8)" ( (binary_expression "(int)bv + 8" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n          if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }\n        }" { (if_statement "if (*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)) {\n            return -1;\n          }" if (parenthesized_expression "(*(uint *)((int)av + 8) < *(uint *)((int)bv + 8))" ( (binary_expression "*(uint *)((int)av + 8) < *(uint *)((int)bv + 8)" (pointer_expression "*(uint *)((int)av + 8)" * (cast_expression "(uint *)((int)av + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)av + 8)" ( (binary_expression "(int)av + 8" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < (pointer_expression "*(uint *)((int)bv + 8)" * (cast_expression "(uint *)((int)bv + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)bv + 8)" ( (binary_expression "(int)bv + 8" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (iVar2 == 0x44) {\n            return 0;\n          }" if (parenthesized_expression "(iVar2 == 0x44)" ( (binary_expression "iVar2 == 0x44" identifier == number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));" (assignment_expression "iVar2 = nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14))" identifier = (call_expression "nullstrcmp(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14))" identifier (argument_list "(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14))" ( (pointer_expression "*(char **)((int)av + 0x14)" * (cast_expression "(char **)((int)av + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)av + 0x14)" ( (binary_expression "(int)av + 0x14" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (pointer_expression "*(char **)((int)bv + 0x14)" * (cast_expression "(char **)((int)bv + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)bv + 0x14)" ( (binary_expression "(int)bv + 0x14" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }" { (if_statement "if (iVar2 < 0) {\n              return -1;\n            }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n              return -1;\n            }" { (return_statement "return -1;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)) {\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }" if (parenthesized_expression "(*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc))" ( (binary_expression "*(uint *)((int)av + 0xc) <= *(uint *)((int)bv + 0xc)" (pointer_expression "*(uint *)((int)av + 0xc)" * (cast_expression "(uint *)((int)av + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)av + 0xc)" ( (binary_expression "(int)av + 0xc" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) <= (pointer_expression "*(uint *)((int)bv + 0xc)" * (cast_expression "(uint *)((int)bv + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)bv + 0xc)" ( (binary_expression "(int)bv + 0xc" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n            return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));\n          }" { (return_statement "return -(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc));" return (unary_expression "-(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc))" - (call_expression "(uint)(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc))" ( (binary_expression "*(uint *)((int)av + 0xc) < *(uint *)((int)bv + 0xc)" (pointer_expression "*(uint *)((int)av + 0xc)" * (cast_expression "(uint *)((int)av + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)av + 0xc)" ( (binary_expression "(int)av + 0xc" (cast_expression "(int)av" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < (pointer_expression "*(uint *)((int)bv + 0xc)" * (cast_expression "(uint *)((int)bv + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)bv + 0xc)" ( (binary_expression "(int)bv + 0xc" (cast_expression "(int)bv" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )))) ;) })) })) }) (else_clause "else if (iVar1 < 0) {\n        return -1;\n      }" else (if_statement "if (iVar1 < 0) {\n        return -1;\n      }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })))) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int FUN_0003d3a8(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}\n\n" (function_definition "int FUN_0003d3a8(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}" primitive_type (function_declarator "FUN_0003d3a8(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 iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(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 (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }" if (parenthesized_expression "(iVar2 <= *(int *)(param_2 + 4))" ( (binary_expression "iVar2 <= *(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    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }" { (if_statement "if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }" if (parenthesized_expression "(iVar2 < *(int *)(param_2 + 4))" ( (binary_expression "iVar2 < *(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 -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24))" ( (binary_expression "*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) <= (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) )) (compound_statement "{\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }" { (if_statement "if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24))" ( (binary_expression "*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) < (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));" (assignment_expression "iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10))" identifier = (call_expression "FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }" { (if_statement "if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }" if (parenthesized_expression "(*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8))" ( (binary_expression "*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }" { (if_statement "if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8))" ( (binary_expression "*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (iVar2 == 0x44) {\n            return 0;\n          }" if (parenthesized_expression "(iVar2 == 0x44)" ( (binary_expression "iVar2 == 0x44" identifier == number_literal) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));" (assignment_expression "iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14))" identifier = (call_expression "FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }" { (if_statement "if (iVar2 < 0) {\n              return -1;\n            }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n              return -1;\n            }" { (return_statement "return -1;" return number_literal ;) })) (return_statement "return 1;" return number_literal ;) })) (if_statement "if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc))" ( (binary_expression "*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(param_2 + 0xc)" * (cast_expression "(uint *)(param_2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }" { (return_statement "return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));" return (unary_expression "-(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc))" - (call_expression "(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc))" ( (binary_expression "*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc)" (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_2 + 0xc)" * (cast_expression "(uint *)(param_2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) )))) ;) })) })) }) (else_clause "else if (iVar1 < 0) {\n        return -1;\n      }" else (if_statement "if (iVar1 < 0) {\n        return -1;\n      }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" 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 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 { (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 ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (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 = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) })) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })))) })) })) (return_statement return LIT ;) })))
(function_definition "int FUN_0003d3a8(int param_1,int param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}" (primitive_type "int") (function_declarator "FUN_0003d3a8(int param_1,int param_2)" (identifier "FUN_0003d3a8") (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 iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  if (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" (identifier "iVar2") (= "=") (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 (iVar2 <= *(int *)(param_2 + 4)) {\n    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 <= *(int *)(param_2 + 4))" (( "(") (binary_expression "iVar2 <= *(int *)(param_2 + 4)" (identifier "iVar2") (<= "<=") (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    if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }\n    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }\n  }" ({ "{") (if_statement "if (iVar2 < *(int *)(param_2 + 4)) {\n      return -1;\n    }" (if "if") (parenthesized_expression "(iVar2 < *(int *)(param_2 + 4))" (( "(") (binary_expression "iVar2 < *(int *)(param_2 + 4)" (identifier "iVar2") (< "<") (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 -1;\n    }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24))" (( "(") (binary_expression "*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)" (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (<= "<=") (pointer_expression "*(int *)(param_2 + 0x24)" (* "*") (cast_expression "(int *)(param_2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (compound_statement "{\n      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }\n      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));\n      if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }\n    }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {\n        return -1;\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24))" (( "(") (binary_expression "*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)" (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (< "<") (pointer_expression "*(int *)(param_2 + 0x24)" (* "*") (cast_expression "(int *)(param_2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (compound_statement "{\n        return -1;\n      }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));" (assignment_expression "iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10))" (identifier "iVar1") (= "=") (call_expression "FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10))" (identifier "FUN_0003703c") (argument_list "(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }\n      else if (iVar1 < 0) {\n        return -1;\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }\n      }" ({ "{") (if_statement "if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8))" (( "(") (binary_expression "*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (<= "<=") (pointer_expression "*(uint *)(param_2 + 8)" (* "*") (cast_expression "(uint *)(param_2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }\n          if (iVar2 == 0x44) {\n            return 0;\n          }\n          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));\n          if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }\n          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }\n        }" ({ "{") (if_statement "if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {\n            return -1;\n          }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8))" (( "(") (binary_expression "*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_2 + 8)" (* "*") (cast_expression "(uint *)(param_2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n            return -1;\n          }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (if_statement "if (iVar2 == 0x44) {\n            return 0;\n          }" (if "if") (parenthesized_expression "(iVar2 == 0x44)" (( "(") (binary_expression "iVar2 == 0x44" (identifier "iVar2") (== "==") (number_literal "0x44")) () ")")) (compound_statement "{\n            return 0;\n          }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));" (assignment_expression "iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14))" (identifier "iVar2") (= "=") (call_expression "FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14))" (identifier "FUN_0003703c") (argument_list "(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            if (iVar2 < 0) {\n              return -1;\n            }\n            return 1;\n          }" ({ "{") (if_statement "if (iVar2 < 0) {\n              return -1;\n            }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n              return -1;\n            }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc))" (( "(") (binary_expression "*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)" (pointer_expression "*(uint *)(param_1 + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (<= "<=") (pointer_expression "*(uint *)(param_2 + 0xc)" (* "*") (cast_expression "(uint *)(param_2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (compound_statement "{\n            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));\n          }" ({ "{") (return_statement "return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));" (return "return") (unary_expression "-(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc))" (- "-") (call_expression "(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc))" (( "(") (binary_expression "*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc)" (pointer_expression "*(uint *)(param_1 + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_2 + 0xc)" (* "*") (cast_expression "(uint *)(param_2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")"))))) () ")")))) (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else if (iVar1 < 0) {\n        return -1;\n      }" (else "else") (if_statement "if (iVar1 < 0) {\n        return -1;\n      }" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        return -1;\n      }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))))) (} "}"))) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int function_1(void *av,void *bv)

{
  int var_3;
  type_1 *a;
  type_1 *b;
  int var_1;
  
  var_1 = *(int *)((int)av + 4);
  if (var_1 <= *(int *)((int)bv + 4)) {
    if (var_1 < *(int *)((int)bv + 4)) {
      return -1;
    }
    if (*(int *)((int)av + 0x24) <= *(int *)((int)bv + 0x24)) {
      if (*(int *)((int)av + 0x24) < *(int *)((int)bv + 0x24)) {
        return -1;
      }
      var_3 = var_2(*(char **)((int)av + 0x10),*(char **)((int)bv + 0x10));
      if (var_3 == 0) {
        if (*(type_2 *)((int)av + 8) <= *(type_2 *)((int)bv + 8)) {
          if (*(type_2 *)((int)av + 8) < *(type_2 *)((int)bv + 8)) {
            return -1;
          }
          if (var_1 == 0x44) {
            return 0;
          }
          var_1 = var_2(*(char **)((int)av + 0x14),*(char **)((int)bv + 0x14));
          if (var_1 != 0) {
            if (var_1 < 0) {
              return -1;
            }
            return 1;
          }
          if (*(type_2 *)((int)av + 0xc) <= *(type_2 *)((int)bv + 0xc)) {
            return -(type_2)(*(type_2 *)((int)av + 0xc) < *(type_2 *)((int)bv + 0xc));
          }
        }
      }
      else if (var_3 < 0) {
        return -1;
      }
    }
  }
  return 1;
}


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

int MASKED(int param_1,int param_2)

{
  int iVar1;
  int iVar2;
  
  iVar2 = *(int *)(param_1 + 4);
  if (iVar2 <= *(int *)(param_2 + 4)) {
    if (iVar2 < *(int *)(param_2 + 4)) {
      return -1;
    }
    if (*(int *)(param_1 + 0x24) <= *(int *)(param_2 + 0x24)) {
      if (*(int *)(param_1 + 0x24) < *(int *)(param_2 + 0x24)) {
        return -1;
      }
      iVar1 = FUN_0003703c(*(undefined4 *)(param_1 + 0x10),*(undefined4 *)(param_2 + 0x10));
      if (iVar1 == 0) {
        if (*(uint *)(param_1 + 8) <= *(uint *)(param_2 + 8)) {
          if (*(uint *)(param_1 + 8) < *(uint *)(param_2 + 8)) {
            return -1;
          }
          if (iVar2 == 0x44) {
            return 0;
          }
          iVar2 = FUN_0003703c(*(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_2 + 0x14));
          if (iVar2 != 0) {
            if (iVar2 < 0) {
              return -1;
            }
            return 1;
          }
          if (*(uint *)(param_1 + 0xc) <= *(uint *)(param_2 + 0xc)) {
            return -(uint)(*(uint *)(param_1 + 0xc) < *(uint *)(param_2 + 0xc));
          }
        }
      }
      else if (iVar1 < 0) {
        return -1;
      }
    }
  }
  return 1;
}

