
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int array_insert(ARRAY *a,arrayind_t i,char *v)

{
  array_element *paVar1;
  array_element *paVar2;
  uint uVar3;
  uint uVar4;
  int iVar5;
  longlong lVar6;
  array_element *__ptr;
  size_t sVar7;
  char *__dest;
  int iVar8;
  int iVar9;
  int iVar10;
  array_element *paVar11;
  uint local_24;
  
  if (a == (ARRAY *)0x0) {
    return -1;
  }
  __ptr = (array_element *)xmalloc(0x14);
  __ptr->ind = i;
  if (v != (char *)0x0) {
    sVar7 = strlen(v);
    __dest = (char *)xmalloc(sVar7 + 1);
    v = strcpy(__dest,v);
  }
  __ptr->prev = (array_element *)0x0;
  __ptr->next = (array_element *)0x0;
  __ptr->value = v;
  paVar1 = a->head;
  iVar10 = *(int *)((int)&a->max_index + 4);
  uVar3 = (uint)((uint)a->max_index < (uint)i);
  iVar5 = iVar10 - i._4_4_;
  if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar5,uVar3)) != (int)(iVar5 - uVar3) < 0) {
    paVar11 = paVar1->prev;
    paVar11->next = __ptr;
    __ptr->prev = paVar11;
    paVar1->prev = __ptr;
    __ptr->next = paVar1;
    a->max_index = i;
    a->num_elements = a->num_elements + 1;
    a->lastref = __ptr;
    return 0;
  }
  paVar11 = paVar1->next;
  local_24 = (uint)paVar11->ind;
  iVar10 = *(int *)((int)&paVar11->ind + 4);
  if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=
      (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {
    paVar11->prev = __ptr;
    __ptr->next = paVar11;
    __ptr->prev = paVar1;
    paVar1->next = __ptr;
    a->num_elements = a->num_elements + 1;
    a->lastref = __ptr;
    return 0;
  }
  paVar2 = a->lastref;
  if (paVar2 != (array_element *)0x0) {
    iVar5 = *(int *)((int)&paVar2->ind + 4);
    uVar3 = (uint)paVar2->ind;
    iVar8 = iVar5 + (uint)CARRY4(-(iVar5 >> 0x1f),uVar3);
    iVar9 = iVar8 >> 1;
    uVar4 = (uint)((uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000));
    iVar8 = i._4_4_ - iVar9;
    if (((SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0) &&
       (iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,
       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=
       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0)) {
      if ((paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1)) goto LAB_000939f4;
      uVar3 = (uint)paVar11->ind;
      iVar10 = *(int *)((int)&paVar11->ind + 4);
      lVar6 = paVar11->ind;
      while (i != lVar6) {
        if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=
            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {
          paVar1 = paVar11->next;
          paVar1->prev = __ptr;
          __ptr->next = paVar1;
          __ptr->prev = paVar11;
          paVar11->next = __ptr;
          a->num_elements = a->num_elements + 1;
          a->lastref = __ptr;
          return 0;
        }
        paVar11 = paVar11->prev;
        if (paVar11 == paVar1) goto LAB_000939f4;
        uVar3 = (uint)paVar11->ind;
        iVar10 = *(int *)((int)&paVar11->ind + 4);
        lVar6 = paVar11->ind;
      }
      goto LAB_00093a44;
    }
  }
  if (paVar11 != paVar1) {
    if (i != CONCAT44(iVar10,local_24)) {
      if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=
          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {
LAB_00093999:
        paVar1 = paVar11->prev;
        paVar1->next = __ptr;
        __ptr->prev = paVar1;
        paVar11->prev = __ptr;
        __ptr->next = paVar11;
        a->num_elements = a->num_elements + 1;
        a->lastref = __ptr;
        return 0;
      }
      paVar11 = paVar11->next;
      if (paVar1 == paVar11) goto LAB_000939f4;
      uVar3 = (uint)paVar11->ind;
      iVar10 = *(int *)((int)&paVar11->ind + 4);
      lVar6 = paVar11->ind;
      while (i != lVar6) {
        if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=
            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;
        paVar11 = paVar11->next;
        if (paVar11 == paVar1) goto LAB_000939f4;
        uVar3 = (uint)paVar11->ind;
        iVar10 = *(int *)((int)&paVar11->ind + 4);
        lVar6 = paVar11->ind;
      }
    }
LAB_00093a44:
    free(paVar11->value);
    paVar11->value = __ptr->value;
    free(__ptr);
    a->lastref = paVar11;
    return 0;
  }
LAB_000939f4:
  if (v != (char *)0x0) {
    free(v);
  }
  free(__ptr);
  a->lastref = (array_element *)0x0;
  return -1;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 array_insert(int param_1,uint param_2,uint param_3,char *param_4)

{
  uint *puVar1;
  uint *puVar2;
  uint uVar3;
  uint uVar4;
  uint *__ptr;
  size_t sVar5;
  char *__dest;
  uint uVar6;
  int iVar7;
  int iVar8;
  uint uVar9;
  uint *puVar10;
  uint local_24;
  
  if (param_1 == 0) {
    return 0xffffffff;
  }
  __ptr = (uint *)xmalloc(0x14);
  *__ptr = param_2;
  __ptr[1] = param_3;
  if (param_4 != (char *)0x0) {
    sVar5 = strlen(param_4);
    __dest = (char *)xmalloc(sVar5 + 1);
    param_4 = strcpy(__dest,param_4);
  }
  __ptr[4] = 0;
  __ptr[3] = 0;
  __ptr[2] = (uint)param_4;
  puVar1 = *(uint **)(param_1 + 0x14);
  uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);
  iVar7 = *(int *)(param_1 + 8) - param_3;
  if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0
     ) {
    uVar9 = puVar1[4];
    *(uint **)(uVar9 + 0xc) = __ptr;
    __ptr[4] = uVar9;
    puVar1[4] = (uint)__ptr;
    __ptr[3] = (uint)puVar1;
    *(uint *)(param_1 + 4) = param_2;
    *(uint *)(param_1 + 8) = param_3;
    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;
    *(uint **)(param_1 + 0x10) = __ptr;
    return 0;
  }
  puVar10 = (uint *)puVar1[3];
  local_24 = *puVar10;
  uVar9 = puVar10[1];
  if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=
      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {
    puVar10[4] = (uint)__ptr;
    __ptr[3] = (uint)puVar10;
    __ptr[4] = (uint)puVar1;
    puVar1[3] = (uint)__ptr;
    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;
    *(uint **)(param_1 + 0x10) = __ptr;
    return 0;
  }
  puVar2 = *(uint **)(param_1 + 0x10);
  if (puVar2 != (uint *)0x0) {
    uVar6 = puVar2[1];
    uVar3 = *puVar2;
    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);
    iVar8 = iVar7 >> 1;
    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));
    iVar7 = param_3 - iVar8;
    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&
       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,
       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=
       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {
      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;
      uVar9 = *puVar10;
      uVar6 = puVar10[1];
      if (uVar9 != param_2 || uVar6 != param_3) {
        do {
          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=
              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {
            uVar9 = puVar10[3];
            *(uint **)(uVar9 + 0x10) = __ptr;
            __ptr[3] = uVar9;
            __ptr[4] = (uint)puVar10;
            puVar10[3] = (uint)__ptr;
            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;
            *(uint **)(param_1 + 0x10) = __ptr;
            return 0;
          }
          puVar10 = (uint *)puVar10[4];
          if (puVar10 == puVar1) goto LAB_000939f4;
          uVar9 = *puVar10;
          uVar6 = puVar10[1];
        } while (uVar6 != param_3 || uVar9 != param_2);
      }
      goto LAB_00093a44;
    }
  }
  if (puVar10 != puVar1) {
    if (param_3 != uVar9 || local_24 != param_2) {
      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=
          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {
LAB_00093999:
        uVar9 = puVar10[4];
        *(uint **)(uVar9 + 0xc) = __ptr;
        __ptr[4] = uVar9;
        puVar10[4] = (uint)__ptr;
        __ptr[3] = (uint)puVar10;
        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;
        *(uint **)(param_1 + 0x10) = __ptr;
        return 0;
      }
      puVar10 = (uint *)puVar10[3];
      if (puVar1 == puVar10) goto LAB_000939f4;
      uVar9 = *puVar10;
      uVar6 = puVar10[1];
      if (param_2 != uVar9 || uVar6 != param_3) {
        do {
          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=
              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;
          puVar10 = (uint *)puVar10[3];
          if (puVar10 == puVar1) goto LAB_000939f4;
          uVar9 = *puVar10;
          uVar6 = puVar10[1];
        } while (uVar6 != param_3 || uVar9 != param_2);
      }
    }
LAB_00093a44:
    free((void *)puVar10[2]);
    puVar10[2] = __ptr[2];
    free(__ptr);
    *(uint **)(param_1 + 0x10) = puVar10;
    return 0;
  }
LAB_000939f4:
  if (param_4 != (char *)0x0) {
    free(param_4);
  }
  free(__ptr);
  *(undefined4 *)(param_1 + 0x10) = 0;
  return 0xffffffff;
}


