
/* WARNING: Unknown calling convention */

hilite_node * hlist_find(hilite_tree *anchor,POSITION pos)

{
  int *piVar1;
  int iVar2;
  hilite_node *phVar3;
  hilite_node *phVar4;
  hilite_node *phVar5;
  uint uVar6;
  hilite_node *phVar7;
  int iVar8;
  int local_18;
  
  phVar5 = anchor->lookaside;
  if (phVar5 == (hilite_node *)0x0) {
LAB_000286ba:
    phVar4 = anchor->root;
    if (phVar4 == (hilite_node *)0x0) {
      return (hilite_node *)0x0;
    }
    phVar7 = (hilite_node *)0x0;
    piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4);
    uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos);
    iVar8 = pos._4_4_ - *piVar1;
    if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0)
    goto LAB_000286e6;
    while (phVar5 = phVar4, phVar3 = phVar4->left, phVar7 = phVar4,
          phVar4->left != (hilite_node *)0x0) {
      while (phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),
            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,
            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0) {
LAB_000286e6:
        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);
        uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);
        iVar8 = pos._4_4_ - *piVar1;
        phVar5 = phVar4;
        if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)
        goto LAB_00028701;
        phVar3 = phVar4->right;
        if (phVar4->right == (hilite_node *)0x0) {
          phVar5 = phVar7;
          if (phVar7 == (hilite_node *)0x0) {
            anchor->lookaside = phVar4;
            return (hilite_node *)0x0;
          }
          goto LAB_00028701;
        }
      }
    }
LAB_00028701:
    anchor->lookaside = phVar5;
  }
  else {
    iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);
    local_18 = 0;
    uVar6 = (uint)((uint)pos < (uint)(phVar5->r).hl_endpos);
    iVar2 = pos._4_4_ - iVar8;
    if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)) == (int)(iVar2 - uVar6) < 0)
    goto LAB_00028758;
    while (phVar4 = phVar5->prev, phVar4 != (hilite_node *)0x0) {
      uVar6 = (uint)(phVar4->r).hl_endpos;
      iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4);
      if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==
          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) {
        return phVar5;
      }
      phVar5 = phVar4;
      if (local_18 == 2) goto LAB_000286ba;
      while( true ) {
        local_18 = local_18 + 1;
        anchor->lookaside = phVar5;
        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=
            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;
LAB_00028758:
        phVar5 = phVar5->next;
        if (phVar5 == (hilite_node *)0x0) {
          return (hilite_node *)0x0;
        }
        if (local_18 == 2) goto LAB_000286ba;
        uVar6 = (uint)(phVar5->r).hl_endpos;
        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);
      }
    }
  }
  return phVar5;
}



int FUN_000286a0(int param_1,uint param_2,int param_3)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  int local_18;
  
  iVar3 = *(int *)(param_1 + 0xc);
  if (iVar3 == 0) {
LAB_000286ba:
    iVar2 = *(int *)(param_1 + 8);
    if (iVar2 == 0) {
      return 0;
    }
    iVar5 = 0;
    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));
    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);
    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==
        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;
    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {
      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),
            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),
            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==
            (int)(iVar3 - uVar4) < 0) {
LAB_000286e6:
        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));
        iVar1 = param_3 - *(int *)(iVar2 + 0x24);
        iVar3 = iVar2;
        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=
            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;
        iVar1 = *(int *)(iVar2 + 8);
        if (*(int *)(iVar2 + 8) == 0) {
          iVar3 = iVar5;
          if (iVar5 == 0) {
            *(int *)(param_1 + 0xc) = iVar2;
            return 0;
          }
          goto LAB_00028701;
        }
      }
    }
LAB_00028701:
    *(int *)(param_1 + 0xc) = iVar3;
  }
  else {
    local_18 = 0;
    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));
    iVar2 = param_3 - *(int *)(iVar3 + 0x24);
    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==
        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;
    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {
      uVar4 = *(uint *)(iVar2 + 0x20);
      iVar5 = *(int *)(iVar2 + 0x24);
      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==
          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {
        return iVar3;
      }
      iVar3 = iVar2;
      if (local_18 == 2) goto LAB_000286ba;
      while( true ) {
        local_18 = local_18 + 1;
        *(int *)(param_1 + 0xc) = iVar3;
        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=
            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;
LAB_00028758:
        iVar3 = *(int *)(iVar3 + 0x10);
        if (iVar3 == 0) {
          return 0;
        }
        if (local_18 == 2) goto LAB_000286ba;
        uVar4 = *(uint *)(iVar3 + 0x20);
        iVar5 = *(int *)(iVar3 + 0x24);
      }
    }
  }
  return iVar3;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [ESI + 0xc]
