
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool operator()(Input_section_sorter * this, Input_section_info * isi1,
   Input_section_info * isi2) */

bool __thiscall
gold::Input_section_sorter::operator()
          (Input_section_sorter *this,Input_section_info *isi1,Input_section_info *isi2)

{
  difference_type __d;
  
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

uint FUN_00330fc0(int *param_1,int param_2,int param_3)

{
  size_t __n;
  uint uVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  
  uVar1 = param_1[1];
  if (uVar1 == 5) {
    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));
    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));
    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {
      return (uint)(uVar1 < uVar2);
    }
    uVar1 = param_1[1];
  }
  if ((uVar1 & 0xfffffffd) == 1) {
LAB_00331040:
    uVar2 = *(uint *)(param_2 + 0x1c);
    uVar3 = *(uint *)(param_3 + 0x1c);
    if (uVar2 != uVar3) {
      uVar1 = uVar3;
      if (uVar2 <= uVar3) {
        uVar1 = uVar2;
      }
      if ((uVar1 == 0) ||
         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))
      {
        uVar6 = uVar2 - uVar3;
      }
      goto LAB_0033107b;
    }
    if ((uVar2 != 0) &&
       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))
    goto LAB_0033107b;
LAB_00330ff6:
    if (uVar1 - 2 < 3) {
      uVar2 = *(uint *)(param_2 + 0x38);
      uVar3 = *(uint *)(param_2 + 0x3c);
      goto LAB_0033110a;
    }
  }
  else {
    if (uVar1 != 4) {
      if (uVar1 == 5) goto LAB_00331040;
      goto LAB_00330ff6;
    }
    uVar2 = *(uint *)(param_2 + 0x38);
    uVar3 = *(uint *)(param_2 + 0x3c);
    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;
LAB_0033110a:
    uVar1 = *(uint *)(param_3 + 0x3c);
    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {
      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));
    }
  }
  if (*param_1 == 1) {
    iVar4 = FUN_002c6110(param_3);
    iVar5 = FUN_002c6110(param_2);
    __n = *(size_t *)(iVar5 + 8);
    if ((__n != *(size_t *)(iVar4 + 8)) ||
       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))
       ) {
      iVar4 = FUN_002c6110(param_3);
      iVar5 = FUN_002c6110(param_2);
      uVar1 = *(uint *)(iVar4 + 8);
      uVar2 = *(uint *)(iVar5 + 8);
      uVar3 = uVar1;
      if (uVar2 <= uVar1) {
        uVar3 = uVar2;
      }
      if ((uVar3 == 0) ||
         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {
        uVar6 = uVar2 - uVar1;
      }
LAB_0033107b:
      return uVar6 >> 0x1f;
    }
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x2b9037
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [EAX + 0x4]
CMP ESI,0x5
JZ 0x003310b0
MOV EAX,ESI
AND EAX,0xfffffffd
CMP EAX,0x1
JZ 0x00331040
CMP ESI,0x4
JZ 0x00331020
CMP ESI,0x5
JZ 0x00331040
SUB ESI,0x2
CMP ESI,0x2
JBE 0x00331100
MOV EAX,dword ptr [ESP + 0x20]
CMP dword ptr [EAX],0x1
JZ 0x00331138
XOR EAX,EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x24]
MOV EDI,dword ptr [ESP + 0x28]
MOV EDX,dword ptr [EAX + 0x38]
MOV ECX,dword ptr [EDI + 0x38]
MOV EAX,dword ptr [EAX + 0x3c]
MOV EDI,dword ptr [EDI + 0x3c]
XOR ECX,EDX
XOR EDI,EAX
OR EDI,ECX
JNZ 0x0033110a
MOV EAX,dword ptr [ESP + 0x24]
MOV EDI,dword ptr [EAX + 0x1c]
MOV EAX,dword ptr [ESP + 0x28]
MOV EBP,dword ptr [EAX + 0x1c]
MOV EDX,dword ptr [EAX + 0x18]
MOV EAX,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [EAX + 0x18]
CMP EDI,EBP
JZ 0x00331090
MOV ECX,EBP
CMOVBE ECX,EDI
TEST ECX,ECX
JZ 0x00331077
SUB ESP,0x4
PUSH ECX
PUSH EDX
PUSH EAX
CALL 0x000394f0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0033107b
MOV EAX,EDI
SUB EAX,EBP
ADD ESP,0xc
SHR EAX,0x1f
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EDI,EDI
JZ 0x00330ff6
SUB ESP,0x4
PUSH EDI
PUSH EDX
PUSH EAX
CALL 0x000394f0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00330ff6
JMP 0x0033107b
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x30]
PUSH dword ptr [EAX + 0x18]
CALL 0x00330ed0
POP ECX
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x34]
PUSH dword ptr [EAX + 0x18]
CALL 0x00330ed0
ADD ESP,0x10
TEST ESI,ESI
SETNZ CL
TEST EAX,EAX
SETNZ DL
TEST CL,DL
JZ 0x003310ea
CMP ESI,EAX
SETC AL
JNZ 0x00331011
MOV EAX,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [EAX + 0x4]
JMP 0x00330fe2
MOV EAX,dword ptr [ESP + 0x24]
MOV EDX,dword ptr [EAX + 0x38]
MOV EAX,dword ptr [EAX + 0x3c]
MOV ECX,dword ptr [ESP + 0x28]
MOV EDI,EDX
MOV EBP,EAX
MOV ESI,dword ptr [ECX + 0x38]
MOV ECX,dword ptr [ECX + 0x3c]
XOR EDI,ESI
XOR EBP,ECX
OR EBP,EDI
JZ 0x00331002
CMP EDX,ESI
SBB EAX,ECX
SETC AL
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH dword ptr [ESP + 0x34]
CALL 0x002c6110
POP EDX
PUSH dword ptr [ESP + 0x30]
MOV ESI,EAX
CALL 0x002c6110
ADD ESP,0x10
MOV EDX,dword ptr [EAX + 0x8]
CMP EDX,dword ptr [ESI + 0x8]
JZ 0x003311b0
SUB ESP,0xc
PUSH dword ptr [ESP + 0x34]
CALL 0x002c6110
MOV EBP,EAX
POP EAX
PUSH dword ptr [ESP + 0x30]
CALL 0x002c6110
MOV ESI,dword ptr [EBP + 0x8]
ADD ESP,0x10
MOV EDI,dword ptr [EAX + 0x8]
MOV EDX,ESI
CMP EDI,ESI
CMOVBE EDX,EDI
TEST EDX,EDX
JZ 0x003311a1
SUB ESP,0x4
PUSH EDX
PUSH dword ptr [EBP + 0x4]
PUSH dword ptr [EAX + 0x4]
CALL 0x000394f0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0033107b
MOV EAX,EDI
SUB EAX,ESI
JMP 0x0033107b
TEST EDX,EDX
JZ 0x0033100f
SUB ESP,0x4
PUSH EDX
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [EAX + 0x4]
CALL 0x000394f0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0033100f
JMP 0x0033115b
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_00330fc0(int *param_1,int param_2,int param_3)\n\n{\n  size_t __n;\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[1];\n  if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }\n  if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }\n  if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "uint FUN_00330fc0(int *param_1,int param_2,int param_3)\n\n{\n  size_t __n;\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[1];\n  if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }\n  if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }\n  if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00330fc0(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  size_t __n;\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[1];\n  if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }\n  if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }\n  if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }\n  return 0;\n}" { (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }" if (parenthesized_expression "(uVar1 == 5)" ( (binary_expression "uVar1 == 5" identifier == number_literal) )) (compound_statement "{\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }" { (expression_statement "uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));" (assignment_expression "uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18))" identifier = (call_expression "FUN_00330ed0(*(undefined4 *)(param_2 + 0x18))" identifier (argument_list "(*(undefined4 *)(param_2 + 0x18))" ( (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) )))) ;) (expression_statement "uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));" (assignment_expression "uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18))" identifier = (call_expression "FUN_00330ed0(*(undefined4 *)(param_3 + 0x18))" identifier (argument_list "(*(undefined4 *)(param_3 + 0x18))" ( (pointer_expression "*(undefined4 *)(param_3 + 0x18)" * (cast_expression "(undefined4 *)(param_3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) )))) ;) (if_statement "if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }" if (parenthesized_expression "((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2))" ( (binary_expression "(uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)" (parenthesized_expression "(uVar1 != 0 && uVar2 != 0)" ( (binary_expression "uVar1 != 0 && uVar2 != 0" (binary_expression "uVar1 != 0" identifier != number_literal) && (binary_expression "uVar2 != 0" identifier != number_literal)) )) && (parenthesized_expression "(uVar1 != uVar2)" ( (binary_expression "uVar1 != uVar2" identifier != identifier) ))) )) (compound_statement "{\n      return (uint)(uVar1 < uVar2);\n    }" { (return_statement "return (uint)(uVar1 < uVar2);" return (call_expression "(uint)(uVar1 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) ))) ;) })) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })) (if_statement "if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }" if (parenthesized_expression "((uVar1 & 0xfffffffd) == 1)" ( (binary_expression "(uVar1 & 0xfffffffd) == 1" (parenthesized_expression "(uVar1 & 0xfffffffd)" ( (binary_expression "uVar1 & 0xfffffffd" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }" { (labeled_statement "LAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);" statement_identifier : (expression_statement "uVar2 = *(uint *)(param_2 + 0x1c);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_2 + 0x1c)" * (cast_expression "(uint *)(param_2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;)) (expression_statement "uVar3 = *(uint *)(param_3 + 0x1c);" (assignment_expression "uVar3 = *(uint *)(param_3 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_3 + 0x1c)" * (cast_expression "(uint *)(param_3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }" if (parenthesized_expression "(uVar2 != uVar3)" ( (binary_expression "uVar2 != uVar3" identifier != identifier) )) (compound_statement "{\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }" { (expression_statement "uVar1 = uVar3;" (assignment_expression "uVar1 = uVar3" identifier = identifier) ;) (if_statement "if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }" if (parenthesized_expression "(uVar2 <= uVar3)" ( (binary_expression "uVar2 <= uVar3" identifier <= identifier) )) (compound_statement "{\n        uVar1 = uVar2;\n      }" { (expression_statement "uVar1 = uVar2;" (assignment_expression "uVar1 = uVar2" identifier = identifier) ;) })) (if_statement "if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }" if (parenthesized_expression "((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))" ( (binary_expression "(uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0)" (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0)" ( (comma_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0" (assignment_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1)" identifier = (call_expression "memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1)" identifier (argument_list "(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1)" ( (pointer_expression "*(void **)(param_2 + 0x18)" * (cast_expression "(void **)(param_2 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (pointer_expression "*(void **)(param_3 + 0x18)" * (cast_expression "(void **)(param_3 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) , identifier )))) , (binary_expression "uVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        uVar6 = uVar2 - uVar3;\n      }" { (expression_statement "uVar6 = uVar2 - uVar3;" (assignment_expression "uVar6 = uVar2 - uVar3" identifier = (binary_expression "uVar2 - uVar3" identifier - identifier)) ;) })) (goto_statement "goto LAB_0033107b;" goto statement_identifier ;) })) (if_statement "if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;" if (parenthesized_expression "((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))" ( (binary_expression "(uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0)" (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0)" ( (comma_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0" (assignment_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2)" identifier = (call_expression "memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2)" identifier (argument_list "(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2)" ( (pointer_expression "*(void **)(param_2 + 0x18)" * (cast_expression "(void **)(param_2 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (pointer_expression "*(void **)(param_3 + 0x18)" * (cast_expression "(void **)(param_3 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) , identifier )))) , (binary_expression "uVar6 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_0033107b;" goto statement_identifier ;)) (labeled_statement "LAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }" statement_identifier : (if_statement "if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }" if (parenthesized_expression "(uVar1 - 2 < 3)" ( (binary_expression "uVar1 - 2 < 3" (binary_expression "uVar1 - 2" identifier - number_literal) < number_literal) )) (compound_statement "{\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }" { (expression_statement "uVar2 = *(uint *)(param_2 + 0x38);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x38)" identifier = (pointer_expression "*(uint *)(param_2 + 0x38)" * (cast_expression "(uint *)(param_2 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)(param_2 + 0x3c);" (assignment_expression "uVar3 = *(uint *)(param_2 + 0x3c)" identifier = (pointer_expression "*(uint *)(param_2 + 0x3c)" * (cast_expression "(uint *)(param_2 + 0x3c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0033110a;" goto statement_identifier ;) }))) }) (else_clause "else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }" else (compound_statement "{\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }" { (if_statement "if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }" if (parenthesized_expression "(uVar1 != 4)" ( (binary_expression "uVar1 != 4" identifier != number_literal) )) (compound_statement "{\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }" { (if_statement "if (uVar1 == 5) goto LAB_00331040;" if (parenthesized_expression "(uVar1 == 5)" ( (binary_expression "uVar1 == 5" identifier == number_literal) )) (goto_statement "goto LAB_00331040;" goto statement_identifier ;)) (goto_statement "goto LAB_00330ff6;" goto statement_identifier ;) })) (expression_statement "uVar2 = *(uint *)(param_2 + 0x38);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x38)" identifier = (pointer_expression "*(uint *)(param_2 + 0x38)" * (cast_expression "(uint *)(param_2 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)(param_2 + 0x3c);" (assignment_expression "uVar3 = *(uint *)(param_2 + 0x3c)" identifier = (pointer_expression "*(uint *)(param_2 + 0x3c)" * (cast_expression "(uint *)(param_2 + 0x3c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;" if (parenthesized_expression "(*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2)" ( (binary_expression "*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2" (binary_expression "*(uint *)(param_3 + 0x3c) == uVar3" (pointer_expression "*(uint *)(param_3 + 0x3c)" * (cast_expression "(uint *)(param_3 + 0x3c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) )))) == identifier) && (binary_expression "*(uint *)(param_3 + 0x38) == uVar2" (pointer_expression "*(uint *)(param_3 + 0x38)" * (cast_expression "(uint *)(param_3 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) )))) == identifier)) )) (goto_statement "goto LAB_00331040;" goto statement_identifier ;)) (labeled_statement "LAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);" statement_identifier : (expression_statement "uVar1 = *(uint *)(param_3 + 0x3c);" (assignment_expression "uVar1 = *(uint *)(param_3 + 0x3c)" identifier = (pointer_expression "*(uint *)(param_3 + 0x3c)" * (cast_expression "(uint *)(param_3 + 0x3c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) ))))) ;)) (if_statement "if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }" if (parenthesized_expression "(uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38))" ( (binary_expression "uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)" (binary_expression "uVar3 != uVar1" identifier != identifier) || (binary_expression "uVar2 != *(uint *)(param_3 + 0x38)" identifier != (pointer_expression "*(uint *)(param_3 + 0x38)" * (cast_expression "(uint *)(param_3 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) )))))) )) (compound_statement "{\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }" { (return_statement "return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));" return (call_expression "(uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)))" ( (binary_expression "uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38))" (binary_expression "uVar3 < uVar1" identifier < identifier) || (binary_expression "uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38))" (binary_expression "uVar3 - uVar1" identifier - identifier) < (call_expression "(uint)(uVar2 < *(uint *)(param_3 + 0x38))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < *(uint *)(param_3 + 0x38))" ( (binary_expression "uVar2 < *(uint *)(param_3 + 0x38)" identifier < (pointer_expression "*(uint *)(param_3 + 0x38)" * (cast_expression "(uint *)(param_3 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) ))))) ))))) ))) ;) })) }))) (if_statement "if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }" if (parenthesized_expression "(*param_1 == 1)" ( (binary_expression "*param_1 == 1" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }" { (expression_statement "iVar4 = FUN_002c6110(param_3);" (assignment_expression "iVar4 = FUN_002c6110(param_3)" identifier = (call_expression "FUN_002c6110(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "iVar5 = FUN_002c6110(param_2);" (assignment_expression "iVar5 = FUN_002c6110(param_2)" identifier = (call_expression "FUN_002c6110(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "__n = *(size_t *)(iVar5 + 8);" (assignment_expression "__n = *(size_t *)(iVar5 + 8)" identifier = (pointer_expression "*(size_t *)(iVar5 + 8)" * (cast_expression "(size_t *)(iVar5 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }" if (parenthesized_expression "((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       )" ( (binary_expression "(__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))" (parenthesized_expression "(__n != *(size_t *)(iVar4 + 8))" ( (binary_expression "__n != *(size_t *)(iVar4 + 8)" identifier != (pointer_expression "*(size_t *)(iVar4 + 8)" * (cast_expression "(size_t *)(iVar4 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) )) || (parenthesized_expression "((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))" ( (parenthesized_expression "(__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0))" ( (binary_expression "__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)" (binary_expression "__n != 0" identifier != number_literal) && (parenthesized_expression "(iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)" ( (comma_expression "iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0" (assignment_expression "iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n)" identifier = (call_expression "memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n)" identifier (argument_list "(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n)" ( (pointer_expression "*(void **)(iVar5 + 4)" * (cast_expression "(void **)(iVar5 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))) , (pointer_expression "*(void **)(iVar4 + 4)" * (cast_expression "(void **)(iVar4 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) ))) )) (compound_statement "{\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }" { (expression_statement "iVar4 = FUN_002c6110(param_3);" (assignment_expression "iVar4 = FUN_002c6110(param_3)" identifier = (call_expression "FUN_002c6110(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "iVar5 = FUN_002c6110(param_2);" (assignment_expression "iVar5 = FUN_002c6110(param_2)" identifier = (call_expression "FUN_002c6110(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar1 = *(uint *)(iVar4 + 8);" (assignment_expression "uVar1 = *(uint *)(iVar4 + 8)" identifier = (pointer_expression "*(uint *)(iVar4 + 8)" * (cast_expression "(uint *)(iVar4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar5 + 8);" (assignment_expression "uVar2 = *(uint *)(iVar5 + 8)" identifier = (pointer_expression "*(uint *)(iVar5 + 8)" * (cast_expression "(uint *)(iVar5 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" identifier = identifier) ;) (if_statement "if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }" if (parenthesized_expression "(uVar2 <= uVar1)" ( (binary_expression "uVar2 <= uVar1" identifier <= identifier) )) (compound_statement "{\n        uVar3 = uVar2;\n      }" { (expression_statement "uVar3 = uVar2;" (assignment_expression "uVar3 = uVar2" identifier = identifier) ;) })) (if_statement "if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }" if (parenthesized_expression "((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0))" ( (binary_expression "(uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)" (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)" ( (comma_expression "uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0" (assignment_expression "uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3)" identifier = (call_expression "memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3)" identifier (argument_list "(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3)" ( (pointer_expression "*(void **)(iVar5 + 4)" * (cast_expression "(void **)(iVar5 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))) , (pointer_expression "*(void **)(iVar4 + 4)" * (cast_expression "(void **)(iVar4 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , identifier )))) , (binary_expression "uVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        uVar6 = uVar2 - uVar1;\n      }" { (expression_statement "uVar6 = uVar2 - uVar1;" (assignment_expression "uVar6 = uVar2 - uVar1" identifier = (binary_expression "uVar2 - uVar1" identifier - identifier)) ;) })) (labeled_statement "LAB_0033107b:\n      return uVar6 >> 0x1f;" statement_identifier : (return_statement "return uVar6 >> 0x1f;" return (binary_expression "uVar6 >> 0x1f" identifier >> number_literal) ;)) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: bool operator()(Input_section_sorter * this, Input_section_info * isi1,\n   Input_section_info * isi2) */\n\nbool __thiscall\ngold::Input_section_sorter::operator()\n          (Input_section_sorter *this,Input_section_info *isi1,Input_section_info *isi2)\n\n{\n  difference_type __d;\n  \n}\n\n" comment comment (function_definition "bool __thiscall\ngold::Input_section_sorter::operator()\n          (Input_section_sorter *this,Input_section_info *isi1,Input_section_info *isi2)\n\n{\n  difference_type __d;\n  \n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Input_section_sorter::" identifier : : identifier : :) (function_declarator "operator()\n          (Input_section_sorter *this,Input_section_info *isi1,Input_section_info *isi2)" (function_declarator "operator()" identifier (parameter_list "()" ( ))) (parameter_list "(Input_section_sorter *this,Input_section_info *isi1,Input_section_info *isi2)" ( (parameter_declaration "Input_section_sorter *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Input_section_info *isi1" type_identifier (pointer_declarator "*isi1" * identifier)) , (parameter_declaration "Input_section_info *isi2" type_identifier (pointer_declarator "*isi2" * identifier)) ))) (compound_statement "{\n  difference_type __d;\n  \n}" { (declaration "difference_type __d;" type_identifier identifier ;) })))
(translation_unit "uint FUN_00330fc0(int *param_1,int param_2,int param_3)\n\n{\n  size_t __n;\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[1];\n  if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }\n  if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }\n  if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "uint FUN_00330fc0(int *param_1,int param_2,int param_3)\n\n{\n  size_t __n;\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[1];\n  if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }\n  if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }\n  if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00330fc0(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  size_t __n;\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[1];\n  if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }\n  if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }\n  if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }\n  return 0;\n}" { (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }" if (parenthesized_expression "(uVar1 == 5)" ( (binary_expression "uVar1 == 5" identifier == number_literal) )) (compound_statement "{\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }" { (expression_statement "uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));" (assignment_expression "uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18))" identifier = (call_expression "FUN_00330ed0(*(undefined4 *)(param_2 + 0x18))" identifier (argument_list "(*(undefined4 *)(param_2 + 0x18))" ( (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) )))) ;) (expression_statement "uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));" (assignment_expression "uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18))" identifier = (call_expression "FUN_00330ed0(*(undefined4 *)(param_3 + 0x18))" identifier (argument_list "(*(undefined4 *)(param_3 + 0x18))" ( (pointer_expression "*(undefined4 *)(param_3 + 0x18)" * (cast_expression "(undefined4 *)(param_3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) )))) ;) (if_statement "if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }" if (parenthesized_expression "((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2))" ( (binary_expression "(uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)" (parenthesized_expression "(uVar1 != 0 && uVar2 != 0)" ( (binary_expression "uVar1 != 0 && uVar2 != 0" (binary_expression "uVar1 != 0" identifier != number_literal) && (binary_expression "uVar2 != 0" identifier != number_literal)) )) && (parenthesized_expression "(uVar1 != uVar2)" ( (binary_expression "uVar1 != uVar2" identifier != identifier) ))) )) (compound_statement "{\n      return (uint)(uVar1 < uVar2);\n    }" { (return_statement "return (uint)(uVar1 < uVar2);" return (call_expression "(uint)(uVar1 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) ))) ;) })) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })) (if_statement "if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }" if (parenthesized_expression "((uVar1 & 0xfffffffd) == 1)" ( (binary_expression "(uVar1 & 0xfffffffd) == 1" (parenthesized_expression "(uVar1 & 0xfffffffd)" ( (binary_expression "uVar1 & 0xfffffffd" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }" { (labeled_statement "LAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);" statement_identifier : (expression_statement "uVar2 = *(uint *)(param_2 + 0x1c);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_2 + 0x1c)" * (cast_expression "(uint *)(param_2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;)) (expression_statement "uVar3 = *(uint *)(param_3 + 0x1c);" (assignment_expression "uVar3 = *(uint *)(param_3 + 0x1c)" identifier = (pointer_expression "*(uint *)(param_3 + 0x1c)" * (cast_expression "(uint *)(param_3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }" if (parenthesized_expression "(uVar2 != uVar3)" ( (binary_expression "uVar2 != uVar3" identifier != identifier) )) (compound_statement "{\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }" { (expression_statement "uVar1 = uVar3;" (assignment_expression "uVar1 = uVar3" identifier = identifier) ;) (if_statement "if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }" if (parenthesized_expression "(uVar2 <= uVar3)" ( (binary_expression "uVar2 <= uVar3" identifier <= identifier) )) (compound_statement "{\n        uVar1 = uVar2;\n      }" { (expression_statement "uVar1 = uVar2;" (assignment_expression "uVar1 = uVar2" identifier = identifier) ;) })) (if_statement "if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }" if (parenthesized_expression "((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))" ( (binary_expression "(uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0)" (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) || (parenthesized_expression "(uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0)" ( (comma_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0" (assignment_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1)" identifier = (call_expression "memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1)" identifier (argument_list "(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1)" ( (pointer_expression "*(void **)(param_2 + 0x18)" * (cast_expression "(void **)(param_2 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (pointer_expression "*(void **)(param_3 + 0x18)" * (cast_expression "(void **)(param_3 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) , identifier )))) , (binary_expression "uVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        uVar6 = uVar2 - uVar3;\n      }" { (expression_statement "uVar6 = uVar2 - uVar3;" (assignment_expression "uVar6 = uVar2 - uVar3" identifier = (binary_expression "uVar2 - uVar3" identifier - identifier)) ;) })) (goto_statement "goto LAB_0033107b;" goto statement_identifier ;) })) (if_statement "if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;" if (parenthesized_expression "((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))" ( (binary_expression "(uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0)" (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0)" ( (comma_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0" (assignment_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2)" identifier = (call_expression "memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2)" identifier (argument_list "(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2)" ( (pointer_expression "*(void **)(param_2 + 0x18)" * (cast_expression "(void **)(param_2 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) , (pointer_expression "*(void **)(param_3 + 0x18)" * (cast_expression "(void **)(param_3 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) , identifier )))) , (binary_expression "uVar6 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_0033107b;" goto statement_identifier ;)) (labeled_statement "LAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }" statement_identifier : (if_statement "if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }" if (parenthesized_expression "(uVar1 - 2 < 3)" ( (binary_expression "uVar1 - 2 < 3" (binary_expression "uVar1 - 2" identifier - number_literal) < number_literal) )) (compound_statement "{\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }" { (expression_statement "uVar2 = *(uint *)(param_2 + 0x38);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x38)" identifier = (pointer_expression "*(uint *)(param_2 + 0x38)" * (cast_expression "(uint *)(param_2 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)(param_2 + 0x3c);" (assignment_expression "uVar3 = *(uint *)(param_2 + 0x3c)" identifier = (pointer_expression "*(uint *)(param_2 + 0x3c)" * (cast_expression "(uint *)(param_2 + 0x3c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0033110a;" goto statement_identifier ;) }))) }) (else_clause "else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }" else (compound_statement "{\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }" { (if_statement "if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }" if (parenthesized_expression "(uVar1 != 4)" ( (binary_expression "uVar1 != 4" identifier != number_literal) )) (compound_statement "{\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }" { (if_statement "if (uVar1 == 5) goto LAB_00331040;" if (parenthesized_expression "(uVar1 == 5)" ( (binary_expression "uVar1 == 5" identifier == number_literal) )) (goto_statement "goto LAB_00331040;" goto statement_identifier ;)) (goto_statement "goto LAB_00330ff6;" goto statement_identifier ;) })) (expression_statement "uVar2 = *(uint *)(param_2 + 0x38);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x38)" identifier = (pointer_expression "*(uint *)(param_2 + 0x38)" * (cast_expression "(uint *)(param_2 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)(param_2 + 0x3c);" (assignment_expression "uVar3 = *(uint *)(param_2 + 0x3c)" identifier = (pointer_expression "*(uint *)(param_2 + 0x3c)" * (cast_expression "(uint *)(param_2 + 0x3c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3c)" ( (binary_expression "param_2 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;" if (parenthesized_expression "(*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2)" ( (binary_expression "*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2" (binary_expression "*(uint *)(param_3 + 0x3c) == uVar3" (pointer_expression "*(uint *)(param_3 + 0x3c)" * (cast_expression "(uint *)(param_3 + 0x3c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) )))) == identifier) && (binary_expression "*(uint *)(param_3 + 0x38) == uVar2" (pointer_expression "*(uint *)(param_3 + 0x38)" * (cast_expression "(uint *)(param_3 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) )))) == identifier)) )) (goto_statement "goto LAB_00331040;" goto statement_identifier ;)) (labeled_statement "LAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);" statement_identifier : (expression_statement "uVar1 = *(uint *)(param_3 + 0x3c);" (assignment_expression "uVar1 = *(uint *)(param_3 + 0x3c)" identifier = (pointer_expression "*(uint *)(param_3 + 0x3c)" * (cast_expression "(uint *)(param_3 + 0x3c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x3c)" ( (binary_expression "param_3 + 0x3c" identifier + number_literal) ))))) ;)) (if_statement "if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }" if (parenthesized_expression "(uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38))" ( (binary_expression "uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)" (binary_expression "uVar3 != uVar1" identifier != identifier) || (binary_expression "uVar2 != *(uint *)(param_3 + 0x38)" identifier != (pointer_expression "*(uint *)(param_3 + 0x38)" * (cast_expression "(uint *)(param_3 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) )))))) )) (compound_statement "{\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }" { (return_statement "return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));" return (call_expression "(uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)))" ( (binary_expression "uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38))" (binary_expression "uVar3 < uVar1" identifier < identifier) || (binary_expression "uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38))" (binary_expression "uVar3 - uVar1" identifier - identifier) < (call_expression "(uint)(uVar2 < *(uint *)(param_3 + 0x38))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < *(uint *)(param_3 + 0x38))" ( (binary_expression "uVar2 < *(uint *)(param_3 + 0x38)" identifier < (pointer_expression "*(uint *)(param_3 + 0x38)" * (cast_expression "(uint *)(param_3 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x38)" ( (binary_expression "param_3 + 0x38" identifier + number_literal) ))))) ))))) ))) ;) })) }))) (if_statement "if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }" if (parenthesized_expression "(*param_1 == 1)" ( (binary_expression "*param_1 == 1" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }" { (expression_statement "iVar4 = FUN_002c6110(param_3);" (assignment_expression "iVar4 = FUN_002c6110(param_3)" identifier = (call_expression "FUN_002c6110(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "iVar5 = FUN_002c6110(param_2);" (assignment_expression "iVar5 = FUN_002c6110(param_2)" identifier = (call_expression "FUN_002c6110(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "__n = *(size_t *)(iVar5 + 8);" (assignment_expression "__n = *(size_t *)(iVar5 + 8)" identifier = (pointer_expression "*(size_t *)(iVar5 + 8)" * (cast_expression "(size_t *)(iVar5 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }" if (parenthesized_expression "((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       )" ( (binary_expression "(__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))" (parenthesized_expression "(__n != *(size_t *)(iVar4 + 8))" ( (binary_expression "__n != *(size_t *)(iVar4 + 8)" identifier != (pointer_expression "*(size_t *)(iVar4 + 8)" * (cast_expression "(size_t *)(iVar4 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) )) || (parenthesized_expression "((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))" ( (parenthesized_expression "(__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0))" ( (binary_expression "__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)" (binary_expression "__n != 0" identifier != number_literal) && (parenthesized_expression "(iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)" ( (comma_expression "iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0" (assignment_expression "iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n)" identifier = (call_expression "memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n)" identifier (argument_list "(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n)" ( (pointer_expression "*(void **)(iVar5 + 4)" * (cast_expression "(void **)(iVar5 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))) , (pointer_expression "*(void **)(iVar4 + 4)" * (cast_expression "(void **)(iVar4 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , identifier )))) , (binary_expression "iVar4 != 0" identifier != number_literal)) ))) )) ))) )) (compound_statement "{\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }" { (expression_statement "iVar4 = FUN_002c6110(param_3);" (assignment_expression "iVar4 = FUN_002c6110(param_3)" identifier = (call_expression "FUN_002c6110(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "iVar5 = FUN_002c6110(param_2);" (assignment_expression "iVar5 = FUN_002c6110(param_2)" identifier = (call_expression "FUN_002c6110(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar1 = *(uint *)(iVar4 + 8);" (assignment_expression "uVar1 = *(uint *)(iVar4 + 8)" identifier = (pointer_expression "*(uint *)(iVar4 + 8)" * (cast_expression "(uint *)(iVar4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar5 + 8);" (assignment_expression "uVar2 = *(uint *)(iVar5 + 8)" identifier = (pointer_expression "*(uint *)(iVar5 + 8)" * (cast_expression "(uint *)(iVar5 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" identifier = identifier) ;) (if_statement "if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }" if (parenthesized_expression "(uVar2 <= uVar1)" ( (binary_expression "uVar2 <= uVar1" identifier <= identifier) )) (compound_statement "{\n        uVar3 = uVar2;\n      }" { (expression_statement "uVar3 = uVar2;" (assignment_expression "uVar3 = uVar2" identifier = identifier) ;) })) (if_statement "if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }" if (parenthesized_expression "((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0))" ( (binary_expression "(uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)" (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)" ( (comma_expression "uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0" (assignment_expression "uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3)" identifier = (call_expression "memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3)" identifier (argument_list "(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3)" ( (pointer_expression "*(void **)(iVar5 + 4)" * (cast_expression "(void **)(iVar5 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))) , (pointer_expression "*(void **)(iVar4 + 4)" * (cast_expression "(void **)(iVar4 + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) , identifier )))) , (binary_expression "uVar6 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        uVar6 = uVar2 - uVar1;\n      }" { (expression_statement "uVar6 = uVar2 - uVar1;" (assignment_expression "uVar6 = uVar2 - uVar1" identifier = (binary_expression "uVar2 - uVar1" identifier - identifier)) ;) })) (labeled_statement "LAB_0033107b:\n      return uVar6 >> 0x1f;" statement_identifier : (return_statement "return uVar6 >> 0x1f;" return (binary_expression "uVar6 >> 0x1f" identifier >> number_literal) ;)) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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) )))) )))) ;) (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) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (binary_expression IDENT != LIT)) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (compound_statement { (return_statement return (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (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 (binary_expression IDENT != IDENT) || (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (return_statement return (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_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 (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (labeled_statement statement_identifier : (return_statement return (binary_expression IDENT >> LIT) ;)) })) })) (return_statement return LIT ;) })))
(function_definition "uint FUN_00330fc0(int *param_1,int param_2,int param_3)\n\n{\n  size_t __n;\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[1];\n  if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }\n  if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }\n  if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }\n  return 0;\n}" (type_identifier "uint") (function_declarator "FUN_00330fc0(int *param_1,int param_2,int param_3)" (identifier "FUN_00330fc0") (parameter_list "(int *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  size_t __n;\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[1];\n  if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }\n  if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }\n  if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" (identifier "uVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (uVar1 == 5) {\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }" (if "if") (parenthesized_expression "(uVar1 == 5)" (( "(") (binary_expression "uVar1 == 5" (identifier "uVar1") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));\n    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));\n    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }\n    uVar1 = param_1[1];\n  }" ({ "{") (expression_statement "uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));" (assignment_expression "uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18))" (identifier "uVar1") (= "=") (call_expression "FUN_00330ed0(*(undefined4 *)(param_2 + 0x18))" (identifier "FUN_00330ed0") (argument_list "(*(undefined4 *)(param_2 + 0x18))" (( "(") (pointer_expression "*(undefined4 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) () ")")))) (; ";")) (expression_statement "uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));" (assignment_expression "uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18))" (identifier "uVar2") (= "=") (call_expression "FUN_00330ed0(*(undefined4 *)(param_3 + 0x18))" (identifier "FUN_00330ed0") (argument_list "(*(undefined4 *)(param_3 + 0x18))" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) () ")")))) (; ";")) (if_statement "if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {\n      return (uint)(uVar1 < uVar2);\n    }" (if "if") (parenthesized_expression "((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2))" (( "(") (binary_expression "(uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)" (parenthesized_expression "(uVar1 != 0 && uVar2 != 0)" (( "(") (binary_expression "uVar1 != 0 && uVar2 != 0" (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) (&& "&&") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0"))) () ")")) (&& "&&") (parenthesized_expression "(uVar1 != uVar2)" (( "(") (binary_expression "uVar1 != uVar2" (identifier "uVar1") (!= "!=") (identifier "uVar2")) () ")"))) () ")")) (compound_statement "{\n      return (uint)(uVar1 < uVar2);\n    }" ({ "{") (return_statement "return (uint)(uVar1 < uVar2);" (return "return") (call_expression "(uint)(uVar1 < uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar1 < uVar2)" (( "(") (binary_expression "uVar1 < uVar2" (identifier "uVar1") (< "<") (identifier "uVar2")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" (identifier "uVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (if_statement "if ((uVar1 & 0xfffffffd) == 1) {\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }\n  else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }" (if "if") (parenthesized_expression "((uVar1 & 0xfffffffd) == 1)" (( "(") (binary_expression "(uVar1 & 0xfffffffd) == 1" (parenthesized_expression "(uVar1 & 0xfffffffd)" (( "(") (binary_expression "uVar1 & 0xfffffffd" (identifier "uVar1") (& "&") (number_literal "0xfffffffd")) () ")")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\nLAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);\n    uVar3 = *(uint *)(param_3 + 0x1c);\n    if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }\n    if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;\nLAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }\n  }" ({ "{") (labeled_statement "LAB_00331040:\n    uVar2 = *(uint *)(param_2 + 0x1c);" (statement_identifier "LAB_00331040") (: ":") (expression_statement "uVar2 = *(uint *)(param_2 + 0x1c);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x1c)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_2 + 0x1c)" (* "*") (cast_expression "(uint *)(param_2 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";"))) (expression_statement "uVar3 = *(uint *)(param_3 + 0x1c);" (assignment_expression "uVar3 = *(uint *)(param_3 + 0x1c)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_3 + 0x1c)" (* "*") (cast_expression "(uint *)(param_3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (uVar2 != uVar3) {\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }" (if "if") (parenthesized_expression "(uVar2 != uVar3)" (( "(") (binary_expression "uVar2 != uVar3" (identifier "uVar2") (!= "!=") (identifier "uVar3")) () ")")) (compound_statement "{\n      uVar1 = uVar3;\n      if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }\n      if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }\n      goto LAB_0033107b;\n    }" ({ "{") (expression_statement "uVar1 = uVar3;" (assignment_expression "uVar1 = uVar3" (identifier "uVar1") (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (uVar2 <= uVar3) {\n        uVar1 = uVar2;\n      }" (if "if") (parenthesized_expression "(uVar2 <= uVar3)" (( "(") (binary_expression "uVar2 <= uVar3" (identifier "uVar2") (<= "<=") (identifier "uVar3")) () ")")) (compound_statement "{\n        uVar1 = uVar2;\n      }" ({ "{") (expression_statement "uVar1 = uVar2;" (assignment_expression "uVar1 = uVar2" (identifier "uVar1") (= "=") (identifier "uVar2")) (; ";")) (} "}"))) (if_statement "if ((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))\n      {\n        uVar6 = uVar2 - uVar3;\n      }" (if "if") (parenthesized_expression "((uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))" (( "(") (binary_expression "(uVar1 == 0) ||\n         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0)" (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0)" (( "(") (comma_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0" (assignment_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1)" (identifier "uVar6") (= "=") (call_expression "memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1)" (identifier "memcmp") (argument_list "(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1)" (( "(") (pointer_expression "*(void **)(param_2 + 0x18)" (* "*") (cast_expression "(void **)(param_2 + 0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (pointer_expression "*(void **)(param_3 + 0x18)" (* "*") (cast_expression "(void **)(param_3 + 0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "uVar1") () ")")))) (, ",") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        uVar6 = uVar2 - uVar3;\n      }" ({ "{") (expression_statement "uVar6 = uVar2 - uVar3;" (assignment_expression "uVar6 = uVar2 - uVar3" (identifier "uVar6") (= "=") (binary_expression "uVar2 - uVar3" (identifier "uVar2") (- "-") (identifier "uVar3"))) (; ";")) (} "}"))) (goto_statement "goto LAB_0033107b;" (goto "goto") (statement_identifier "LAB_0033107b") (; ";")) (} "}"))) (if_statement "if ((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))\n    goto LAB_0033107b;" (if "if") (parenthesized_expression "((uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))" (( "(") (binary_expression "(uVar2 != 0) &&\n       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0)" (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0)" (( "(") (comma_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0" (assignment_expression "uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2)" (identifier "uVar6") (= "=") (call_expression "memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2)" (identifier "memcmp") (argument_list "(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2)" (( "(") (pointer_expression "*(void **)(param_2 + 0x18)" (* "*") (cast_expression "(void **)(param_2 + 0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (pointer_expression "*(void **)(param_3 + 0x18)" (* "*") (cast_expression "(void **)(param_3 + 0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "uVar2") () ")")))) (, ",") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0033107b;" (goto "goto") (statement_identifier "LAB_0033107b") (; ";"))) (labeled_statement "LAB_00330ff6:\n    if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }" (statement_identifier "LAB_00330ff6") (: ":") (if_statement "if (uVar1 - 2 < 3) {\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }" (if "if") (parenthesized_expression "(uVar1 - 2 < 3)" (( "(") (binary_expression "uVar1 - 2 < 3" (binary_expression "uVar1 - 2" (identifier "uVar1") (- "-") (number_literal "2")) (< "<") (number_literal "3")) () ")")) (compound_statement "{\n      uVar2 = *(uint *)(param_2 + 0x38);\n      uVar3 = *(uint *)(param_2 + 0x3c);\n      goto LAB_0033110a;\n    }" ({ "{") (expression_statement "uVar2 = *(uint *)(param_2 + 0x38);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x38)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_2 + 0x38)" (* "*") (cast_expression "(uint *)(param_2 + 0x38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x38)" (( "(") (binary_expression "param_2 + 0x38" (identifier "param_2") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(uint *)(param_2 + 0x3c);" (assignment_expression "uVar3 = *(uint *)(param_2 + 0x3c)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_2 + 0x3c)" (* "*") (cast_expression "(uint *)(param_2 + 0x3c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3c)" (( "(") (binary_expression "param_2 + 0x3c" (identifier "param_2") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (goto_statement "goto LAB_0033110a;" (goto "goto") (statement_identifier "LAB_0033110a") (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }" (else "else") (compound_statement "{\n    if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }\n    uVar2 = *(uint *)(param_2 + 0x38);\n    uVar3 = *(uint *)(param_2 + 0x3c);\n    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;\nLAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);\n    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }\n  }" ({ "{") (if_statement "if (uVar1 != 4) {\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }" (if "if") (parenthesized_expression "(uVar1 != 4)" (( "(") (binary_expression "uVar1 != 4" (identifier "uVar1") (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n      if (uVar1 == 5) goto LAB_00331040;\n      goto LAB_00330ff6;\n    }" ({ "{") (if_statement "if (uVar1 == 5) goto LAB_00331040;" (if "if") (parenthesized_expression "(uVar1 == 5)" (( "(") (binary_expression "uVar1 == 5" (identifier "uVar1") (== "==") (number_literal "5")) () ")")) (goto_statement "goto LAB_00331040;" (goto "goto") (statement_identifier "LAB_00331040") (; ";"))) (goto_statement "goto LAB_00330ff6;" (goto "goto") (statement_identifier "LAB_00330ff6") (; ";")) (} "}"))) (expression_statement "uVar2 = *(uint *)(param_2 + 0x38);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x38)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_2 + 0x38)" (* "*") (cast_expression "(uint *)(param_2 + 0x38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x38)" (( "(") (binary_expression "param_2 + 0x38" (identifier "param_2") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(uint *)(param_2 + 0x3c);" (assignment_expression "uVar3 = *(uint *)(param_2 + 0x3c)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(param_2 + 0x3c)" (* "*") (cast_expression "(uint *)(param_2 + 0x3c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3c)" (( "(") (binary_expression "param_2 + 0x3c" (identifier "param_2") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (if_statement "if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;" (if "if") (parenthesized_expression "(*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2)" (( "(") (binary_expression "*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2" (binary_expression "*(uint *)(param_3 + 0x3c) == uVar3" (pointer_expression "*(uint *)(param_3 + 0x3c)" (* "*") (cast_expression "(uint *)(param_3 + 0x3c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x3c)" (( "(") (binary_expression "param_3 + 0x3c" (identifier "param_3") (+ "+") (number_literal "0x3c")) () ")")))) (== "==") (identifier "uVar3")) (&& "&&") (binary_expression "*(uint *)(param_3 + 0x38) == uVar2" (pointer_expression "*(uint *)(param_3 + 0x38)" (* "*") (cast_expression "(uint *)(param_3 + 0x38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x38)" (( "(") (binary_expression "param_3 + 0x38" (identifier "param_3") (+ "+") (number_literal "0x38")) () ")")))) (== "==") (identifier "uVar2"))) () ")")) (goto_statement "goto LAB_00331040;" (goto "goto") (statement_identifier "LAB_00331040") (; ";"))) (labeled_statement "LAB_0033110a:\n    uVar1 = *(uint *)(param_3 + 0x3c);" (statement_identifier "LAB_0033110a") (: ":") (expression_statement "uVar1 = *(uint *)(param_3 + 0x3c);" (assignment_expression "uVar1 = *(uint *)(param_3 + 0x3c)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_3 + 0x3c)" (* "*") (cast_expression "(uint *)(param_3 + 0x3c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x3c)" (( "(") (binary_expression "param_3 + 0x3c" (identifier "param_3") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";"))) (if_statement "if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }" (if "if") (parenthesized_expression "(uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38))" (( "(") (binary_expression "uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)" (binary_expression "uVar3 != uVar1" (identifier "uVar3") (!= "!=") (identifier "uVar1")) (|| "||") (binary_expression "uVar2 != *(uint *)(param_3 + 0x38)" (identifier "uVar2") (!= "!=") (pointer_expression "*(uint *)(param_3 + 0x38)" (* "*") (cast_expression "(uint *)(param_3 + 0x38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x38)" (( "(") (binary_expression "param_3 + 0x38" (identifier "param_3") (+ "+") (number_literal "0x38")) () ")")))))) () ")")) (compound_statement "{\n      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));\n    }" ({ "{") (return_statement "return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));" (return "return") (call_expression "(uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)))" (( "(") (binary_expression "uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38))" (binary_expression "uVar3 < uVar1" (identifier "uVar3") (< "<") (identifier "uVar1")) (|| "||") (binary_expression "uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38))" (binary_expression "uVar3 - uVar1" (identifier "uVar3") (- "-") (identifier "uVar1")) (< "<") (call_expression "(uint)(uVar2 < *(uint *)(param_3 + 0x38))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar2 < *(uint *)(param_3 + 0x38))" (( "(") (binary_expression "uVar2 < *(uint *)(param_3 + 0x38)" (identifier "uVar2") (< "<") (pointer_expression "*(uint *)(param_3 + 0x38)" (* "*") (cast_expression "(uint *)(param_3 + 0x38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x38)" (( "(") (binary_expression "param_3 + 0x38" (identifier "param_3") (+ "+") (number_literal "0x38")) () ")"))))) () ")"))))) () ")"))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (*param_1 == 1) {\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }" (if "if") (parenthesized_expression "(*param_1 == 1)" (( "(") (binary_expression "*param_1 == 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    iVar4 = FUN_002c6110(param_3);\n    iVar5 = FUN_002c6110(param_2);\n    __n = *(size_t *)(iVar5 + 8);\n    if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }\n  }" ({ "{") (expression_statement "iVar4 = FUN_002c6110(param_3);" (assignment_expression "iVar4 = FUN_002c6110(param_3)" (identifier "iVar4") (= "=") (call_expression "FUN_002c6110(param_3)" (identifier "FUN_002c6110") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "iVar5 = FUN_002c6110(param_2);" (assignment_expression "iVar5 = FUN_002c6110(param_2)" (identifier "iVar5") (= "=") (call_expression "FUN_002c6110(param_2)" (identifier "FUN_002c6110") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "__n = *(size_t *)(iVar5 + 8);" (assignment_expression "__n = *(size_t *)(iVar5 + 8)" (identifier "__n") (= "=") (pointer_expression "*(size_t *)(iVar5 + 8)" (* "*") (cast_expression "(size_t *)(iVar5 + 8)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       ) {\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }" (if "if") (parenthesized_expression "((__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))\n       )" (( "(") (binary_expression "(__n != *(size_t *)(iVar4 + 8)) ||\n       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))" (parenthesized_expression "(__n != *(size_t *)(iVar4 + 8))" (( "(") (binary_expression "__n != *(size_t *)(iVar4 + 8)" (identifier "__n") (!= "!=") (pointer_expression "*(size_t *)(iVar4 + 8)" (* "*") (cast_expression "(size_t *)(iVar4 + 8)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) () ")")) (|| "||") (parenthesized_expression "((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))" (( "(") (parenthesized_expression "(__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0))" (( "(") (binary_expression "__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)" (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "(iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)" (( "(") (comma_expression "iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0" (assignment_expression "iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n)" (identifier "iVar4") (= "=") (call_expression "memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n)" (identifier "memcmp") (argument_list "(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n)" (( "(") (pointer_expression "*(void **)(iVar5 + 4)" (* "*") (cast_expression "(void **)(iVar5 + 4)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(void **)(iVar4 + 4)" (* "*") (cast_expression "(void **)(iVar4 + 4)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "__n") () ")")))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      iVar4 = FUN_002c6110(param_3);\n      iVar5 = FUN_002c6110(param_2);\n      uVar1 = *(uint *)(iVar4 + 8);\n      uVar2 = *(uint *)(iVar5 + 8);\n      uVar3 = uVar1;\n      if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }\n      if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }\nLAB_0033107b:\n      return uVar6 >> 0x1f;\n    }" ({ "{") (expression_statement "iVar4 = FUN_002c6110(param_3);" (assignment_expression "iVar4 = FUN_002c6110(param_3)" (identifier "iVar4") (= "=") (call_expression "FUN_002c6110(param_3)" (identifier "FUN_002c6110") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "iVar5 = FUN_002c6110(param_2);" (assignment_expression "iVar5 = FUN_002c6110(param_2)" (identifier "iVar5") (= "=") (call_expression "FUN_002c6110(param_2)" (identifier "FUN_002c6110") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar1 = *(uint *)(iVar4 + 8);" (assignment_expression "uVar1 = *(uint *)(iVar4 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(iVar4 + 8)" (* "*") (cast_expression "(uint *)(iVar4 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(uint *)(iVar5 + 8);" (assignment_expression "uVar2 = *(uint *)(iVar5 + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(iVar5 + 8)" (* "*") (cast_expression "(uint *)(iVar5 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" (identifier "uVar3") (= "=") (identifier "uVar1")) (; ";")) (if_statement "if (uVar2 <= uVar1) {\n        uVar3 = uVar2;\n      }" (if "if") (parenthesized_expression "(uVar2 <= uVar1)" (( "(") (binary_expression "uVar2 <= uVar1" (identifier "uVar2") (<= "<=") (identifier "uVar1")) () ")")) (compound_statement "{\n        uVar3 = uVar2;\n      }" ({ "{") (expression_statement "uVar3 = uVar2;" (assignment_expression "uVar3 = uVar2" (identifier "uVar3") (= "=") (identifier "uVar2")) (; ";")) (} "}"))) (if_statement "if ((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {\n        uVar6 = uVar2 - uVar1;\n      }" (if "if") (parenthesized_expression "((uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0))" (( "(") (binary_expression "(uVar3 == 0) ||\n         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)" (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)" (( "(") (comma_expression "uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0" (assignment_expression "uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3)" (identifier "uVar6") (= "=") (call_expression "memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3)" (identifier "memcmp") (argument_list "(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3)" (( "(") (pointer_expression "*(void **)(iVar5 + 4)" (* "*") (cast_expression "(void **)(iVar5 + 4)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(void **)(iVar4 + 4)" (* "*") (cast_expression "(void **)(iVar4 + 4)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "uVar3") () ")")))) (, ",") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        uVar6 = uVar2 - uVar1;\n      }" ({ "{") (expression_statement "uVar6 = uVar2 - uVar1;" (assignment_expression "uVar6 = uVar2 - uVar1" (identifier "uVar6") (= "=") (binary_expression "uVar2 - uVar1" (identifier "uVar2") (- "-") (identifier "uVar1"))) (; ";")) (} "}"))) (labeled_statement "LAB_0033107b:\n      return uVar6 >> 0x1f;" (statement_identifier "LAB_0033107b") (: ":") (return_statement "return uVar6 >> 0x1f;" (return "return") (binary_expression "uVar6 >> 0x1f" (identifier "uVar6") (>> ">>") (number_literal "0x1f")) (; ";"))) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool operator()(Input_section_sorter * this, Input_section_info * isi1,
   Input_section_info * isi2) */

bool __thiscall
gold::type_1::function_1()
          (type_1 *this,type_2 *isi1,type_2 *isi2)

{
  type_3 __d;
  
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  size_t __n;
  uint uVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  
  uVar1 = param_1[1];
  if (uVar1 == 5) {
    uVar1 = FUN_00330ed0(*(undefined4 *)(param_2 + 0x18));
    uVar2 = FUN_00330ed0(*(undefined4 *)(param_3 + 0x18));
    if ((uVar1 != 0 && uVar2 != 0) && (uVar1 != uVar2)) {
      return (uint)(uVar1 < uVar2);
    }
    uVar1 = param_1[1];
  }
  if ((uVar1 & 0xfffffffd) == 1) {
LAB_00331040:
    uVar2 = *(uint *)(param_2 + 0x1c);
    uVar3 = *(uint *)(param_3 + 0x1c);
    if (uVar2 != uVar3) {
      uVar1 = uVar3;
      if (uVar2 <= uVar3) {
        uVar1 = uVar2;
      }
      if ((uVar1 == 0) ||
         (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar1), uVar6 == 0))
      {
        uVar6 = uVar2 - uVar3;
      }
      goto LAB_0033107b;
    }
    if ((uVar2 != 0) &&
       (uVar6 = memcmp(*(void **)(param_2 + 0x18),*(void **)(param_3 + 0x18),uVar2), uVar6 != 0))
    goto LAB_0033107b;
LAB_00330ff6:
    if (uVar1 - 2 < 3) {
      uVar2 = *(uint *)(param_2 + 0x38);
      uVar3 = *(uint *)(param_2 + 0x3c);
      goto LAB_0033110a;
    }
  }
  else {
    if (uVar1 != 4) {
      if (uVar1 == 5) goto LAB_00331040;
      goto LAB_00330ff6;
    }
    uVar2 = *(uint *)(param_2 + 0x38);
    uVar3 = *(uint *)(param_2 + 0x3c);
    if (*(uint *)(param_3 + 0x3c) == uVar3 && *(uint *)(param_3 + 0x38) == uVar2) goto LAB_00331040;
LAB_0033110a:
    uVar1 = *(uint *)(param_3 + 0x3c);
    if (uVar3 != uVar1 || uVar2 != *(uint *)(param_3 + 0x38)) {
      return (uint)(uVar3 < uVar1 || uVar3 - uVar1 < (uint)(uVar2 < *(uint *)(param_3 + 0x38)));
    }
  }
  if (*param_1 == 1) {
    iVar4 = FUN_002c6110(param_3);
    iVar5 = FUN_002c6110(param_2);
    __n = *(size_t *)(iVar5 + 8);
    if ((__n != *(size_t *)(iVar4 + 8)) ||
       ((__n != 0 && (iVar4 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),__n), iVar4 != 0)))
       ) {
      iVar4 = FUN_002c6110(param_3);
      iVar5 = FUN_002c6110(param_2);
      uVar1 = *(uint *)(iVar4 + 8);
      uVar2 = *(uint *)(iVar5 + 8);
      uVar3 = uVar1;
      if (uVar2 <= uVar1) {
        uVar3 = uVar2;
      }
      if ((uVar3 == 0) ||
         (uVar6 = memcmp(*(void **)(iVar5 + 4),*(void **)(iVar4 + 4),uVar3), uVar6 == 0)) {
        uVar6 = uVar2 - uVar1;
      }
LAB_0033107b:
      return uVar6 >> 0x1f;
    }
  }
  return 0;
}