PUSH EBP
PUSH EDI
PUSH ESI
CALL 0x00032a5d
ADD ESI,0xde8d8
PUSH EBX
SUB ESP,0x2c
MOV EAX,dword ptr [ESP + 0x40]
MOV EBP,dword ptr [ESP + 0x44]
MOV EDI,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0x4],ESI
TEST EAX,EAX
JZ 0x00093a7e
SUB ESP,0xc
MOV EBX,ESI
PUSH 0x14
CALL 0x000ad700
ADD ESP,0x10
MOV ESI,dword ptr [ESP + 0x4c]
MOV ECX,EAX
MOV dword ptr [EAX],EBP
MOV dword ptr [EAX + 0x4],EDI
TEST ESI,ESI
JZ 0x00093798
MOV dword ptr [ESP],EAX
SUB ESP,0xc
PUSH dword ptr [ESP + 0x58]
CALL 0x0002e760
ADD EAX,0x1
MOV dword ptr [ESP],EAX
CALL 0x000ad700
POP EDX
POP ECX
PUSH dword ptr [ESP + 0x54]
PUSH EAX
CALL 0x0002e580
MOV dword ptr [ESP + 0x5c],EAX
ADD ESP,0x10
MOV ECX,dword ptr [ESP]
MOV EAX,dword ptr [ESP + 0x4c]
MOV EDX,dword ptr [ESP + 0x40]
MOV dword ptr [ECX + 0x10],0x0
MOV dword ptr [ECX + 0xc],0x0
MOV dword ptr [ECX + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x40]
CMP dword ptr [EDX + 0x4],EBP
MOV EAX,dword ptr [EAX + 0x14]
MOV dword ptr [ESP],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [EAX + 0x8]
SBB EAX,EDI
JL 0x000939c0
MOV EAX,dword ptr [ESP]
MOV ESI,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [ESI]
MOV EBX,dword ptr [ESI + 0x4]
CMP EBP,EAX
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,EDI
SBB EAX,EBX
JL 0x000938e0
MOV EAX,dword ptr [EDX + 0x10]
MOV dword ptr [ESP + 0x1c],EAX
TEST EAX,EAX
JZ 0x00093910
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x14],EDX
SHR EDX,0x1f
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,EDX
XOR EDX,EDX
ADD EAX,dword ptr [ESP + 0x10]
ADC EDX,dword ptr [ESP + 0x14]
SHRD EAX,EDX,0x1
SAR EDX,0x1
MOV dword ptr [ESP + 0xc],EDX
MOV EDX,EDI
MOV dword ptr [ESP + 0x8],EAX
CMP EBP,dword ptr [ESP + 0x8]
SBB EDX,dword ptr [ESP + 0xc]
JL 0x00093910
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV ESI,EDI
CMP EBP,EAX
SBB ESI,EDX
JGE 0x00093904
MOV EDX,dword ptr [ESP]
CMP dword ptr [ESP + 0x1c],EDX
JZ 0x000939f4
MOV EAX,dword ptr [ESP + 0x1c]
MOV ESI,dword ptr [EAX + 0x10]
CMP ESI,dword ptr [ESP]
JZ 0x000939f4
MOV EDX,dword ptr [ESI]
MOV EAX,dword ptr [ESI + 0x4]
MOV EBX,EDX
MOV dword ptr [ESP + 0x18],EAX
XOR EBX,EBP
MOV EAX,EBX
MOV EBX,dword ptr [ESP + 0x18]
XOR EBX,EDI
OR EAX,EBX
JZ 0x00093a44
MOV dword ptr [ESP + 0x8],ECX
MOV EAX,dword ptr [ESP + 0x18]
JMP 0x000938b1
MOV ESI,dword ptr [ESI + 0x10]
CMP ESI,dword ptr [ESP]
JZ 0x000939f0
MOV EDX,dword ptr [ESI]
MOV EAX,dword ptr [ESI + 0x4]
MOV ECX,EDX
MOV EBX,EAX
XOR ECX,EBP
XOR EBX,EDI
OR EBX,ECX
JZ 0x00093a40
CMP EDX,EBP
SBB EAX,EDI
JGE 0x00093890
MOV EAX,dword ptr [ESI + 0xc]
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [EAX + 0x10],ECX
MOV dword ptr [ECX + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [ECX + 0x10],ESI
MOV dword ptr [ESI + 0xc],ECX
ADD dword ptr [EAX + 0xc],0x1
MOV dword ptr [EAX + 0x10],ECX
XOR EAX,EAX
JMP 0x000938fc
MOV EAX,dword ptr [ESP]
MOV dword ptr [ESI + 0x10],ECX
MOV dword ptr [ECX + 0xc],ESI
MOV dword ptr [ECX + 0x10],EAX
MOV dword ptr [EAX + 0xc],ECX
MOV EAX,dword ptr [ESP + 0x40]
ADD dword ptr [EAX + 0xc],0x1
MOV dword ptr [EAX + 0x10],ECX
XOR EAX,EAX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0x18],EAX
MOV ESI,dword ptr [ESP + 0x1c]
MOV EBX,EDX
NOP
CMP ESI,dword ptr [ESP]
JZ 0x000939f4
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,EDI
XOR EDX,EBX
XOR EAX,EBP
OR EDX,EAX
JZ 0x00093a44
CMP EBP,dword ptr [ESP + 0x18]
MOV EAX,EDI
SBB EAX,EBX
JL 0x00093999
MOV ESI,dword ptr [ESI + 0xc]
CMP dword ptr [ESP],ESI
JZ 0x000939f4
MOV EDX,dword ptr [ESI]
MOV EAX,dword ptr [ESI + 0x4]
MOV EBX,EBP
XOR EBX,EDX
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,EBX
MOV EBX,dword ptr [ESP + 0x18]
XOR EBX,EDI
OR EAX,EBX
JZ 0x00093a44
MOV dword ptr [ESP + 0x8],ECX
MOV EAX,dword ptr [ESP + 0x18]
JMP 0x0009398d
MOV ESI,dword ptr [ESI + 0xc]
CMP ESI,dword ptr [ESP]
JZ 0x000939f0
MOV EDX,dword ptr [ESI]
MOV EAX,dword ptr [ESI + 0x4]
MOV ECX,EDX
MOV EBX,EAX
XOR ECX,EBP
XOR EBX,EDI
OR EBX,ECX
JZ 0x00093a40
CMP EBP,EDX
MOV EDX,EDI
SBB EDX,EAX
JGE 0x00093970
MOV ECX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESI + 0x10]
MOV dword ptr [EAX + 0xc],ECX
MOV dword ptr [ECX + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [ESI + 0x10],ECX
MOV dword ptr [ECX + 0xc],ESI
ADD dword ptr [EAX + 0xc],0x1
MOV dword ptr [EAX + 0x10],ECX
XOR EAX,EAX
JMP 0x000938fc
MOV EDX,dword ptr [ESP]
MOV EAX,dword ptr [EDX + 0x10]
MOV dword ptr [EAX + 0xc],ECX
MOV dword ptr [ECX + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EDX + 0x10],ECX
MOV dword ptr [ECX + 0xc],EDX
MOV dword ptr [EAX + 0x4],EBP
MOV dword ptr [EAX + 0x8],EDI
ADD dword ptr [EAX + 0xc],0x1
MOV dword ptr [EAX + 0x10],ECX
ADD ESP,0x2c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0x4c]
TEST EAX,EAX
JZ 0x00093a15
MOV dword ptr [ESP],ECX
SUB ESP,0xc
PUSH dword ptr [ESP + 0x58]
MOV EBX,dword ptr [ESP + 0x14]
CALL 0x0002e200
ADD ESP,0x10
MOV ECX,dword ptr [ESP]
SUB ESP,0xc
PUSH ECX
MOV EBX,dword ptr [ESP + 0x14]
CALL 0x0002e200
MOV EAX,dword ptr [ESP + 0x50]
ADD ESP,0x10
MOV dword ptr [EAX + 0x10],0x0
ADD ESP,0x2c
MOV EAX,0xffffffff
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP],ECX
SUB ESP,0xc
PUSH dword ptr [ESI + 0x8]
MOV EDI,dword ptr [ESP + 0x14]
MOV EBX,EDI
CALL 0x0002e200
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ECX + 0x8]
MOV dword ptr [ESI + 0x8],EAX
MOV dword ptr [ESP],ECX
CALL 0x0002e200
MOV EAX,dword ptr [ESP + 0x50]
ADD ESP,0x10
MOV dword ptr [EAX + 0x10],ESI
ADD ESP,0x2c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,0xffffffff
JMP 0x000938fc
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4 array_insert(int param_1,uint param_2,uint param_3,char *param_4)\n\n{\n  uint *puVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *__ptr;\n  size_t sVar5;\n  char *__dest;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  uint *puVar10;\n  uint local_24;\n  \n  if (param_1 == 0) {\n    return 0xffffffff;\n  }\n  __ptr = (uint *)xmalloc(0x14);\n  *__ptr = param_2;\n  __ptr[1] = param_3;\n  if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }\n  __ptr[4] = 0;\n  __ptr[3] = 0;\n  __ptr[2] = (uint)param_4;\n  puVar1 = *(uint **)(param_1 + 0x14);\n  uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);\n  iVar7 = *(int *)(param_1 + 8) - param_3;\n  if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar10 = (uint *)puVar1[3];\n  local_24 = *puVar10;\n  uVar9 = puVar10[1];\n  if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar2 = *(uint **)(param_1 + 0x10);\n  if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }\nLAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }\n  free(__ptr);\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return 0xffffffff;\n}\n\n" comment (function_definition "undefined4 array_insert(int param_1,uint param_2,uint param_3,char *param_4)\n\n{\n  uint *puVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *__ptr;\n  size_t sVar5;\n  char *__dest;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  uint *puVar10;\n  uint local_24;\n  \n  if (param_1 == 0) {\n    return 0xffffffff;\n  }\n  __ptr = (uint *)xmalloc(0x14);\n  *__ptr = param_2;\n  __ptr[1] = param_3;\n  if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }\n  __ptr[4] = 0;\n  __ptr[3] = 0;\n  __ptr[2] = (uint)param_4;\n  puVar1 = *(uint **)(param_1 + 0x14);\n  uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);\n  iVar7 = *(int *)(param_1 + 8) - param_3;\n  if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar10 = (uint *)puVar1[3];\n  local_24 = *puVar10;\n  uVar9 = puVar10[1];\n  if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar2 = *(uint **)(param_1 + 0x10);\n  if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }\nLAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }\n  free(__ptr);\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return 0xffffffff;\n}" type_identifier (function_declarator "array_insert(int param_1,uint param_2,uint param_3,char *param_4)" identifier (parameter_list "(int param_1,uint param_2,uint param_3,char *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  uint *puVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *__ptr;\n  size_t sVar5;\n  char *__dest;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  uint *puVar10;\n  uint local_24;\n  \n  if (param_1 == 0) {\n    return 0xffffffff;\n  }\n  __ptr = (uint *)xmalloc(0x14);\n  *__ptr = param_2;\n  __ptr[1] = param_3;\n  if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }\n  __ptr[4] = 0;\n  __ptr[3] = 0;\n  __ptr[2] = (uint)param_4;\n  puVar1 = *(uint **)(param_1 + 0x14);\n  uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);\n  iVar7 = *(int *)(param_1 + 8) - param_3;\n  if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar10 = (uint *)puVar1[3];\n  local_24 = *puVar10;\n  uVar9 = puVar10[1];\n  if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar2 = *(uint **)(param_1 + 0x10);\n  if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }\nLAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }\n  free(__ptr);\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return 0xffffffff;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint local_24;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "__ptr = (uint *)xmalloc(0x14);" (assignment_expression "__ptr = (uint *)xmalloc(0x14)" identifier = (cast_expression "(uint *)xmalloc(0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "*__ptr = param_2;" (assignment_expression "*__ptr = param_2" (pointer_expression "*__ptr" * identifier) = identifier) ;) (expression_statement "__ptr[1] = param_3;" (assignment_expression "__ptr[1] = param_3" (subscript_expression "__ptr[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }" if (parenthesized_expression "(param_4 != (char *)0x0)" ( (binary_expression "param_4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }" { (expression_statement "sVar5 = strlen(param_4);" (assignment_expression "sVar5 = strlen(param_4)" identifier = (call_expression "strlen(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "__dest = (char *)xmalloc(sVar5 + 1);" (assignment_expression "__dest = (char *)xmalloc(sVar5 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar5 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + 1)" identifier (argument_list "(sVar5 + 1)" ( (binary_expression "sVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "param_4 = strcpy(__dest,param_4);" (assignment_expression "param_4 = strcpy(__dest,param_4)" identifier = (call_expression "strcpy(__dest,param_4)" identifier (argument_list "(__dest,param_4)" ( identifier , identifier )))) ;) })) (expression_statement "__ptr[4] = 0;" (assignment_expression "__ptr[4] = 0" (subscript_expression "__ptr[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__ptr[3] = 0;" (assignment_expression "__ptr[3] = 0" (subscript_expression "__ptr[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__ptr[2] = (uint)param_4;" (assignment_expression "__ptr[2] = (uint)param_4" (subscript_expression "__ptr[2]" identifier [ number_literal ]) = (cast_expression "(uint)param_4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar1 = *(uint **)(param_1 + 0x14);" (assignment_expression "puVar1 = *(uint **)(param_1 + 0x14)" identifier = (pointer_expression "*(uint **)(param_1 + 0x14)" * (cast_expression "(uint **)(param_1 + 0x14)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);" (assignment_expression "uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2)" identifier = (call_expression "(uint)(*(uint *)(param_1 + 4) < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_1 + 4) < param_2)" ( (binary_expression "*(uint *)(param_1 + 4) < param_2" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) < identifier) )))) ;) (expression_statement "iVar7 = *(int *)(param_1 + 8) - param_3;" (assignment_expression "iVar7 = *(int *)(param_1 + 8) - param_3" identifier = (binary_expression "*(int *)(param_1 + 8) - param_3" (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) )))) - identifier)) ;) (if_statement "if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" if (parenthesized_expression "((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     )" ( (binary_expression "(SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9))" ( (binary_expression "SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)" (call_expression "SBORROW4(*(int *)(param_1 + 8),param_3)" identifier (argument_list "(*(int *)(param_1 + 8),param_3)" ( (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) )))) , identifier ))) != (call_expression "SBORROW4(iVar7,uVar9)" identifier (argument_list "(iVar7,uVar9)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar7 - uVar9) < 0" (cast_expression "(int)(iVar7 - uVar9)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar7 - uVar9)" ( (binary_expression "iVar7 - uVar9" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" { (expression_statement "uVar9 = puVar1[4];" (assignment_expression "uVar9 = puVar1[4]" identifier = (subscript_expression "puVar1[4]" identifier [ number_literal ])) ;) (expression_statement "*(uint **)(uVar9 + 0xc) = __ptr;" (assignment_expression "*(uint **)(uVar9 + 0xc) = __ptr" (pointer_expression "*(uint **)(uVar9 + 0xc)" * (cast_expression "(uint **)(uVar9 + 0xc)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(uVar9 + 0xc)" ( (binary_expression "uVar9 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "__ptr[4] = uVar9;" (assignment_expression "__ptr[4] = uVar9" (subscript_expression "__ptr[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = (uint)__ptr;" (assignment_expression "puVar1[4] = (uint)__ptr" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = (cast_expression "(uint)__ptr" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "__ptr[3] = (uint)puVar1;" (assignment_expression "__ptr[3] = (uint)puVar1" (subscript_expression "__ptr[3]" identifier [ number_literal ]) = (cast_expression "(uint)puVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(uint *)(param_1 + 4) = param_2;" (assignment_expression "*(uint *)(param_1 + 4) = param_2" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 8) = param_3;" (assignment_expression "*(uint *)(param_1 + 8) = param_3" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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) )))) = (binary_expression "*(int *)(param_1 + 0xc) + 1" (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) )))) + number_literal)) ;) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar10 = (uint *)puVar1[3];" (assignment_expression "puVar10 = (uint *)puVar1[3]" identifier = (cast_expression "(uint *)puVar1[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[3]" identifier [ number_literal ]))) ;) (expression_statement "local_24 = *puVar10;" (assignment_expression "local_24 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar9 = puVar10[1];" (assignment_expression "uVar9 = puVar10[1]" identifier = (subscript_expression "puVar10[1]" identifier [ number_literal ])) ;) (if_statement "if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" if (parenthesized_expression "((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0)" ( (binary_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24)))" ( (binary_expression "SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" (call_expression "SBORROW4(param_3,uVar9)" identifier (argument_list "(param_3,uVar9)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" identifier (argument_list "(param_3 - uVar9,(uint)(param_2 < local_24))" ( (binary_expression "param_3 - uVar9" identifier - identifier) , (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < local_24)" ( (binary_expression "param_2 < local_24" identifier < identifier) ))) )))) )) != (binary_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (cast_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - uVar9) - (uint)(param_2 < local_24))" ( (binary_expression "(param_3 - uVar9) - (uint)(param_2 < local_24)" (parenthesized_expression "(param_3 - uVar9)" ( (binary_expression "param_3 - uVar9" identifier - identifier) )) - (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < local_24)" ( (binary_expression "param_2 < local_24" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" { (expression_statement "puVar10[4] = (uint)__ptr;" (assignment_expression "puVar10[4] = (uint)__ptr" (subscript_expression "puVar10[4]" identifier [ number_literal ]) = (cast_expression "(uint)__ptr" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "__ptr[3] = (uint)puVar10;" (assignment_expression "__ptr[3] = (uint)puVar10" (subscript_expression "__ptr[3]" identifier [ number_literal ]) = (cast_expression "(uint)puVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "__ptr[4] = (uint)puVar1;" (assignment_expression "__ptr[4] = (uint)puVar1" (subscript_expression "__ptr[4]" identifier [ number_literal ]) = (cast_expression "(uint)puVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar1[3] = (uint)__ptr;" (assignment_expression "puVar1[3] = (uint)__ptr" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = (cast_expression "(uint)__ptr" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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) )))) = (binary_expression "*(int *)(param_1 + 0xc) + 1" (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) )))) + number_literal)) ;) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar2 = *(uint **)(param_1 + 0x10);" (assignment_expression "puVar2 = *(uint **)(param_1 + 0x10)" identifier = (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }" if (parenthesized_expression "(puVar2 != (uint *)0x0)" ( (binary_expression "puVar2 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }" { (expression_statement "uVar6 = puVar2[1];" (assignment_expression "uVar6 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);" (assignment_expression "iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3)" identifier = (binary_expression "uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3)" identifier + (call_expression "CARRY4(-((int)uVar6 >> 0x1f),uVar3)" identifier (argument_list "(-((int)uVar6 >> 0x1f),uVar3)" ( (unary_expression "-((int)uVar6 >> 0x1f)" - (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) , identifier ))))) ;) (expression_statement "iVar8 = iVar7 >> 1;" (assignment_expression "iVar8 = iVar7 >> 1" identifier = (binary_expression "iVar7 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));" (assignment_expression "uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000))" identifier = (call_expression "(uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000))" ( (binary_expression "param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000)" identifier < (parenthesized_expression "(-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000)" ( (binary_expression "-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000" (binary_expression "-((int)uVar6 >> 0x1f) + uVar3 >> 1" (binary_expression "-((int)uVar6 >> 0x1f) + uVar3" (unary_expression "-((int)uVar6 >> 0x1f)" - (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + identifier) >> number_literal) | (binary_expression "iVar7 * -0x80000000" identifier * number_literal)) ))) )))) ;) (expression_statement "iVar7 = param_3 - iVar8;" (assignment_expression "iVar7 = param_3 - iVar8" identifier = (binary_expression "param_3 - iVar8" identifier - identifier)) ;) (if_statement "if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }" if (parenthesized_expression "(((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0))" ( (binary_expression "((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)" (parenthesized_expression "((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0)" ( (binary_expression "(SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4))" ( (binary_expression "SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)" (call_expression "SBORROW4(param_3,iVar8)" identifier (argument_list "(param_3,iVar8)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar7,uVar4)" identifier (argument_list "(iVar7,uVar4)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar7 - uVar4) < 0" (cast_expression "(int)(iVar7 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar7 - uVar4)" ( (binary_expression "iVar7 - uVar4" identifier - identifier) ))) < number_literal)) )) && (parenthesized_expression "(uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)" ( (comma_expression "uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (assignment_expression "uVar9 = uVar6" identifier = identifier) , (comma_expression "puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (assignment_expression "puVar10 = puVar2" identifier = identifier) , (comma_expression "local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (assignment_expression "local_24 = uVar3" identifier = identifier) , (binary_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3)))" ( (binary_expression "SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))" (call_expression "SBORROW4(param_3,uVar6)" identifier (argument_list "(param_3,uVar6)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))" identifier (argument_list "(param_3 - uVar6,(uint)(param_2 < uVar3))" ( (binary_expression "param_3 - uVar6" identifier - identifier) , (call_expression "(uint)(param_2 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar3)" ( (binary_expression "param_2 < uVar3" identifier < identifier) ))) )))) )) != (binary_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (cast_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar3))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - uVar6) - (uint)(param_2 < uVar3))" ( (binary_expression "(param_3 - uVar6) - (uint)(param_2 < uVar3)" (parenthesized_expression "(param_3 - uVar6)" ( (binary_expression "param_3 - uVar6" identifier - identifier) )) - (call_expression "(uint)(param_2 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar3)" ( (binary_expression "param_2 < uVar3" identifier < identifier) )))) ))) < number_literal))))) ))) )) (compound_statement "{\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }" { (if_statement "if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;" if (parenthesized_expression "((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1))" ( (binary_expression "(puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)" (parenthesized_expression "(puVar2 == puVar1)" ( (binary_expression "puVar2 == puVar1" identifier == identifier) )) || (parenthesized_expression "(puVar10 = (uint *)puVar2[4], puVar10 == puVar1)" ( (comma_expression "puVar10 = (uint *)puVar2[4], puVar10 == puVar1" (assignment_expression "puVar10 = (uint *)puVar2[4]" identifier = (cast_expression "(uint *)puVar2[4]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[4]" identifier [ number_literal ]))) , (binary_expression "puVar10 == puVar1" identifier == identifier)) ))) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" identifier = (subscript_expression "puVar10[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" if (parenthesized_expression "(uVar9 != param_2 || uVar6 != param_3)" ( (binary_expression "uVar9 != param_2 || uVar6 != param_3" (binary_expression "uVar9 != param_2" identifier != identifier) || (binary_expression "uVar6 != param_3" identifier != identifier)) )) (compound_statement "{\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" { (do_statement "do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);" do (compound_statement "{\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        }" { (if_statement "if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }" if (parenthesized_expression "((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0)" ( (binary_expression "(SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0" (parenthesized_expression "(SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2)))" ( (binary_expression "SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))" (call_expression "SBORROW4(uVar6,param_3)" identifier (argument_list "(uVar6,param_3)" ( identifier , identifier ))) != (call_expression "SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))" identifier (argument_list "(uVar6 - param_3,(uint)(uVar9 < param_2))" ( (binary_expression "uVar6 - param_3" identifier - identifier) , (call_expression "(uint)(uVar9 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < param_2)" ( (binary_expression "uVar9 < param_2" identifier < identifier) ))) )))) )) != (binary_expression "(int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0" (cast_expression "(int)((uVar6 - param_3) - (uint)(uVar9 < param_2))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uVar6 - param_3) - (uint)(uVar9 < param_2))" ( (binary_expression "(uVar6 - param_3) - (uint)(uVar9 < param_2)" (parenthesized_expression "(uVar6 - param_3)" ( (binary_expression "uVar6 - param_3" identifier - identifier) )) - (call_expression "(uint)(uVar9 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < param_2)" ( (binary_expression "uVar9 < param_2" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }" { (expression_statement "uVar9 = puVar10[3];" (assignment_expression "uVar9 = puVar10[3]" identifier = (subscript_expression "puVar10[3]" identifier [ number_literal ])) ;) (expression_statement "*(uint **)(uVar9 + 0x10) = __ptr;" (assignment_expression "*(uint **)(uVar9 + 0x10) = __ptr" (pointer_expression "*(uint **)(uVar9 + 0x10)" * (cast_expression "(uint **)(uVar9 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(uVar9 + 0x10)" ( (binary_expression "uVar9 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "__ptr[3] = uVar9;" (assignment_expression "__ptr[3] = uVar9" (subscript_expression "__ptr[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__ptr[4] = (uint)puVar10;" (assignment_expression "__ptr[4] = (uint)puVar10" (subscript_expression "__ptr[4]" identifier [ number_literal ]) = (cast_expression "(uint)puVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar10[3] = (uint)__ptr;" (assignment_expression "puVar10[3] = (uint)__ptr" (subscript_expression "puVar10[3]" identifier [ number_literal ]) = (cast_expression "(uint)__ptr" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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) )))) = (binary_expression "*(int *)(param_1 + 0xc) + 1" (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) )))) + number_literal)) ;) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar10 = (uint *)puVar10[4];" (assignment_expression "puVar10 = (uint *)puVar10[4]" identifier = (cast_expression "(uint *)puVar10[4]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar10[4]" identifier [ number_literal ]))) ;) (if_statement "if (puVar10 == puVar1) goto LAB_000939f4;" if (parenthesized_expression "(puVar10 == puVar1)" ( (binary_expression "puVar10 == puVar1" identifier == identifier) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" identifier = (subscript_expression "puVar10[1]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "(uVar6 != param_3 || uVar9 != param_2)" ( (binary_expression "uVar6 != param_3 || uVar9 != param_2" (binary_expression "uVar6 != param_3" identifier != identifier) || (binary_expression "uVar9 != param_2" identifier != identifier)) )) ;) })) (goto_statement "goto LAB_00093a44;" goto statement_identifier ;) })) })) (if_statement "if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }" if (parenthesized_expression "(puVar10 != puVar1)" ( (binary_expression "puVar10 != puVar1" identifier != identifier) )) (compound_statement "{\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }" { (if_statement "if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }" if (parenthesized_expression "(param_3 != uVar9 || local_24 != param_2)" ( (binary_expression "param_3 != uVar9 || local_24 != param_2" (binary_expression "param_3 != uVar9" identifier != identifier) || (binary_expression "local_24 != param_2" identifier != identifier)) )) (compound_statement "{\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }" { (if_statement "if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }" if (parenthesized_expression "((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0)" ( (binary_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24)))" ( (binary_expression "SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" (call_expression "SBORROW4(param_3,uVar9)" identifier (argument_list "(param_3,uVar9)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" identifier (argument_list "(param_3 - uVar9,(uint)(param_2 < local_24))" ( (binary_expression "param_3 - uVar9" identifier - identifier) , (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < local_24)" ( (binary_expression "param_2 < local_24" identifier < identifier) ))) )))) )) != (binary_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (cast_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - uVar9) - (uint)(param_2 < local_24))" ( (binary_expression "(param_3 - uVar9) - (uint)(param_2 < local_24)" (parenthesized_expression "(param_3 - uVar9)" ( (binary_expression "param_3 - uVar9" identifier - identifier) )) - (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < local_24)" ( (binary_expression "param_2 < local_24" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }" { (labeled_statement "LAB_00093999:\n        uVar9 = puVar10[4];" statement_identifier : (expression_statement "uVar9 = puVar10[4];" (assignment_expression "uVar9 = puVar10[4]" identifier = (subscript_expression "puVar10[4]" identifier [ number_literal ])) ;)) (expression_statement "*(uint **)(uVar9 + 0xc) = __ptr;" (assignment_expression "*(uint **)(uVar9 + 0xc) = __ptr" (pointer_expression "*(uint **)(uVar9 + 0xc)" * (cast_expression "(uint **)(uVar9 + 0xc)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(uVar9 + 0xc)" ( (binary_expression "uVar9 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "__ptr[4] = uVar9;" (assignment_expression "__ptr[4] = uVar9" (subscript_expression "__ptr[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar10[4] = (uint)__ptr;" (assignment_expression "puVar10[4] = (uint)__ptr" (subscript_expression "puVar10[4]" identifier [ number_literal ]) = (cast_expression "(uint)__ptr" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "__ptr[3] = (uint)puVar10;" (assignment_expression "__ptr[3] = (uint)puVar10" (subscript_expression "__ptr[3]" identifier [ number_literal ]) = (cast_expression "(uint)puVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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) )))) = (binary_expression "*(int *)(param_1 + 0xc) + 1" (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) )))) + number_literal)) ;) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar10 = (uint *)puVar10[3];" (assignment_expression "puVar10 = (uint *)puVar10[3]" identifier = (cast_expression "(uint *)puVar10[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar10[3]" identifier [ number_literal ]))) ;) (if_statement "if (puVar1 == puVar10) goto LAB_000939f4;" if (parenthesized_expression "(puVar1 == puVar10)" ( (binary_expression "puVar1 == puVar10" identifier == identifier) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" identifier = (subscript_expression "puVar10[1]" identifier [ number_literal ])) ;) (if_statement "if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" if (parenthesized_expression "(param_2 != uVar9 || uVar6 != param_3)" ( (binary_expression "param_2 != uVar9 || uVar6 != param_3" (binary_expression "param_2 != uVar9" identifier != identifier) || (binary_expression "uVar6 != param_3" identifier != identifier)) )) (compound_statement "{\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" { (do_statement "do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);" do (compound_statement "{\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        }" { (if_statement "if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;" if (parenthesized_expression "((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0)" ( (binary_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9)))" ( (binary_expression "SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))" (call_expression "SBORROW4(param_3,uVar6)" identifier (argument_list "(param_3,uVar6)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))" identifier (argument_list "(param_3 - uVar6,(uint)(param_2 < uVar9))" ( (binary_expression "param_3 - uVar6" identifier - identifier) , (call_expression "(uint)(param_2 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar9)" ( (binary_expression "param_2 < uVar9" identifier < identifier) ))) )))) )) != (binary_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0" (cast_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar9))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - uVar6) - (uint)(param_2 < uVar9))" ( (binary_expression "(param_3 - uVar6) - (uint)(param_2 < uVar9)" (parenthesized_expression "(param_3 - uVar6)" ( (binary_expression "param_3 - uVar6" identifier - identifier) )) - (call_expression "(uint)(param_2 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar9)" ( (binary_expression "param_2 < uVar9" identifier < identifier) )))) ))) < number_literal)) )) (goto_statement "goto LAB_00093999;" goto statement_identifier ;)) (expression_statement "puVar10 = (uint *)puVar10[3];" (assignment_expression "puVar10 = (uint *)puVar10[3]" identifier = (cast_expression "(uint *)puVar10[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar10[3]" identifier [ number_literal ]))) ;) (if_statement "if (puVar10 == puVar1) goto LAB_000939f4;" if (parenthesized_expression "(puVar10 == puVar1)" ( (binary_expression "puVar10 == puVar1" identifier == identifier) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" identifier = (subscript_expression "puVar10[1]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "(uVar6 != param_3 || uVar9 != param_2)" ( (binary_expression "uVar6 != param_3 || uVar9 != param_2" (binary_expression "uVar6 != param_3" identifier != identifier) || (binary_expression "uVar9 != param_2" identifier != identifier)) )) ;) })) })) (labeled_statement "LAB_00093a44:\n    free((void *)puVar10[2]);" statement_identifier : (expression_statement "free((void *)puVar10[2]);" (call_expression "free((void *)puVar10[2])" identifier (argument_list "((void *)puVar10[2])" ( (cast_expression "(void *)puVar10[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar10[2]" identifier [ number_literal ])) ))) ;)) (expression_statement "puVar10[2] = __ptr[2];" (assignment_expression "puVar10[2] = __ptr[2]" (subscript_expression "puVar10[2]" identifier [ number_literal ]) = (subscript_expression "__ptr[2]" identifier [ number_literal ])) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "*(uint **)(param_1 + 0x10) = puVar10;" (assignment_expression "*(uint **)(param_1 + 0x10) = puVar10" (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }" statement_identifier : (if_statement "if (param_4 != (char *)0x0) {\n    free(param_4);\n  }" if (parenthesized_expression "(param_4 != (char *)0x0)" ( (binary_expression "param_4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free(param_4);\n  }" { (expression_statement "free(param_4);" (call_expression "free(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) }))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0xffffffff;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nint array_insert(ARRAY *a,arrayind_t i,char *v)\n\n{\n  array_element *paVar1;\n  array_element *paVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  longlong lVar6;\n  array_element *__ptr;\n  size_t sVar7;\n  char *__dest;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  array_element *paVar11;\n  uint local_24;\n  \n  if (a == (ARRAY *)0x0) {\n    return -1;\n  }\n  __ptr = (array_element *)xmalloc(0x14);\n  __ptr->ind = i;\n  if (v != (char *)0x0) {\n    sVar7 = strlen(v);\n    __dest = (char *)xmalloc(sVar7 + 1);\n    v = strcpy(__dest,v);\n  }\n  __ptr->prev = (array_element *)0x0;\n  __ptr->next = (array_element *)0x0;\n  __ptr->value = v;\n  paVar1 = a->head;\n  iVar10 = *(int *)((int)&a->max_index + 4);\n  uVar3 = (uint)((uint)a->max_index < (uint)i);\n  iVar5 = iVar10 - i._4_4_;\n  if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar5,uVar3)) != (int)(iVar5 - uVar3) < 0) {\n    paVar11 = paVar1->prev;\n    paVar11->next = __ptr;\n    __ptr->prev = paVar11;\n    paVar1->prev = __ptr;\n    __ptr->next = paVar1;\n    a->max_index = i;\n    a->num_elements = a->num_elements + 1;\n    a->lastref = __ptr;\n    return 0;\n  }\n  paVar11 = paVar1->next;\n  local_24 = (uint)paVar11->ind;\n  iVar10 = *(int *)((int)&paVar11->ind + 4);\n  if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n      (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\n    paVar11->prev = __ptr;\n    __ptr->next = paVar11;\n    __ptr->prev = paVar1;\n    paVar1->next = __ptr;\n    a->num_elements = a->num_elements + 1;\n    a->lastref = __ptr;\n    return 0;\n  }\n  paVar2 = a->lastref;\n  if (paVar2 != (array_element *)0x0) {\n    iVar5 = *(int *)((int)&paVar2->ind + 4);\n    uVar3 = (uint)paVar2->ind;\n    iVar8 = iVar5 + (uint)CARRY4(-(iVar5 >> 0x1f),uVar3);\n    iVar9 = iVar8 >> 1;\n    uVar4 = (uint)((uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000));\n    iVar8 = i._4_4_ - iVar9;\n    if (((SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0) &&\n       (iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0)) {\n      if ((paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1)) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }\n        paVar11 = paVar11->prev;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (paVar11 != paVar1) {\n    if (i != CONCAT44(iVar10,local_24)) {\n      if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\nLAB_00093999:\n        paVar1 = paVar11->prev;\n        paVar1->next = __ptr;\n        __ptr->prev = paVar1;\n        paVar11->prev = __ptr;\n        __ptr->next = paVar11;\n        a->num_elements = a->num_elements + 1;\n        a->lastref = __ptr;\n        return 0;\n      }\n      paVar11 = paVar11->next;\n      if (paVar1 == paVar11) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;\n        paVar11 = paVar11->next;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n    }\nLAB_00093a44:\n    free(paVar11->value);\n    paVar11->value = __ptr->value;\n    free(__ptr);\n    a->lastref = paVar11;\n    return 0;\n  }\nLAB_000939f4:\n  if (v != (char *)0x0) {\n    free(v);\n  }\n  free(__ptr);\n  a->lastref = (array_element *)0x0;\n  return -1;\n}\n\n" comment (function_definition "int array_insert(ARRAY *a,arrayind_t i,char *v)\n\n{\n  array_element *paVar1;\n  array_element *paVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  longlong lVar6;\n  array_element *__ptr;\n  size_t sVar7;\n  char *__dest;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  array_element *paVar11;\n  uint local_24;\n  \n  if (a == (ARRAY *)0x0) {\n    return -1;\n  }\n  __ptr = (array_element *)xmalloc(0x14);\n  __ptr->ind = i;\n  if (v != (char *)0x0) {\n    sVar7 = strlen(v);\n    __dest = (char *)xmalloc(sVar7 + 1);\n    v = strcpy(__dest,v);\n  }\n  __ptr->prev = (array_element *)0x0;\n  __ptr->next = (array_element *)0x0;\n  __ptr->value = v;\n  paVar1 = a->head;\n  iVar10 = *(int *)((int)&a->max_index + 4);\n  uVar3 = (uint)((uint)a->max_index < (uint)i);\n  iVar5 = iVar10 - i._4_4_;\n  if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar5,uVar3)) != (int)(iVar5 - uVar3) < 0) {\n    paVar11 = paVar1->prev;\n    paVar11->next = __ptr;\n    __ptr->prev = paVar11;\n    paVar1->prev = __ptr;\n    __ptr->next = paVar1;\n    a->max_index = i;\n    a->num_elements = a->num_elements + 1;\n    a->lastref = __ptr;\n    return 0;\n  }\n  paVar11 = paVar1->next;\n  local_24 = (uint)paVar11->ind;\n  iVar10 = *(int *)((int)&paVar11->ind + 4);\n  if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n      (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\n    paVar11->prev = __ptr;\n    __ptr->next = paVar11;\n    __ptr->prev = paVar1;\n    paVar1->next = __ptr;\n    a->num_elements = a->num_elements + 1;\n    a->lastref = __ptr;\n    return 0;\n  }\n  paVar2 = a->lastref;\n  if (paVar2 != (array_element *)0x0) {\n    iVar5 = *(int *)((int)&paVar2->ind + 4);\n    uVar3 = (uint)paVar2->ind;\n    iVar8 = iVar5 + (uint)CARRY4(-(iVar5 >> 0x1f),uVar3);\n    iVar9 = iVar8 >> 1;\n    uVar4 = (uint)((uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000));\n    iVar8 = i._4_4_ - iVar9;\n    if (((SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0) &&\n       (iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0)) {\n      if ((paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1)) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }\n        paVar11 = paVar11->prev;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (paVar11 != paVar1) {\n    if (i != CONCAT44(iVar10,local_24)) {\n      if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\nLAB_00093999:\n        paVar1 = paVar11->prev;\n        paVar1->next = __ptr;\n        __ptr->prev = paVar1;\n        paVar11->prev = __ptr;\n        __ptr->next = paVar11;\n        a->num_elements = a->num_elements + 1;\n        a->lastref = __ptr;\n        return 0;\n      }\n      paVar11 = paVar11->next;\n      if (paVar1 == paVar11) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;\n        paVar11 = paVar11->next;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n    }\nLAB_00093a44:\n    free(paVar11->value);\n    paVar11->value = __ptr->value;\n    free(__ptr);\n    a->lastref = paVar11;\n    return 0;\n  }\nLAB_000939f4:\n  if (v != (char *)0x0) {\n    free(v);\n  }\n  free(__ptr);\n  a->lastref = (array_element *)0x0;\n  return -1;\n}" primitive_type (function_declarator "array_insert(ARRAY *a,arrayind_t i,char *v)" identifier (parameter_list "(ARRAY *a,arrayind_t i,char *v)" ( (parameter_declaration "ARRAY *a" type_identifier (pointer_declarator "*a" * identifier)) , (parameter_declaration "arrayind_t i" type_identifier identifier) , (parameter_declaration "char *v" primitive_type (pointer_declarator "*v" * identifier)) ))) (compound_statement "{\n  array_element *paVar1;\n  array_element *paVar2;\n  uint uVar3;\n  uint uVar4;\n  int iVar5;\n  longlong lVar6;\n  array_element *__ptr;\n  size_t sVar7;\n  char *__dest;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  array_element *paVar11;\n  uint local_24;\n  \n  if (a == (ARRAY *)0x0) {\n    return -1;\n  }\n  __ptr = (array_element *)xmalloc(0x14);\n  __ptr->ind = i;\n  if (v != (char *)0x0) {\n    sVar7 = strlen(v);\n    __dest = (char *)xmalloc(sVar7 + 1);\n    v = strcpy(__dest,v);\n  }\n  __ptr->prev = (array_element *)0x0;\n  __ptr->next = (array_element *)0x0;\n  __ptr->value = v;\n  paVar1 = a->head;\n  iVar10 = *(int *)((int)&a->max_index + 4);\n  uVar3 = (uint)((uint)a->max_index < (uint)i);\n  iVar5 = iVar10 - i._4_4_;\n  if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar5,uVar3)) != (int)(iVar5 - uVar3) < 0) {\n    paVar11 = paVar1->prev;\n    paVar11->next = __ptr;\n    __ptr->prev = paVar11;\n    paVar1->prev = __ptr;\n    __ptr->next = paVar1;\n    a->max_index = i;\n    a->num_elements = a->num_elements + 1;\n    a->lastref = __ptr;\n    return 0;\n  }\n  paVar11 = paVar1->next;\n  local_24 = (uint)paVar11->ind;\n  iVar10 = *(int *)((int)&paVar11->ind + 4);\n  if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n      (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\n    paVar11->prev = __ptr;\n    __ptr->next = paVar11;\n    __ptr->prev = paVar1;\n    paVar1->next = __ptr;\n    a->num_elements = a->num_elements + 1;\n    a->lastref = __ptr;\n    return 0;\n  }\n  paVar2 = a->lastref;\n  if (paVar2 != (array_element *)0x0) {\n    iVar5 = *(int *)((int)&paVar2->ind + 4);\n    uVar3 = (uint)paVar2->ind;\n    iVar8 = iVar5 + (uint)CARRY4(-(iVar5 >> 0x1f),uVar3);\n    iVar9 = iVar8 >> 1;\n    uVar4 = (uint)((uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000));\n    iVar8 = i._4_4_ - iVar9;\n    if (((SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0) &&\n       (iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0)) {\n      if ((paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1)) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }\n        paVar11 = paVar11->prev;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (paVar11 != paVar1) {\n    if (i != CONCAT44(iVar10,local_24)) {\n      if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\nLAB_00093999:\n        paVar1 = paVar11->prev;\n        paVar1->next = __ptr;\n        __ptr->prev = paVar1;\n        paVar11->prev = __ptr;\n        __ptr->next = paVar11;\n        a->num_elements = a->num_elements + 1;\n        a->lastref = __ptr;\n        return 0;\n      }\n      paVar11 = paVar11->next;\n      if (paVar1 == paVar11) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;\n        paVar11 = paVar11->next;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n    }\nLAB_00093a44:\n    free(paVar11->value);\n    paVar11->value = __ptr->value;\n    free(__ptr);\n    a->lastref = paVar11;\n    return 0;\n  }\nLAB_000939f4:\n  if (v != (char *)0x0) {\n    free(v);\n  }\n  free(__ptr);\n  a->lastref = (array_element *)0x0;\n  return -1;\n}" { (declaration "array_element *paVar1;" type_identifier (pointer_declarator "*paVar1" * identifier) ;) (declaration "array_element *paVar2;" type_identifier (pointer_declarator "*paVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "longlong lVar6;" type_identifier identifier ;) (declaration "array_element *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "array_element *paVar11;" type_identifier (pointer_declarator "*paVar11" * identifier) ;) (declaration "uint local_24;" type_identifier identifier ;) (if_statement "if (a == (ARRAY *)0x0) {\n    return -1;\n  }" if (parenthesized_expression "(a == (ARRAY *)0x0)" ( (binary_expression "a == (ARRAY *)0x0" identifier == (cast_expression "(ARRAY *)0x0" ( (type_descriptor "ARRAY *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return -1;\n  }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "__ptr = (array_element *)xmalloc(0x14);" (assignment_expression "__ptr = (array_element *)xmalloc(0x14)" identifier = (cast_expression "(array_element *)xmalloc(0x14)" ( (type_descriptor "array_element *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "__ptr->ind = i;" (assignment_expression "__ptr->ind = i" (field_expression "__ptr->ind" identifier -> field_identifier) = identifier) ;) (if_statement "if (v != (char *)0x0) {\n    sVar7 = strlen(v);\n    __dest = (char *)xmalloc(sVar7 + 1);\n    v = strcpy(__dest,v);\n  }" if (parenthesized_expression "(v != (char *)0x0)" ( (binary_expression "v != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar7 = strlen(v);\n    __dest = (char *)xmalloc(sVar7 + 1);\n    v = strcpy(__dest,v);\n  }" { (expression_statement "sVar7 = strlen(v);" (assignment_expression "sVar7 = strlen(v)" identifier = (call_expression "strlen(v)" identifier (argument_list "(v)" ( identifier )))) ;) (expression_statement "__dest = (char *)xmalloc(sVar7 + 1);" (assignment_expression "__dest = (char *)xmalloc(sVar7 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar7 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar7 + 1)" identifier (argument_list "(sVar7 + 1)" ( (binary_expression "sVar7 + 1" identifier + number_literal) ))))) ;) (expression_statement "v = strcpy(__dest,v);" (assignment_expression "v = strcpy(__dest,v)" identifier = (call_expression "strcpy(__dest,v)" identifier (argument_list "(__dest,v)" ( identifier , identifier )))) ;) })) (expression_statement "__ptr->prev = (array_element *)0x0;" (assignment_expression "__ptr->prev = (array_element *)0x0" (field_expression "__ptr->prev" identifier -> field_identifier) = (cast_expression "(array_element *)0x0" ( (type_descriptor "array_element *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr->next = (array_element *)0x0;" (assignment_expression "__ptr->next = (array_element *)0x0" (field_expression "__ptr->next" identifier -> field_identifier) = (cast_expression "(array_element *)0x0" ( (type_descriptor "array_element *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr->value = v;" (assignment_expression "__ptr->value = v" (field_expression "__ptr->value" identifier -> field_identifier) = identifier) ;) (expression_statement "paVar1 = a->head;" (assignment_expression "paVar1 = a->head" identifier = (field_expression "a->head" identifier -> field_identifier)) ;) (expression_statement "iVar10 = *(int *)((int)&a->max_index + 4);" (assignment_expression "iVar10 = *(int *)((int)&a->max_index + 4)" identifier = (pointer_expression "*(int *)((int)&a->max_index + 4)" * (cast_expression "(int *)((int)&a->max_index + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&a->max_index + 4)" ( (binary_expression "(int)&a->max_index + 4" (cast_expression "(int)&a->max_index" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&a->max_index" & (field_expression "a->max_index" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar3 = (uint)((uint)a->max_index < (uint)i);" (assignment_expression "uVar3 = (uint)((uint)a->max_index < (uint)i)" identifier = (call_expression "(uint)((uint)a->max_index < (uint)i)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)a->max_index < (uint)i)" ( (binary_expression "(uint)a->max_index < (uint)i" (cast_expression "(uint)a->max_index" ( (type_descriptor "uint" type_identifier) ) (field_expression "a->max_index" identifier -> field_identifier)) < (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (expression_statement "iVar5 = iVar10 - i._4_4_;" (assignment_expression "iVar5 = iVar10 - i._4_4_" identifier = (binary_expression "iVar10 - i._4_4_" identifier - (field_expression "i._4_4_" identifier . field_identifier))) ;) (if_statement "if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar5,uVar3)) != (int)(iVar5 - uVar3) < 0) {\n    paVar11 = paVar1->prev;\n    paVar11->next = __ptr;\n    __ptr->prev = paVar11;\n    paVar1->prev = __ptr;\n    __ptr->next = paVar1;\n    a->max_index = i;\n    a->num_elements = a->num_elements + 1;\n    a->lastref = __ptr;\n    return 0;\n  }" if (parenthesized_expression "((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar5,uVar3)) != (int)(iVar5 - uVar3) < 0)" ( (binary_expression "(SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar5,uVar3)) != (int)(iVar5 - uVar3) < 0" (parenthesized_expression "(SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar5,uVar3))" ( (binary_expression "SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar5,uVar3)" (call_expression "SBORROW4(iVar10,i._4_4_)" identifier (argument_list "(iVar10,i._4_4_)" ( identifier , (field_expression "i._4_4_" identifier . field_identifier) ))) != (call_expression "SBORROW4(iVar5,uVar3)" identifier (argument_list "(iVar5,uVar3)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar5 - uVar3) < 0" (cast_expression "(int)(iVar5 - uVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar5 - uVar3)" ( (binary_expression "iVar5 - uVar3" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n    paVar11 = paVar1->prev;\n    paVar11->next = __ptr;\n    __ptr->prev = paVar11;\n    paVar1->prev = __ptr;\n    __ptr->next = paVar1;\n    a->max_index = i;\n    a->num_elements = a->num_elements + 1;\n    a->lastref = __ptr;\n    return 0;\n  }" { (expression_statement "paVar11 = paVar1->prev;" (assignment_expression "paVar11 = paVar1->prev" identifier = (field_expression "paVar1->prev" identifier -> field_identifier)) ;) (expression_statement "paVar11->next = __ptr;" (assignment_expression "paVar11->next = __ptr" (field_expression "paVar11->next" identifier -> field_identifier) = identifier) ;) (expression_statement "__ptr->prev = paVar11;" (assignment_expression "__ptr->prev = paVar11" (field_expression "__ptr->prev" identifier -> field_identifier) = identifier) ;) (expression_statement "paVar1->prev = __ptr;" (assignment_expression "paVar1->prev = __ptr" (field_expression "paVar1->prev" identifier -> field_identifier) = identifier) ;) (expression_statement "__ptr->next = paVar1;" (assignment_expression "__ptr->next = paVar1" (field_expression "__ptr->next" identifier -> field_identifier) = identifier) ;) (expression_statement "a->max_index = i;" (assignment_expression "a->max_index = i" (field_expression "a->max_index" identifier -> field_identifier) = identifier) ;) (expression_statement "a->num_elements = a->num_elements + 1;" (assignment_expression "a->num_elements = a->num_elements + 1" (field_expression "a->num_elements" identifier -> field_identifier) = (binary_expression "a->num_elements + 1" (field_expression "a->num_elements" identifier -> field_identifier) + number_literal)) ;) (expression_statement "a->lastref = __ptr;" (assignment_expression "a->lastref = __ptr" (field_expression "a->lastref" identifier -> field_identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "paVar11 = paVar1->next;" (assignment_expression "paVar11 = paVar1->next" identifier = (field_expression "paVar1->next" identifier -> field_identifier)) ;) (expression_statement "local_24 = (uint)paVar11->ind;" (assignment_expression "local_24 = (uint)paVar11->ind" identifier = (cast_expression "(uint)paVar11->ind" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar11->ind" identifier -> field_identifier))) ;) (expression_statement "iVar10 = *(int *)((int)&paVar11->ind + 4);" (assignment_expression "iVar10 = *(int *)((int)&paVar11->ind + 4)" identifier = (pointer_expression "*(int *)((int)&paVar11->ind + 4)" * (cast_expression "(int *)((int)&paVar11->ind + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar11->ind + 4)" ( (binary_expression "(int)&paVar11->ind + 4" (cast_expression "(int)&paVar11->ind" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar11->ind" & (field_expression "paVar11->ind" identifier -> field_identifier))) + number_literal) ))))) ;) (if_statement "if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n      (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\n    paVar11->prev = __ptr;\n    __ptr->next = paVar11;\n    __ptr->prev = paVar1;\n    paVar1->next = __ptr;\n    a->num_elements = a->num_elements + 1;\n    a->lastref = __ptr;\n    return 0;\n  }" if (parenthesized_expression "((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n      (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0)" ( (binary_expression "(SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n      (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0" (parenthesized_expression "(SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24)))" ( (binary_expression "SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))" (call_expression "SBORROW4(i._4_4_,iVar10)" identifier (argument_list "(i._4_4_,iVar10)" ( (field_expression "i._4_4_" identifier . field_identifier) , identifier ))) != (call_expression "SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))" identifier (argument_list "(i._4_4_ - iVar10,(uint)((uint)i < local_24))" ( (binary_expression "i._4_4_ - iVar10" (field_expression "i._4_4_" identifier . field_identifier) - identifier) , (call_expression "(uint)((uint)i < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)i < local_24)" ( (binary_expression "(uint)i < local_24" (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )))) )) != (binary_expression "(int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0" (cast_expression "(int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((i._4_4_ - iVar10) - (uint)((uint)i < local_24))" ( (binary_expression "(i._4_4_ - iVar10) - (uint)((uint)i < local_24)" (parenthesized_expression "(i._4_4_ - iVar10)" ( (binary_expression "i._4_4_ - iVar10" (field_expression "i._4_4_" identifier . field_identifier) - identifier) )) - (call_expression "(uint)((uint)i < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)i < local_24)" ( (binary_expression "(uint)i < local_24" (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n    paVar11->prev = __ptr;\n    __ptr->next = paVar11;\n    __ptr->prev = paVar1;\n    paVar1->next = __ptr;\n    a->num_elements = a->num_elements + 1;\n    a->lastref = __ptr;\n    return 0;\n  }" { (expression_statement "paVar11->prev = __ptr;" (assignment_expression "paVar11->prev = __ptr" (field_expression "paVar11->prev" identifier -> field_identifier) = identifier) ;) (expression_statement "__ptr->next = paVar11;" (assignment_expression "__ptr->next = paVar11" (field_expression "__ptr->next" identifier -> field_identifier) = identifier) ;) (expression_statement "__ptr->prev = paVar1;" (assignment_expression "__ptr->prev = paVar1" (field_expression "__ptr->prev" identifier -> field_identifier) = identifier) ;) (expression_statement "paVar1->next = __ptr;" (assignment_expression "paVar1->next = __ptr" (field_expression "paVar1->next" identifier -> field_identifier) = identifier) ;) (expression_statement "a->num_elements = a->num_elements + 1;" (assignment_expression "a->num_elements = a->num_elements + 1" (field_expression "a->num_elements" identifier -> field_identifier) = (binary_expression "a->num_elements + 1" (field_expression "a->num_elements" identifier -> field_identifier) + number_literal)) ;) (expression_statement "a->lastref = __ptr;" (assignment_expression "a->lastref = __ptr" (field_expression "a->lastref" identifier -> field_identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "paVar2 = a->lastref;" (assignment_expression "paVar2 = a->lastref" identifier = (field_expression "a->lastref" identifier -> field_identifier)) ;) (if_statement "if (paVar2 != (array_element *)0x0) {\n    iVar5 = *(int *)((int)&paVar2->ind + 4);\n    uVar3 = (uint)paVar2->ind;\n    iVar8 = iVar5 + (uint)CARRY4(-(iVar5 >> 0x1f),uVar3);\n    iVar9 = iVar8 >> 1;\n    uVar4 = (uint)((uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000));\n    iVar8 = i._4_4_ - iVar9;\n    if (((SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0) &&\n       (iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0)) {\n      if ((paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1)) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }\n        paVar11 = paVar11->prev;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n      goto LAB_00093a44;\n    }\n  }" if (parenthesized_expression "(paVar2 != (array_element *)0x0)" ( (binary_expression "paVar2 != (array_element *)0x0" identifier != (cast_expression "(array_element *)0x0" ( (type_descriptor "array_element *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = *(int *)((int)&paVar2->ind + 4);\n    uVar3 = (uint)paVar2->ind;\n    iVar8 = iVar5 + (uint)CARRY4(-(iVar5 >> 0x1f),uVar3);\n    iVar9 = iVar8 >> 1;\n    uVar4 = (uint)((uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000));\n    iVar8 = i._4_4_ - iVar9;\n    if (((SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0) &&\n       (iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0)) {\n      if ((paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1)) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }\n        paVar11 = paVar11->prev;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n      goto LAB_00093a44;\n    }\n  }" { (expression_statement "iVar5 = *(int *)((int)&paVar2->ind + 4);" (assignment_expression "iVar5 = *(int *)((int)&paVar2->ind + 4)" identifier = (pointer_expression "*(int *)((int)&paVar2->ind + 4)" * (cast_expression "(int *)((int)&paVar2->ind + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar2->ind + 4)" ( (binary_expression "(int)&paVar2->ind + 4" (cast_expression "(int)&paVar2->ind" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar2->ind" & (field_expression "paVar2->ind" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar3 = (uint)paVar2->ind;" (assignment_expression "uVar3 = (uint)paVar2->ind" identifier = (cast_expression "(uint)paVar2->ind" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar2->ind" identifier -> field_identifier))) ;) (expression_statement "iVar8 = iVar5 + (uint)CARRY4(-(iVar5 >> 0x1f),uVar3);" (assignment_expression "iVar8 = iVar5 + (uint)CARRY4(-(iVar5 >> 0x1f),uVar3)" identifier = (binary_expression "iVar5 + (uint)CARRY4(-(iVar5 >> 0x1f),uVar3)" identifier + (cast_expression "(uint)CARRY4(-(iVar5 >> 0x1f),uVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(-(iVar5 >> 0x1f),uVar3)" identifier (argument_list "(-(iVar5 >> 0x1f),uVar3)" ( (unary_expression "-(iVar5 >> 0x1f)" - (parenthesized_expression "(iVar5 >> 0x1f)" ( (binary_expression "iVar5 >> 0x1f" identifier >> number_literal) ))) , identifier )))))) ;) (expression_statement "iVar9 = iVar8 >> 1;" (assignment_expression "iVar9 = iVar8 >> 1" identifier = (binary_expression "iVar8 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = (uint)((uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000));" (assignment_expression "uVar4 = (uint)((uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000))" identifier = (call_expression "(uint)((uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000))" ( (binary_expression "(uint)i < (-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000)" (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier) < (parenthesized_expression "(-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000)" ( (binary_expression "-(iVar5 >> 0x1f) + uVar3 >> 1 | iVar8 * -0x80000000" (binary_expression "-(iVar5 >> 0x1f) + uVar3 >> 1" (binary_expression "-(iVar5 >> 0x1f) + uVar3" (unary_expression "-(iVar5 >> 0x1f)" - (parenthesized_expression "(iVar5 >> 0x1f)" ( (binary_expression "iVar5 >> 0x1f" identifier >> number_literal) ))) + identifier) >> number_literal) | (binary_expression "iVar8 * -0x80000000" identifier * number_literal)) ))) )))) ;) (expression_statement "iVar8 = i._4_4_ - iVar9;" (assignment_expression "iVar8 = i._4_4_ - iVar9" identifier = (binary_expression "i._4_4_ - iVar9" (field_expression "i._4_4_" identifier . field_identifier) - identifier)) ;) (if_statement "if (((SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0) &&\n       (iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0)) {\n      if ((paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1)) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }\n        paVar11 = paVar11->prev;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n      goto LAB_00093a44;\n    }" if (parenthesized_expression "(((SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0) &&\n       (iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0))" ( (binary_expression "((SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0) &&\n       (iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0)" (parenthesized_expression "((SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0)" ( (binary_expression "(SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)) == (int)(iVar8 - uVar4) < 0" (parenthesized_expression "(SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4))" ( (binary_expression "SBORROW4(i._4_4_,iVar9) != SBORROW4(iVar8,uVar4)" (call_expression "SBORROW4(i._4_4_,iVar9)" identifier (argument_list "(i._4_4_,iVar9)" ( (field_expression "i._4_4_" identifier . field_identifier) , identifier ))) != (call_expression "SBORROW4(iVar8,uVar4)" identifier (argument_list "(iVar8,uVar4)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar8 - uVar4) < 0" (cast_expression "(int)(iVar8 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar8 - uVar4)" ( (binary_expression "iVar8 - uVar4" identifier - identifier) ))) < number_literal)) )) && (parenthesized_expression "(iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0)" ( (comma_expression "iVar10 = iVar5, paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0" (assignment_expression "iVar10 = iVar5" identifier = identifier) , (comma_expression "paVar11 = paVar2, local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0" (assignment_expression "paVar11 = paVar2" identifier = identifier) , (comma_expression "local_24 = uVar3,\n       (SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0" (assignment_expression "local_24 = uVar3" identifier = identifier) , (binary_expression "(SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))) !=\n       (int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0" (parenthesized_expression "(SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3)))" ( (binary_expression "SBORROW4(i._4_4_,iVar5) != SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))" (call_expression "SBORROW4(i._4_4_,iVar5)" identifier (argument_list "(i._4_4_,iVar5)" ( (field_expression "i._4_4_" identifier . field_identifier) , identifier ))) != (call_expression "SBORROW4(i._4_4_ - iVar5,(uint)((uint)i < uVar3))" identifier (argument_list "(i._4_4_ - iVar5,(uint)((uint)i < uVar3))" ( (binary_expression "i._4_4_ - iVar5" (field_expression "i._4_4_" identifier . field_identifier) - identifier) , (call_expression "(uint)((uint)i < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)i < uVar3)" ( (binary_expression "(uint)i < uVar3" (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )))) )) != (binary_expression "(int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3)) < 0" (cast_expression "(int)((i._4_4_ - iVar5) - (uint)((uint)i < uVar3))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((i._4_4_ - iVar5) - (uint)((uint)i < uVar3))" ( (binary_expression "(i._4_4_ - iVar5) - (uint)((uint)i < uVar3)" (parenthesized_expression "(i._4_4_ - iVar5)" ( (binary_expression "i._4_4_ - iVar5" (field_expression "i._4_4_" identifier . field_identifier) - identifier) )) - (call_expression "(uint)((uint)i < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)i < uVar3)" ( (binary_expression "(uint)i < uVar3" (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) ))) < number_literal))))) ))) )) (compound_statement "{\n      if ((paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1)) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }\n        paVar11 = paVar11->prev;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n      goto LAB_00093a44;\n    }" { (if_statement "if ((paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1)) goto LAB_000939f4;" if (parenthesized_expression "((paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1))" ( (binary_expression "(paVar2 == paVar1) || (paVar11 = paVar2->prev, paVar11 == paVar1)" (parenthesized_expression "(paVar2 == paVar1)" ( (binary_expression "paVar2 == paVar1" identifier == identifier) )) || (parenthesized_expression "(paVar11 = paVar2->prev, paVar11 == paVar1)" ( (comma_expression "paVar11 = paVar2->prev, paVar11 == paVar1" (assignment_expression "paVar11 = paVar2->prev" identifier = (field_expression "paVar2->prev" identifier -> field_identifier)) , (binary_expression "paVar11 == paVar1" identifier == identifier)) ))) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar3 = (uint)paVar11->ind;" (assignment_expression "uVar3 = (uint)paVar11->ind" identifier = (cast_expression "(uint)paVar11->ind" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar11->ind" identifier -> field_identifier))) ;) (expression_statement "iVar10 = *(int *)((int)&paVar11->ind + 4);" (assignment_expression "iVar10 = *(int *)((int)&paVar11->ind + 4)" identifier = (pointer_expression "*(int *)((int)&paVar11->ind + 4)" * (cast_expression "(int *)((int)&paVar11->ind + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar11->ind + 4)" ( (binary_expression "(int)&paVar11->ind + 4" (cast_expression "(int)&paVar11->ind" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar11->ind" & (field_expression "paVar11->ind" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "lVar6 = paVar11->ind;" (assignment_expression "lVar6 = paVar11->ind" identifier = (field_expression "paVar11->ind" identifier -> field_identifier)) ;) (while_statement "while (i != lVar6) {\n        if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }\n        paVar11 = paVar11->prev;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }" while (parenthesized_expression "(i != lVar6)" ( (binary_expression "i != lVar6" identifier != identifier) )) (compound_statement "{\n        if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }\n        paVar11 = paVar11->prev;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }" { (if_statement "if ((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0) {\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }" if (parenthesized_expression "((SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0)" ( (binary_expression "(SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))) !=\n            (int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0" (parenthesized_expression "(SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i)))" ( (binary_expression "SBORROW4(iVar10,i._4_4_) != SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))" (call_expression "SBORROW4(iVar10,i._4_4_)" identifier (argument_list "(iVar10,i._4_4_)" ( identifier , (field_expression "i._4_4_" identifier . field_identifier) ))) != (call_expression "SBORROW4(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))" identifier (argument_list "(iVar10 - i._4_4_,(uint)(uVar3 < (uint)i))" ( (binary_expression "iVar10 - i._4_4_" identifier - (field_expression "i._4_4_" identifier . field_identifier)) , (call_expression "(uint)(uVar3 < (uint)i)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < (uint)i)" ( (binary_expression "uVar3 < (uint)i" identifier < (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )))) )) != (binary_expression "(int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)) < 0" (cast_expression "(int)((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i))" ( (binary_expression "(iVar10 - i._4_4_) - (uint)(uVar3 < (uint)i)" (parenthesized_expression "(iVar10 - i._4_4_)" ( (binary_expression "iVar10 - i._4_4_" identifier - (field_expression "i._4_4_" identifier . field_identifier)) )) - (call_expression "(uint)(uVar3 < (uint)i)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar3 < (uint)i)" ( (binary_expression "uVar3 < (uint)i" identifier < (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ))) < number_literal)) )) (compound_statement "{\n          paVar1 = paVar11->next;\n          paVar1->prev = __ptr;\n          __ptr->next = paVar1;\n          __ptr->prev = paVar11;\n          paVar11->next = __ptr;\n          a->num_elements = a->num_elements + 1;\n          a->lastref = __ptr;\n          return 0;\n        }" { (expression_statement "paVar1 = paVar11->next;" (assignment_expression "paVar1 = paVar11->next" identifier = (field_expression "paVar11->next" identifier -> field_identifier)) ;) (expression_statement "paVar1->prev = __ptr;" (assignment_expression "paVar1->prev = __ptr" (field_expression "paVar1->prev" identifier -> field_identifier) = identifier) ;) (expression_statement "__ptr->next = paVar1;" (assignment_expression "__ptr->next = paVar1" (field_expression "__ptr->next" identifier -> field_identifier) = identifier) ;) (expression_statement "__ptr->prev = paVar11;" (assignment_expression "__ptr->prev = paVar11" (field_expression "__ptr->prev" identifier -> field_identifier) = identifier) ;) (expression_statement "paVar11->next = __ptr;" (assignment_expression "paVar11->next = __ptr" (field_expression "paVar11->next" identifier -> field_identifier) = identifier) ;) (expression_statement "a->num_elements = a->num_elements + 1;" (assignment_expression "a->num_elements = a->num_elements + 1" (field_expression "a->num_elements" identifier -> field_identifier) = (binary_expression "a->num_elements + 1" (field_expression "a->num_elements" identifier -> field_identifier) + number_literal)) ;) (expression_statement "a->lastref = __ptr;" (assignment_expression "a->lastref = __ptr" (field_expression "a->lastref" identifier -> field_identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "paVar11 = paVar11->prev;" (assignment_expression "paVar11 = paVar11->prev" identifier = (field_expression "paVar11->prev" identifier -> field_identifier)) ;) (if_statement "if (paVar11 == paVar1) goto LAB_000939f4;" if (parenthesized_expression "(paVar11 == paVar1)" ( (binary_expression "paVar11 == paVar1" identifier == identifier) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar3 = (uint)paVar11->ind;" (assignment_expression "uVar3 = (uint)paVar11->ind" identifier = (cast_expression "(uint)paVar11->ind" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar11->ind" identifier -> field_identifier))) ;) (expression_statement "iVar10 = *(int *)((int)&paVar11->ind + 4);" (assignment_expression "iVar10 = *(int *)((int)&paVar11->ind + 4)" identifier = (pointer_expression "*(int *)((int)&paVar11->ind + 4)" * (cast_expression "(int *)((int)&paVar11->ind + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar11->ind + 4)" ( (binary_expression "(int)&paVar11->ind + 4" (cast_expression "(int)&paVar11->ind" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar11->ind" & (field_expression "paVar11->ind" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "lVar6 = paVar11->ind;" (assignment_expression "lVar6 = paVar11->ind" identifier = (field_expression "paVar11->ind" identifier -> field_identifier)) ;) })) (goto_statement "goto LAB_00093a44;" goto statement_identifier ;) })) })) (if_statement "if (paVar11 != paVar1) {\n    if (i != CONCAT44(iVar10,local_24)) {\n      if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\nLAB_00093999:\n        paVar1 = paVar11->prev;\n        paVar1->next = __ptr;\n        __ptr->prev = paVar1;\n        paVar11->prev = __ptr;\n        __ptr->next = paVar11;\n        a->num_elements = a->num_elements + 1;\n        a->lastref = __ptr;\n        return 0;\n      }\n      paVar11 = paVar11->next;\n      if (paVar1 == paVar11) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;\n        paVar11 = paVar11->next;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n    }\nLAB_00093a44:\n    free(paVar11->value);\n    paVar11->value = __ptr->value;\n    free(__ptr);\n    a->lastref = paVar11;\n    return 0;\n  }" if (parenthesized_expression "(paVar11 != paVar1)" ( (binary_expression "paVar11 != paVar1" identifier != identifier) )) (compound_statement "{\n    if (i != CONCAT44(iVar10,local_24)) {\n      if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\nLAB_00093999:\n        paVar1 = paVar11->prev;\n        paVar1->next = __ptr;\n        __ptr->prev = paVar1;\n        paVar11->prev = __ptr;\n        __ptr->next = paVar11;\n        a->num_elements = a->num_elements + 1;\n        a->lastref = __ptr;\n        return 0;\n      }\n      paVar11 = paVar11->next;\n      if (paVar1 == paVar11) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;\n        paVar11 = paVar11->next;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n    }\nLAB_00093a44:\n    free(paVar11->value);\n    paVar11->value = __ptr->value;\n    free(__ptr);\n    a->lastref = paVar11;\n    return 0;\n  }" { (if_statement "if (i != CONCAT44(iVar10,local_24)) {\n      if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\nLAB_00093999:\n        paVar1 = paVar11->prev;\n        paVar1->next = __ptr;\n        __ptr->prev = paVar1;\n        paVar11->prev = __ptr;\n        __ptr->next = paVar11;\n        a->num_elements = a->num_elements + 1;\n        a->lastref = __ptr;\n        return 0;\n      }\n      paVar11 = paVar11->next;\n      if (paVar1 == paVar11) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;\n        paVar11 = paVar11->next;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n    }" if (parenthesized_expression "(i != CONCAT44(iVar10,local_24))" ( (binary_expression "i != CONCAT44(iVar10,local_24)" identifier != (call_expression "CONCAT44(iVar10,local_24)" identifier (argument_list "(iVar10,local_24)" ( identifier , identifier )))) )) (compound_statement "{\n      if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\nLAB_00093999:\n        paVar1 = paVar11->prev;\n        paVar1->next = __ptr;\n        __ptr->prev = paVar1;\n        paVar11->prev = __ptr;\n        __ptr->next = paVar11;\n        a->num_elements = a->num_elements + 1;\n        a->lastref = __ptr;\n        return 0;\n      }\n      paVar11 = paVar11->next;\n      if (paVar1 == paVar11) goto LAB_000939f4;\n      uVar3 = (uint)paVar11->ind;\n      iVar10 = *(int *)((int)&paVar11->ind + 4);\n      lVar6 = paVar11->ind;\n      while (i != lVar6) {\n        if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;\n        paVar11 = paVar11->next;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }\n    }" { (if_statement "if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0) {\nLAB_00093999:\n        paVar1 = paVar11->prev;\n        paVar1->next = __ptr;\n        __ptr->prev = paVar1;\n        paVar11->prev = __ptr;\n        __ptr->next = paVar11;\n        a->num_elements = a->num_elements + 1;\n        a->lastref = __ptr;\n        return 0;\n      }" if (parenthesized_expression "((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0)" ( (binary_expression "(SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))) !=\n          (int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0" (parenthesized_expression "(SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24)))" ( (binary_expression "SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))" (call_expression "SBORROW4(i._4_4_,iVar10)" identifier (argument_list "(i._4_4_,iVar10)" ( (field_expression "i._4_4_" identifier . field_identifier) , identifier ))) != (call_expression "SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < local_24))" identifier (argument_list "(i._4_4_ - iVar10,(uint)((uint)i < local_24))" ( (binary_expression "i._4_4_ - iVar10" (field_expression "i._4_4_" identifier . field_identifier) - identifier) , (call_expression "(uint)((uint)i < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)i < local_24)" ( (binary_expression "(uint)i < local_24" (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )))) )) != (binary_expression "(int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24)) < 0" (cast_expression "(int)((i._4_4_ - iVar10) - (uint)((uint)i < local_24))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((i._4_4_ - iVar10) - (uint)((uint)i < local_24))" ( (binary_expression "(i._4_4_ - iVar10) - (uint)((uint)i < local_24)" (parenthesized_expression "(i._4_4_ - iVar10)" ( (binary_expression "i._4_4_ - iVar10" (field_expression "i._4_4_" identifier . field_identifier) - identifier) )) - (call_expression "(uint)((uint)i < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)i < local_24)" ( (binary_expression "(uint)i < local_24" (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) ))) < number_literal)) )) (compound_statement "{\nLAB_00093999:\n        paVar1 = paVar11->prev;\n        paVar1->next = __ptr;\n        __ptr->prev = paVar1;\n        paVar11->prev = __ptr;\n        __ptr->next = paVar11;\n        a->num_elements = a->num_elements + 1;\n        a->lastref = __ptr;\n        return 0;\n      }" { (labeled_statement "LAB_00093999:\n        paVar1 = paVar11->prev;" statement_identifier : (expression_statement "paVar1 = paVar11->prev;" (assignment_expression "paVar1 = paVar11->prev" identifier = (field_expression "paVar11->prev" identifier -> field_identifier)) ;)) (expression_statement "paVar1->next = __ptr;" (assignment_expression "paVar1->next = __ptr" (field_expression "paVar1->next" identifier -> field_identifier) = identifier) ;) (expression_statement "__ptr->prev = paVar1;" (assignment_expression "__ptr->prev = paVar1" (field_expression "__ptr->prev" identifier -> field_identifier) = identifier) ;) (expression_statement "paVar11->prev = __ptr;" (assignment_expression "paVar11->prev = __ptr" (field_expression "paVar11->prev" identifier -> field_identifier) = identifier) ;) (expression_statement "__ptr->next = paVar11;" (assignment_expression "__ptr->next = paVar11" (field_expression "__ptr->next" identifier -> field_identifier) = identifier) ;) (expression_statement "a->num_elements = a->num_elements + 1;" (assignment_expression "a->num_elements = a->num_elements + 1" (field_expression "a->num_elements" identifier -> field_identifier) = (binary_expression "a->num_elements + 1" (field_expression "a->num_elements" identifier -> field_identifier) + number_literal)) ;) (expression_statement "a->lastref = __ptr;" (assignment_expression "a->lastref = __ptr" (field_expression "a->lastref" identifier -> field_identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "paVar11 = paVar11->next;" (assignment_expression "paVar11 = paVar11->next" identifier = (field_expression "paVar11->next" identifier -> field_identifier)) ;) (if_statement "if (paVar1 == paVar11) goto LAB_000939f4;" if (parenthesized_expression "(paVar1 == paVar11)" ( (binary_expression "paVar1 == paVar11" identifier == identifier) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar3 = (uint)paVar11->ind;" (assignment_expression "uVar3 = (uint)paVar11->ind" identifier = (cast_expression "(uint)paVar11->ind" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar11->ind" identifier -> field_identifier))) ;) (expression_statement "iVar10 = *(int *)((int)&paVar11->ind + 4);" (assignment_expression "iVar10 = *(int *)((int)&paVar11->ind + 4)" identifier = (pointer_expression "*(int *)((int)&paVar11->ind + 4)" * (cast_expression "(int *)((int)&paVar11->ind + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar11->ind + 4)" ( (binary_expression "(int)&paVar11->ind + 4" (cast_expression "(int)&paVar11->ind" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar11->ind" & (field_expression "paVar11->ind" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "lVar6 = paVar11->ind;" (assignment_expression "lVar6 = paVar11->ind" identifier = (field_expression "paVar11->ind" identifier -> field_identifier)) ;) (while_statement "while (i != lVar6) {\n        if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;\n        paVar11 = paVar11->next;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }" while (parenthesized_expression "(i != lVar6)" ( (binary_expression "i != lVar6" identifier != identifier) )) (compound_statement "{\n        if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;\n        paVar11 = paVar11->next;\n        if (paVar11 == paVar1) goto LAB_000939f4;\n        uVar3 = (uint)paVar11->ind;\n        iVar10 = *(int *)((int)&paVar11->ind + 4);\n        lVar6 = paVar11->ind;\n      }" { (if_statement "if ((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0) goto LAB_00093999;" if (parenthesized_expression "((SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0)" ( (binary_expression "(SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))) !=\n            (int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0" (parenthesized_expression "(SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3)))" ( (binary_expression "SBORROW4(i._4_4_,iVar10) != SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))" (call_expression "SBORROW4(i._4_4_,iVar10)" identifier (argument_list "(i._4_4_,iVar10)" ( (field_expression "i._4_4_" identifier . field_identifier) , identifier ))) != (call_expression "SBORROW4(i._4_4_ - iVar10,(uint)((uint)i < uVar3))" identifier (argument_list "(i._4_4_ - iVar10,(uint)((uint)i < uVar3))" ( (binary_expression "i._4_4_ - iVar10" (field_expression "i._4_4_" identifier . field_identifier) - identifier) , (call_expression "(uint)((uint)i < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)i < uVar3)" ( (binary_expression "(uint)i < uVar3" (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )))) )) != (binary_expression "(int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3)) < 0" (cast_expression "(int)((i._4_4_ - iVar10) - (uint)((uint)i < uVar3))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((i._4_4_ - iVar10) - (uint)((uint)i < uVar3))" ( (binary_expression "(i._4_4_ - iVar10) - (uint)((uint)i < uVar3)" (parenthesized_expression "(i._4_4_ - iVar10)" ( (binary_expression "i._4_4_ - iVar10" (field_expression "i._4_4_" identifier . field_identifier) - identifier) )) - (call_expression "(uint)((uint)i < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)i < uVar3)" ( (binary_expression "(uint)i < uVar3" (cast_expression "(uint)i" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) )))) ))) < number_literal)) )) (goto_statement "goto LAB_00093999;" goto statement_identifier ;)) (expression_statement "paVar11 = paVar11->next;" (assignment_expression "paVar11 = paVar11->next" identifier = (field_expression "paVar11->next" identifier -> field_identifier)) ;) (if_statement "if (paVar11 == paVar1) goto LAB_000939f4;" if (parenthesized_expression "(paVar11 == paVar1)" ( (binary_expression "paVar11 == paVar1" identifier == identifier) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar3 = (uint)paVar11->ind;" (assignment_expression "uVar3 = (uint)paVar11->ind" identifier = (cast_expression "(uint)paVar11->ind" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar11->ind" identifier -> field_identifier))) ;) (expression_statement "iVar10 = *(int *)((int)&paVar11->ind + 4);" (assignment_expression "iVar10 = *(int *)((int)&paVar11->ind + 4)" identifier = (pointer_expression "*(int *)((int)&paVar11->ind + 4)" * (cast_expression "(int *)((int)&paVar11->ind + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar11->ind + 4)" ( (binary_expression "(int)&paVar11->ind + 4" (cast_expression "(int)&paVar11->ind" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar11->ind" & (field_expression "paVar11->ind" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "lVar6 = paVar11->ind;" (assignment_expression "lVar6 = paVar11->ind" identifier = (field_expression "paVar11->ind" identifier -> field_identifier)) ;) })) })) (labeled_statement "LAB_00093a44:\n    free(paVar11->value);" statement_identifier : (expression_statement "free(paVar11->value);" (call_expression "free(paVar11->value)" identifier (argument_list "(paVar11->value)" ( (field_expression "paVar11->value" identifier -> field_identifier) ))) ;)) (expression_statement "paVar11->value = __ptr->value;" (assignment_expression "paVar11->value = __ptr->value" (field_expression "paVar11->value" identifier -> field_identifier) = (field_expression "__ptr->value" identifier -> field_identifier)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "a->lastref = paVar11;" (assignment_expression "a->lastref = paVar11" (field_expression "a->lastref" identifier -> field_identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_000939f4:\n  if (v != (char *)0x0) {\n    free(v);\n  }" statement_identifier : (if_statement "if (v != (char *)0x0) {\n    free(v);\n  }" if (parenthesized_expression "(v != (char *)0x0)" ( (binary_expression "v != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free(v);\n  }" { (expression_statement "free(v);" (call_expression "free(v)" identifier (argument_list "(v)" ( identifier ))) ;) }))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "a->lastref = (array_element *)0x0;" (assignment_expression "a->lastref = (array_element *)0x0" (field_expression "a->lastref" identifier -> field_identifier) = (cast_expression "(array_element *)0x0" ( (type_descriptor "array_element *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "undefined4 array_insert(int param_1,uint param_2,uint param_3,char *param_4)\n\n{\n  uint *puVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *__ptr;\n  size_t sVar5;\n  char *__dest;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  uint *puVar10;\n  uint local_24;\n  \n  if (param_1 == 0) {\n    return 0xffffffff;\n  }\n  __ptr = (uint *)xmalloc(0x14);\n  *__ptr = param_2;\n  __ptr[1] = param_3;\n  if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }\n  __ptr[4] = 0;\n  __ptr[3] = 0;\n  __ptr[2] = (uint)param_4;\n  puVar1 = *(uint **)(param_1 + 0x14);\n  uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);\n  iVar7 = *(int *)(param_1 + 8) - param_3;\n  if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar10 = (uint *)puVar1[3];\n  local_24 = *puVar10;\n  uVar9 = puVar10[1];\n  if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar2 = *(uint **)(param_1 + 0x10);\n  if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }\nLAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }\n  free(__ptr);\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return 0xffffffff;\n}\n\n" (function_definition "undefined4 array_insert(int param_1,uint param_2,uint param_3,char *param_4)\n\n{\n  uint *puVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *__ptr;\n  size_t sVar5;\n  char *__dest;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  uint *puVar10;\n  uint local_24;\n  \n  if (param_1 == 0) {\n    return 0xffffffff;\n  }\n  __ptr = (uint *)xmalloc(0x14);\n  *__ptr = param_2;\n  __ptr[1] = param_3;\n  if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }\n  __ptr[4] = 0;\n  __ptr[3] = 0;\n  __ptr[2] = (uint)param_4;\n  puVar1 = *(uint **)(param_1 + 0x14);\n  uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);\n  iVar7 = *(int *)(param_1 + 8) - param_3;\n  if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar10 = (uint *)puVar1[3];\n  local_24 = *puVar10;\n  uVar9 = puVar10[1];\n  if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar2 = *(uint **)(param_1 + 0x10);\n  if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }\nLAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }\n  free(__ptr);\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return 0xffffffff;\n}" type_identifier (function_declarator "array_insert(int param_1,uint param_2,uint param_3,char *param_4)" identifier (parameter_list "(int param_1,uint param_2,uint param_3,char *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  uint *puVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *__ptr;\n  size_t sVar5;\n  char *__dest;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  uint *puVar10;\n  uint local_24;\n  \n  if (param_1 == 0) {\n    return 0xffffffff;\n  }\n  __ptr = (uint *)xmalloc(0x14);\n  *__ptr = param_2;\n  __ptr[1] = param_3;\n  if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }\n  __ptr[4] = 0;\n  __ptr[3] = 0;\n  __ptr[2] = (uint)param_4;\n  puVar1 = *(uint **)(param_1 + 0x14);\n  uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);\n  iVar7 = *(int *)(param_1 + 8) - param_3;\n  if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar10 = (uint *)puVar1[3];\n  local_24 = *puVar10;\n  uVar9 = puVar10[1];\n  if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar2 = *(uint **)(param_1 + 0x10);\n  if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }\nLAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }\n  free(__ptr);\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return 0xffffffff;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint local_24;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "__ptr = (uint *)xmalloc(0x14);" (assignment_expression "__ptr = (uint *)xmalloc(0x14)" identifier = (cast_expression "(uint *)xmalloc(0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "*__ptr = param_2;" (assignment_expression "*__ptr = param_2" (pointer_expression "*__ptr" * identifier) = identifier) ;) (expression_statement "__ptr[1] = param_3;" (assignment_expression "__ptr[1] = param_3" (subscript_expression "__ptr[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }" if (parenthesized_expression "(param_4 != (char *)0x0)" ( (binary_expression "param_4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }" { (expression_statement "sVar5 = strlen(param_4);" (assignment_expression "sVar5 = strlen(param_4)" identifier = (call_expression "strlen(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "__dest = (char *)xmalloc(sVar5 + 1);" (assignment_expression "__dest = (char *)xmalloc(sVar5 + 1)" identifier = (cast_expression "(char *)xmalloc(sVar5 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar5 + 1)" identifier (argument_list "(sVar5 + 1)" ( (binary_expression "sVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "param_4 = strcpy(__dest,param_4);" (assignment_expression "param_4 = strcpy(__dest,param_4)" identifier = (call_expression "strcpy(__dest,param_4)" identifier (argument_list "(__dest,param_4)" ( identifier , identifier )))) ;) })) (expression_statement "__ptr[4] = 0;" (assignment_expression "__ptr[4] = 0" (subscript_expression "__ptr[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__ptr[3] = 0;" (assignment_expression "__ptr[3] = 0" (subscript_expression "__ptr[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__ptr[2] = (uint)param_4;" (assignment_expression "__ptr[2] = (uint)param_4" (subscript_expression "__ptr[2]" identifier [ number_literal ]) = (cast_expression "(uint)param_4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar1 = *(uint **)(param_1 + 0x14);" (assignment_expression "puVar1 = *(uint **)(param_1 + 0x14)" identifier = (pointer_expression "*(uint **)(param_1 + 0x14)" * (cast_expression "(uint **)(param_1 + 0x14)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);" (assignment_expression "uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2)" identifier = (call_expression "(uint)(*(uint *)(param_1 + 4) < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_1 + 4) < param_2)" ( (binary_expression "*(uint *)(param_1 + 4) < param_2" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) < identifier) )))) ;) (expression_statement "iVar7 = *(int *)(param_1 + 8) - param_3;" (assignment_expression "iVar7 = *(int *)(param_1 + 8) - param_3" identifier = (binary_expression "*(int *)(param_1 + 8) - param_3" (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) )))) - identifier)) ;) (if_statement "if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" if (parenthesized_expression "((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     )" ( (binary_expression "(SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9))" ( (binary_expression "SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)" (call_expression "SBORROW4(*(int *)(param_1 + 8),param_3)" identifier (argument_list "(*(int *)(param_1 + 8),param_3)" ( (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) )))) , identifier ))) != (call_expression "SBORROW4(iVar7,uVar9)" identifier (argument_list "(iVar7,uVar9)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar7 - uVar9) < 0" (cast_expression "(int)(iVar7 - uVar9)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar7 - uVar9)" ( (binary_expression "iVar7 - uVar9" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" { (expression_statement "uVar9 = puVar1[4];" (assignment_expression "uVar9 = puVar1[4]" identifier = (subscript_expression "puVar1[4]" identifier [ number_literal ])) ;) (expression_statement "*(uint **)(uVar9 + 0xc) = __ptr;" (assignment_expression "*(uint **)(uVar9 + 0xc) = __ptr" (pointer_expression "*(uint **)(uVar9 + 0xc)" * (cast_expression "(uint **)(uVar9 + 0xc)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(uVar9 + 0xc)" ( (binary_expression "uVar9 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "__ptr[4] = uVar9;" (assignment_expression "__ptr[4] = uVar9" (subscript_expression "__ptr[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = (uint)__ptr;" (assignment_expression "puVar1[4] = (uint)__ptr" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = (cast_expression "(uint)__ptr" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "__ptr[3] = (uint)puVar1;" (assignment_expression "__ptr[3] = (uint)puVar1" (subscript_expression "__ptr[3]" identifier [ number_literal ]) = (cast_expression "(uint)puVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(uint *)(param_1 + 4) = param_2;" (assignment_expression "*(uint *)(param_1 + 4) = param_2" (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(param_1 + 8) = param_3;" (assignment_expression "*(uint *)(param_1 + 8) = param_3" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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) )))) = (binary_expression "*(int *)(param_1 + 0xc) + 1" (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) )))) + number_literal)) ;) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar10 = (uint *)puVar1[3];" (assignment_expression "puVar10 = (uint *)puVar1[3]" identifier = (cast_expression "(uint *)puVar1[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[3]" identifier [ number_literal ]))) ;) (expression_statement "local_24 = *puVar10;" (assignment_expression "local_24 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar9 = puVar10[1];" (assignment_expression "uVar9 = puVar10[1]" identifier = (subscript_expression "puVar10[1]" identifier [ number_literal ])) ;) (if_statement "if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" if (parenthesized_expression "((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0)" ( (binary_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24)))" ( (binary_expression "SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" (call_expression "SBORROW4(param_3,uVar9)" identifier (argument_list "(param_3,uVar9)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" identifier (argument_list "(param_3 - uVar9,(uint)(param_2 < local_24))" ( (binary_expression "param_3 - uVar9" identifier - identifier) , (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < local_24)" ( (binary_expression "param_2 < local_24" identifier < identifier) ))) )))) )) != (binary_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (cast_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - uVar9) - (uint)(param_2 < local_24))" ( (binary_expression "(param_3 - uVar9) - (uint)(param_2 < local_24)" (parenthesized_expression "(param_3 - uVar9)" ( (binary_expression "param_3 - uVar9" identifier - identifier) )) - (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < local_24)" ( (binary_expression "param_2 < local_24" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" { (expression_statement "puVar10[4] = (uint)__ptr;" (assignment_expression "puVar10[4] = (uint)__ptr" (subscript_expression "puVar10[4]" identifier [ number_literal ]) = (cast_expression "(uint)__ptr" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "__ptr[3] = (uint)puVar10;" (assignment_expression "__ptr[3] = (uint)puVar10" (subscript_expression "__ptr[3]" identifier [ number_literal ]) = (cast_expression "(uint)puVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "__ptr[4] = (uint)puVar1;" (assignment_expression "__ptr[4] = (uint)puVar1" (subscript_expression "__ptr[4]" identifier [ number_literal ]) = (cast_expression "(uint)puVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar1[3] = (uint)__ptr;" (assignment_expression "puVar1[3] = (uint)__ptr" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = (cast_expression "(uint)__ptr" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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) )))) = (binary_expression "*(int *)(param_1 + 0xc) + 1" (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) )))) + number_literal)) ;) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar2 = *(uint **)(param_1 + 0x10);" (assignment_expression "puVar2 = *(uint **)(param_1 + 0x10)" identifier = (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }" if (parenthesized_expression "(puVar2 != (uint *)0x0)" ( (binary_expression "puVar2 != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }" { (expression_statement "uVar6 = puVar2[1];" (assignment_expression "uVar6 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);" (assignment_expression "iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3)" identifier = (binary_expression "uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3)" identifier + (call_expression "CARRY4(-((int)uVar6 >> 0x1f),uVar3)" identifier (argument_list "(-((int)uVar6 >> 0x1f),uVar3)" ( (unary_expression "-((int)uVar6 >> 0x1f)" - (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) , identifier ))))) ;) (expression_statement "iVar8 = iVar7 >> 1;" (assignment_expression "iVar8 = iVar7 >> 1" identifier = (binary_expression "iVar7 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));" (assignment_expression "uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000))" identifier = (call_expression "(uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000))" ( (binary_expression "param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000)" identifier < (parenthesized_expression "(-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000)" ( (binary_expression "-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000" (binary_expression "-((int)uVar6 >> 0x1f) + uVar3 >> 1" (binary_expression "-((int)uVar6 >> 0x1f) + uVar3" (unary_expression "-((int)uVar6 >> 0x1f)" - (parenthesized_expression "((int)uVar6 >> 0x1f)" ( (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + identifier) >> number_literal) | (binary_expression "iVar7 * -0x80000000" identifier * number_literal)) ))) )))) ;) (expression_statement "iVar7 = param_3 - iVar8;" (assignment_expression "iVar7 = param_3 - iVar8" identifier = (binary_expression "param_3 - iVar8" identifier - identifier)) ;) (if_statement "if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }" if (parenthesized_expression "(((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0))" ( (binary_expression "((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)" (parenthesized_expression "((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0)" ( (binary_expression "(SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4))" ( (binary_expression "SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)" (call_expression "SBORROW4(param_3,iVar8)" identifier (argument_list "(param_3,iVar8)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar7,uVar4)" identifier (argument_list "(iVar7,uVar4)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar7 - uVar4) < 0" (cast_expression "(int)(iVar7 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar7 - uVar4)" ( (binary_expression "iVar7 - uVar4" identifier - identifier) ))) < number_literal)) )) && (parenthesized_expression "(uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)" ( (comma_expression "uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (assignment_expression "uVar9 = uVar6" identifier = identifier) , (comma_expression "puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (assignment_expression "puVar10 = puVar2" identifier = identifier) , (comma_expression "local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (assignment_expression "local_24 = uVar3" identifier = identifier) , (binary_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3)))" ( (binary_expression "SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))" (call_expression "SBORROW4(param_3,uVar6)" identifier (argument_list "(param_3,uVar6)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))" identifier (argument_list "(param_3 - uVar6,(uint)(param_2 < uVar3))" ( (binary_expression "param_3 - uVar6" identifier - identifier) , (call_expression "(uint)(param_2 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar3)" ( (binary_expression "param_2 < uVar3" identifier < identifier) ))) )))) )) != (binary_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (cast_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar3))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - uVar6) - (uint)(param_2 < uVar3))" ( (binary_expression "(param_3 - uVar6) - (uint)(param_2 < uVar3)" (parenthesized_expression "(param_3 - uVar6)" ( (binary_expression "param_3 - uVar6" identifier - identifier) )) - (call_expression "(uint)(param_2 < uVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar3)" ( (binary_expression "param_2 < uVar3" identifier < identifier) )))) ))) < number_literal))))) ))) )) (compound_statement "{\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }" { (if_statement "if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;" if (parenthesized_expression "((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1))" ( (binary_expression "(puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)" (parenthesized_expression "(puVar2 == puVar1)" ( (binary_expression "puVar2 == puVar1" identifier == identifier) )) || (parenthesized_expression "(puVar10 = (uint *)puVar2[4], puVar10 == puVar1)" ( (comma_expression "puVar10 = (uint *)puVar2[4], puVar10 == puVar1" (assignment_expression "puVar10 = (uint *)puVar2[4]" identifier = (cast_expression "(uint *)puVar2[4]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[4]" identifier [ number_literal ]))) , (binary_expression "puVar10 == puVar1" identifier == identifier)) ))) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" identifier = (subscript_expression "puVar10[1]" identifier [ number_literal ])) ;) (if_statement "if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" if (parenthesized_expression "(uVar9 != param_2 || uVar6 != param_3)" ( (binary_expression "uVar9 != param_2 || uVar6 != param_3" (binary_expression "uVar9 != param_2" identifier != identifier) || (binary_expression "uVar6 != param_3" identifier != identifier)) )) (compound_statement "{\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" { (do_statement "do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);" do (compound_statement "{\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        }" { (if_statement "if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }" if (parenthesized_expression "((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0)" ( (binary_expression "(SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0" (parenthesized_expression "(SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2)))" ( (binary_expression "SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))" (call_expression "SBORROW4(uVar6,param_3)" identifier (argument_list "(uVar6,param_3)" ( identifier , identifier ))) != (call_expression "SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))" identifier (argument_list "(uVar6 - param_3,(uint)(uVar9 < param_2))" ( (binary_expression "uVar6 - param_3" identifier - identifier) , (call_expression "(uint)(uVar9 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < param_2)" ( (binary_expression "uVar9 < param_2" identifier < identifier) ))) )))) )) != (binary_expression "(int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0" (cast_expression "(int)((uVar6 - param_3) - (uint)(uVar9 < param_2))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uVar6 - param_3) - (uint)(uVar9 < param_2))" ( (binary_expression "(uVar6 - param_3) - (uint)(uVar9 < param_2)" (parenthesized_expression "(uVar6 - param_3)" ( (binary_expression "uVar6 - param_3" identifier - identifier) )) - (call_expression "(uint)(uVar9 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < param_2)" ( (binary_expression "uVar9 < param_2" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }" { (expression_statement "uVar9 = puVar10[3];" (assignment_expression "uVar9 = puVar10[3]" identifier = (subscript_expression "puVar10[3]" identifier [ number_literal ])) ;) (expression_statement "*(uint **)(uVar9 + 0x10) = __ptr;" (assignment_expression "*(uint **)(uVar9 + 0x10) = __ptr" (pointer_expression "*(uint **)(uVar9 + 0x10)" * (cast_expression "(uint **)(uVar9 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(uVar9 + 0x10)" ( (binary_expression "uVar9 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "__ptr[3] = uVar9;" (assignment_expression "__ptr[3] = uVar9" (subscript_expression "__ptr[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__ptr[4] = (uint)puVar10;" (assignment_expression "__ptr[4] = (uint)puVar10" (subscript_expression "__ptr[4]" identifier [ number_literal ]) = (cast_expression "(uint)puVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar10[3] = (uint)__ptr;" (assignment_expression "puVar10[3] = (uint)__ptr" (subscript_expression "puVar10[3]" identifier [ number_literal ]) = (cast_expression "(uint)__ptr" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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) )))) = (binary_expression "*(int *)(param_1 + 0xc) + 1" (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) )))) + number_literal)) ;) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar10 = (uint *)puVar10[4];" (assignment_expression "puVar10 = (uint *)puVar10[4]" identifier = (cast_expression "(uint *)puVar10[4]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar10[4]" identifier [ number_literal ]))) ;) (if_statement "if (puVar10 == puVar1) goto LAB_000939f4;" if (parenthesized_expression "(puVar10 == puVar1)" ( (binary_expression "puVar10 == puVar1" identifier == identifier) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" identifier = (subscript_expression "puVar10[1]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "(uVar6 != param_3 || uVar9 != param_2)" ( (binary_expression "uVar6 != param_3 || uVar9 != param_2" (binary_expression "uVar6 != param_3" identifier != identifier) || (binary_expression "uVar9 != param_2" identifier != identifier)) )) ;) })) (goto_statement "goto LAB_00093a44;" goto statement_identifier ;) })) })) (if_statement "if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }" if (parenthesized_expression "(puVar10 != puVar1)" ( (binary_expression "puVar10 != puVar1" identifier != identifier) )) (compound_statement "{\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }" { (if_statement "if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }" if (parenthesized_expression "(param_3 != uVar9 || local_24 != param_2)" ( (binary_expression "param_3 != uVar9 || local_24 != param_2" (binary_expression "param_3 != uVar9" identifier != identifier) || (binary_expression "local_24 != param_2" identifier != identifier)) )) (compound_statement "{\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }" { (if_statement "if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }" if (parenthesized_expression "((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0)" ( (binary_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24)))" ( (binary_expression "SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" (call_expression "SBORROW4(param_3,uVar9)" identifier (argument_list "(param_3,uVar9)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" identifier (argument_list "(param_3 - uVar9,(uint)(param_2 < local_24))" ( (binary_expression "param_3 - uVar9" identifier - identifier) , (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < local_24)" ( (binary_expression "param_2 < local_24" identifier < identifier) ))) )))) )) != (binary_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (cast_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - uVar9) - (uint)(param_2 < local_24))" ( (binary_expression "(param_3 - uVar9) - (uint)(param_2 < local_24)" (parenthesized_expression "(param_3 - uVar9)" ( (binary_expression "param_3 - uVar9" identifier - identifier) )) - (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < local_24)" ( (binary_expression "param_2 < local_24" identifier < identifier) )))) ))) < number_literal)) )) (compound_statement "{\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }" { (labeled_statement "LAB_00093999:\n        uVar9 = puVar10[4];" statement_identifier : (expression_statement "uVar9 = puVar10[4];" (assignment_expression "uVar9 = puVar10[4]" identifier = (subscript_expression "puVar10[4]" identifier [ number_literal ])) ;)) (expression_statement "*(uint **)(uVar9 + 0xc) = __ptr;" (assignment_expression "*(uint **)(uVar9 + 0xc) = __ptr" (pointer_expression "*(uint **)(uVar9 + 0xc)" * (cast_expression "(uint **)(uVar9 + 0xc)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(uVar9 + 0xc)" ( (binary_expression "uVar9 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "__ptr[4] = uVar9;" (assignment_expression "__ptr[4] = uVar9" (subscript_expression "__ptr[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar10[4] = (uint)__ptr;" (assignment_expression "puVar10[4] = (uint)__ptr" (subscript_expression "puVar10[4]" identifier [ number_literal ]) = (cast_expression "(uint)__ptr" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "__ptr[3] = (uint)puVar10;" (assignment_expression "__ptr[3] = (uint)puVar10" (subscript_expression "__ptr[3]" identifier [ number_literal ]) = (cast_expression "(uint)puVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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) )))) = (binary_expression "*(int *)(param_1 + 0xc) + 1" (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) )))) + number_literal)) ;) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar10 = (uint *)puVar10[3];" (assignment_expression "puVar10 = (uint *)puVar10[3]" identifier = (cast_expression "(uint *)puVar10[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar10[3]" identifier [ number_literal ]))) ;) (if_statement "if (puVar1 == puVar10) goto LAB_000939f4;" if (parenthesized_expression "(puVar1 == puVar10)" ( (binary_expression "puVar1 == puVar10" identifier == identifier) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" identifier = (subscript_expression "puVar10[1]" identifier [ number_literal ])) ;) (if_statement "if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" if (parenthesized_expression "(param_2 != uVar9 || uVar6 != param_3)" ( (binary_expression "param_2 != uVar9 || uVar6 != param_3" (binary_expression "param_2 != uVar9" identifier != identifier) || (binary_expression "uVar6 != param_3" identifier != identifier)) )) (compound_statement "{\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" { (do_statement "do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);" do (compound_statement "{\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        }" { (if_statement "if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;" if (parenthesized_expression "((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0)" ( (binary_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9)))" ( (binary_expression "SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))" (call_expression "SBORROW4(param_3,uVar6)" identifier (argument_list "(param_3,uVar6)" ( identifier , identifier ))) != (call_expression "SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))" identifier (argument_list "(param_3 - uVar6,(uint)(param_2 < uVar9))" ( (binary_expression "param_3 - uVar6" identifier - identifier) , (call_expression "(uint)(param_2 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar9)" ( (binary_expression "param_2 < uVar9" identifier < identifier) ))) )))) )) != (binary_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0" (cast_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar9))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_3 - uVar6) - (uint)(param_2 < uVar9))" ( (binary_expression "(param_3 - uVar6) - (uint)(param_2 < uVar9)" (parenthesized_expression "(param_3 - uVar6)" ( (binary_expression "param_3 - uVar6" identifier - identifier) )) - (call_expression "(uint)(param_2 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar9)" ( (binary_expression "param_2 < uVar9" identifier < identifier) )))) ))) < number_literal)) )) (goto_statement "goto LAB_00093999;" goto statement_identifier ;)) (expression_statement "puVar10 = (uint *)puVar10[3];" (assignment_expression "puVar10 = (uint *)puVar10[3]" identifier = (cast_expression "(uint *)puVar10[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar10[3]" identifier [ number_literal ]))) ;) (if_statement "if (puVar10 == puVar1) goto LAB_000939f4;" if (parenthesized_expression "(puVar10 == puVar1)" ( (binary_expression "puVar10 == puVar1" identifier == identifier) )) (goto_statement "goto LAB_000939f4;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" identifier = (subscript_expression "puVar10[1]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "(uVar6 != param_3 || uVar9 != param_2)" ( (binary_expression "uVar6 != param_3 || uVar9 != param_2" (binary_expression "uVar6 != param_3" identifier != identifier) || (binary_expression "uVar9 != param_2" identifier != identifier)) )) ;) })) })) (labeled_statement "LAB_00093a44:\n    free((void *)puVar10[2]);" statement_identifier : (expression_statement "free((void *)puVar10[2]);" (call_expression "free((void *)puVar10[2])" identifier (argument_list "((void *)puVar10[2])" ( (cast_expression "(void *)puVar10[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar10[2]" identifier [ number_literal ])) ))) ;)) (expression_statement "puVar10[2] = __ptr[2];" (assignment_expression "puVar10[2] = __ptr[2]" (subscript_expression "puVar10[2]" identifier [ number_literal ]) = (subscript_expression "__ptr[2]" identifier [ number_literal ])) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "*(uint **)(param_1 + 0x10) = puVar10;" (assignment_expression "*(uint **)(param_1 + 0x10) = puVar10" (pointer_expression "*(uint **)(param_1 + 0x10)" * (cast_expression "(uint **)(param_1 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }" statement_identifier : (if_statement "if (param_4 != (char *)0x0) {\n    free(param_4);\n  }" if (parenthesized_expression "(param_4 != (char *)0x0)" ( (binary_expression "param_4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free(param_4);\n  }" { (expression_statement "free(param_4);" (call_expression "free(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) }))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0xffffffff;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_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 { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (call_expression IDENT (argument_list ( (unary_expression - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (unary_expression - (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) + IDENT) >> LIT) | (binary_expression IDENT * LIT)) ))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (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 { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (binary_expression IDENT == IDENT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (binary_expression IDENT != IDENT)) )) (compound_statement { (do_statement do (compound_statement { (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 { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (binary_expression IDENT != IDENT)) )) ;) })) (goto_statement goto statement_identifier ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (binary_expression IDENT != IDENT)) )) (compound_statement { (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 { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (binary_expression IDENT != IDENT)) )) (compound_statement { (do_statement do (compound_statement { (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)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (binary_expression IDENT != IDENT)) )) ;) })) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 array_insert(int param_1,uint param_2,uint param_3,char *param_4)\n\n{\n  uint *puVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *__ptr;\n  size_t sVar5;\n  char *__dest;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  uint *puVar10;\n  uint local_24;\n  \n  if (param_1 == 0) {\n    return 0xffffffff;\n  }\n  __ptr = (uint *)xmalloc(0x14);\n  *__ptr = param_2;\n  __ptr[1] = param_3;\n  if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }\n  __ptr[4] = 0;\n  __ptr[3] = 0;\n  __ptr[2] = (uint)param_4;\n  puVar1 = *(uint **)(param_1 + 0x14);\n  uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);\n  iVar7 = *(int *)(param_1 + 8) - param_3;\n  if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar10 = (uint *)puVar1[3];\n  local_24 = *puVar10;\n  uVar9 = puVar10[1];\n  if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar2 = *(uint **)(param_1 + 0x10);\n  if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }\nLAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }\n  free(__ptr);\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return 0xffffffff;\n}" (type_identifier "undefined4") (function_declarator "array_insert(int param_1,uint param_2,uint param_3,char *param_4)" (identifier "array_insert") (parameter_list "(int param_1,uint param_2,uint param_3,char *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "char *param_4" (primitive_type "char") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  uint *puVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint uVar4;\n  uint *__ptr;\n  size_t sVar5;\n  char *__dest;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  uint uVar9;\n  uint *puVar10;\n  uint local_24;\n  \n  if (param_1 == 0) {\n    return 0xffffffff;\n  }\n  __ptr = (uint *)xmalloc(0x14);\n  *__ptr = param_2;\n  __ptr[1] = param_3;\n  if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }\n  __ptr[4] = 0;\n  __ptr[3] = 0;\n  __ptr[2] = (uint)param_4;\n  puVar1 = *(uint **)(param_1 + 0x14);\n  uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);\n  iVar7 = *(int *)(param_1 + 8) - param_3;\n  if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar10 = (uint *)puVar1[3];\n  local_24 = *puVar10;\n  uVar9 = puVar10[1];\n  if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }\n  puVar2 = *(uint **)(param_1 + 0x10);\n  if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }\n  if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }\nLAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }\n  free(__ptr);\n  *(undefined4 *)(param_1 + 0x10) = 0;\n  return 0xffffffff;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint *__ptr;" (type_identifier "uint") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "char *__dest;" (primitive_type "char") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint *puVar10;" (type_identifier "uint") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (if_statement "if (param_1 == 0) {\n    return 0xffffffff;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0xffffffff;\n  }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (expression_statement "__ptr = (uint *)xmalloc(0x14);" (assignment_expression "__ptr = (uint *)xmalloc(0x14)" (identifier "__ptr") (= "=") (cast_expression "(uint *)xmalloc(0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x14)" (identifier "xmalloc") (argument_list "(0x14)" (( "(") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "*__ptr = param_2;" (assignment_expression "*__ptr = param_2" (pointer_expression "*__ptr" (* "*") (identifier "__ptr")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "__ptr[1] = param_3;" (assignment_expression "__ptr[1] = param_3" (subscript_expression "__ptr[1]" (identifier "__ptr") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (if_statement "if (param_4 != (char *)0x0) {\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }" (if "if") (parenthesized_expression "(param_4 != (char *)0x0)" (( "(") (binary_expression "param_4 != (char *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar5 = strlen(param_4);\n    __dest = (char *)xmalloc(sVar5 + 1);\n    param_4 = strcpy(__dest,param_4);\n  }" ({ "{") (expression_statement "sVar5 = strlen(param_4);" (assignment_expression "sVar5 = strlen(param_4)" (identifier "sVar5") (= "=") (call_expression "strlen(param_4)" (identifier "strlen") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (expression_statement "__dest = (char *)xmalloc(sVar5 + 1);" (assignment_expression "__dest = (char *)xmalloc(sVar5 + 1)" (identifier "__dest") (= "=") (cast_expression "(char *)xmalloc(sVar5 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar5 + 1)" (identifier "xmalloc") (argument_list "(sVar5 + 1)" (( "(") (binary_expression "sVar5 + 1" (identifier "sVar5") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "param_4 = strcpy(__dest,param_4);" (assignment_expression "param_4 = strcpy(__dest,param_4)" (identifier "param_4") (= "=") (call_expression "strcpy(__dest,param_4)" (identifier "strcpy") (argument_list "(__dest,param_4)" (( "(") (identifier "__dest") (, ",") (identifier "param_4") () ")")))) (; ";")) (} "}"))) (expression_statement "__ptr[4] = 0;" (assignment_expression "__ptr[4] = 0" (subscript_expression "__ptr[4]" (identifier "__ptr") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "__ptr[3] = 0;" (assignment_expression "__ptr[3] = 0" (subscript_expression "__ptr[3]" (identifier "__ptr") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "__ptr[2] = (uint)param_4;" (assignment_expression "__ptr[2] = (uint)param_4" (subscript_expression "__ptr[2]" (identifier "__ptr") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(uint)param_4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_4"))) (; ";")) (expression_statement "puVar1 = *(uint **)(param_1 + 0x14);" (assignment_expression "puVar1 = *(uint **)(param_1 + 0x14)" (identifier "puVar1") (= "=") (pointer_expression "*(uint **)(param_1 + 0x14)" (* "*") (cast_expression "(uint **)(param_1 + 0x14)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);" (assignment_expression "uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2)" (identifier "uVar9") (= "=") (call_expression "(uint)(*(uint *)(param_1 + 4) < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(param_1 + 4) < param_2)" (( "(") (binary_expression "*(uint *)(param_1 + 4) < param_2" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (< "<") (identifier "param_2")) () ")")))) (; ";")) (expression_statement "iVar7 = *(int *)(param_1 + 8) - param_3;" (assignment_expression "iVar7 = *(int *)(param_1 + 8) - param_3" (identifier "iVar7") (= "=") (binary_expression "*(int *)(param_1 + 8) - param_3" (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")) () ")")))) (- "-") (identifier "param_3"))) (; ";")) (if_statement "if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     ) {\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" (if "if") (parenthesized_expression "((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0\n     )" (( "(") (binary_expression "(SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9))" (( "(") (binary_expression "SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)" (call_expression "SBORROW4(*(int *)(param_1 + 8),param_3)" (identifier "SBORROW4") (argument_list "(*(int *)(param_1 + 8),param_3)" (( "(") (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")) () ")")))) (, ",") (identifier "param_3") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar7,uVar9)" (identifier "SBORROW4") (argument_list "(iVar7,uVar9)" (( "(") (identifier "iVar7") (, ",") (identifier "uVar9") () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar7 - uVar9) < 0" (cast_expression "(int)(iVar7 - uVar9)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar7 - uVar9)" (( "(") (binary_expression "iVar7 - uVar9" (identifier "iVar7") (- "-") (identifier "uVar9")) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n    uVar9 = puVar1[4];\n    *(uint **)(uVar9 + 0xc) = __ptr;\n    __ptr[4] = uVar9;\n    puVar1[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar1;\n    *(uint *)(param_1 + 4) = param_2;\n    *(uint *)(param_1 + 8) = param_3;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" ({ "{") (expression_statement "uVar9 = puVar1[4];" (assignment_expression "uVar9 = puVar1[4]" (identifier "uVar9") (= "=") (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "*(uint **)(uVar9 + 0xc) = __ptr;" (assignment_expression "*(uint **)(uVar9 + 0xc) = __ptr" (pointer_expression "*(uint **)(uVar9 + 0xc)" (* "*") (cast_expression "(uint **)(uVar9 + 0xc)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(uVar9 + 0xc)" (( "(") (binary_expression "uVar9 + 0xc" (identifier "uVar9") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "__ptr")) (; ";")) (expression_statement "__ptr[4] = uVar9;" (assignment_expression "__ptr[4] = uVar9" (subscript_expression "__ptr[4]" (identifier "__ptr") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "puVar1[4] = (uint)__ptr;" (assignment_expression "puVar1[4] = (uint)__ptr" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(uint)__ptr" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "__ptr"))) (; ";")) (expression_statement "__ptr[3] = (uint)puVar1;" (assignment_expression "__ptr[3] = (uint)puVar1" (subscript_expression "__ptr[3]" (identifier "__ptr") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(uint)puVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar1"))) (; ";")) (expression_statement "*(uint *)(param_1 + 4) = param_2;" (assignment_expression "*(uint *)(param_1 + 4) = param_2" (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(uint *)(param_1 + 8) = param_3;" (assignment_expression "*(uint *)(param_1 + 8) = param_3" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0xc) + 1" (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")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" (* "*") (cast_expression "(uint **)(param_1 + 0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "__ptr")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar10 = (uint *)puVar1[3];" (assignment_expression "puVar10 = (uint *)puVar1[3]" (identifier "puVar10") (= "=") (cast_expression "(uint *)puVar1[3]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "local_24 = *puVar10;" (assignment_expression "local_24 = *puVar10" (identifier "local_24") (= "=") (pointer_expression "*puVar10" (* "*") (identifier "puVar10"))) (; ";")) (expression_statement "uVar9 = puVar10[1];" (assignment_expression "uVar9 = puVar10[1]" (identifier "uVar9") (= "=") (subscript_expression "puVar10[1]" (identifier "puVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" (if "if") (parenthesized_expression "((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0)" (( "(") (binary_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24)))" (( "(") (binary_expression "SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" (call_expression "SBORROW4(param_3,uVar9)" (identifier "SBORROW4") (argument_list "(param_3,uVar9)" (( "(") (identifier "param_3") (, ",") (identifier "uVar9") () ")"))) (!= "!=") (call_expression "SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" (identifier "SBORROW4") (argument_list "(param_3 - uVar9,(uint)(param_2 < local_24))" (( "(") (binary_expression "param_3 - uVar9" (identifier "param_3") (- "-") (identifier "uVar9")) (, ",") (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < local_24)" (( "(") (binary_expression "param_2 < local_24" (identifier "param_2") (< "<") (identifier "local_24")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (cast_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((param_3 - uVar9) - (uint)(param_2 < local_24))" (( "(") (binary_expression "(param_3 - uVar9) - (uint)(param_2 < local_24)" (parenthesized_expression "(param_3 - uVar9)" (( "(") (binary_expression "param_3 - uVar9" (identifier "param_3") (- "-") (identifier "uVar9")) () ")")) (- "-") (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < local_24)" (( "(") (binary_expression "param_2 < local_24" (identifier "param_2") (< "<") (identifier "local_24")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n    puVar10[4] = (uint)__ptr;\n    __ptr[3] = (uint)puVar10;\n    __ptr[4] = (uint)puVar1;\n    puVar1[3] = (uint)__ptr;\n    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n    *(uint **)(param_1 + 0x10) = __ptr;\n    return 0;\n  }" ({ "{") (expression_statement "puVar10[4] = (uint)__ptr;" (assignment_expression "puVar10[4] = (uint)__ptr" (subscript_expression "puVar10[4]" (identifier "puVar10") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(uint)__ptr" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "__ptr"))) (; ";")) (expression_statement "__ptr[3] = (uint)puVar10;" (assignment_expression "__ptr[3] = (uint)puVar10" (subscript_expression "__ptr[3]" (identifier "__ptr") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(uint)puVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar10"))) (; ";")) (expression_statement "__ptr[4] = (uint)puVar1;" (assignment_expression "__ptr[4] = (uint)puVar1" (subscript_expression "__ptr[4]" (identifier "__ptr") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(uint)puVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar1"))) (; ";")) (expression_statement "puVar1[3] = (uint)__ptr;" (assignment_expression "puVar1[3] = (uint)__ptr" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(uint)__ptr" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "__ptr"))) (; ";")) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0xc) + 1" (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")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" (* "*") (cast_expression "(uint **)(param_1 + 0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "__ptr")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar2 = *(uint **)(param_1 + 0x10);" (assignment_expression "puVar2 = *(uint **)(param_1 + 0x10)" (identifier "puVar2") (= "=") (pointer_expression "*(uint **)(param_1 + 0x10)" (* "*") (cast_expression "(uint **)(param_1 + 0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (puVar2 != (uint *)0x0) {\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }" (if "if") (parenthesized_expression "(puVar2 != (uint *)0x0)" (( "(") (binary_expression "puVar2 != (uint *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar6 = puVar2[1];\n    uVar3 = *puVar2;\n    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);\n    iVar8 = iVar7 >> 1;\n    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));\n    iVar7 = param_3 - iVar8;\n    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }\n  }" ({ "{") (expression_statement "uVar6 = puVar2[1];" (assignment_expression "uVar6 = puVar2[1]" (identifier "uVar6") (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar3 = *puVar2;" (assignment_expression "uVar3 = *puVar2" (identifier "uVar3") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);" (assignment_expression "iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3)" (identifier "iVar7") (= "=") (binary_expression "uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3)" (identifier "uVar6") (+ "+") (call_expression "CARRY4(-((int)uVar6 >> 0x1f),uVar3)" (identifier "CARRY4") (argument_list "(-((int)uVar6 >> 0x1f),uVar3)" (( "(") (unary_expression "-((int)uVar6 >> 0x1f)" (- "-") (parenthesized_expression "((int)uVar6 >> 0x1f)" (( "(") (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x1f")) () ")"))) (, ",") (identifier "uVar3") () ")"))))) (; ";")) (expression_statement "iVar8 = iVar7 >> 1;" (assignment_expression "iVar8 = iVar7 >> 1" (identifier "iVar8") (= "=") (binary_expression "iVar7 >> 1" (identifier "iVar7") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));" (assignment_expression "uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000))" (identifier "uVar4") (= "=") (call_expression "(uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000))" (( "(") (binary_expression "param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000)" (identifier "param_2") (< "<") (parenthesized_expression "(-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000)" (( "(") (binary_expression "-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000" (binary_expression "-((int)uVar6 >> 0x1f) + uVar3 >> 1" (binary_expression "-((int)uVar6 >> 0x1f) + uVar3" (unary_expression "-((int)uVar6 >> 0x1f)" (- "-") (parenthesized_expression "((int)uVar6 >> 0x1f)" (( "(") (binary_expression "(int)uVar6 >> 0x1f" (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x1f")) () ")"))) (+ "+") (identifier "uVar3")) (>> ">>") (number_literal "1")) (| "|") (binary_expression "iVar7 * -0x80000000" (identifier "iVar7") (* "*") (number_literal "-0x80000000"))) () ")"))) () ")")))) (; ";")) (expression_statement "iVar7 = param_3 - iVar8;" (assignment_expression "iVar7 = param_3 - iVar8" (identifier "iVar7") (= "=") (binary_expression "param_3 - iVar8" (identifier "param_3") (- "-") (identifier "iVar8"))) (; ";")) (if_statement "if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }" (if "if") (parenthesized_expression "(((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0))" (( "(") (binary_expression "((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&\n       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)" (parenthesized_expression "((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0)" (( "(") (binary_expression "(SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0" (parenthesized_expression "(SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4))" (( "(") (binary_expression "SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)" (call_expression "SBORROW4(param_3,iVar8)" (identifier "SBORROW4") (argument_list "(param_3,iVar8)" (( "(") (identifier "param_3") (, ",") (identifier "iVar8") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar7,uVar4)" (identifier "SBORROW4") (argument_list "(iVar7,uVar4)" (( "(") (identifier "iVar7") (, ",") (identifier "uVar4") () ")")))) () ")")) (== "==") (binary_expression "(int)(iVar7 - uVar4) < 0" (cast_expression "(int)(iVar7 - uVar4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar7 - uVar4)" (( "(") (binary_expression "iVar7 - uVar4" (identifier "iVar7") (- "-") (identifier "uVar4")) () ")"))) (< "<") (number_literal "0"))) () ")")) (&& "&&") (parenthesized_expression "(uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)" (( "(") (comma_expression "uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (assignment_expression "uVar9 = uVar6" (identifier "uVar9") (= "=") (identifier "uVar6")) (, ",") (comma_expression "puVar10 = puVar2, local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (assignment_expression "puVar10 = puVar2" (identifier "puVar10") (= "=") (identifier "puVar2")) (, ",") (comma_expression "local_24 = uVar3,\n       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (assignment_expression "local_24 = uVar3" (identifier "local_24") (= "=") (identifier "uVar3")) (, ",") (binary_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=\n       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3)))" (( "(") (binary_expression "SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))" (call_expression "SBORROW4(param_3,uVar6)" (identifier "SBORROW4") (argument_list "(param_3,uVar6)" (( "(") (identifier "param_3") (, ",") (identifier "uVar6") () ")"))) (!= "!=") (call_expression "SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))" (identifier "SBORROW4") (argument_list "(param_3 - uVar6,(uint)(param_2 < uVar3))" (( "(") (binary_expression "param_3 - uVar6" (identifier "param_3") (- "-") (identifier "uVar6")) (, ",") (call_expression "(uint)(param_2 < uVar3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < uVar3)" (( "(") (binary_expression "param_2 < uVar3" (identifier "param_2") (< "<") (identifier "uVar3")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0" (cast_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar3))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((param_3 - uVar6) - (uint)(param_2 < uVar3))" (( "(") (binary_expression "(param_3 - uVar6) - (uint)(param_2 < uVar3)" (parenthesized_expression "(param_3 - uVar6)" (( "(") (binary_expression "param_3 - uVar6" (identifier "param_3") (- "-") (identifier "uVar6")) () ")")) (- "-") (call_expression "(uint)(param_2 < uVar3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < uVar3)" (( "(") (binary_expression "param_2 < uVar3" (identifier "param_2") (< "<") (identifier "uVar3")) () ")")))) () ")"))) (< "<") (number_literal "0")))))) () ")"))) () ")")) (compound_statement "{\n      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n      goto LAB_00093a44;\n    }" ({ "{") (if_statement "if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;" (if "if") (parenthesized_expression "((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1))" (( "(") (binary_expression "(puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)" (parenthesized_expression "(puVar2 == puVar1)" (( "(") (binary_expression "puVar2 == puVar1" (identifier "puVar2") (== "==") (identifier "puVar1")) () ")")) (|| "||") (parenthesized_expression "(puVar10 = (uint *)puVar2[4], puVar10 == puVar1)" (( "(") (comma_expression "puVar10 = (uint *)puVar2[4], puVar10 == puVar1" (assignment_expression "puVar10 = (uint *)puVar2[4]" (identifier "puVar10") (= "=") (cast_expression "(uint *)puVar2[4]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")))) (, ",") (binary_expression "puVar10 == puVar1" (identifier "puVar10") (== "==") (identifier "puVar1"))) () ")"))) () ")")) (goto_statement "goto LAB_000939f4;" (goto "goto") (statement_identifier "LAB_000939f4") (; ";"))) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" (identifier "uVar9") (= "=") (pointer_expression "*puVar10" (* "*") (identifier "puVar10"))) (; ";")) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" (identifier "uVar6") (= "=") (subscript_expression "puVar10[1]" (identifier "puVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (uVar9 != param_2 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" (if "if") (parenthesized_expression "(uVar9 != param_2 || uVar6 != param_3)" (( "(") (binary_expression "uVar9 != param_2 || uVar6 != param_3" (binary_expression "uVar9 != param_2" (identifier "uVar9") (!= "!=") (identifier "param_2")) (|| "||") (binary_expression "uVar6 != param_3" (identifier "uVar6") (!= "!=") (identifier "param_3"))) () ")")) (compound_statement "{\n        do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" ({ "{") (do_statement "do {\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);" (do "do") (compound_statement "{\n          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }\n          puVar10 = (uint *)puVar10[4];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        }" ({ "{") (if_statement "if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }" (if "if") (parenthesized_expression "((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0)" (( "(") (binary_expression "(SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=\n              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0" (parenthesized_expression "(SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2)))" (( "(") (binary_expression "SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))" (call_expression "SBORROW4(uVar6,param_3)" (identifier "SBORROW4") (argument_list "(uVar6,param_3)" (( "(") (identifier "uVar6") (, ",") (identifier "param_3") () ")"))) (!= "!=") (call_expression "SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))" (identifier "SBORROW4") (argument_list "(uVar6 - param_3,(uint)(uVar9 < param_2))" (( "(") (binary_expression "uVar6 - param_3" (identifier "uVar6") (- "-") (identifier "param_3")) (, ",") (call_expression "(uint)(uVar9 < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar9 < param_2)" (( "(") (binary_expression "uVar9 < param_2" (identifier "uVar9") (< "<") (identifier "param_2")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0" (cast_expression "(int)((uVar6 - param_3) - (uint)(uVar9 < param_2))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uVar6 - param_3) - (uint)(uVar9 < param_2))" (( "(") (binary_expression "(uVar6 - param_3) - (uint)(uVar9 < param_2)" (parenthesized_expression "(uVar6 - param_3)" (( "(") (binary_expression "uVar6 - param_3" (identifier "uVar6") (- "-") (identifier "param_3")) () ")")) (- "-") (call_expression "(uint)(uVar9 < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar9 < param_2)" (( "(") (binary_expression "uVar9 < param_2" (identifier "uVar9") (< "<") (identifier "param_2")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n            uVar9 = puVar10[3];\n            *(uint **)(uVar9 + 0x10) = __ptr;\n            __ptr[3] = uVar9;\n            __ptr[4] = (uint)puVar10;\n            puVar10[3] = (uint)__ptr;\n            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n            *(uint **)(param_1 + 0x10) = __ptr;\n            return 0;\n          }" ({ "{") (expression_statement "uVar9 = puVar10[3];" (assignment_expression "uVar9 = puVar10[3]" (identifier "uVar9") (= "=") (subscript_expression "puVar10[3]" (identifier "puVar10") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(uint **)(uVar9 + 0x10) = __ptr;" (assignment_expression "*(uint **)(uVar9 + 0x10) = __ptr" (pointer_expression "*(uint **)(uVar9 + 0x10)" (* "*") (cast_expression "(uint **)(uVar9 + 0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(uVar9 + 0x10)" (( "(") (binary_expression "uVar9 + 0x10" (identifier "uVar9") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "__ptr")) (; ";")) (expression_statement "__ptr[3] = uVar9;" (assignment_expression "__ptr[3] = uVar9" (subscript_expression "__ptr[3]" (identifier "__ptr") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "__ptr[4] = (uint)puVar10;" (assignment_expression "__ptr[4] = (uint)puVar10" (subscript_expression "__ptr[4]" (identifier "__ptr") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(uint)puVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar10"))) (; ";")) (expression_statement "puVar10[3] = (uint)__ptr;" (assignment_expression "puVar10[3] = (uint)__ptr" (subscript_expression "puVar10[3]" (identifier "puVar10") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(uint)__ptr" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "__ptr"))) (; ";")) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0xc) + 1" (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")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" (* "*") (cast_expression "(uint **)(param_1 + 0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "__ptr")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar10 = (uint *)puVar10[4];" (assignment_expression "puVar10 = (uint *)puVar10[4]" (identifier "puVar10") (= "=") (cast_expression "(uint *)puVar10[4]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar10[4]" (identifier "puVar10") ([ "[") (number_literal "4") (] "]")))) (; ";")) (if_statement "if (puVar10 == puVar1) goto LAB_000939f4;" (if "if") (parenthesized_expression "(puVar10 == puVar1)" (( "(") (binary_expression "puVar10 == puVar1" (identifier "puVar10") (== "==") (identifier "puVar1")) () ")")) (goto_statement "goto LAB_000939f4;" (goto "goto") (statement_identifier "LAB_000939f4") (; ";"))) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" (identifier "uVar9") (= "=") (pointer_expression "*puVar10" (* "*") (identifier "puVar10"))) (; ";")) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" (identifier "uVar6") (= "=") (subscript_expression "puVar10[1]" (identifier "puVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar6 != param_3 || uVar9 != param_2)" (( "(") (binary_expression "uVar6 != param_3 || uVar9 != param_2" (binary_expression "uVar6 != param_3" (identifier "uVar6") (!= "!=") (identifier "param_3")) (|| "||") (binary_expression "uVar9 != param_2" (identifier "uVar9") (!= "!=") (identifier "param_2"))) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_00093a44;" (goto "goto") (statement_identifier "LAB_00093a44") (; ";")) (} "}"))) (} "}"))) (if_statement "if (puVar10 != puVar1) {\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }" (if "if") (parenthesized_expression "(puVar10 != puVar1)" (( "(") (binary_expression "puVar10 != puVar1" (identifier "puVar10") (!= "!=") (identifier "puVar1")) () ")")) (compound_statement "{\n    if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }\nLAB_00093a44:\n    free((void *)puVar10[2]);\n    puVar10[2] = __ptr[2];\n    free(__ptr);\n    *(uint **)(param_1 + 0x10) = puVar10;\n    return 0;\n  }" ({ "{") (if_statement "if (param_3 != uVar9 || local_24 != param_2) {\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }" (if "if") (parenthesized_expression "(param_3 != uVar9 || local_24 != param_2)" (( "(") (binary_expression "param_3 != uVar9 || local_24 != param_2" (binary_expression "param_3 != uVar9" (identifier "param_3") (!= "!=") (identifier "uVar9")) (|| "||") (binary_expression "local_24 != param_2" (identifier "local_24") (!= "!=") (identifier "param_2"))) () ")")) (compound_statement "{\n      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }\n      puVar10 = (uint *)puVar10[3];\n      if (puVar1 == puVar10) goto LAB_000939f4;\n      uVar9 = *puVar10;\n      uVar6 = puVar10[1];\n      if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }\n    }" ({ "{") (if_statement "if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }" (if "if") (parenthesized_expression "((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0)" (( "(") (binary_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=\n          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24)))" (( "(") (binary_expression "SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" (call_expression "SBORROW4(param_3,uVar9)" (identifier "SBORROW4") (argument_list "(param_3,uVar9)" (( "(") (identifier "param_3") (, ",") (identifier "uVar9") () ")"))) (!= "!=") (call_expression "SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))" (identifier "SBORROW4") (argument_list "(param_3 - uVar9,(uint)(param_2 < local_24))" (( "(") (binary_expression "param_3 - uVar9" (identifier "param_3") (- "-") (identifier "uVar9")) (, ",") (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < local_24)" (( "(") (binary_expression "param_2 < local_24" (identifier "param_2") (< "<") (identifier "local_24")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0" (cast_expression "(int)((param_3 - uVar9) - (uint)(param_2 < local_24))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((param_3 - uVar9) - (uint)(param_2 < local_24))" (( "(") (binary_expression "(param_3 - uVar9) - (uint)(param_2 < local_24)" (parenthesized_expression "(param_3 - uVar9)" (( "(") (binary_expression "param_3 - uVar9" (identifier "param_3") (- "-") (identifier "uVar9")) () ")")) (- "-") (call_expression "(uint)(param_2 < local_24)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < local_24)" (( "(") (binary_expression "param_2 < local_24" (identifier "param_2") (< "<") (identifier "local_24")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\nLAB_00093999:\n        uVar9 = puVar10[4];\n        *(uint **)(uVar9 + 0xc) = __ptr;\n        __ptr[4] = uVar9;\n        puVar10[4] = (uint)__ptr;\n        __ptr[3] = (uint)puVar10;\n        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;\n        *(uint **)(param_1 + 0x10) = __ptr;\n        return 0;\n      }" ({ "{") (labeled_statement "LAB_00093999:\n        uVar9 = puVar10[4];" (statement_identifier "LAB_00093999") (: ":") (expression_statement "uVar9 = puVar10[4];" (assignment_expression "uVar9 = puVar10[4]" (identifier "uVar9") (= "=") (subscript_expression "puVar10[4]" (identifier "puVar10") ([ "[") (number_literal "4") (] "]"))) (; ";"))) (expression_statement "*(uint **)(uVar9 + 0xc) = __ptr;" (assignment_expression "*(uint **)(uVar9 + 0xc) = __ptr" (pointer_expression "*(uint **)(uVar9 + 0xc)" (* "*") (cast_expression "(uint **)(uVar9 + 0xc)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(uVar9 + 0xc)" (( "(") (binary_expression "uVar9 + 0xc" (identifier "uVar9") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "__ptr")) (; ";")) (expression_statement "__ptr[4] = uVar9;" (assignment_expression "__ptr[4] = uVar9" (subscript_expression "__ptr[4]" (identifier "__ptr") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "puVar10[4] = (uint)__ptr;" (assignment_expression "puVar10[4] = (uint)__ptr" (subscript_expression "puVar10[4]" (identifier "puVar10") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(uint)__ptr" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "__ptr"))) (; ";")) (expression_statement "__ptr[3] = (uint)puVar10;" (assignment_expression "__ptr[3] = (uint)puVar10" (subscript_expression "__ptr[3]" (identifier "__ptr") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(uint)puVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar10"))) (; ";")) (expression_statement "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;" (assignment_expression "*(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1" (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")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0xc) + 1" (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")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(uint **)(param_1 + 0x10) = __ptr;" (assignment_expression "*(uint **)(param_1 + 0x10) = __ptr" (pointer_expression "*(uint **)(param_1 + 0x10)" (* "*") (cast_expression "(uint **)(param_1 + 0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "__ptr")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar10 = (uint *)puVar10[3];" (assignment_expression "puVar10 = (uint *)puVar10[3]" (identifier "puVar10") (= "=") (cast_expression "(uint *)puVar10[3]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar10[3]" (identifier "puVar10") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if (puVar1 == puVar10) goto LAB_000939f4;" (if "if") (parenthesized_expression "(puVar1 == puVar10)" (( "(") (binary_expression "puVar1 == puVar10" (identifier "puVar1") (== "==") (identifier "puVar10")) () ")")) (goto_statement "goto LAB_000939f4;" (goto "goto") (statement_identifier "LAB_000939f4") (; ";"))) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" (identifier "uVar9") (= "=") (pointer_expression "*puVar10" (* "*") (identifier "puVar10"))) (; ";")) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" (identifier "uVar6") (= "=") (subscript_expression "puVar10[1]" (identifier "puVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (param_2 != uVar9 || uVar6 != param_3) {\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" (if "if") (parenthesized_expression "(param_2 != uVar9 || uVar6 != param_3)" (( "(") (binary_expression "param_2 != uVar9 || uVar6 != param_3" (binary_expression "param_2 != uVar9" (identifier "param_2") (!= "!=") (identifier "uVar9")) (|| "||") (binary_expression "uVar6 != param_3" (identifier "uVar6") (!= "!=") (identifier "param_3"))) () ")")) (compound_statement "{\n        do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);\n      }" ({ "{") (do_statement "do {\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        } while (uVar6 != param_3 || uVar9 != param_2);" (do "do") (compound_statement "{\n          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;\n          puVar10 = (uint *)puVar10[3];\n          if (puVar10 == puVar1) goto LAB_000939f4;\n          uVar9 = *puVar10;\n          uVar6 = puVar10[1];\n        }" ({ "{") (if_statement "if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;" (if "if") (parenthesized_expression "((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0)" (( "(") (binary_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=\n              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0" (parenthesized_expression "(SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9)))" (( "(") (binary_expression "SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))" (call_expression "SBORROW4(param_3,uVar6)" (identifier "SBORROW4") (argument_list "(param_3,uVar6)" (( "(") (identifier "param_3") (, ",") (identifier "uVar6") () ")"))) (!= "!=") (call_expression "SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))" (identifier "SBORROW4") (argument_list "(param_3 - uVar6,(uint)(param_2 < uVar9))" (( "(") (binary_expression "param_3 - uVar6" (identifier "param_3") (- "-") (identifier "uVar6")) (, ",") (call_expression "(uint)(param_2 < uVar9)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < uVar9)" (( "(") (binary_expression "param_2 < uVar9" (identifier "param_2") (< "<") (identifier "uVar9")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0" (cast_expression "(int)((param_3 - uVar6) - (uint)(param_2 < uVar9))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((param_3 - uVar6) - (uint)(param_2 < uVar9))" (( "(") (binary_expression "(param_3 - uVar6) - (uint)(param_2 < uVar9)" (parenthesized_expression "(param_3 - uVar6)" (( "(") (binary_expression "param_3 - uVar6" (identifier "param_3") (- "-") (identifier "uVar6")) () ")")) (- "-") (call_expression "(uint)(param_2 < uVar9)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < uVar9)" (( "(") (binary_expression "param_2 < uVar9" (identifier "param_2") (< "<") (identifier "uVar9")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (goto_statement "goto LAB_00093999;" (goto "goto") (statement_identifier "LAB_00093999") (; ";"))) (expression_statement "puVar10 = (uint *)puVar10[3];" (assignment_expression "puVar10 = (uint *)puVar10[3]" (identifier "puVar10") (= "=") (cast_expression "(uint *)puVar10[3]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar10[3]" (identifier "puVar10") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if (puVar10 == puVar1) goto LAB_000939f4;" (if "if") (parenthesized_expression "(puVar10 == puVar1)" (( "(") (binary_expression "puVar10 == puVar1" (identifier "puVar10") (== "==") (identifier "puVar1")) () ")")) (goto_statement "goto LAB_000939f4;" (goto "goto") (statement_identifier "LAB_000939f4") (; ";"))) (expression_statement "uVar9 = *puVar10;" (assignment_expression "uVar9 = *puVar10" (identifier "uVar9") (= "=") (pointer_expression "*puVar10" (* "*") (identifier "puVar10"))) (; ";")) (expression_statement "uVar6 = puVar10[1];" (assignment_expression "uVar6 = puVar10[1]" (identifier "uVar6") (= "=") (subscript_expression "puVar10[1]" (identifier "puVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar6 != param_3 || uVar9 != param_2)" (( "(") (binary_expression "uVar6 != param_3 || uVar9 != param_2" (binary_expression "uVar6 != param_3" (identifier "uVar6") (!= "!=") (identifier "param_3")) (|| "||") (binary_expression "uVar9 != param_2" (identifier "uVar9") (!= "!=") (identifier "param_2"))) () ")")) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00093a44:\n    free((void *)puVar10[2]);" (statement_identifier "LAB_00093a44") (: ":") (expression_statement "free((void *)puVar10[2]);" (call_expression "free((void *)puVar10[2])" (identifier "free") (argument_list "((void *)puVar10[2])" (( "(") (cast_expression "(void *)puVar10[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar10[2]" (identifier "puVar10") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";"))) (expression_statement "puVar10[2] = __ptr[2];" (assignment_expression "puVar10[2] = __ptr[2]" (subscript_expression "puVar10[2]" (identifier "puVar10") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "__ptr[2]" (identifier "__ptr") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "*(uint **)(param_1 + 0x10) = puVar10;" (assignment_expression "*(uint **)(param_1 + 0x10) = puVar10" (pointer_expression "*(uint **)(param_1 + 0x10)" (* "*") (cast_expression "(uint **)(param_1 + 0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "puVar10")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (labeled_statement "LAB_000939f4:\n  if (param_4 != (char *)0x0) {\n    free(param_4);\n  }" (statement_identifier "LAB_000939f4") (: ":") (if_statement "if (param_4 != (char *)0x0) {\n    free(param_4);\n  }" (if "if") (parenthesized_expression "(param_4 != (char *)0x0)" (( "(") (binary_expression "param_4 != (char *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    free(param_4);\n  }" ({ "{") (expression_statement "free(param_4);" (call_expression "free(param_4)" (identifier "free") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")"))) (; ";")) (} "}")))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int function_1(type_1 *var_1,type_2 var_19,char *var_3)

{
  type_3 *var_17;
  type_3 *var_12;
  type_4 var_10;
  type_4 var_16;
  int var_9;
  type_5 var_20;
  type_3 *__ptr;
  size_t var_5;
  char *__dest;
  int var_14;
  int var_15;
  int var_7;
  type_3 *var_18;
  type_4 var_11;
  
  if (var_1 == (type_1 *)0x0) {
    return -1;
  }
  __ptr = (type_3 *)var_2(0x14);
  __ptr->ind = var_19;
  if (var_3 != (char *)0x0) {
    var_5 = var_4(var_3);
    __dest = (char *)var_2(var_5 + 1);
    var_3 = var_6(__dest,var_3);
  }
  __ptr->prev = (type_3 *)0x0;
  __ptr->next = (type_3 *)0x0;
  __ptr->value = var_3;
  var_17 = var_1->head;
  var_7 = *(int *)((int)&var_1->max_index + 4);
  var_10 = (type_4)((type_4)var_1->max_index < (type_4)var_19);
  var_9 = var_7 - var_19._4_4_;
  if ((var_8(var_7,var_19._4_4_) != var_8(var_9,var_10)) != (int)(var_9 - var_10) < 0) {
    var_18 = var_17->prev;
    var_18->next = __ptr;
    __ptr->prev = var_18;
    var_17->prev = __ptr;
    __ptr->next = var_17;
    var_1->max_index = var_19;
    var_1->num_elements = var_1->num_elements + 1;
    var_1->lastref = __ptr;
    return 0;
  }
  var_18 = var_17->next;
  var_11 = (type_4)var_18->ind;
  var_7 = *(int *)((int)&var_18->ind + 4);
  if ((var_8(var_19._4_4_,var_7) != var_8(var_19._4_4_ - var_7,(type_4)((type_4)var_19 < var_11))) !=
      (int)((var_19._4_4_ - var_7) - (type_4)((type_4)var_19 < var_11)) < 0) {
    var_18->prev = __ptr;
    __ptr->next = var_18;
    __ptr->prev = var_17;
    var_17->next = __ptr;
    var_1->num_elements = var_1->num_elements + 1;
    var_1->lastref = __ptr;
    return 0;
  }
  var_12 = var_1->lastref;
  if (var_12 != (type_3 *)0x0) {
    var_9 = *(int *)((int)&var_12->ind + 4);
    var_10 = (type_4)var_12->ind;
    var_14 = var_9 + (type_4)var_13(-(var_9 >> 0x1f),var_10);
    var_15 = var_14 >> 1;
    var_16 = (type_4)((type_4)var_19 < (-(var_9 >> 0x1f) + var_10 >> 1 | var_14 * -0x80000000));
    var_14 = var_19._4_4_ - var_15;
    if (((var_8(var_19._4_4_,var_15) != var_8(var_14,var_16)) == (int)(var_14 - var_16) < 0) &&
       (var_7 = var_9, var_18 = var_12, var_11 = var_10,
       (var_8(var_19._4_4_,var_9) != var_8(var_19._4_4_ - var_9,(type_4)((type_4)var_19 < var_10))) !=
       (int)((var_19._4_4_ - var_9) - (type_4)((type_4)var_19 < var_10)) < 0)) {
      if ((var_12 == var_17) || (var_18 = var_12->prev, var_18 == var_17)) goto LAB_000939f4;
      var_10 = (type_4)var_18->ind;
      var_7 = *(int *)((int)&var_18->ind + 4);
      var_20 = var_18->ind;
      while (var_19 != var_20) {
        if ((var_8(var_7,var_19._4_4_) != var_8(var_7 - var_19._4_4_,(type_4)(var_10 < (type_4)var_19))) !=
            (int)((var_7 - var_19._4_4_) - (type_4)(var_10 < (type_4)var_19)) < 0) {
          var_17 = var_18->next;
          var_17->prev = __ptr;
          __ptr->next = var_17;
          __ptr->prev = var_18;
          var_18->next = __ptr;
          var_1->num_elements = var_1->num_elements + 1;
          var_1->lastref = __ptr;
          return 0;
        }
        var_18 = var_18->prev;
        if (var_18 == var_17) goto LAB_000939f4;
        var_10 = (type_4)var_18->ind;
        var_7 = *(int *)((int)&var_18->ind + 4);
        var_20 = var_18->ind;
      }
      goto LAB_00093a44;
    }
  }
  if (var_18 != var_17) {
    if (var_19 != var_21(var_7,var_11)) {
      if ((var_8(var_19._4_4_,var_7) != var_8(var_19._4_4_ - var_7,(type_4)((type_4)var_19 < var_11))) !=
          (int)((var_19._4_4_ - var_7) - (type_4)((type_4)var_19 < var_11)) < 0) {
LAB_00093999:
        var_17 = var_18->prev;
        var_17->next = __ptr;
        __ptr->prev = var_17;
        var_18->prev = __ptr;
        __ptr->next = var_18;
        var_1->num_elements = var_1->num_elements + 1;
        var_1->lastref = __ptr;
        return 0;
      }
      var_18 = var_18->next;
      if (var_17 == var_18) goto LAB_000939f4;
      var_10 = (type_4)var_18->ind;
      var_7 = *(int *)((int)&var_18->ind + 4);
      var_20 = var_18->ind;
      while (var_19 != var_20) {
        if ((var_8(var_19._4_4_,var_7) != var_8(var_19._4_4_ - var_7,(type_4)((type_4)var_19 < var_10))) !=
            (int)((var_19._4_4_ - var_7) - (type_4)((type_4)var_19 < var_10)) < 0) goto LAB_00093999;
        var_18 = var_18->next;
        if (var_18 == var_17) goto LAB_000939f4;
        var_10 = (type_4)var_18->ind;
        var_7 = *(int *)((int)&var_18->ind + 4);
        var_20 = var_18->ind;
      }
    }
LAB_00093a44:
    var_22(var_18->value);
    var_18->value = __ptr->value;
    var_22(__ptr);
    var_1->lastref = var_18;
    return 0;
  }
LAB_000939f4:
  if (var_3 != (char *)0x0) {
    var_22(var_3);
  }
  var_22(__ptr);
  var_1->lastref = (type_3 *)0x0;
  return -1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4 MASKED(int param_1,uint param_2,uint param_3,char *param_4)

{
  uint *puVar1;
  uint *puVar2;
  uint uVar3;
  uint uVar4;
  uint *__ptr;
  size_t sVar5;
  char *__dest;
  uint uVar6;
  int iVar7;
  int iVar8;
  uint uVar9;
  uint *puVar10;
  uint local_24;
  
  if (param_1 == 0) {
    return 0xffffffff;
  }
  __ptr = (uint *)xmalloc(0x14);
  *__ptr = param_2;
  __ptr[1] = param_3;
  if (param_4 != (char *)0x0) {
    sVar5 = strlen(param_4);
    __dest = (char *)xmalloc(sVar5 + 1);
    param_4 = strcpy(__dest,param_4);
  }
  __ptr[4] = 0;
  __ptr[3] = 0;
  __ptr[2] = (uint)param_4;
  puVar1 = *(uint **)(param_1 + 0x14);
  uVar9 = (uint)(*(uint *)(param_1 + 4) < param_2);
  iVar7 = *(int *)(param_1 + 8) - param_3;
  if ((SBORROW4(*(int *)(param_1 + 8),param_3) != SBORROW4(iVar7,uVar9)) != (int)(iVar7 - uVar9) < 0
     ) {
    uVar9 = puVar1[4];
    *(uint **)(uVar9 + 0xc) = __ptr;
    __ptr[4] = uVar9;
    puVar1[4] = (uint)__ptr;
    __ptr[3] = (uint)puVar1;
    *(uint *)(param_1 + 4) = param_2;
    *(uint *)(param_1 + 8) = param_3;
    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;
    *(uint **)(param_1 + 0x10) = __ptr;
    return 0;
  }
  puVar10 = (uint *)puVar1[3];
  local_24 = *puVar10;
  uVar9 = puVar10[1];
  if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=
      (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {
    puVar10[4] = (uint)__ptr;
    __ptr[3] = (uint)puVar10;
    __ptr[4] = (uint)puVar1;
    puVar1[3] = (uint)__ptr;
    *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;
    *(uint **)(param_1 + 0x10) = __ptr;
    return 0;
  }
  puVar2 = *(uint **)(param_1 + 0x10);
  if (puVar2 != (uint *)0x0) {
    uVar6 = puVar2[1];
    uVar3 = *puVar2;
    iVar7 = uVar6 + CARRY4(-((int)uVar6 >> 0x1f),uVar3);
    iVar8 = iVar7 >> 1;
    uVar4 = (uint)(param_2 < (-((int)uVar6 >> 0x1f) + uVar3 >> 1 | iVar7 * -0x80000000));
    iVar7 = param_3 - iVar8;
    if (((SBORROW4(param_3,iVar8) != SBORROW4(iVar7,uVar4)) == (int)(iVar7 - uVar4) < 0) &&
       (uVar9 = uVar6, puVar10 = puVar2, local_24 = uVar3,
       (SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar3))) !=
       (int)((param_3 - uVar6) - (uint)(param_2 < uVar3)) < 0)) {
      if ((puVar2 == puVar1) || (puVar10 = (uint *)puVar2[4], puVar10 == puVar1)) goto LAB_000939f4;
      uVar9 = *puVar10;
      uVar6 = puVar10[1];
      if (uVar9 != param_2 || uVar6 != param_3) {
        do {
          if ((SBORROW4(uVar6,param_3) != SBORROW4(uVar6 - param_3,(uint)(uVar9 < param_2))) !=
              (int)((uVar6 - param_3) - (uint)(uVar9 < param_2)) < 0) {
            uVar9 = puVar10[3];
            *(uint **)(uVar9 + 0x10) = __ptr;
            __ptr[3] = uVar9;
            __ptr[4] = (uint)puVar10;
            puVar10[3] = (uint)__ptr;
            *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;
            *(uint **)(param_1 + 0x10) = __ptr;
            return 0;
          }
          puVar10 = (uint *)puVar10[4];
          if (puVar10 == puVar1) goto LAB_000939f4;
          uVar9 = *puVar10;
          uVar6 = puVar10[1];
        } while (uVar6 != param_3 || uVar9 != param_2);
      }
      goto LAB_00093a44;
    }
  }
  if (puVar10 != puVar1) {
    if (param_3 != uVar9 || local_24 != param_2) {
      if ((SBORROW4(param_3,uVar9) != SBORROW4(param_3 - uVar9,(uint)(param_2 < local_24))) !=
          (int)((param_3 - uVar9) - (uint)(param_2 < local_24)) < 0) {
LAB_00093999:
        uVar9 = puVar10[4];
        *(uint **)(uVar9 + 0xc) = __ptr;
        __ptr[4] = uVar9;
        puVar10[4] = (uint)__ptr;
        __ptr[3] = (uint)puVar10;
        *(int *)(param_1 + 0xc) = *(int *)(param_1 + 0xc) + 1;
        *(uint **)(param_1 + 0x10) = __ptr;
        return 0;
      }
      puVar10 = (uint *)puVar10[3];
      if (puVar1 == puVar10) goto LAB_000939f4;
      uVar9 = *puVar10;
      uVar6 = puVar10[1];
      if (param_2 != uVar9 || uVar6 != param_3) {
        do {
          if ((SBORROW4(param_3,uVar6) != SBORROW4(param_3 - uVar6,(uint)(param_2 < uVar9))) !=
              (int)((param_3 - uVar6) - (uint)(param_2 < uVar9)) < 0) goto LAB_00093999;
          puVar10 = (uint *)puVar10[3];
          if (puVar10 == puVar1) goto LAB_000939f4;
          uVar9 = *puVar10;
          uVar6 = puVar10[1];
        } while (uVar6 != param_3 || uVar9 != param_2);
      }
    }
LAB_00093a44:
    free((void *)puVar10[2]);
    puVar10[2] = __ptr[2];
    free(__ptr);
    *(uint **)(param_1 + 0x10) = puVar10;
    return 0;
  }
LAB_000939f4:
  if (param_4 != (char *)0x0) {
    free(param_4);
  }
  free(__ptr);
  *(undefined4 *)(param_1 + 0x10) = 0;
  return 0xffffffff;
}