TEST EAX,EAX
JNZ 0x00028710
MOV EAX,dword ptr [ESI + 0x8]
TEST EAX,EAX
JZ 0x00028783
XOR EDI,EDI
MOV EBX,ECX
CMP EDX,dword ptr [EAX + 0x18]
SBB EBX,dword ptr [EAX + 0x1c]
JGE 0x000286e6
MOV EBX,dword ptr [EAX + 0x4]
TEST EBX,EBX
JZ 0x00028701
MOV EDI,EAX
MOV EAX,EBX
MOV EBX,ECX
CMP EDX,dword ptr [EAX + 0x18]
SBB EBX,dword ptr [EAX + 0x1c]
JL 0x000286d1
CMP EDX,dword ptr [EAX + 0x20]
MOV EBX,ECX
SBB EBX,dword ptr [EAX + 0x24]
JL 0x00028701
MOV EBX,dword ptr [EAX + 0x8]
TEST EBX,EBX
JNZ 0x000286da
TEST EDI,EDI
JZ 0x00028780
MOV EAX,EDI
MOV dword ptr [ESI + 0xc],EAX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBP,dword ptr [EAX + 0x20]
MOV EDI,dword ptr [EAX + 0x24]
MOV EBX,ECX
MOV dword ptr [ESP + 0x4],0x0
CMP EDX,EBP
SBB EBX,EDI
JGE 0x00028758
MOV EBX,dword ptr [EAX + 0xc]
TEST EBX,EBX
JZ 0x00028704
MOV EBP,dword ptr [EBX + 0x20]
MOV EDI,dword ptr [EBX + 0x24]
MOV ESI,ECX
CMP EDX,EBP
SBB ESI,EDI
JGE 0x00028704
CMP dword ptr [ESP + 0x4],0x2
JZ 0x00028770
MOV EAX,dword ptr [ESP + 0x20]
ADD dword ptr [ESP + 0x4],0x1
CMP EDX,EBP
MOV dword ptr [EAX + 0xc],EBX
MOV EAX,EBX
MOV EBX,ECX
SBB EBX,EDI
JL 0x00028726
MOV EBX,dword ptr [EAX + 0x10]
TEST EBX,EBX
JZ 0x00028783
CMP dword ptr [ESP + 0x4],0x2
JZ 0x00028770
MOV EBP,dword ptr [EBX + 0x20]
MOV EDI,dword ptr [EBX + 0x24]
JMP 0x00028742
MOV ESI,dword ptr [ESP + 0x20]
JMP 0x000286ba
MOV dword ptr [ESI + 0xc],EAX
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "int FUN_000286a0(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int local_18;\n  \n  iVar3 = *(int *)(param_1 + 0xc);\n  if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }\n  return iVar3;\n}\n\n" (function_definition "int FUN_000286a0(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int local_18;\n  \n  iVar3 = *(int *)(param_1 + 0xc);\n  if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }\n  return iVar3;\n}" primitive_type (function_declarator "FUN_000286a0(int param_1,uint param_2,int param_3)" identifier (parameter_list "(int param_1,uint param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int local_18;\n  \n  iVar3 = *(int *)(param_1 + 0xc);\n  if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }\n  return iVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar3 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }" { (labeled_statement "LAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);" statement_identifier : (expression_statement "iVar2 = *(int *)(param_1 + 8);" (assignment_expression "iVar2 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;)) (if_statement "if (iVar2 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18))" identifier = (call_expression "(uint)(param_2 < *(uint *)(iVar2 + 0x18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < *(uint *)(iVar2 + 0x18))" ( (binary_expression "param_2 < *(uint *)(iVar2 + 0x18)" identifier < (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) )))) ;) (expression_statement "iVar3 = param_3 - *(int *)(iVar2 + 0x1c);" (assignment_expression "iVar3 = param_3 - *(int *)(iVar2 + 0x1c)" identifier = (binary_expression "param_3 - *(int *)(iVar2 + 0x1c)" identifier - (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))))) ;) (if_statement "if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;" if (parenthesized_expression "((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0)" ( (binary_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4))" ( (binary_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c))" identifier (argument_list "(param_3,*(int *)(iVar2 + 0x1c))" ( identifier , (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) ))) != (call_expression "SBORROW4(iVar3,uVar4)" identifier (argument_list "(iVar3,uVar4)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar3 - uVar4) < 0" (cast_expression "(int)(iVar3 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar4)" ( (binary_expression "iVar3 - uVar4" identifier - identifier) ))) < number_literal)) )) (goto_statement "goto LAB_000286e6;" goto statement_identifier ;)) (while_statement "while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }" while (parenthesized_expression "(iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0)" ( (comma_expression "iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0" (assignment_expression "iVar3 = iVar2" identifier = identifier) , (comma_expression "iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0" (assignment_expression "iVar1 = *(int *)(iVar2 + 4)" identifier = (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) , (comma_expression "iVar5 = iVar2, *(int *)(iVar2 + 4) != 0" (assignment_expression "iVar5 = iVar2" identifier = identifier) , (binary_expression "*(int *)(iVar2 + 4) != 0" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) != number_literal)))) )) (compound_statement "{\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }" { (while_statement "while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }" while (parenthesized_expression "(iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0)" ( (comma_expression "iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (assignment_expression "iVar2 = iVar1" identifier = identifier) , (comma_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18))" identifier = (call_expression "(uint)(param_2 < *(uint *)(iVar2 + 0x18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < *(uint *)(iVar2 + 0x18))" ( (binary_expression "param_2 < *(uint *)(iVar2 + 0x18)" identifier < (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) )))) , (comma_expression "iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (assignment_expression "iVar3 = param_3 - *(int *)(iVar2 + 0x1c)" identifier = (binary_expression "param_3 - *(int *)(iVar2 + 0x1c)" identifier - (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))))) , (binary_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4))" ( (binary_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c))" identifier (argument_list "(param_3,*(int *)(iVar2 + 0x1c))" ( identifier , (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) ))) != (call_expression "SBORROW4(iVar3,uVar4)" identifier (argument_list "(iVar3,uVar4)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar3 - uVar4) < 0" (cast_expression "(int)(iVar3 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar4)" ( (binary_expression "iVar3 - uVar4" identifier - identifier) ))) < number_literal))))) )) (compound_statement "{\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }" { (labeled_statement "LAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));" statement_identifier : (expression_statement "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20))" identifier = (call_expression "(uint)(param_2 < *(uint *)(iVar2 + 0x20))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < *(uint *)(iVar2 + 0x20))" ( (binary_expression "param_2 < *(uint *)(iVar2 + 0x20)" identifier < (pointer_expression "*(uint *)(iVar2 + 0x20)" * (cast_expression "(uint *)(iVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) ))))) )))) ;)) (expression_statement "iVar1 = param_3 - *(int *)(iVar2 + 0x24);" (assignment_expression "iVar1 = param_3 - *(int *)(iVar2 + 0x24)" identifier = (binary_expression "param_3 - *(int *)(iVar2 + 0x24)" identifier - (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))))) ;) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) (if_statement "if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;" if (parenthesized_expression "((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0)" ( (binary_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4))" ( (binary_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x24))" identifier (argument_list "(param_3,*(int *)(iVar2 + 0x24))" ( identifier , (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) ))) != (call_expression "SBORROW4(iVar1,uVar4)" identifier (argument_list "(iVar1,uVar4)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar1 - uVar4) < 0" (cast_expression "(int)(iVar1 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar1 - uVar4)" ( (binary_expression "iVar1 - uVar4" identifier - identifier) ))) < number_literal)) )) (goto_statement "goto LAB_00028701;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)(iVar2 + 8);" (assignment_expression "iVar1 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }" if (parenthesized_expression "(*(int *)(iVar2 + 8) == 0)" ( (binary_expression "*(int *)(iVar2 + 8) == 0" (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }" { (expression_statement "iVar3 = iVar5;" (assignment_expression "iVar3 = iVar5" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar2;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar2" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_00028701;" goto statement_identifier ;) })) })) })) (labeled_statement "LAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;" statement_identifier : (expression_statement "*(int *)(param_1 + 0xc) = iVar3;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar3" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;)) }) (else_clause "else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }" else (compound_statement "{\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }" { (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20))" identifier = (call_expression "(uint)(param_2 < *(uint *)(iVar3 + 0x20))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < *(uint *)(iVar3 + 0x20))" ( (binary_expression "param_2 < *(uint *)(iVar3 + 0x20)" identifier < (pointer_expression "*(uint *)(iVar3 + 0x20)" * (cast_expression "(uint *)(iVar3 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) ))))) )))) ;) (expression_statement "iVar2 = param_3 - *(int *)(iVar3 + 0x24);" (assignment_expression "iVar2 = param_3 - *(int *)(iVar3 + 0x24)" identifier = (binary_expression "param_3 - *(int *)(iVar3 + 0x24)" identifier - (pointer_expression "*(int *)(iVar3 + 0x24)" * (cast_expression "(int *)(iVar3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))))) ;) (if_statement "if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;" if (parenthesized_expression "((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0)" ( (binary_expression "(SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4))" ( (binary_expression "SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar3 + 0x24))" identifier (argument_list "(param_3,*(int *)(iVar3 + 0x24))" ( identifier , (pointer_expression "*(int *)(iVar3 + 0x24)" * (cast_expression "(int *)(iVar3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) ))) != (call_expression "SBORROW4(iVar2,uVar4)" identifier (argument_list "(iVar2,uVar4)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar2 - uVar4) < 0" (cast_expression "(int)(iVar2 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar2 - uVar4)" ( (binary_expression "iVar2 - uVar4" identifier - identifier) ))) < number_literal)) )) (goto_statement "goto LAB_00028758;" goto statement_identifier ;)) (while_statement "while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }" while (parenthesized_expression "(iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }" { (expression_statement "uVar4 = *(uint *)(iVar2 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x20)" * (cast_expression "(uint *)(iVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar2 + 0x24);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x24)" identifier = (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }" if (parenthesized_expression "((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0)" ( (binary_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (parenthesized_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4)))" ( (binary_expression "SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" (call_expression "SBORROW4(param_3,iVar5)" identifier (argument_list "(param_3,iVar5)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" identifier (argument_list "(param_3 - iVar5,(uint)(param_2 < uVar4))" ( (binary_expression "param_3 - iVar5" identifier - identifier) , (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar4)" ( (binary_expression "param_2 < uVar4" identifier < identifier) ))) )))) )) == (binary_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (cast_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - iVar5) - (uint)(param_2 < uVar4))" ( (binary_expression "(param_3 - iVar5) - (uint)(param_2 < uVar4)" (parenthesized_expression "(param_3 - iVar5)" ( (binary_expression "param_3 - iVar5" identifier - identifier) )) - (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar4)" ( (binary_expression "param_2 < uVar4" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n        return iVar3;\n      }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) (if_statement "if (local_18 == 2) goto LAB_000286ba;" if (parenthesized_expression "(local_18 == 2)" ( (binary_expression "local_18 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000286ba;" goto statement_identifier ;)) (while_statement "while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }" { (expression_statement "local_18 = local_18 + 1;" (assignment_expression "local_18 = local_18 + 1" identifier = (binary_expression "local_18 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0xc) = iVar3;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar3" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;" if (parenthesized_expression "((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0)" ( (binary_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (parenthesized_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4)))" ( (binary_expression "SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" (call_expression "SBORROW4(param_3,iVar5)" identifier (argument_list "(param_3,iVar5)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" identifier (argument_list "(param_3 - iVar5,(uint)(param_2 < uVar4))" ( (binary_expression "param_3 - iVar5" identifier - identifier) , (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar4)" ( (binary_expression "param_2 < uVar4" identifier < identifier) ))) )))) )) != (binary_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (cast_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - iVar5) - (uint)(param_2 < uVar4))" ( (binary_expression "(param_3 - iVar5) - (uint)(param_2 < uVar4)" (parenthesized_expression "(param_3 - iVar5)" ( (binary_expression "param_3 - iVar5" identifier - identifier) )) - (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar4)" ( (binary_expression "param_2 < uVar4" identifier < identifier) )))) ))) < number_literal)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);" statement_identifier : (expression_statement "iVar3 = *(int *)(iVar3 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x10)" identifier = (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;)) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (local_18 == 2) goto LAB_000286ba;" if (parenthesized_expression "(local_18 == 2)" ( (binary_expression "local_18 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000286ba;" goto statement_identifier ;)) (expression_statement "uVar4 = *(uint *)(iVar3 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x20)" * (cast_expression "(uint *)(iVar3 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar3 + 0x24);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0x24)" identifier = (pointer_expression "*(int *)(iVar3 + 0x24)" * (cast_expression "(int *)(iVar3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) ))))) ;) })) })) }))) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nhilite_node * hlist_find(hilite_tree *anchor,POSITION pos)\n\n{\n  int *piVar1;\n  int iVar2;\n  hilite_node *phVar3;\n  hilite_node *phVar4;\n  hilite_node *phVar5;\n  uint uVar6;\n  hilite_node *phVar7;\n  int iVar8;\n  int local_18;\n  \n  phVar5 = anchor->lookaside;\n  if (phVar5 == (hilite_node *)0x0) {\nLAB_000286ba:\n    phVar4 = anchor->root;\n    if (phVar4 == (hilite_node *)0x0) {\n      return (hilite_node *)0x0;\n    }\n    phVar7 = (hilite_node *)0x0;\n    piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4);\n    uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos);\n    iVar8 = pos._4_4_ - *piVar1;\n    if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0)\n    goto LAB_000286e6;\n    while (phVar5 = phVar4, phVar3 = phVar4->left, phVar7 = phVar4,\n          phVar4->left != (hilite_node *)0x0) {\n      while (phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0) {\nLAB_000286e6:\n        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);\n        uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);\n        iVar8 = pos._4_4_ - *piVar1;\n        phVar5 = phVar4;\n        if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)\n        goto LAB_00028701;\n        phVar3 = phVar4->right;\n        if (phVar4->right == (hilite_node *)0x0) {\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    anchor->lookaside = phVar5;\n  }\n  else {\n    iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n    local_18 = 0;\n    uVar6 = (uint)((uint)pos < (uint)(phVar5->r).hl_endpos);\n    iVar2 = pos._4_4_ - iVar8;\n    if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)) == (int)(iVar2 - uVar6) < 0)\n    goto LAB_00028758;\n    while (phVar4 = phVar5->prev, phVar4 != (hilite_node *)0x0) {\n      uVar6 = (uint)(phVar4->r).hl_endpos;\n      iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4);\n      if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) {\n        return phVar5;\n      }\n      phVar5 = phVar4;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        anchor->lookaside = phVar5;\n        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;\nLAB_00028758:\n        phVar5 = phVar5->next;\n        if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar6 = (uint)(phVar5->r).hl_endpos;\n        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n      }\n    }\n  }\n  return phVar5;\n}\n\n" comment (function_definition "hilite_node * hlist_find(hilite_tree *anchor,POSITION pos)\n\n{\n  int *piVar1;\n  int iVar2;\n  hilite_node *phVar3;\n  hilite_node *phVar4;\n  hilite_node *phVar5;\n  uint uVar6;\n  hilite_node *phVar7;\n  int iVar8;\n  int local_18;\n  \n  phVar5 = anchor->lookaside;\n  if (phVar5 == (hilite_node *)0x0) {\nLAB_000286ba:\n    phVar4 = anchor->root;\n    if (phVar4 == (hilite_node *)0x0) {\n      return (hilite_node *)0x0;\n    }\n    phVar7 = (hilite_node *)0x0;\n    piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4);\n    uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos);\n    iVar8 = pos._4_4_ - *piVar1;\n    if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0)\n    goto LAB_000286e6;\n    while (phVar5 = phVar4, phVar3 = phVar4->left, phVar7 = phVar4,\n          phVar4->left != (hilite_node *)0x0) {\n      while (phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0) {\nLAB_000286e6:\n        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);\n        uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);\n        iVar8 = pos._4_4_ - *piVar1;\n        phVar5 = phVar4;\n        if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)\n        goto LAB_00028701;\n        phVar3 = phVar4->right;\n        if (phVar4->right == (hilite_node *)0x0) {\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    anchor->lookaside = phVar5;\n  }\n  else {\n    iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n    local_18 = 0;\n    uVar6 = (uint)((uint)pos < (uint)(phVar5->r).hl_endpos);\n    iVar2 = pos._4_4_ - iVar8;\n    if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)) == (int)(iVar2 - uVar6) < 0)\n    goto LAB_00028758;\n    while (phVar4 = phVar5->prev, phVar4 != (hilite_node *)0x0) {\n      uVar6 = (uint)(phVar4->r).hl_endpos;\n      iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4);\n      if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) {\n        return phVar5;\n      }\n      phVar5 = phVar4;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        anchor->lookaside = phVar5;\n        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;\nLAB_00028758:\n        phVar5 = phVar5->next;\n        if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar6 = (uint)(phVar5->r).hl_endpos;\n        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n      }\n    }\n  }\n  return phVar5;\n}" type_identifier (pointer_declarator "* hlist_find(hilite_tree *anchor,POSITION pos)" * (function_declarator "hlist_find(hilite_tree *anchor,POSITION pos)" identifier (parameter_list "(hilite_tree *anchor,POSITION pos)" ( (parameter_declaration "hilite_tree *anchor" type_identifier (pointer_declarator "*anchor" * identifier)) , (parameter_declaration "POSITION pos" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  hilite_node *phVar3;\n  hilite_node *phVar4;\n  hilite_node *phVar5;\n  uint uVar6;\n  hilite_node *phVar7;\n  int iVar8;\n  int local_18;\n  \n  phVar5 = anchor->lookaside;\n  if (phVar5 == (hilite_node *)0x0) {\nLAB_000286ba:\n    phVar4 = anchor->root;\n    if (phVar4 == (hilite_node *)0x0) {\n      return (hilite_node *)0x0;\n    }\n    phVar7 = (hilite_node *)0x0;\n    piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4);\n    uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos);\n    iVar8 = pos._4_4_ - *piVar1;\n    if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0)\n    goto LAB_000286e6;\n    while (phVar5 = phVar4, phVar3 = phVar4->left, phVar7 = phVar4,\n          phVar4->left != (hilite_node *)0x0) {\n      while (phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0) {\nLAB_000286e6:\n        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);\n        uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);\n        iVar8 = pos._4_4_ - *piVar1;\n        phVar5 = phVar4;\n        if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)\n        goto LAB_00028701;\n        phVar3 = phVar4->right;\n        if (phVar4->right == (hilite_node *)0x0) {\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    anchor->lookaside = phVar5;\n  }\n  else {\n    iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n    local_18 = 0;\n    uVar6 = (uint)((uint)pos < (uint)(phVar5->r).hl_endpos);\n    iVar2 = pos._4_4_ - iVar8;\n    if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)) == (int)(iVar2 - uVar6) < 0)\n    goto LAB_00028758;\n    while (phVar4 = phVar5->prev, phVar4 != (hilite_node *)0x0) {\n      uVar6 = (uint)(phVar4->r).hl_endpos;\n      iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4);\n      if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) {\n        return phVar5;\n      }\n      phVar5 = phVar4;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        anchor->lookaside = phVar5;\n        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;\nLAB_00028758:\n        phVar5 = phVar5->next;\n        if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar6 = (uint)(phVar5->r).hl_endpos;\n        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n      }\n    }\n  }\n  return phVar5;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "hilite_node *phVar3;" type_identifier (pointer_declarator "*phVar3" * identifier) ;) (declaration "hilite_node *phVar4;" type_identifier (pointer_declarator "*phVar4" * identifier) ;) (declaration "hilite_node *phVar5;" type_identifier (pointer_declarator "*phVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "hilite_node *phVar7;" type_identifier (pointer_declarator "*phVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (expression_statement "phVar5 = anchor->lookaside;" (assignment_expression "phVar5 = anchor->lookaside" identifier = (field_expression "anchor->lookaside" identifier -> field_identifier)) ;) (if_statement "if (phVar5 == (hilite_node *)0x0) {\nLAB_000286ba:\n    phVar4 = anchor->root;\n    if (phVar4 == (hilite_node *)0x0) {\n      return (hilite_node *)0x0;\n    }\n    phVar7 = (hilite_node *)0x0;\n    piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4);\n    uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos);\n    iVar8 = pos._4_4_ - *piVar1;\n    if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0)\n    goto LAB_000286e6;\n    while (phVar5 = phVar4, phVar3 = phVar4->left, phVar7 = phVar4,\n          phVar4->left != (hilite_node *)0x0) {\n      while (phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0) {\nLAB_000286e6:\n        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);\n        uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);\n        iVar8 = pos._4_4_ - *piVar1;\n        phVar5 = phVar4;\n        if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)\n        goto LAB_00028701;\n        phVar3 = phVar4->right;\n        if (phVar4->right == (hilite_node *)0x0) {\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    anchor->lookaside = phVar5;\n  }\n  else {\n    iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n    local_18 = 0;\n    uVar6 = (uint)((uint)pos < (uint)(phVar5->r).hl_endpos);\n    iVar2 = pos._4_4_ - iVar8;\n    if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)) == (int)(iVar2 - uVar6) < 0)\n    goto LAB_00028758;\n    while (phVar4 = phVar5->prev, phVar4 != (hilite_node *)0x0) {\n      uVar6 = (uint)(phVar4->r).hl_endpos;\n      iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4);\n      if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) {\n        return phVar5;\n      }\n      phVar5 = phVar4;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        anchor->lookaside = phVar5;\n        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;\nLAB_00028758:\n        phVar5 = phVar5->next;\n        if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar6 = (uint)(phVar5->r).hl_endpos;\n        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n      }\n    }\n  }" if (parenthesized_expression "(phVar5 == (hilite_node *)0x0)" ( (binary_expression "phVar5 == (hilite_node *)0x0" identifier == (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000286ba:\n    phVar4 = anchor->root;\n    if (phVar4 == (hilite_node *)0x0) {\n      return (hilite_node *)0x0;\n    }\n    phVar7 = (hilite_node *)0x0;\n    piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4);\n    uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos);\n    iVar8 = pos._4_4_ - *piVar1;\n    if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0)\n    goto LAB_000286e6;\n    while (phVar5 = phVar4, phVar3 = phVar4->left, phVar7 = phVar4,\n          phVar4->left != (hilite_node *)0x0) {\n      while (phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0) {\nLAB_000286e6:\n        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);\n        uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);\n        iVar8 = pos._4_4_ - *piVar1;\n        phVar5 = phVar4;\n        if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)\n        goto LAB_00028701;\n        phVar3 = phVar4->right;\n        if (phVar4->right == (hilite_node *)0x0) {\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    anchor->lookaside = phVar5;\n  }" { (labeled_statement "LAB_000286ba:\n    phVar4 = anchor->root;" statement_identifier : (expression_statement "phVar4 = anchor->root;" (assignment_expression "phVar4 = anchor->root" identifier = (field_expression "anchor->root" identifier -> field_identifier)) ;)) (if_statement "if (phVar4 == (hilite_node *)0x0) {\n      return (hilite_node *)0x0;\n    }" if (parenthesized_expression "(phVar4 == (hilite_node *)0x0)" ( (binary_expression "phVar4 == (hilite_node *)0x0" identifier == (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (hilite_node *)0x0;\n    }" { (return_statement "return (hilite_node *)0x0;" return (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "phVar7 = (hilite_node *)0x0;" (assignment_expression "phVar7 = (hilite_node *)0x0" identifier = (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4);" (assignment_expression "piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4)" identifier = (cast_expression "(int *)((int)&(phVar4->r).hl_startpos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(phVar4->r).hl_startpos + 4)" ( (binary_expression "(int)&(phVar4->r).hl_startpos + 4" (cast_expression "(int)&(phVar4->r).hl_startpos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(phVar4->r).hl_startpos" & (field_expression "(phVar4->r).hl_startpos" (parenthesized_expression "(phVar4->r)" ( (field_expression "phVar4->r" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) ;) (expression_statement "uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos);" (assignment_expression "uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos)" identifier = (call_expression "(uint)((uint)pos < (uint)(phVar4->r).hl_startpos)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)pos < (uint)(phVar4->r).hl_startpos)" ( (binary_expression "(uint)pos < (uint)(phVar4->r).hl_startpos" (cast_expression "(uint)pos" ( (type_descriptor "uint" type_identifier) ) identifier) < (field_expression "(uint)(phVar4->r).hl_startpos" (call_expression "(uint)(phVar4->r)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(phVar4->r)" ( (field_expression "phVar4->r" identifier -> field_identifier) ))) . field_identifier)) )))) ;) (expression_statement "iVar8 = pos._4_4_ - *piVar1;" (assignment_expression "iVar8 = pos._4_4_ - *piVar1" identifier = (binary_expression "pos._4_4_ - *piVar1" (field_expression "pos._4_4_" identifier . field_identifier) - (pointer_expression "*piVar1" * identifier))) ;) (if_statement "if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0)\n    goto LAB_000286e6;" if (parenthesized_expression "((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0)" ( (binary_expression "(SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0" (parenthesized_expression "(SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6))" ( (binary_expression "SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)" (call_expression "SBORROW4(pos._4_4_,*piVar1)" identifier (argument_list "(pos._4_4_,*piVar1)" ( (field_expression "pos._4_4_" identifier . field_identifier) , (pointer_expression "*piVar1" * identifier) ))) != (call_expression "SBORROW4(iVar8,uVar6)" identifier (argument_list "(iVar8,uVar6)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar8 - uVar6) < 0" (cast_expression "(int)(iVar8 - uVar6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar8 - uVar6)" ( (binary_expression "iVar8 - uVar6" identifier - identifier) ))) < number_literal)) )) (goto_statement "goto LAB_000286e6;" goto statement_identifier ;)) (while_statement "while (phVar5 = phVar4, phVar3 = phVar4->left, phVar7 = phVar4,\n          phVar4->left != (hilite_node *)0x0) {\n      while (phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0) {\nLAB_000286e6:\n        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);\n        uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);\n        iVar8 = pos._4_4_ - *piVar1;\n        phVar5 = phVar4;\n        if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)\n        goto LAB_00028701;\n        phVar3 = phVar4->right;\n        if (phVar4->right == (hilite_node *)0x0) {\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }" while (parenthesized_expression "(phVar5 = phVar4, phVar3 = phVar4->left, phVar7 = phVar4,\n          phVar4->left != (hilite_node *)0x0)" ( (comma_expression "phVar5 = phVar4, phVar3 = phVar4->left, phVar7 = phVar4,\n          phVar4->left != (hilite_node *)0x0" (assignment_expression "phVar5 = phVar4" identifier = identifier) , (comma_expression "phVar3 = phVar4->left, phVar7 = phVar4,\n          phVar4->left != (hilite_node *)0x0" (assignment_expression "phVar3 = phVar4->left" identifier = (field_expression "phVar4->left" identifier -> field_identifier)) , (comma_expression "phVar7 = phVar4,\n          phVar4->left != (hilite_node *)0x0" (assignment_expression "phVar7 = phVar4" identifier = identifier) , (binary_expression "phVar4->left != (hilite_node *)0x0" (field_expression "phVar4->left" identifier -> field_identifier) != (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))))) )) (compound_statement "{\n      while (phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0) {\nLAB_000286e6:\n        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);\n        uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);\n        iVar8 = pos._4_4_ - *piVar1;\n        phVar5 = phVar4;\n        if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)\n        goto LAB_00028701;\n        phVar3 = phVar4->right;\n        if (phVar4->right == (hilite_node *)0x0) {\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }" { (while_statement "while (phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0) {\nLAB_000286e6:\n        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);\n        uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);\n        iVar8 = pos._4_4_ - *piVar1;\n        phVar5 = phVar4;\n        if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)\n        goto LAB_00028701;\n        phVar3 = phVar4->right;\n        if (phVar4->right == (hilite_node *)0x0) {\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }\n      }" while (parenthesized_expression "(phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0)" ( (comma_expression "phVar4 = phVar3, piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0" (assignment_expression "phVar4 = phVar3" identifier = identifier) , (comma_expression "piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4),\n            uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0" (assignment_expression "piVar1 = (int *)((int)&(phVar4->r).hl_startpos + 4)" identifier = (cast_expression "(int *)((int)&(phVar4->r).hl_startpos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(phVar4->r).hl_startpos + 4)" ( (binary_expression "(int)&(phVar4->r).hl_startpos + 4" (cast_expression "(int)&(phVar4->r).hl_startpos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(phVar4->r).hl_startpos" & (field_expression "(phVar4->r).hl_startpos" (parenthesized_expression "(phVar4->r)" ( (field_expression "phVar4->r" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) , (comma_expression "uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos), iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0" (assignment_expression "uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_startpos)" identifier = (call_expression "(uint)((uint)pos < (uint)(phVar4->r).hl_startpos)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)pos < (uint)(phVar4->r).hl_startpos)" ( (binary_expression "(uint)pos < (uint)(phVar4->r).hl_startpos" (cast_expression "(uint)pos" ( (type_descriptor "uint" type_identifier) ) identifier) < (field_expression "(uint)(phVar4->r).hl_startpos" (call_expression "(uint)(phVar4->r)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(phVar4->r)" ( (field_expression "phVar4->r" identifier -> field_identifier) ))) . field_identifier)) )))) , (comma_expression "iVar8 = pos._4_4_ - *piVar1,\n            (SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0" (assignment_expression "iVar8 = pos._4_4_ - *piVar1" identifier = (binary_expression "pos._4_4_ - *piVar1" (field_expression "pos._4_4_" identifier . field_identifier) - (pointer_expression "*piVar1" * identifier))) , (binary_expression "(SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) == (int)(iVar8 - uVar6) < 0" (parenthesized_expression "(SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6))" ( (binary_expression "SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)" (call_expression "SBORROW4(pos._4_4_,*piVar1)" identifier (argument_list "(pos._4_4_,*piVar1)" ( (field_expression "pos._4_4_" identifier . field_identifier) , (pointer_expression "*piVar1" * identifier) ))) != (call_expression "SBORROW4(iVar8,uVar6)" identifier (argument_list "(iVar8,uVar6)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar8 - uVar6) < 0" (cast_expression "(int)(iVar8 - uVar6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar8 - uVar6)" ( (binary_expression "iVar8 - uVar6" identifier - identifier) ))) < number_literal)))))) )) (compound_statement "{\nLAB_000286e6:\n        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);\n        uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);\n        iVar8 = pos._4_4_ - *piVar1;\n        phVar5 = phVar4;\n        if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)\n        goto LAB_00028701;\n        phVar3 = phVar4->right;\n        if (phVar4->right == (hilite_node *)0x0) {\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }\n      }" { (labeled_statement "LAB_000286e6:\n        piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);" statement_identifier : (expression_statement "piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4);" (assignment_expression "piVar1 = (int *)((int)&(phVar4->r).hl_endpos + 4)" identifier = (cast_expression "(int *)((int)&(phVar4->r).hl_endpos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(phVar4->r).hl_endpos + 4)" ( (binary_expression "(int)&(phVar4->r).hl_endpos + 4" (cast_expression "(int)&(phVar4->r).hl_endpos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(phVar4->r).hl_endpos" & (field_expression "(phVar4->r).hl_endpos" (parenthesized_expression "(phVar4->r)" ( (field_expression "phVar4->r" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) ;)) (expression_statement "uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos);" (assignment_expression "uVar6 = (uint)((uint)pos < (uint)(phVar4->r).hl_endpos)" identifier = (call_expression "(uint)((uint)pos < (uint)(phVar4->r).hl_endpos)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)pos < (uint)(phVar4->r).hl_endpos)" ( (binary_expression "(uint)pos < (uint)(phVar4->r).hl_endpos" (cast_expression "(uint)pos" ( (type_descriptor "uint" type_identifier) ) identifier) < (field_expression "(uint)(phVar4->r).hl_endpos" (call_expression "(uint)(phVar4->r)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(phVar4->r)" ( (field_expression "phVar4->r" identifier -> field_identifier) ))) . field_identifier)) )))) ;) (expression_statement "iVar8 = pos._4_4_ - *piVar1;" (assignment_expression "iVar8 = pos._4_4_ - *piVar1" identifier = (binary_expression "pos._4_4_ - *piVar1" (field_expression "pos._4_4_" identifier . field_identifier) - (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "phVar5 = phVar4;" (assignment_expression "phVar5 = phVar4" identifier = identifier) ;) (if_statement "if ((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)\n        goto LAB_00028701;" if (parenthesized_expression "((SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0)" ( (binary_expression "(SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)) != (int)(iVar8 - uVar6) < 0" (parenthesized_expression "(SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6))" ( (binary_expression "SBORROW4(pos._4_4_,*piVar1) != SBORROW4(iVar8,uVar6)" (call_expression "SBORROW4(pos._4_4_,*piVar1)" identifier (argument_list "(pos._4_4_,*piVar1)" ( (field_expression "pos._4_4_" identifier . field_identifier) , (pointer_expression "*piVar1" * identifier) ))) != (call_expression "SBORROW4(iVar8,uVar6)" identifier (argument_list "(iVar8,uVar6)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar8 - uVar6) < 0" (cast_expression "(int)(iVar8 - uVar6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar8 - uVar6)" ( (binary_expression "iVar8 - uVar6" identifier - identifier) ))) < number_literal)) )) (goto_statement "goto LAB_00028701;" goto statement_identifier ;)) (expression_statement "phVar3 = phVar4->right;" (assignment_expression "phVar3 = phVar4->right" identifier = (field_expression "phVar4->right" identifier -> field_identifier)) ;) (if_statement "if (phVar4->right == (hilite_node *)0x0) {\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }" if (parenthesized_expression "(phVar4->right == (hilite_node *)0x0)" ( (binary_expression "phVar4->right == (hilite_node *)0x0" (field_expression "phVar4->right" identifier -> field_identifier) == (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          phVar5 = phVar7;\n          if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }\n          goto LAB_00028701;\n        }" { (expression_statement "phVar5 = phVar7;" (assignment_expression "phVar5 = phVar7" identifier = identifier) ;) (if_statement "if (phVar7 == (hilite_node *)0x0) {\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }" if (parenthesized_expression "(phVar7 == (hilite_node *)0x0)" ( (binary_expression "phVar7 == (hilite_node *)0x0" identifier == (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            anchor->lookaside = phVar4;\n            return (hilite_node *)0x0;\n          }" { (expression_statement "anchor->lookaside = phVar4;" (assignment_expression "anchor->lookaside = phVar4" (field_expression "anchor->lookaside" identifier -> field_identifier) = identifier) ;) (return_statement "return (hilite_node *)0x0;" return (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (goto_statement "goto LAB_00028701;" goto statement_identifier ;) })) })) })) (labeled_statement "LAB_00028701:\n    anchor->lookaside = phVar5;" statement_identifier : (expression_statement "anchor->lookaside = phVar5;" (assignment_expression "anchor->lookaside = phVar5" (field_expression "anchor->lookaside" identifier -> field_identifier) = identifier) ;)) }) (else_clause "else {\n    iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n    local_18 = 0;\n    uVar6 = (uint)((uint)pos < (uint)(phVar5->r).hl_endpos);\n    iVar2 = pos._4_4_ - iVar8;\n    if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)) == (int)(iVar2 - uVar6) < 0)\n    goto LAB_00028758;\n    while (phVar4 = phVar5->prev, phVar4 != (hilite_node *)0x0) {\n      uVar6 = (uint)(phVar4->r).hl_endpos;\n      iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4);\n      if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) {\n        return phVar5;\n      }\n      phVar5 = phVar4;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        anchor->lookaside = phVar5;\n        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;\nLAB_00028758:\n        phVar5 = phVar5->next;\n        if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar6 = (uint)(phVar5->r).hl_endpos;\n        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n      }\n    }\n  }" else (compound_statement "{\n    iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n    local_18 = 0;\n    uVar6 = (uint)((uint)pos < (uint)(phVar5->r).hl_endpos);\n    iVar2 = pos._4_4_ - iVar8;\n    if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)) == (int)(iVar2 - uVar6) < 0)\n    goto LAB_00028758;\n    while (phVar4 = phVar5->prev, phVar4 != (hilite_node *)0x0) {\n      uVar6 = (uint)(phVar4->r).hl_endpos;\n      iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4);\n      if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) {\n        return phVar5;\n      }\n      phVar5 = phVar4;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        anchor->lookaside = phVar5;\n        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;\nLAB_00028758:\n        phVar5 = phVar5->next;\n        if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar6 = (uint)(phVar5->r).hl_endpos;\n        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n      }\n    }\n  }" { (expression_statement "iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);" (assignment_expression "iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4)" identifier = (pointer_expression "*(int *)((int)&(phVar5->r).hl_endpos + 4)" * (cast_expression "(int *)((int)&(phVar5->r).hl_endpos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(phVar5->r).hl_endpos + 4)" ( (binary_expression "(int)&(phVar5->r).hl_endpos + 4" (cast_expression "(int)&(phVar5->r).hl_endpos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(phVar5->r).hl_endpos" & (field_expression "(phVar5->r).hl_endpos" (parenthesized_expression "(phVar5->r)" ( (field_expression "phVar5->r" identifier -> field_identifier) )) . field_identifier))) + number_literal) ))))) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = (uint)((uint)pos < (uint)(phVar5->r).hl_endpos);" (assignment_expression "uVar6 = (uint)((uint)pos < (uint)(phVar5->r).hl_endpos)" identifier = (call_expression "(uint)((uint)pos < (uint)(phVar5->r).hl_endpos)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)pos < (uint)(phVar5->r).hl_endpos)" ( (binary_expression "(uint)pos < (uint)(phVar5->r).hl_endpos" (cast_expression "(uint)pos" ( (type_descriptor "uint" type_identifier) ) identifier) < (field_expression "(uint)(phVar5->r).hl_endpos" (call_expression "(uint)(phVar5->r)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(phVar5->r)" ( (field_expression "phVar5->r" identifier -> field_identifier) ))) . field_identifier)) )))) ;) (expression_statement "iVar2 = pos._4_4_ - iVar8;" (assignment_expression "iVar2 = pos._4_4_ - iVar8" identifier = (binary_expression "pos._4_4_ - iVar8" (field_expression "pos._4_4_" identifier . field_identifier) - identifier)) ;) (if_statement "if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)) == (int)(iVar2 - uVar6) < 0)\n    goto LAB_00028758;" if (parenthesized_expression "((SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)) == (int)(iVar2 - uVar6) < 0)" ( (binary_expression "(SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)) == (int)(iVar2 - uVar6) < 0" (parenthesized_expression "(SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6))" ( (binary_expression "SBORROW4(pos._4_4_,iVar8) != SBORROW4(iVar2,uVar6)" (call_expression "SBORROW4(pos._4_4_,iVar8)" identifier (argument_list "(pos._4_4_,iVar8)" ( (field_expression "pos._4_4_" identifier . field_identifier) , identifier ))) != (call_expression "SBORROW4(iVar2,uVar6)" identifier (argument_list "(iVar2,uVar6)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar2 - uVar6) < 0" (cast_expression "(int)(iVar2 - uVar6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar2 - uVar6)" ( (binary_expression "iVar2 - uVar6" identifier - identifier) ))) < number_literal)) )) (goto_statement "goto LAB_00028758;" goto statement_identifier ;)) (while_statement "while (phVar4 = phVar5->prev, phVar4 != (hilite_node *)0x0) {\n      uVar6 = (uint)(phVar4->r).hl_endpos;\n      iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4);\n      if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) {\n        return phVar5;\n      }\n      phVar5 = phVar4;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        anchor->lookaside = phVar5;\n        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;\nLAB_00028758:\n        phVar5 = phVar5->next;\n        if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar6 = (uint)(phVar5->r).hl_endpos;\n        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n      }\n    }" while (parenthesized_expression "(phVar4 = phVar5->prev, phVar4 != (hilite_node *)0x0)" ( (comma_expression "phVar4 = phVar5->prev, phVar4 != (hilite_node *)0x0" (assignment_expression "phVar4 = phVar5->prev" identifier = (field_expression "phVar5->prev" identifier -> field_identifier)) , (binary_expression "phVar4 != (hilite_node *)0x0" identifier != (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      uVar6 = (uint)(phVar4->r).hl_endpos;\n      iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4);\n      if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) {\n        return phVar5;\n      }\n      phVar5 = phVar4;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        anchor->lookaside = phVar5;\n        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;\nLAB_00028758:\n        phVar5 = phVar5->next;\n        if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar6 = (uint)(phVar5->r).hl_endpos;\n        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n      }\n    }" { (expression_statement "uVar6 = (uint)(phVar4->r).hl_endpos;" (assignment_expression "uVar6 = (uint)(phVar4->r).hl_endpos" identifier = (field_expression "(uint)(phVar4->r).hl_endpos" (call_expression "(uint)(phVar4->r)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(phVar4->r)" ( (field_expression "phVar4->r" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4);" (assignment_expression "iVar8 = *(int *)((int)&(phVar4->r).hl_endpos + 4)" identifier = (pointer_expression "*(int *)((int)&(phVar4->r).hl_endpos + 4)" * (cast_expression "(int *)((int)&(phVar4->r).hl_endpos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(phVar4->r).hl_endpos + 4)" ( (binary_expression "(int)&(phVar4->r).hl_endpos + 4" (cast_expression "(int)&(phVar4->r).hl_endpos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(phVar4->r).hl_endpos" & (field_expression "(phVar4->r).hl_endpos" (parenthesized_expression "(phVar4->r)" ( (field_expression "phVar4->r" identifier -> field_identifier) )) . field_identifier))) + number_literal) ))))) ;) (if_statement "if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) {\n        return phVar5;\n      }" if (parenthesized_expression "((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0)" ( (binary_expression "(SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) ==\n          (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0" (parenthesized_expression "(SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6)))" ( (binary_expression "SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))" (call_expression "SBORROW4(pos._4_4_,iVar8)" identifier (argument_list "(pos._4_4_,iVar8)" ( (field_expression "pos._4_4_" identifier . field_identifier) , identifier ))) != (call_expression "SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))" identifier (argument_list "(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))" ( (binary_expression "pos._4_4_ - iVar8" (field_expression "pos._4_4_" identifier . field_identifier) - identifier) , (call_expression "(uint)((uint)pos < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)pos < uVar6)" ( (binary_expression "(uint)pos < uVar6" (cast_expression "(uint)pos" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )))) )) == (binary_expression "(int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0" (cast_expression "(int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6))" ( (binary_expression "(pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)" (parenthesized_expression "(pos._4_4_ - iVar8)" ( (binary_expression "pos._4_4_ - iVar8" (field_expression "pos._4_4_" identifier . field_identifier) - identifier) )) - (call_expression "(uint)((uint)pos < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)pos < uVar6)" ( (binary_expression "(uint)pos < uVar6" (cast_expression "(uint)pos" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n        return phVar5;\n      }" { (return_statement "return phVar5;" return identifier ;) })) (expression_statement "phVar5 = phVar4;" (assignment_expression "phVar5 = phVar4" identifier = identifier) ;) (if_statement "if (local_18 == 2) goto LAB_000286ba;" if (parenthesized_expression "(local_18 == 2)" ( (binary_expression "local_18 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000286ba;" goto statement_identifier ;)) (while_statement "while( true ) {\n        local_18 = local_18 + 1;\n        anchor->lookaside = phVar5;\n        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;\nLAB_00028758:\n        phVar5 = phVar5->next;\n        if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar6 = (uint)(phVar5->r).hl_endpos;\n        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_18 = local_18 + 1;\n        anchor->lookaside = phVar5;\n        if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;\nLAB_00028758:\n        phVar5 = phVar5->next;\n        if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar6 = (uint)(phVar5->r).hl_endpos;\n        iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);\n      }" { (expression_statement "local_18 = local_18 + 1;" (assignment_expression "local_18 = local_18 + 1" identifier = (binary_expression "local_18 + 1" identifier + number_literal)) ;) (expression_statement "anchor->lookaside = phVar5;" (assignment_expression "anchor->lookaside = phVar5" (field_expression "anchor->lookaside" identifier -> field_identifier) = identifier) ;) (if_statement "if ((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0) break;" if (parenthesized_expression "((SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0)" ( (binary_expression "(SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))) !=\n            (int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0" (parenthesized_expression "(SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6)))" ( (binary_expression "SBORROW4(pos._4_4_,iVar8) != SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))" (call_expression "SBORROW4(pos._4_4_,iVar8)" identifier (argument_list "(pos._4_4_,iVar8)" ( (field_expression "pos._4_4_" identifier . field_identifier) , identifier ))) != (call_expression "SBORROW4(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))" identifier (argument_list "(pos._4_4_ - iVar8,(uint)((uint)pos < uVar6))" ( (binary_expression "pos._4_4_ - iVar8" (field_expression "pos._4_4_" identifier . field_identifier) - identifier) , (call_expression "(uint)((uint)pos < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)pos < uVar6)" ( (binary_expression "(uint)pos < uVar6" (cast_expression "(uint)pos" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )))) )) != (binary_expression "(int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)) < 0" (cast_expression "(int)((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6))" ( (binary_expression "(pos._4_4_ - iVar8) - (uint)((uint)pos < uVar6)" (parenthesized_expression "(pos._4_4_ - iVar8)" ( (binary_expression "pos._4_4_ - iVar8" (field_expression "pos._4_4_" identifier . field_identifier) - identifier) )) - (call_expression "(uint)((uint)pos < uVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)pos < uVar6)" ( (binary_expression "(uint)pos < uVar6" (cast_expression "(uint)pos" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) ))) < number_literal)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00028758:\n        phVar5 = phVar5->next;" statement_identifier : (expression_statement "phVar5 = phVar5->next;" (assignment_expression "phVar5 = phVar5->next" identifier = (field_expression "phVar5->next" identifier -> field_identifier)) ;)) (if_statement "if (phVar5 == (hilite_node *)0x0) {\n          return (hilite_node *)0x0;\n        }" if (parenthesized_expression "(phVar5 == (hilite_node *)0x0)" ( (binary_expression "phVar5 == (hilite_node *)0x0" identifier == (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return (hilite_node *)0x0;\n        }" { (return_statement "return (hilite_node *)0x0;" return (cast_expression "(hilite_node *)0x0" ( (type_descriptor "hilite_node *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (local_18 == 2) goto LAB_000286ba;" if (parenthesized_expression "(local_18 == 2)" ( (binary_expression "local_18 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000286ba;" goto statement_identifier ;)) (expression_statement "uVar6 = (uint)(phVar5->r).hl_endpos;" (assignment_expression "uVar6 = (uint)(phVar5->r).hl_endpos" identifier = (field_expression "(uint)(phVar5->r).hl_endpos" (call_expression "(uint)(phVar5->r)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(phVar5->r)" ( (field_expression "phVar5->r" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4);" (assignment_expression "iVar8 = *(int *)((int)&(phVar5->r).hl_endpos + 4)" identifier = (pointer_expression "*(int *)((int)&(phVar5->r).hl_endpos + 4)" * (cast_expression "(int *)((int)&(phVar5->r).hl_endpos + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(phVar5->r).hl_endpos + 4)" ( (binary_expression "(int)&(phVar5->r).hl_endpos + 4" (cast_expression "(int)&(phVar5->r).hl_endpos" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(phVar5->r).hl_endpos" & (field_expression "(phVar5->r).hl_endpos" (parenthesized_expression "(phVar5->r)" ( (field_expression "phVar5->r" identifier -> field_identifier) )) . field_identifier))) + number_literal) ))))) ;) })) })) }))) (return_statement "return phVar5;" return identifier ;) })))
(translation_unit "int FUN_000286a0(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int local_18;\n  \n  iVar3 = *(int *)(param_1 + 0xc);\n  if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }\n  return iVar3;\n}\n\n" (function_definition "int FUN_000286a0(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int local_18;\n  \n  iVar3 = *(int *)(param_1 + 0xc);\n  if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }\n  return iVar3;\n}" primitive_type (function_declarator "FUN_000286a0(int param_1,uint param_2,int param_3)" identifier (parameter_list "(int param_1,uint param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int local_18;\n  \n  iVar3 = *(int *)(param_1 + 0xc);\n  if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }\n  return iVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar3 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }" { (labeled_statement "LAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);" statement_identifier : (expression_statement "iVar2 = *(int *)(param_1 + 8);" (assignment_expression "iVar2 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;)) (if_statement "if (iVar2 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18))" identifier = (call_expression "(uint)(param_2 < *(uint *)(iVar2 + 0x18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < *(uint *)(iVar2 + 0x18))" ( (binary_expression "param_2 < *(uint *)(iVar2 + 0x18)" identifier < (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) )))) ;) (expression_statement "iVar3 = param_3 - *(int *)(iVar2 + 0x1c);" (assignment_expression "iVar3 = param_3 - *(int *)(iVar2 + 0x1c)" identifier = (binary_expression "param_3 - *(int *)(iVar2 + 0x1c)" identifier - (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))))) ;) (if_statement "if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;" if (parenthesized_expression "((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0)" ( (binary_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4))" ( (binary_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c))" identifier (argument_list "(param_3,*(int *)(iVar2 + 0x1c))" ( identifier , (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) ))) != (call_expression "SBORROW4(iVar3,uVar4)" identifier (argument_list "(iVar3,uVar4)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar3 - uVar4) < 0" (cast_expression "(int)(iVar3 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar4)" ( (binary_expression "iVar3 - uVar4" identifier - identifier) ))) < number_literal)) )) (goto_statement "goto LAB_000286e6;" goto statement_identifier ;)) (while_statement "while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }" while (parenthesized_expression "(iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0)" ( (comma_expression "iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0" (assignment_expression "iVar3 = iVar2" identifier = identifier) , (comma_expression "iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0" (assignment_expression "iVar1 = *(int *)(iVar2 + 4)" identifier = (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) , (comma_expression "iVar5 = iVar2, *(int *)(iVar2 + 4) != 0" (assignment_expression "iVar5 = iVar2" identifier = identifier) , (binary_expression "*(int *)(iVar2 + 4) != 0" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) != number_literal)))) )) (compound_statement "{\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }" { (while_statement "while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }" while (parenthesized_expression "(iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0)" ( (comma_expression "iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (assignment_expression "iVar2 = iVar1" identifier = identifier) , (comma_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18))" identifier = (call_expression "(uint)(param_2 < *(uint *)(iVar2 + 0x18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < *(uint *)(iVar2 + 0x18))" ( (binary_expression "param_2 < *(uint *)(iVar2 + 0x18)" identifier < (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) )))) , (comma_expression "iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (assignment_expression "iVar3 = param_3 - *(int *)(iVar2 + 0x1c)" identifier = (binary_expression "param_3 - *(int *)(iVar2 + 0x1c)" identifier - (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))))) , (binary_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4))" ( (binary_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c))" identifier (argument_list "(param_3,*(int *)(iVar2 + 0x1c))" ( identifier , (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) ))) != (call_expression "SBORROW4(iVar3,uVar4)" identifier (argument_list "(iVar3,uVar4)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar3 - uVar4) < 0" (cast_expression "(int)(iVar3 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar4)" ( (binary_expression "iVar3 - uVar4" identifier - identifier) ))) < number_literal))))) )) (compound_statement "{\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }" { (labeled_statement "LAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));" statement_identifier : (expression_statement "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20))" identifier = (call_expression "(uint)(param_2 < *(uint *)(iVar2 + 0x20))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < *(uint *)(iVar2 + 0x20))" ( (binary_expression "param_2 < *(uint *)(iVar2 + 0x20)" identifier < (pointer_expression "*(uint *)(iVar2 + 0x20)" * (cast_expression "(uint *)(iVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) ))))) )))) ;)) (expression_statement "iVar1 = param_3 - *(int *)(iVar2 + 0x24);" (assignment_expression "iVar1 = param_3 - *(int *)(iVar2 + 0x24)" identifier = (binary_expression "param_3 - *(int *)(iVar2 + 0x24)" identifier - (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))))) ;) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) (if_statement "if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;" if (parenthesized_expression "((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0)" ( (binary_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4))" ( (binary_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x24))" identifier (argument_list "(param_3,*(int *)(iVar2 + 0x24))" ( identifier , (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) ))) != (call_expression "SBORROW4(iVar1,uVar4)" identifier (argument_list "(iVar1,uVar4)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar1 - uVar4) < 0" (cast_expression "(int)(iVar1 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar1 - uVar4)" ( (binary_expression "iVar1 - uVar4" identifier - identifier) ))) < number_literal)) )) (goto_statement "goto LAB_00028701;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)(iVar2 + 8);" (assignment_expression "iVar1 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }" if (parenthesized_expression "(*(int *)(iVar2 + 8) == 0)" ( (binary_expression "*(int *)(iVar2 + 8) == 0" (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }" { (expression_statement "iVar3 = iVar5;" (assignment_expression "iVar3 = iVar5" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar2;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar2" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (goto_statement "goto LAB_00028701;" goto statement_identifier ;) })) })) })) (labeled_statement "LAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;" statement_identifier : (expression_statement "*(int *)(param_1 + 0xc) = iVar3;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar3" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;)) }) (else_clause "else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }" else (compound_statement "{\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }" { (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20))" identifier = (call_expression "(uint)(param_2 < *(uint *)(iVar3 + 0x20))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < *(uint *)(iVar3 + 0x20))" ( (binary_expression "param_2 < *(uint *)(iVar3 + 0x20)" identifier < (pointer_expression "*(uint *)(iVar3 + 0x20)" * (cast_expression "(uint *)(iVar3 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) ))))) )))) ;) (expression_statement "iVar2 = param_3 - *(int *)(iVar3 + 0x24);" (assignment_expression "iVar2 = param_3 - *(int *)(iVar3 + 0x24)" identifier = (binary_expression "param_3 - *(int *)(iVar3 + 0x24)" identifier - (pointer_expression "*(int *)(iVar3 + 0x24)" * (cast_expression "(int *)(iVar3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))))) ;) (if_statement "if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;" if (parenthesized_expression "((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0)" ( (binary_expression "(SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4))" ( (binary_expression "SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar3 + 0x24))" identifier (argument_list "(param_3,*(int *)(iVar3 + 0x24))" ( identifier , (pointer_expression "*(int *)(iVar3 + 0x24)" * (cast_expression "(int *)(iVar3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) ))) != (call_expression "SBORROW4(iVar2,uVar4)" identifier (argument_list "(iVar2,uVar4)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar2 - uVar4) < 0" (cast_expression "(int)(iVar2 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar2 - uVar4)" ( (binary_expression "iVar2 - uVar4" identifier - identifier) ))) < number_literal)) )) (goto_statement "goto LAB_00028758;" goto statement_identifier ;)) (while_statement "while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }" while (parenthesized_expression "(iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )) (compound_statement "{\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }" { (expression_statement "uVar4 = *(uint *)(iVar2 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x20)" * (cast_expression "(uint *)(iVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar2 + 0x24);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x24)" identifier = (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }" if (parenthesized_expression "((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0)" ( (binary_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (parenthesized_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4)))" ( (binary_expression "SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" (call_expression "SBORROW4(param_3,iVar5)" identifier (argument_list "(param_3,iVar5)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" identifier (argument_list "(param_3 - iVar5,(uint)(param_2 < uVar4))" ( (binary_expression "param_3 - iVar5" identifier - identifier) , (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar4)" ( (binary_expression "param_2 < uVar4" identifier < identifier) ))) )))) )) == (binary_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (cast_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - iVar5) - (uint)(param_2 < uVar4))" ( (binary_expression "(param_3 - iVar5) - (uint)(param_2 < uVar4)" (parenthesized_expression "(param_3 - iVar5)" ( (binary_expression "param_3 - iVar5" identifier - identifier) )) - (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar4)" ( (binary_expression "param_2 < uVar4" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n        return iVar3;\n      }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) (if_statement "if (local_18 == 2) goto LAB_000286ba;" if (parenthesized_expression "(local_18 == 2)" ( (binary_expression "local_18 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000286ba;" goto statement_identifier ;)) (while_statement "while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }" { (expression_statement "local_18 = local_18 + 1;" (assignment_expression "local_18 = local_18 + 1" identifier = (binary_expression "local_18 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0xc) = iVar3;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar3" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;" if (parenthesized_expression "((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0)" ( (binary_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (parenthesized_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4)))" ( (binary_expression "SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" (call_expression "SBORROW4(param_3,iVar5)" identifier (argument_list "(param_3,iVar5)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" identifier (argument_list "(param_3 - iVar5,(uint)(param_2 < uVar4))" ( (binary_expression "param_3 - iVar5" identifier - identifier) , (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar4)" ( (binary_expression "param_2 < uVar4" identifier < identifier) ))) )))) )) != (binary_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (cast_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - iVar5) - (uint)(param_2 < uVar4))" ( (binary_expression "(param_3 - iVar5) - (uint)(param_2 < uVar4)" (parenthesized_expression "(param_3 - iVar5)" ( (binary_expression "param_3 - iVar5" identifier - identifier) )) - (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar4)" ( (binary_expression "param_2 < uVar4" identifier < identifier) )))) ))) < number_literal)) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);" statement_identifier : (expression_statement "iVar3 = *(int *)(iVar3 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x10)" identifier = (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;)) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (local_18 == 2) goto LAB_000286ba;" if (parenthesized_expression "(local_18 == 2)" ( (binary_expression "local_18 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000286ba;" goto statement_identifier ;)) (expression_statement "uVar4 = *(uint *)(iVar3 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x20)" * (cast_expression "(uint *)(iVar3 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar3 + 0x24);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0x24)" identifier = (pointer_expression "*(int *)(iVar3 + 0x24)" * (cast_expression "(int *)(iVar3 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) ))))) ;) })) })) }))) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression 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) ))))) )))) ;) (expression_statement (assignment_expression IDENT = (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 (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT)) )) (goto_statement goto statement_identifier ;)) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT)))) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression 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) ))))) )))) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) , (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT))))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression 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) ))))) )))) ;)) (expression_statement (assignment_expression IDENT = (binary_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 (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT)) )) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (goto_statement goto statement_identifier ;) })) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression 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) ))))) )))) ;) (expression_statement (assignment_expression IDENT = (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 (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT)) )) (goto_statement goto statement_identifier ;)) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != 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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ))) < LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ))) < LIT)) )) (break_statement break ;)) (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 IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (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) ))))) ;) })) })) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_000286a0(int param_1,uint param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int local_18;\n  \n  iVar3 = *(int *)(param_1 + 0xc);\n  if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }\n  return iVar3;\n}" (primitive_type "int") (function_declarator "FUN_000286a0(int param_1,uint param_2,int param_3)" (identifier "FUN_000286a0") (parameter_list "(int param_1,uint param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int local_18;\n  \n  iVar3 = *(int *)(param_1 + 0xc);\n  if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }\n  return iVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar3 = *(int *)(param_1 + 0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }\n  else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    iVar5 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));\n    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);\n    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;\n    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }\nLAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;\n  }" ({ "{") (labeled_statement "LAB_000286ba:\n    iVar2 = *(int *)(param_1 + 8);" (statement_identifier "LAB_000286ba") (: ":") (expression_statement "iVar2 = *(int *)(param_1 + 8);" (assignment_expression "iVar2 = *(int *)(param_1 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";"))) (if_statement "if (iVar2 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18))" (identifier "uVar4") (= "=") (call_expression "(uint)(param_2 < *(uint *)(iVar2 + 0x18))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < *(uint *)(iVar2 + 0x18))" (( "(") (binary_expression "param_2 < *(uint *)(iVar2 + 0x18)" (identifier "param_2") (< "<") (pointer_expression "*(uint *)(iVar2 + 0x18)" (* "*") (cast_expression "(uint *)(iVar2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) () ")")))) (; ";")) (expression_statement "iVar3 = param_3 - *(int *)(iVar2 + 0x1c);" (assignment_expression "iVar3 = param_3 - *(int *)(iVar2 + 0x1c)" (identifier "iVar3") (= "=") (binary_expression "param_3 - *(int *)(iVar2 + 0x1c)" (identifier "param_3") (- "-") (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))))) (; ";")) (if_statement "if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;" (if "if") (parenthesized_expression "((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0)" (( "(") (binary_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n        (int)(iVar3 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4))" (( "(") (binary_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c))" (identifier "SBORROW4") (argument_list "(param_3,*(int *)(iVar2 + 0x1c))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) () ")"))) (!= "!=") (call_expression "SBORROW4(iVar3,uVar4)" (identifier "SBORROW4") (argument_list "(iVar3,uVar4)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar4") () ")")))) () ")")) (== "==") (binary_expression "(int)(iVar3 - uVar4) < 0" (cast_expression "(int)(iVar3 - uVar4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar3 - uVar4)" (( "(") (binary_expression "iVar3 - uVar4" (identifier "iVar3") (- "-") (identifier "uVar4")) () ")"))) (< "<") (number_literal "0"))) () ")")) (goto_statement "goto LAB_000286e6;" (goto "goto") (statement_identifier "LAB_000286e6") (; ";"))) (while_statement "while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }" (while "while") (parenthesized_expression "(iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0)" (( "(") (comma_expression "iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0" (assignment_expression "iVar3 = iVar2" (identifier "iVar3") (= "=") (identifier "iVar2")) (, ",") (comma_expression "iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0" (assignment_expression "iVar1 = *(int *)(iVar2 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar2 + 4)" (* "*") (cast_expression "(int *)(iVar2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")"))))) (, ",") (comma_expression "iVar5 = iVar2, *(int *)(iVar2 + 4) != 0" (assignment_expression "iVar5 = iVar2" (identifier "iVar5") (= "=") (identifier "iVar2")) (, ",") (binary_expression "*(int *)(iVar2 + 4) != 0" (pointer_expression "*(int *)(iVar2 + 4)" (* "*") (cast_expression "(int *)(iVar2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0"))))) () ")")) (compound_statement "{\n      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }\n    }" ({ "{") (while_statement "while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0) {\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }" (while "while") (parenthesized_expression "(iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0)" (( "(") (comma_expression "iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (assignment_expression "iVar2 = iVar1" (identifier "iVar2") (= "=") (identifier "iVar1")) (, ",") (comma_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),\n            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18))" (identifier "uVar4") (= "=") (call_expression "(uint)(param_2 < *(uint *)(iVar2 + 0x18))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < *(uint *)(iVar2 + 0x18))" (( "(") (binary_expression "param_2 < *(uint *)(iVar2 + 0x18)" (identifier "param_2") (< "<") (pointer_expression "*(uint *)(iVar2 + 0x18)" (* "*") (cast_expression "(uint *)(iVar2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) () ")")))) (, ",") (comma_expression "iVar3 = param_3 - *(int *)(iVar2 + 0x1c),\n            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (assignment_expression "iVar3 = param_3 - *(int *)(iVar2 + 0x1c)" (identifier "iVar3") (= "=") (binary_expression "param_3 - *(int *)(iVar2 + 0x1c)" (identifier "param_3") (- "-") (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))))) (, ",") (binary_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==\n            (int)(iVar3 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4))" (( "(") (binary_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x1c))" (identifier "SBORROW4") (argument_list "(param_3,*(int *)(iVar2 + 0x1c))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) () ")"))) (!= "!=") (call_expression "SBORROW4(iVar3,uVar4)" (identifier "SBORROW4") (argument_list "(iVar3,uVar4)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar4") () ")")))) () ")")) (== "==") (binary_expression "(int)(iVar3 - uVar4) < 0" (cast_expression "(int)(iVar3 - uVar4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar3 - uVar4)" (( "(") (binary_expression "iVar3 - uVar4" (identifier "iVar3") (- "-") (identifier "uVar4")) () ")"))) (< "<") (number_literal "0")))))) () ")")) (compound_statement "{\nLAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));\n        iVar1 = param_3 - *(int *)(iVar2 + 0x24);\n        iVar3 = iVar2;\n        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;\n        iVar1 = *(int *)(iVar2 + 8);\n        if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }\n      }" ({ "{") (labeled_statement "LAB_000286e6:\n        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));" (statement_identifier "LAB_000286e6") (: ":") (expression_statement "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20))" (identifier "uVar4") (= "=") (call_expression "(uint)(param_2 < *(uint *)(iVar2 + 0x20))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < *(uint *)(iVar2 + 0x20))" (( "(") (binary_expression "param_2 < *(uint *)(iVar2 + 0x20)" (identifier "param_2") (< "<") (pointer_expression "*(uint *)(iVar2 + 0x20)" (* "*") (cast_expression "(uint *)(iVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x20)" (( "(") (binary_expression "iVar2 + 0x20" (identifier "iVar2") (+ "+") (number_literal "0x20")) () ")"))))) () ")")))) (; ";"))) (expression_statement "iVar1 = param_3 - *(int *)(iVar2 + 0x24);" (assignment_expression "iVar1 = param_3 - *(int *)(iVar2 + 0x24)" (identifier "iVar1") (= "=") (binary_expression "param_3 - *(int *)(iVar2 + 0x24)" (identifier "param_3") (- "-") (pointer_expression "*(int *)(iVar2 + 0x24)" (* "*") (cast_expression "(int *)(iVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))))) (; ";")) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" (identifier "iVar3") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;" (if "if") (parenthesized_expression "((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0)" (( "(") (binary_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=\n            (int)(iVar1 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4))" (( "(") (binary_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar2 + 0x24))" (identifier "SBORROW4") (argument_list "(param_3,*(int *)(iVar2 + 0x24))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(int *)(iVar2 + 0x24)" (* "*") (cast_expression "(int *)(iVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) () ")"))) (!= "!=") (call_expression "SBORROW4(iVar1,uVar4)" (identifier "SBORROW4") (argument_list "(iVar1,uVar4)" (( "(") (identifier "iVar1") (, ",") (identifier "uVar4") () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar1 - uVar4) < 0" (cast_expression "(int)(iVar1 - uVar4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar1 - uVar4)" (( "(") (binary_expression "iVar1 - uVar4" (identifier "iVar1") (- "-") (identifier "uVar4")) () ")"))) (< "<") (number_literal "0"))) () ")")) (goto_statement "goto LAB_00028701;" (goto "goto") (statement_identifier "LAB_00028701") (; ";"))) (expression_statement "iVar1 = *(int *)(iVar2 + 8);" (assignment_expression "iVar1 = *(int *)(iVar2 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar2 + 8) == 0) {\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 8) == 0)" (( "(") (binary_expression "*(int *)(iVar2 + 8) == 0" (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar3 = iVar5;\n          if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }\n          goto LAB_00028701;\n        }" ({ "{") (expression_statement "iVar3 = iVar5;" (assignment_expression "iVar3 = iVar5" (identifier "iVar3") (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (iVar5 == 0) {\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            *(int *)(param_1 + 0xc) = iVar2;\n            return 0;\n          }" ({ "{") (expression_statement "*(int *)(param_1 + 0xc) = iVar2;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar2" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (goto_statement "goto LAB_00028701;" (goto "goto") (statement_identifier "LAB_00028701") (; ";")) (} "}"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00028701:\n    *(int *)(param_1 + 0xc) = iVar3;" (statement_identifier "LAB_00028701") (: ":") (expression_statement "*(int *)(param_1 + 0xc) = iVar3;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar3" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar3")) (; ";"))) (} "}")) (else_clause "else {\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }" (else "else") (compound_statement "{\n    local_18 = 0;\n    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));\n    iVar2 = param_3 - *(int *)(iVar3 + 0x24);\n    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;\n    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }\n  }" ({ "{") (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" (identifier "local_18") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));" (assignment_expression "uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20))" (identifier "uVar4") (= "=") (call_expression "(uint)(param_2 < *(uint *)(iVar3 + 0x20))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < *(uint *)(iVar3 + 0x20))" (( "(") (binary_expression "param_2 < *(uint *)(iVar3 + 0x20)" (identifier "param_2") (< "<") (pointer_expression "*(uint *)(iVar3 + 0x20)" (* "*") (cast_expression "(uint *)(iVar3 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x20)" (( "(") (binary_expression "iVar3 + 0x20" (identifier "iVar3") (+ "+") (number_literal "0x20")) () ")"))))) () ")")))) (; ";")) (expression_statement "iVar2 = param_3 - *(int *)(iVar3 + 0x24);" (assignment_expression "iVar2 = param_3 - *(int *)(iVar3 + 0x24)" (identifier "iVar2") (= "=") (binary_expression "param_3 - *(int *)(iVar3 + 0x24)" (identifier "param_3") (- "-") (pointer_expression "*(int *)(iVar3 + 0x24)" (* "*") (cast_expression "(int *)(iVar3 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x24)" (( "(") (binary_expression "iVar3 + 0x24" (identifier "iVar3") (+ "+") (number_literal "0x24")) () ")")))))) (; ";")) (if_statement "if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;" (if "if") (parenthesized_expression "((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0)" (( "(") (binary_expression "(SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==\n        (int)(iVar2 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4))" (( "(") (binary_expression "SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)" (call_expression "SBORROW4(param_3,*(int *)(iVar3 + 0x24))" (identifier "SBORROW4") (argument_list "(param_3,*(int *)(iVar3 + 0x24))" (( "(") (identifier "param_3") (, ",") (pointer_expression "*(int *)(iVar3 + 0x24)" (* "*") (cast_expression "(int *)(iVar3 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x24)" (( "(") (binary_expression "iVar3 + 0x24" (identifier "iVar3") (+ "+") (number_literal "0x24")) () ")")))) () ")"))) (!= "!=") (call_expression "SBORROW4(iVar2,uVar4)" (identifier "SBORROW4") (argument_list "(iVar2,uVar4)" (( "(") (identifier "iVar2") (, ",") (identifier "uVar4") () ")")))) () ")")) (== "==") (binary_expression "(int)(iVar2 - uVar4) < 0" (cast_expression "(int)(iVar2 - uVar4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar2 - uVar4)" (( "(") (binary_expression "iVar2 - uVar4" (identifier "iVar2") (- "-") (identifier "uVar4")) () ")"))) (< "<") (number_literal "0"))) () ")")) (goto_statement "goto LAB_00028758;" (goto "goto") (statement_identifier "LAB_00028758") (; ";"))) (while_statement "while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }" (while "while") (parenthesized_expression "(iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0)" (( "(") (comma_expression "iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar3 + 0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      uVar4 = *(uint *)(iVar2 + 0x20);\n      iVar5 = *(int *)(iVar2 + 0x24);\n      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }\n      iVar3 = iVar2;\n      if (local_18 == 2) goto LAB_000286ba;\n      while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }\n    }" ({ "{") (expression_statement "uVar4 = *(uint *)(iVar2 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x20)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x20)" (* "*") (cast_expression "(uint *)(iVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x20)" (( "(") (binary_expression "iVar2 + 0x20" (identifier "iVar2") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar2 + 0x24);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x24)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar2 + 0x24)" (* "*") (cast_expression "(int *)(iVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {\n        return iVar3;\n      }" (if "if") (parenthesized_expression "((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0)" (( "(") (binary_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==\n          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (parenthesized_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4)))" (( "(") (binary_expression "SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" (call_expression "SBORROW4(param_3,iVar5)" (identifier "SBORROW4") (argument_list "(param_3,iVar5)" (( "(") (identifier "param_3") (, ",") (identifier "iVar5") () ")"))) (!= "!=") (call_expression "SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" (identifier "SBORROW4") (argument_list "(param_3 - iVar5,(uint)(param_2 < uVar4))" (( "(") (binary_expression "param_3 - iVar5" (identifier "param_3") (- "-") (identifier "iVar5")) (, ",") (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < uVar4)" (( "(") (binary_expression "param_2 < uVar4" (identifier "param_2") (< "<") (identifier "uVar4")) () ")"))) () ")")))) () ")")) (== "==") (binary_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (cast_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((param_3 - iVar5) - (uint)(param_2 < uVar4))" (( "(") (binary_expression "(param_3 - iVar5) - (uint)(param_2 < uVar4)" (parenthesized_expression "(param_3 - iVar5)" (( "(") (binary_expression "param_3 - iVar5" (identifier "param_3") (- "-") (identifier "iVar5")) () ")")) (- "-") (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < uVar4)" (( "(") (binary_expression "param_2 < uVar4" (identifier "param_2") (< "<") (identifier "uVar4")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n        return iVar3;\n      }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" (identifier "iVar3") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (local_18 == 2) goto LAB_000286ba;" (if "if") (parenthesized_expression "(local_18 == 2)" (( "(") (binary_expression "local_18 == 2" (identifier "local_18") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_000286ba;" (goto "goto") (statement_identifier "LAB_000286ba") (; ";"))) (while_statement "while( true ) {\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        local_18 = local_18 + 1;\n        *(int *)(param_1 + 0xc) = iVar3;\n        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;\nLAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);\n        if (iVar3 == 0) {\n          return 0;\n        }\n        if (local_18 == 2) goto LAB_000286ba;\n        uVar4 = *(uint *)(iVar3 + 0x20);\n        iVar5 = *(int *)(iVar3 + 0x24);\n      }" ({ "{") (expression_statement "local_18 = local_18 + 1;" (assignment_expression "local_18 = local_18 + 1" (identifier "local_18") (= "=") (binary_expression "local_18 + 1" (identifier "local_18") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0xc) = iVar3;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar3" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;" (if "if") (parenthesized_expression "((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0)" (( "(") (binary_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=\n            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (parenthesized_expression "(SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4)))" (( "(") (binary_expression "SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" (call_expression "SBORROW4(param_3,iVar5)" (identifier "SBORROW4") (argument_list "(param_3,iVar5)" (( "(") (identifier "param_3") (, ",") (identifier "iVar5") () ")"))) (!= "!=") (call_expression "SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))" (identifier "SBORROW4") (argument_list "(param_3 - iVar5,(uint)(param_2 < uVar4))" (( "(") (binary_expression "param_3 - iVar5" (identifier "param_3") (- "-") (identifier "iVar5")) (, ",") (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < uVar4)" (( "(") (binary_expression "param_2 < uVar4" (identifier "param_2") (< "<") (identifier "uVar4")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0" (cast_expression "(int)((param_3 - iVar5) - (uint)(param_2 < uVar4))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((param_3 - iVar5) - (uint)(param_2 < uVar4))" (( "(") (binary_expression "(param_3 - iVar5) - (uint)(param_2 < uVar4)" (parenthesized_expression "(param_3 - iVar5)" (( "(") (binary_expression "param_3 - iVar5" (identifier "param_3") (- "-") (identifier "iVar5")) () ")")) (- "-") (call_expression "(uint)(param_2 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < uVar4)" (( "(") (binary_expression "param_2 < uVar4" (identifier "param_2") (< "<") (identifier "uVar4")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_00028758:\n        iVar3 = *(int *)(iVar3 + 0x10);" (statement_identifier "LAB_00028758") (: ":") (expression_statement "iVar3 = *(int *)(iVar3 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x10)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";"))) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (local_18 == 2) goto LAB_000286ba;" (if "if") (parenthesized_expression "(local_18 == 2)" (( "(") (binary_expression "local_18 == 2" (identifier "local_18") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_000286ba;" (goto "goto") (statement_identifier "LAB_000286ba") (; ";"))) (expression_statement "uVar4 = *(uint *)(iVar3 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar3 + 0x20)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar3 + 0x20)" (* "*") (cast_expression "(uint *)(iVar3 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x20)" (( "(") (binary_expression "iVar3 + 0x20" (identifier "iVar3") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar3 + 0x24);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0x24)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar3 + 0x24)" (* "*") (cast_expression "(int *)(iVar3 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x24)" (( "(") (binary_expression "iVar3 + 0x24" (identifier "iVar3") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (} "}")))) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 * function_1(type_2 *anchor,type_3 pos)

{
  int *piVar1;
  int var_7;
  type_1 *phVar3;
  type_1 *var_2;
  type_1 *var_1;
  type_4 var_5;
  type_1 *var_6;
  int var_4;
  int var_8;
  
  var_1 = anchor->lookaside;
  if (var_1 == (type_1 *)0x0) {
LAB_000286ba:
    var_2 = anchor->root;
    if (var_2 == (type_1 *)0x0) {
      return (type_1 *)0x0;
    }
    var_6 = (type_1 *)0x0;
    piVar1 = (int *)((int)&(var_2->r).hl_startpos + 4);
    var_5 = (type_4)((type_4)pos < (type_4)(var_2->r).hl_startpos);
    var_4 = pos._4_4_ - *piVar1;
    if ((var_3(pos._4_4_,*piVar1) != var_3(var_4,var_5)) == (int)(var_4 - var_5) < 0)
    goto LAB_000286e6;
    while (var_1 = var_2, phVar3 = var_2->left, var_6 = var_2,
          var_2->left != (type_1 *)0x0) {
      while (var_2 = phVar3, piVar1 = (int *)((int)&(var_2->r).hl_startpos + 4),
            var_5 = (type_4)((type_4)pos < (type_4)(var_2->r).hl_startpos), var_4 = pos._4_4_ - *piVar1,
            (var_3(pos._4_4_,*piVar1) != var_3(var_4,var_5)) == (int)(var_4 - var_5) < 0) {
LAB_000286e6:
        piVar1 = (int *)((int)&(var_2->r).hl_endpos + 4);
        var_5 = (type_4)((type_4)pos < (type_4)(var_2->r).hl_endpos);
        var_4 = pos._4_4_ - *piVar1;
        var_1 = var_2;
        if ((var_3(pos._4_4_,*piVar1) != var_3(var_4,var_5)) != (int)(var_4 - var_5) < 0)
        goto LAB_00028701;
        phVar3 = var_2->right;
        if (var_2->right == (type_1 *)0x0) {
          var_1 = var_6;
          if (var_6 == (type_1 *)0x0) {
            anchor->lookaside = var_2;
            return (type_1 *)0x0;
          }
          goto LAB_00028701;
        }
      }
    }
LAB_00028701:
    anchor->lookaside = var_1;
  }
  else {
    var_4 = *(int *)((int)&(var_1->r).hl_endpos + 4);
    var_8 = 0;
    var_5 = (type_4)((type_4)pos < (type_4)(var_1->r).hl_endpos);
    var_7 = pos._4_4_ - var_4;
    if ((var_3(pos._4_4_,var_4) != var_3(var_7,var_5)) == (int)(var_7 - var_5) < 0)
    goto LAB_00028758;
    while (var_2 = var_1->prev, var_2 != (type_1 *)0x0) {
      var_5 = (type_4)(var_2->r).hl_endpos;
      var_4 = *(int *)((int)&(var_2->r).hl_endpos + 4);
      if ((var_3(pos._4_4_,var_4) != var_3(pos._4_4_ - var_4,(type_4)((type_4)pos < var_5))) ==
          (int)((pos._4_4_ - var_4) - (type_4)((type_4)pos < var_5)) < 0) {
        return var_1;
      }
      var_1 = var_2;
      if (var_8 == 2) goto LAB_000286ba;
      while( true ) {
        var_8 = var_8 + 1;
        anchor->lookaside = var_1;
        if ((var_3(pos._4_4_,var_4) != var_3(pos._4_4_ - var_4,(type_4)((type_4)pos < var_5))) !=
            (int)((pos._4_4_ - var_4) - (type_4)((type_4)pos < var_5)) < 0) break;
LAB_00028758:
        var_1 = var_1->next;
        if (var_1 == (type_1 *)0x0) {
          return (type_1 *)0x0;
        }
        if (var_8 == 2) goto LAB_000286ba;
        var_5 = (type_4)(var_1->r).hl_endpos;
        var_4 = *(int *)((int)&(var_1->r).hl_endpos + 4);
      }
    }
  }
  return var_1;
}


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

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

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  int local_18;
  
  iVar3 = *(int *)(param_1 + 0xc);
  if (iVar3 == 0) {
LAB_000286ba:
    iVar2 = *(int *)(param_1 + 8);
    if (iVar2 == 0) {
      return 0;
    }
    iVar5 = 0;
    uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18));
    iVar3 = param_3 - *(int *)(iVar2 + 0x1c);
    if ((SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==
        (int)(iVar3 - uVar4) < 0) goto LAB_000286e6;
    while (iVar3 = iVar2, iVar1 = *(int *)(iVar2 + 4), iVar5 = iVar2, *(int *)(iVar2 + 4) != 0) {
      while (iVar2 = iVar1, uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x18)),
            iVar3 = param_3 - *(int *)(iVar2 + 0x1c),
            (SBORROW4(param_3,*(int *)(iVar2 + 0x1c)) != SBORROW4(iVar3,uVar4)) ==
            (int)(iVar3 - uVar4) < 0) {
LAB_000286e6:
        uVar4 = (uint)(param_2 < *(uint *)(iVar2 + 0x20));
        iVar1 = param_3 - *(int *)(iVar2 + 0x24);
        iVar3 = iVar2;
        if ((SBORROW4(param_3,*(int *)(iVar2 + 0x24)) != SBORROW4(iVar1,uVar4)) !=
            (int)(iVar1 - uVar4) < 0) goto LAB_00028701;
        iVar1 = *(int *)(iVar2 + 8);
        if (*(int *)(iVar2 + 8) == 0) {
          iVar3 = iVar5;
          if (iVar5 == 0) {
            *(int *)(param_1 + 0xc) = iVar2;
            return 0;
          }
          goto LAB_00028701;
        }
      }
    }
LAB_00028701:
    *(int *)(param_1 + 0xc) = iVar3;
  }
  else {
    local_18 = 0;
    uVar4 = (uint)(param_2 < *(uint *)(iVar3 + 0x20));
    iVar2 = param_3 - *(int *)(iVar3 + 0x24);
    if ((SBORROW4(param_3,*(int *)(iVar3 + 0x24)) != SBORROW4(iVar2,uVar4)) ==
        (int)(iVar2 - uVar4) < 0) goto LAB_00028758;
    while (iVar2 = *(int *)(iVar3 + 0xc), iVar2 != 0) {
      uVar4 = *(uint *)(iVar2 + 0x20);
      iVar5 = *(int *)(iVar2 + 0x24);
      if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) ==
          (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) {
        return iVar3;
      }
      iVar3 = iVar2;
      if (local_18 == 2) goto LAB_000286ba;
      while( true ) {
        local_18 = local_18 + 1;
        *(int *)(param_1 + 0xc) = iVar3;
        if ((SBORROW4(param_3,iVar5) != SBORROW4(param_3 - iVar5,(uint)(param_2 < uVar4))) !=
            (int)((param_3 - iVar5) - (uint)(param_2 < uVar4)) < 0) break;
LAB_00028758:
        iVar3 = *(int *)(iVar3 + 0x10);
        if (iVar3 == 0) {
          return 0;
        }
        if (local_18 == 2) goto LAB_000286ba;
        uVar4 = *(uint *)(iVar3 + 0x20);
        iVar5 = *(int *)(iVar3 + 0x24);
      }
    }
  }
  return iVar3;
}

