
reg_errcode_t re_node_set_add_intersect(re_node_set *dest,re_node_set *src1,re_node_set *src2)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  Idx *pIVar4;
  Idx IVar5;
  Idx *pIVar6;
  int iVar7;
  int iVar8;
  Idx IVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  Idx *pIVar13;
  
  iVar1 = src1->nelem;
  if (iVar1 == 0) {
    return _REG_NOERROR;
  }
  iVar2 = src2->nelem;
  if (iVar2 == 0) {
    return _REG_NOERROR;
  }
  iVar7 = dest->nelem;
  pIVar4 = dest->elems;
  if (dest->alloc < iVar1 + iVar2 + iVar7) {
    iVar12 = iVar1 + iVar2 + dest->alloc;
    pIVar4 = (Idx *)(*(code *)PTR_realloc_000afde8)(pIVar4,iVar12 * 4);
    if (pIVar4 == (Idx *)0x0) {
      return _REG_ESPACE;
    }
    iVar1 = src1->nelem;
    iVar2 = src2->nelem;
    iVar7 = dest->nelem;
    dest->elems = pIVar4;
    dest->alloc = iVar12;
  }
  iVar11 = iVar1 + -1;
  pIVar13 = src1->elems;
  iVar12 = iVar2 + -1;
  pIVar6 = src2->elems;
  iVar10 = pIVar13[iVar11];
  iVar8 = iVar7 + -1;
  iVar2 = iVar7 + iVar1 + iVar2;
  iVar1 = pIVar6[iVar12];
  do {
    while (iVar10 != iVar1) {
      if (iVar10 < iVar1) {
        iVar12 = iVar12 + -1;
        if (iVar12 < 0) goto LAB_00073fe8;
        iVar1 = pIVar6[iVar12];
      }
      else {
        iVar11 = iVar11 + -1;
        if (iVar11 < 0) goto LAB_00073fe8;
        iVar10 = pIVar13[iVar11];
      }
    }
    if (iVar8 < 0) {
LAB_00073f7c:
      iVar2 = iVar2 + -1;
      pIVar4[iVar2] = iVar10;
    }
    else {
      piVar3 = pIVar4 + iVar8;
      iVar1 = *piVar3;
      while (iVar10 < iVar1) {
        iVar8 = iVar8 + -1;
        piVar3 = piVar3 + -1;
        if (iVar8 == -1) goto LAB_00073f7c;
        iVar1 = *piVar3;
      }
      if (iVar1 != iVar10) goto LAB_00073f7c;
    }
    iVar11 = iVar11 + -1;
    iVar12 = iVar12 + -1;
    if ((iVar11 < 0) || (iVar12 < 0)) {
LAB_00073fe8:
      iVar7 = dest->nelem;
      iVar12 = iVar7 + src1->nelem + src2->nelem;
      iVar1 = iVar12 - iVar2;
      iVar12 = iVar12 + -1;
      dest->nelem = iVar7 + iVar1;
      if (0 < iVar1) {
        iVar7 = iVar7 + -1;
        iVar8 = iVar12 * 4;
        if (-1 < iVar7) {
          do {
            IVar9 = *(int *)((int)pIVar4 + iVar8);
            IVar5 = pIVar4[iVar7];
            pIVar6 = pIVar4 + iVar7 + iVar1;
            if (IVar5 < IVar9) {
              do {
                iVar1 = iVar1 + -1;
                *pIVar6 = IVar9;
                iVar12 = iVar12 + -1;
                if (iVar1 == 0) {
                  pIVar4 = dest->elems;
                  iVar1 = 0;
                  goto LAB_0007409c;
                }
                iVar8 = iVar12 * 4;
                IVar5 = pIVar4[iVar7];
                IVar9 = pIVar4[iVar12];
                pIVar6 = pIVar4 + iVar7 + iVar1;
              } while (IVar5 < IVar9);
            }
            iVar7 = iVar7 + -1;
            *pIVar6 = IVar5;
          } while (iVar7 != -1);
          pIVar4 = dest->elems;
        }
      }
      iVar1 = iVar1 << 2;
LAB_0007409c:
      (*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1);
      return _REG_NOERROR;
    }
    iVar10 = pIVar13[iVar11];
    iVar1 = pIVar6[iVar12];
  } while( true );
}



undefined4 FUN_00073e70(int *param_1,int param_2,int param_3)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  
  iVar1 = *(int *)(param_2 + 4);
  if (iVar1 == 0) {
    return 0;
  }
  iVar2 = *(int *)(param_3 + 4);
  if (iVar2 == 0) {
    return 0;
  }
  iVar6 = param_1[1];
  iVar4 = param_1[2];
  if (*param_1 < iVar1 + iVar2 + iVar6) {
    iVar10 = iVar1 + iVar2 + *param_1;
    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);
    if (iVar4 == 0) {
      return 0xc;
    }
    iVar1 = *(int *)(param_2 + 4);
    iVar2 = *(int *)(param_3 + 4);
    iVar6 = param_1[1];
    param_1[2] = iVar4;
    *param_1 = iVar10;
  }
  iVar9 = iVar1 + -1;
  iVar11 = *(int *)(param_2 + 8);
  iVar10 = iVar2 + -1;
  iVar5 = *(int *)(param_3 + 8);
  iVar8 = *(int *)(iVar11 + iVar9 * 4);
  iVar7 = iVar6 + -1;
  iVar2 = iVar6 + iVar1 + iVar2;
  iVar1 = *(int *)(iVar5 + iVar10 * 4);
  do {
    while (iVar8 != iVar1) {
      if (iVar8 < iVar1) {
        iVar10 = iVar10 + -1;
        if (iVar10 < 0) goto LAB_00073fe8;
        iVar1 = *(int *)(iVar5 + iVar10 * 4);
      }
      else {
        iVar9 = iVar9 + -1;
        if (iVar9 < 0) goto LAB_00073fe8;
        iVar8 = *(int *)(iVar11 + iVar9 * 4);
      }
    }
    if (iVar7 < 0) {
LAB_00073f7c:
      iVar2 = iVar2 + -1;
      *(int *)(iVar4 + iVar2 * 4) = iVar8;
    }
    else {
      piVar3 = (int *)(iVar4 + iVar7 * 4);
      iVar1 = *piVar3;
      while (iVar8 < iVar1) {
        iVar7 = iVar7 + -1;
        piVar3 = piVar3 + -1;
        if (iVar7 == -1) goto LAB_00073f7c;
        iVar1 = *piVar3;
      }
      if (iVar1 != iVar8) goto LAB_00073f7c;
    }
    iVar9 = iVar9 + -1;
    iVar10 = iVar10 + -1;
    if ((iVar9 < 0) || (iVar10 < 0)) {
LAB_00073fe8:
      iVar6 = param_1[1];
      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);
      iVar1 = iVar10 - iVar2;
      iVar10 = iVar10 + -1;
      param_1[1] = iVar6 + iVar1;
      if (0 < iVar1) {
        iVar6 = iVar6 + -1;
        iVar7 = iVar10 * 4;
        if (-1 < iVar6) {
          do {
            iVar8 = *(int *)(iVar4 + iVar7);
            iVar5 = *(int *)(iVar4 + iVar6 * 4);
            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);
            if (iVar5 < iVar8) {
              do {
                iVar1 = iVar1 + -1;
                *piVar3 = iVar8;
                iVar10 = iVar10 + -1;
                if (iVar1 == 0) {
                  iVar4 = param_1[2];
                  iVar1 = 0;
                  goto LAB_0007409c;
                }
                iVar7 = iVar10 * 4;
                iVar5 = *(int *)(iVar4 + iVar6 * 4);
                iVar8 = *(int *)(iVar4 + iVar7);
                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);
              } while (iVar5 < iVar8);
            }
            iVar6 = iVar6 + -1;
            *piVar3 = iVar5;
          } while (iVar6 != -1);
          iVar4 = param_1[2];
        }
      }
      iVar1 = iVar1 << 2;
LAB_0007409c:
      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);
      return 0;
    }
    iVar8 = *(int *)(iVar11 + iVar9 * 4);
    iVar1 = *(int *)(iVar5 + iVar10 * 4);
  } while( true );
}


lui gp,0x4
addiu gp,gp,0x35c0
addu gp,gp,t9
lw v0,0x4(a1)
beq v0,zero,0x000740cc
_nop
lw v1,0x4(a2)
beq v1,zero,0x00073fb8
_nop
addiu sp,sp,-0x30
lw a3,0x4(a0)
sw s2,0x24(sp)
or s2,a2,zero
addu a2,v0,v1
sw s3,0x28(sp)
sw s1,0x20(sp)
or s1,a1,zero
sw gp,0x10(sp)
addu a1,a2,a3
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x2c(sp)
lw s3,0x0(a0)
slt a1,s3,a1
bne a1,zero,0x000740d4
_lw a0,0x8(a0)
addiu t3,v0,-0x1
lw t6,0x8(s1)
addiu t4,v1,-0x1
lw a2,0x8(s2)
sll t0,t3,0x2
sll a1,t4,0x2
addu t0,t6,t0
addu a1,a2,a1
addu v0,a3,v0
lw t0,0x0(t0)
addiu a3,a3,-0x1
addu v0,v0,v1
lw v1,0x0(a1)
li t5,-0x1
beq t0,v1,0x00073f3c
_slt t1,t0,v1
beq t1,zero,0x00073fc0
_nop
addiu t4,t4,-0x1
bltz t4,0x00073fe8
_sll v1,t4,0x2
addu v1,a2,v1
lw v1,0x0(v1)
bne t0,v1,0x00073f18
_slt t1,t0,v1
bltz a3,0x00073f7c
_sll v1,a3,0x2
addu v1,a0,v1
lw t1,0x0(v1)
slt a1,t0,t1
bne a1,zero,0x00073f74
_addiu a3,a3,-0x1
b 0x00073fd8
_addiu a3,a3,0x1
lw t1,0x0(v1)
slt t2,t0,t1
beq t2,zero,0x00073fd8
_nop
addiu a3,a3,-0x1
bne a3,t5,0x00073f60
_addiu v1,v1,-0x4
addiu v0,v0,-0x1
sll v1,v0,0x2
addu v1,a0,v1
sw t0,0x0(v1)
addiu t3,t3,-0x1
bltz t3,0x00073fe8
_addiu t4,t4,-0x1
bltz t4,0x00073fe8
_sll a1,t3,0x2
sll v1,t4,0x2
addu a1,t6,a1
addu v1,a2,v1
lw t0,0x0(a1)
b 0x00073f10
_lw v1,0x0(v1)
jr ra
_or v0,zero,zero
addiu t3,t3,-0x1
bltz t3,0x00073fe8
_sll t0,t3,0x2
addu t0,t6,t0
b 0x00073f10
_lw t0,0x0(t0)
bne t1,t0,0x00073f7c
_nop
b 0x00073f90
_addiu t3,t3,-0x1
lw t0,0x4(s0)
lw t1,0x4(s1)
lw v1,0x4(s2)
addu t1,t0,t1
addu t1,t1,v1
subu a2,t1,v0
addiu t1,t1,-0x1
addu v1,t0,a2
blez a2,0x00074098
_sw v1,0x4(s0)
addiu t0,t0,-0x1
bltz t0,0x00074098
_sll t4,t1,0x2
sll t3,t0,0x2
li t5,-0x1
addu a3,a0,t4
addu a1,a0,t3
addu v1,t0,a2
lw a3,0x0(a3)
lw a1,0x0(a1)
sll v1,v1,0x2
slt t2,a1,a3
beq t2,zero,0x00074080
_addu v1,a0,v1
addiu a2,a2,-0x1
sw a3,0x0(v1)
beq a2,zero,0x00074108
_addiu t1,t1,-0x1
sll t4,t1,0x2
addu a1,a0,t3
addu a3,a0,t4
addu v1,t0,a2
lw a1,0x0(a1)
lw a3,0x0(a3)
sll v1,v1,0x2
slt t2,a1,a3
bne t2,zero,0x00074048
_addu v1,a0,v1
addiu t0,t0,-0x1
beq t0,t5,0x00074094
_sw a1,0x0(v1)
b 0x00074024
_sll t3,t0,0x2
lw a0,0x8(s0)
sll a2,a2,0x2
sll a1,v0,0x2
lw t9,-0x77c0(gp)
jalr t9
_addu a1,a0,a1
or v0,zero,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
jr ra
_nop
addu s3,a2,s3
lw t9,-0x7648(gp)
jalr t9
_sll a1,s3,0x2
lw gp,0x10(sp)
beq v0,zero,0x00074114
_or a0,v0,zero
lw v0,0x4(s1)
lw v1,0x4(s2)
lw a3,0x4(s0)
sw a0,0x8(s0)
b 0x00073ed8
_sw s3,0x0(s0)
lw a0,0x8(s0)
b 0x0007409c
_or a2,zero,zero
b 0x000740b0
_li v0,0xc
(translation_unit "undefined4 FUN_00073e70(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar2 = *(int *)(param_3 + 4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  iVar6 = param_1[1];\n  iVar4 = param_1[2];\n  if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }\n  iVar9 = iVar1 + -1;\n  iVar11 = *(int *)(param_2 + 8);\n  iVar10 = iVar2 + -1;\n  iVar5 = *(int *)(param_3 + 8);\n  iVar8 = *(int *)(iVar11 + iVar9 * 4);\n  iVar7 = iVar6 + -1;\n  iVar2 = iVar6 + iVar1 + iVar2;\n  iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_00073e70(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar2 = *(int *)(param_3 + 4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  iVar6 = param_1[1];\n  iVar4 = param_1[2];\n  if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }\n  iVar9 = iVar1 + -1;\n  iVar11 = *(int *)(param_2 + 8);\n  iVar10 = iVar2 + -1;\n  iVar5 = *(int *)(param_3 + 8);\n  iVar8 = *(int *)(iVar11 + iVar9 * 4);\n  iVar7 = iVar6 + -1;\n  iVar2 = iVar6 + iVar1 + iVar2;\n  iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );\n}" type_identifier (function_declarator "FUN_00073e70(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar2 = *(int *)(param_3 + 4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  iVar6 = param_1[1];\n  iVar4 = param_1[2];\n  if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }\n  iVar9 = iVar1 + -1;\n  iVar11 = *(int *)(param_2 + 8);\n  iVar10 = iVar2 + -1;\n  iVar5 = *(int *)(param_3 + 8);\n  iVar8 = *(int *)(iVar11 + iVar9 * 4);\n  iVar7 = iVar6 + -1;\n  iVar2 = iVar6 + iVar1 + iVar2;\n  iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = *(int *)(param_3 + 4);" (assignment_expression "iVar2 = *(int *)(param_3 + 4)" identifier = (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }" if (parenthesized_expression "(*param_1 < iVar1 + iVar2 + iVar6)" ( (binary_expression "*param_1 < iVar1 + iVar2 + iVar6" (pointer_expression "*param_1" * identifier) < (binary_expression "iVar1 + iVar2 + iVar6" (binary_expression "iVar1 + iVar2" identifier + identifier) + identifier)) )) (compound_statement "{\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }" { (expression_statement "iVar10 = iVar1 + iVar2 + *param_1;" (assignment_expression "iVar10 = iVar1 + iVar2 + *param_1" identifier = (binary_expression "iVar1 + iVar2 + *param_1" (binary_expression "iVar1 + iVar2" identifier + identifier) + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);" (assignment_expression "iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4)" identifier = (call_expression "(*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4)" (parenthesized_expression "(*(code *)PTR_realloc_000afde8)" ( (pointer_expression "*(code *)PTR_realloc_000afde8" * (cast_expression "(code *)PTR_realloc_000afde8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,iVar10 * 4)" ( identifier , (binary_expression "iVar10 * 4" identifier * number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0xc;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0xc;\n    }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_3 + 4);" (assignment_expression "iVar2 = *(int *)(param_3 + 4)" identifier = (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = iVar10;" (assignment_expression "*param_1 = iVar10" (pointer_expression "*param_1" * identifier) = identifier) ;) })) (expression_statement "iVar9 = iVar1 + -1;" (assignment_expression "iVar9 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "iVar11 = *(int *)(param_2 + 8);" (assignment_expression "iVar11 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = iVar2 + -1;" (assignment_expression "iVar10 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "iVar5 = *(int *)(param_3 + 8);" (assignment_expression "iVar5 = *(int *)(param_3 + 8)" identifier = (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(iVar11 + iVar9 * 4);" (assignment_expression "iVar8 = *(int *)(iVar11 + iVar9 * 4)" identifier = (pointer_expression "*(int *)(iVar11 + iVar9 * 4)" * (cast_expression "(int *)(iVar11 + iVar9 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar9 * 4)" ( (binary_expression "iVar11 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar7 = iVar6 + -1;" (assignment_expression "iVar7 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar6 + iVar1 + iVar2;" (assignment_expression "iVar2 = iVar6 + iVar1 + iVar2" identifier = (binary_expression "iVar6 + iVar1 + iVar2" (binary_expression "iVar6 + iVar1" identifier + identifier) + identifier)) ;) (expression_statement "iVar1 = *(int *)(iVar5 + iVar10 * 4);" (assignment_expression "iVar1 = *(int *)(iVar5 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar5 + iVar10 * 4)" * (cast_expression "(int *)(iVar5 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar10 * 4)" ( (binary_expression "iVar5 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) (do_statement "do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );" do (compound_statement "{\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  }" { (while_statement "while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }" while (parenthesized_expression "(iVar8 != iVar1)" ( (binary_expression "iVar8 != iVar1" identifier != identifier) )) (compound_statement "{\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }" { (if_statement "if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }" if (parenthesized_expression "(iVar8 < iVar1)" ( (binary_expression "iVar8 < iVar1" identifier < identifier) )) (compound_statement "{\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }" { (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar10 < 0) goto LAB_00073fe8;" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (goto_statement "goto LAB_00073fe8;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)(iVar5 + iVar10 * 4);" (assignment_expression "iVar1 = *(int *)(iVar5 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar5 + iVar10 * 4)" * (cast_expression "(int *)(iVar5 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar10 * 4)" ( (binary_expression "iVar5 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }" else (compound_statement "{\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }" { (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (if_statement "if (iVar9 < 0) goto LAB_00073fe8;" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (goto_statement "goto LAB_00073fe8;" goto statement_identifier ;)) (expression_statement "iVar8 = *(int *)(iVar11 + iVar9 * 4);" (assignment_expression "iVar8 = *(int *)(iVar11 + iVar9 * 4)" identifier = (pointer_expression "*(int *)(iVar11 + iVar9 * 4)" * (cast_expression "(int *)(iVar11 + iVar9 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar9 * 4)" ( (binary_expression "iVar11 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) }))) })) (if_statement "if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }" { (labeled_statement "LAB_00073f7c:\n      iVar2 = iVar2 + -1;" statement_identifier : (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;)) (expression_statement "*(int *)(iVar4 + iVar2 * 4) = iVar8;" (assignment_expression "*(int *)(iVar4 + iVar2 * 4) = iVar8" (pointer_expression "*(int *)(iVar4 + iVar2 * 4)" * (cast_expression "(int *)(iVar4 + iVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar2 * 4)" ( (binary_expression "iVar4 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }" else (compound_statement "{\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }" { (expression_statement "piVar3 = (int *)(iVar4 + iVar7 * 4);" (assignment_expression "piVar3 = (int *)(iVar4 + iVar7 * 4)" identifier = (cast_expression "(int *)(iVar4 + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar7 * 4)" ( (binary_expression "iVar4 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (while_statement "while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }" while (parenthesized_expression "(iVar8 < iVar1)" ( (binary_expression "iVar8 < iVar1" identifier < identifier) )) (compound_statement "{\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }" { (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + -1;" (assignment_expression "piVar3 = piVar3 + -1" identifier = (binary_expression "piVar3 + -1" identifier + number_literal)) ;) (if_statement "if (iVar7 == -1) goto LAB_00073f7c;" if (parenthesized_expression "(iVar7 == -1)" ( (binary_expression "iVar7 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00073f7c;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) })) (if_statement "if (iVar1 != iVar8) goto LAB_00073f7c;" if (parenthesized_expression "(iVar1 != iVar8)" ( (binary_expression "iVar1 != iVar8" identifier != identifier) )) (goto_statement "goto LAB_00073f7c;" goto statement_identifier ;)) }))) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }" if (parenthesized_expression "((iVar9 < 0) || (iVar10 < 0))" ( (binary_expression "(iVar9 < 0) || (iVar10 < 0)" (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) ))) )) (compound_statement "{\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }" { (labeled_statement "LAB_00073fe8:\n      iVar6 = param_1[1];" statement_identifier : (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) (expression_statement "iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" identifier = (binary_expression "iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (binary_expression "iVar6 + *(int *)(param_2 + 4)" identifier + (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) + (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))))) ;) (expression_statement "iVar1 = iVar10 - iVar2;" (assignment_expression "iVar1 = iVar10 - iVar2" identifier = (binary_expression "iVar10 - iVar2" identifier - identifier)) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "param_1[1] = iVar6 + iVar1;" (assignment_expression "param_1[1] = iVar6 + iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar6 + iVar1" identifier + identifier)) ;) (if_statement "if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }" { (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar10 * 4;" (assignment_expression "iVar7 = iVar10 * 4" identifier = (binary_expression "iVar10 * 4" identifier * number_literal)) ;) (if_statement "if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (compound_statement "{\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }" { (do_statement "do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);" do (compound_statement "{\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          }" { (expression_statement "iVar8 = *(int *)(iVar4 + iVar7);" (assignment_expression "iVar8 = *(int *)(iVar4 + iVar7)" identifier = (pointer_expression "*(int *)(iVar4 + iVar7)" * (cast_expression "(int *)(iVar4 + iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar7)" ( (binary_expression "iVar4 + iVar7" identifier + identifier) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar5 = *(int *)(iVar4 + iVar6 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" * (cast_expression "(int *)(iVar4 + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar6 * 4)" ( (binary_expression "iVar4 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);" (assignment_expression "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4)" identifier = (cast_expression "(int *)(iVar4 + (iVar6 + iVar1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar6 + iVar1) * 4)" ( (binary_expression "iVar4 + (iVar6 + iVar1) * 4" identifier + (binary_expression "(iVar6 + iVar1) * 4" (parenthesized_expression "(iVar6 + iVar1)" ( (binary_expression "iVar6 + iVar1" identifier + identifier) )) * number_literal)) )))) ;) (if_statement "if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }" if (parenthesized_expression "(iVar5 < iVar8)" ( (binary_expression "iVar5 < iVar8" identifier < identifier) )) (compound_statement "{\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }" { (do_statement "do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);" do (compound_statement "{\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              }" { (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "*piVar3 = iVar8;" (assignment_expression "*piVar3 = iVar8" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }" { (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0007409c;" goto statement_identifier ;) })) (expression_statement "iVar7 = iVar10 * 4;" (assignment_expression "iVar7 = iVar10 * 4" identifier = (binary_expression "iVar10 * 4" identifier * number_literal)) ;) (expression_statement "iVar5 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar5 = *(int *)(iVar4 + iVar6 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" * (cast_expression "(int *)(iVar4 + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar6 * 4)" ( (binary_expression "iVar4 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar8 = *(int *)(iVar4 + iVar7);" (assignment_expression "iVar8 = *(int *)(iVar4 + iVar7)" identifier = (pointer_expression "*(int *)(iVar4 + iVar7)" * (cast_expression "(int *)(iVar4 + iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar7)" ( (binary_expression "iVar4 + iVar7" identifier + identifier) ))))) ;) (expression_statement "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);" (assignment_expression "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4)" identifier = (cast_expression "(int *)(iVar4 + (iVar6 + iVar1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar6 + iVar1) * 4)" ( (binary_expression "iVar4 + (iVar6 + iVar1) * 4" identifier + (binary_expression "(iVar6 + iVar1) * 4" (parenthesized_expression "(iVar6 + iVar1)" ( (binary_expression "iVar6 + iVar1" identifier + identifier) )) * number_literal)) )))) ;) }) while (parenthesized_expression "(iVar5 < iVar8)" ( (binary_expression "iVar5 < iVar8" identifier < identifier) )) ;) })) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "*piVar3 = iVar5;" (assignment_expression "*piVar3 = iVar5" (pointer_expression "*piVar3" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar6 != -1)" ( (binary_expression "iVar6 != -1" identifier != number_literal) )) ;) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) })) })) (expression_statement "iVar1 = iVar1 << 2;" (assignment_expression "iVar1 = iVar1 << 2" identifier = (binary_expression "iVar1 << 2" identifier << number_literal)) ;) (labeled_statement "LAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);" (call_expression "(*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_000afc70)" ( (pointer_expression "*(code *)PTR_memcpy_000afc70" * (cast_expression "(code *)PTR_memcpy_000afc70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,iVar4 + iVar2 * 4,iVar1)" ( identifier , (binary_expression "iVar4 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) , identifier ))) ;)) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar8 = *(int *)(iVar11 + iVar9 * 4);" (assignment_expression "iVar8 = *(int *)(iVar11 + iVar9 * 4)" identifier = (pointer_expression "*(int *)(iVar11 + iVar9 * 4)" * (cast_expression "(int *)(iVar11 + iVar9 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar9 * 4)" ( (binary_expression "iVar11 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar1 = *(int *)(iVar5 + iVar10 * 4);" (assignment_expression "iVar1 = *(int *)(iVar5 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar5 + iVar10 * 4)" * (cast_expression "(int *)(iVar5 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar10 * 4)" ( (binary_expression "iVar5 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "reg_errcode_t re_node_set_add_intersect(re_node_set *dest,re_node_set *src1,re_node_set *src2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  Idx *pIVar4;\n  Idx IVar5;\n  Idx *pIVar6;\n  int iVar7;\n  int iVar8;\n  Idx IVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  Idx *pIVar13;\n  \n  iVar1 = src1->nelem;\n  if (iVar1 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar2 = src2->nelem;\n  if (iVar2 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar7 = dest->nelem;\n  pIVar4 = dest->elems;\n  if (dest->alloc < iVar1 + iVar2 + iVar7) {\n    iVar12 = iVar1 + iVar2 + dest->alloc;\n    pIVar4 = (Idx *)(*(code *)PTR_realloc_000afde8)(pIVar4,iVar12 * 4);\n    if (pIVar4 == (Idx *)0x0) {\n      return _REG_ESPACE;\n    }\n    iVar1 = src1->nelem;\n    iVar2 = src2->nelem;\n    iVar7 = dest->nelem;\n    dest->elems = pIVar4;\n    dest->alloc = iVar12;\n  }\n  iVar11 = iVar1 + -1;\n  pIVar13 = src1->elems;\n  iVar12 = iVar2 + -1;\n  pIVar6 = src2->elems;\n  iVar10 = pIVar13[iVar11];\n  iVar8 = iVar7 + -1;\n  iVar2 = iVar7 + iVar1 + iVar2;\n  iVar1 = pIVar6[iVar12];\n  do {\n    while (iVar10 != iVar1) {\n      if (iVar10 < iVar1) {\n        iVar12 = iVar12 + -1;\n        if (iVar12 < 0) goto LAB_00073fe8;\n        iVar1 = pIVar6[iVar12];\n      }\n      else {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_00073fe8;\n        iVar10 = pIVar13[iVar11];\n      }\n    }\n    if (iVar8 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      pIVar4[iVar2] = iVar10;\n    }\n    else {\n      piVar3 = pIVar4 + iVar8;\n      iVar1 = *piVar3;\n      while (iVar10 < iVar1) {\n        iVar8 = iVar8 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar8 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar10) goto LAB_00073f7c;\n    }\n    iVar11 = iVar11 + -1;\n    iVar12 = iVar12 + -1;\n    if ((iVar11 < 0) || (iVar12 < 0)) {\nLAB_00073fe8:\n      iVar7 = dest->nelem;\n      iVar12 = iVar7 + src1->nelem + src2->nelem;\n      iVar1 = iVar12 - iVar2;\n      iVar12 = iVar12 + -1;\n      dest->nelem = iVar7 + iVar1;\n      if (0 < iVar1) {\n        iVar7 = iVar7 + -1;\n        iVar8 = iVar12 * 4;\n        if (-1 < iVar7) {\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1);\n      return _REG_NOERROR;\n    }\n    iVar10 = pIVar13[iVar11];\n    iVar1 = pIVar6[iVar12];\n  } while( true );\n}\n\n" (function_definition "reg_errcode_t re_node_set_add_intersect(re_node_set *dest,re_node_set *src1,re_node_set *src2)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  Idx *pIVar4;\n  Idx IVar5;\n  Idx *pIVar6;\n  int iVar7;\n  int iVar8;\n  Idx IVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  Idx *pIVar13;\n  \n  iVar1 = src1->nelem;\n  if (iVar1 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar2 = src2->nelem;\n  if (iVar2 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar7 = dest->nelem;\n  pIVar4 = dest->elems;\n  if (dest->alloc < iVar1 + iVar2 + iVar7) {\n    iVar12 = iVar1 + iVar2 + dest->alloc;\n    pIVar4 = (Idx *)(*(code *)PTR_realloc_000afde8)(pIVar4,iVar12 * 4);\n    if (pIVar4 == (Idx *)0x0) {\n      return _REG_ESPACE;\n    }\n    iVar1 = src1->nelem;\n    iVar2 = src2->nelem;\n    iVar7 = dest->nelem;\n    dest->elems = pIVar4;\n    dest->alloc = iVar12;\n  }\n  iVar11 = iVar1 + -1;\n  pIVar13 = src1->elems;\n  iVar12 = iVar2 + -1;\n  pIVar6 = src2->elems;\n  iVar10 = pIVar13[iVar11];\n  iVar8 = iVar7 + -1;\n  iVar2 = iVar7 + iVar1 + iVar2;\n  iVar1 = pIVar6[iVar12];\n  do {\n    while (iVar10 != iVar1) {\n      if (iVar10 < iVar1) {\n        iVar12 = iVar12 + -1;\n        if (iVar12 < 0) goto LAB_00073fe8;\n        iVar1 = pIVar6[iVar12];\n      }\n      else {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_00073fe8;\n        iVar10 = pIVar13[iVar11];\n      }\n    }\n    if (iVar8 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      pIVar4[iVar2] = iVar10;\n    }\n    else {\n      piVar3 = pIVar4 + iVar8;\n      iVar1 = *piVar3;\n      while (iVar10 < iVar1) {\n        iVar8 = iVar8 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar8 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar10) goto LAB_00073f7c;\n    }\n    iVar11 = iVar11 + -1;\n    iVar12 = iVar12 + -1;\n    if ((iVar11 < 0) || (iVar12 < 0)) {\nLAB_00073fe8:\n      iVar7 = dest->nelem;\n      iVar12 = iVar7 + src1->nelem + src2->nelem;\n      iVar1 = iVar12 - iVar2;\n      iVar12 = iVar12 + -1;\n      dest->nelem = iVar7 + iVar1;\n      if (0 < iVar1) {\n        iVar7 = iVar7 + -1;\n        iVar8 = iVar12 * 4;\n        if (-1 < iVar7) {\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1);\n      return _REG_NOERROR;\n    }\n    iVar10 = pIVar13[iVar11];\n    iVar1 = pIVar6[iVar12];\n  } while( true );\n}" type_identifier (function_declarator "re_node_set_add_intersect(re_node_set *dest,re_node_set *src1,re_node_set *src2)" identifier (parameter_list "(re_node_set *dest,re_node_set *src1,re_node_set *src2)" ( (parameter_declaration "re_node_set *dest" type_identifier (pointer_declarator "*dest" * identifier)) , (parameter_declaration "re_node_set *src1" type_identifier (pointer_declarator "*src1" * identifier)) , (parameter_declaration "re_node_set *src2" type_identifier (pointer_declarator "*src2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  Idx *pIVar4;\n  Idx IVar5;\n  Idx *pIVar6;\n  int iVar7;\n  int iVar8;\n  Idx IVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  Idx *pIVar13;\n  \n  iVar1 = src1->nelem;\n  if (iVar1 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar2 = src2->nelem;\n  if (iVar2 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar7 = dest->nelem;\n  pIVar4 = dest->elems;\n  if (dest->alloc < iVar1 + iVar2 + iVar7) {\n    iVar12 = iVar1 + iVar2 + dest->alloc;\n    pIVar4 = (Idx *)(*(code *)PTR_realloc_000afde8)(pIVar4,iVar12 * 4);\n    if (pIVar4 == (Idx *)0x0) {\n      return _REG_ESPACE;\n    }\n    iVar1 = src1->nelem;\n    iVar2 = src2->nelem;\n    iVar7 = dest->nelem;\n    dest->elems = pIVar4;\n    dest->alloc = iVar12;\n  }\n  iVar11 = iVar1 + -1;\n  pIVar13 = src1->elems;\n  iVar12 = iVar2 + -1;\n  pIVar6 = src2->elems;\n  iVar10 = pIVar13[iVar11];\n  iVar8 = iVar7 + -1;\n  iVar2 = iVar7 + iVar1 + iVar2;\n  iVar1 = pIVar6[iVar12];\n  do {\n    while (iVar10 != iVar1) {\n      if (iVar10 < iVar1) {\n        iVar12 = iVar12 + -1;\n        if (iVar12 < 0) goto LAB_00073fe8;\n        iVar1 = pIVar6[iVar12];\n      }\n      else {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_00073fe8;\n        iVar10 = pIVar13[iVar11];\n      }\n    }\n    if (iVar8 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      pIVar4[iVar2] = iVar10;\n    }\n    else {\n      piVar3 = pIVar4 + iVar8;\n      iVar1 = *piVar3;\n      while (iVar10 < iVar1) {\n        iVar8 = iVar8 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar8 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar10) goto LAB_00073f7c;\n    }\n    iVar11 = iVar11 + -1;\n    iVar12 = iVar12 + -1;\n    if ((iVar11 < 0) || (iVar12 < 0)) {\nLAB_00073fe8:\n      iVar7 = dest->nelem;\n      iVar12 = iVar7 + src1->nelem + src2->nelem;\n      iVar1 = iVar12 - iVar2;\n      iVar12 = iVar12 + -1;\n      dest->nelem = iVar7 + iVar1;\n      if (0 < iVar1) {\n        iVar7 = iVar7 + -1;\n        iVar8 = iVar12 * 4;\n        if (-1 < iVar7) {\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1);\n      return _REG_NOERROR;\n    }\n    iVar10 = pIVar13[iVar11];\n    iVar1 = pIVar6[iVar12];\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "Idx *pIVar4;" type_identifier (pointer_declarator "*pIVar4" * identifier) ;) (declaration "Idx IVar5;" type_identifier identifier ;) (declaration "Idx *pIVar6;" type_identifier (pointer_declarator "*pIVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "Idx IVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "Idx *pIVar13;" type_identifier (pointer_declarator "*pIVar13" * identifier) ;) (expression_statement "iVar1 = src1->nelem;" (assignment_expression "iVar1 = src1->nelem" identifier = (field_expression "src1->nelem" identifier -> field_identifier)) ;) (if_statement "if (iVar1 == 0) {\n    return _REG_NOERROR;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return _REG_NOERROR;\n  }" { (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "iVar2 = src2->nelem;" (assignment_expression "iVar2 = src2->nelem" identifier = (field_expression "src2->nelem" identifier -> field_identifier)) ;) (if_statement "if (iVar2 == 0) {\n    return _REG_NOERROR;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    return _REG_NOERROR;\n  }" { (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "iVar7 = dest->nelem;" (assignment_expression "iVar7 = dest->nelem" identifier = (field_expression "dest->nelem" identifier -> field_identifier)) ;) (expression_statement "pIVar4 = dest->elems;" (assignment_expression "pIVar4 = dest->elems" identifier = (field_expression "dest->elems" identifier -> field_identifier)) ;) (if_statement "if (dest->alloc < iVar1 + iVar2 + iVar7) {\n    iVar12 = iVar1 + iVar2 + dest->alloc;\n    pIVar4 = (Idx *)(*(code *)PTR_realloc_000afde8)(pIVar4,iVar12 * 4);\n    if (pIVar4 == (Idx *)0x0) {\n      return _REG_ESPACE;\n    }\n    iVar1 = src1->nelem;\n    iVar2 = src2->nelem;\n    iVar7 = dest->nelem;\n    dest->elems = pIVar4;\n    dest->alloc = iVar12;\n  }" if (parenthesized_expression "(dest->alloc < iVar1 + iVar2 + iVar7)" ( (binary_expression "dest->alloc < iVar1 + iVar2 + iVar7" (field_expression "dest->alloc" identifier -> field_identifier) < (binary_expression "iVar1 + iVar2 + iVar7" (binary_expression "iVar1 + iVar2" identifier + identifier) + identifier)) )) (compound_statement "{\n    iVar12 = iVar1 + iVar2 + dest->alloc;\n    pIVar4 = (Idx *)(*(code *)PTR_realloc_000afde8)(pIVar4,iVar12 * 4);\n    if (pIVar4 == (Idx *)0x0) {\n      return _REG_ESPACE;\n    }\n    iVar1 = src1->nelem;\n    iVar2 = src2->nelem;\n    iVar7 = dest->nelem;\n    dest->elems = pIVar4;\n    dest->alloc = iVar12;\n  }" { (expression_statement "iVar12 = iVar1 + iVar2 + dest->alloc;" (assignment_expression "iVar12 = iVar1 + iVar2 + dest->alloc" identifier = (binary_expression "iVar1 + iVar2 + dest->alloc" (binary_expression "iVar1 + iVar2" identifier + identifier) + (field_expression "dest->alloc" identifier -> field_identifier))) ;) (expression_statement "pIVar4 = (Idx *)(*(code *)PTR_realloc_000afde8)(pIVar4,iVar12 * 4);" (assignment_expression "pIVar4 = (Idx *)(*(code *)PTR_realloc_000afde8)(pIVar4,iVar12 * 4)" identifier = (cast_expression "(Idx *)(*(code *)PTR_realloc_000afde8)(pIVar4,iVar12 * 4)" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_000afde8)(pIVar4,iVar12 * 4)" (parenthesized_expression "(*(code *)PTR_realloc_000afde8)" ( (pointer_expression "*(code *)PTR_realloc_000afde8" * (cast_expression "(code *)PTR_realloc_000afde8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar4,iVar12 * 4)" ( identifier , (binary_expression "iVar12 * 4" identifier * number_literal) ))))) ;) (if_statement "if (pIVar4 == (Idx *)0x0) {\n      return _REG_ESPACE;\n    }" if (parenthesized_expression "(pIVar4 == (Idx *)0x0)" ( (binary_expression "pIVar4 == (Idx *)0x0" identifier == (cast_expression "(Idx *)0x0" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return _REG_ESPACE;\n    }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) (expression_statement "iVar1 = src1->nelem;" (assignment_expression "iVar1 = src1->nelem" identifier = (field_expression "src1->nelem" identifier -> field_identifier)) ;) (expression_statement "iVar2 = src2->nelem;" (assignment_expression "iVar2 = src2->nelem" identifier = (field_expression "src2->nelem" identifier -> field_identifier)) ;) (expression_statement "iVar7 = dest->nelem;" (assignment_expression "iVar7 = dest->nelem" identifier = (field_expression "dest->nelem" identifier -> field_identifier)) ;) (expression_statement "dest->elems = pIVar4;" (assignment_expression "dest->elems = pIVar4" (field_expression "dest->elems" identifier -> field_identifier) = identifier) ;) (expression_statement "dest->alloc = iVar12;" (assignment_expression "dest->alloc = iVar12" (field_expression "dest->alloc" identifier -> field_identifier) = identifier) ;) })) (expression_statement "iVar11 = iVar1 + -1;" (assignment_expression "iVar11 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "pIVar13 = src1->elems;" (assignment_expression "pIVar13 = src1->elems" identifier = (field_expression "src1->elems" identifier -> field_identifier)) ;) (expression_statement "iVar12 = iVar2 + -1;" (assignment_expression "iVar12 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "pIVar6 = src2->elems;" (assignment_expression "pIVar6 = src2->elems" identifier = (field_expression "src2->elems" identifier -> field_identifier)) ;) (expression_statement "iVar10 = pIVar13[iVar11];" (assignment_expression "iVar10 = pIVar13[iVar11]" identifier = (subscript_expression "pIVar13[iVar11]" identifier [ identifier ])) ;) (expression_statement "iVar8 = iVar7 + -1;" (assignment_expression "iVar8 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar7 + iVar1 + iVar2;" (assignment_expression "iVar2 = iVar7 + iVar1 + iVar2" identifier = (binary_expression "iVar7 + iVar1 + iVar2" (binary_expression "iVar7 + iVar1" identifier + identifier) + identifier)) ;) (expression_statement "iVar1 = pIVar6[iVar12];" (assignment_expression "iVar1 = pIVar6[iVar12]" identifier = (subscript_expression "pIVar6[iVar12]" identifier [ identifier ])) ;) (do_statement "do {\n    while (iVar10 != iVar1) {\n      if (iVar10 < iVar1) {\n        iVar12 = iVar12 + -1;\n        if (iVar12 < 0) goto LAB_00073fe8;\n        iVar1 = pIVar6[iVar12];\n      }\n      else {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_00073fe8;\n        iVar10 = pIVar13[iVar11];\n      }\n    }\n    if (iVar8 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      pIVar4[iVar2] = iVar10;\n    }\n    else {\n      piVar3 = pIVar4 + iVar8;\n      iVar1 = *piVar3;\n      while (iVar10 < iVar1) {\n        iVar8 = iVar8 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar8 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar10) goto LAB_00073f7c;\n    }\n    iVar11 = iVar11 + -1;\n    iVar12 = iVar12 + -1;\n    if ((iVar11 < 0) || (iVar12 < 0)) {\nLAB_00073fe8:\n      iVar7 = dest->nelem;\n      iVar12 = iVar7 + src1->nelem + src2->nelem;\n      iVar1 = iVar12 - iVar2;\n      iVar12 = iVar12 + -1;\n      dest->nelem = iVar7 + iVar1;\n      if (0 < iVar1) {\n        iVar7 = iVar7 + -1;\n        iVar8 = iVar12 * 4;\n        if (-1 < iVar7) {\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1);\n      return _REG_NOERROR;\n    }\n    iVar10 = pIVar13[iVar11];\n    iVar1 = pIVar6[iVar12];\n  } while( true );" do (compound_statement "{\n    while (iVar10 != iVar1) {\n      if (iVar10 < iVar1) {\n        iVar12 = iVar12 + -1;\n        if (iVar12 < 0) goto LAB_00073fe8;\n        iVar1 = pIVar6[iVar12];\n      }\n      else {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_00073fe8;\n        iVar10 = pIVar13[iVar11];\n      }\n    }\n    if (iVar8 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      pIVar4[iVar2] = iVar10;\n    }\n    else {\n      piVar3 = pIVar4 + iVar8;\n      iVar1 = *piVar3;\n      while (iVar10 < iVar1) {\n        iVar8 = iVar8 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar8 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar10) goto LAB_00073f7c;\n    }\n    iVar11 = iVar11 + -1;\n    iVar12 = iVar12 + -1;\n    if ((iVar11 < 0) || (iVar12 < 0)) {\nLAB_00073fe8:\n      iVar7 = dest->nelem;\n      iVar12 = iVar7 + src1->nelem + src2->nelem;\n      iVar1 = iVar12 - iVar2;\n      iVar12 = iVar12 + -1;\n      dest->nelem = iVar7 + iVar1;\n      if (0 < iVar1) {\n        iVar7 = iVar7 + -1;\n        iVar8 = iVar12 * 4;\n        if (-1 < iVar7) {\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1);\n      return _REG_NOERROR;\n    }\n    iVar10 = pIVar13[iVar11];\n    iVar1 = pIVar6[iVar12];\n  }" { (while_statement "while (iVar10 != iVar1) {\n      if (iVar10 < iVar1) {\n        iVar12 = iVar12 + -1;\n        if (iVar12 < 0) goto LAB_00073fe8;\n        iVar1 = pIVar6[iVar12];\n      }\n      else {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_00073fe8;\n        iVar10 = pIVar13[iVar11];\n      }\n    }" while (parenthesized_expression "(iVar10 != iVar1)" ( (binary_expression "iVar10 != iVar1" identifier != identifier) )) (compound_statement "{\n      if (iVar10 < iVar1) {\n        iVar12 = iVar12 + -1;\n        if (iVar12 < 0) goto LAB_00073fe8;\n        iVar1 = pIVar6[iVar12];\n      }\n      else {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_00073fe8;\n        iVar10 = pIVar13[iVar11];\n      }\n    }" { (if_statement "if (iVar10 < iVar1) {\n        iVar12 = iVar12 + -1;\n        if (iVar12 < 0) goto LAB_00073fe8;\n        iVar1 = pIVar6[iVar12];\n      }\n      else {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_00073fe8;\n        iVar10 = pIVar13[iVar11];\n      }" if (parenthesized_expression "(iVar10 < iVar1)" ( (binary_expression "iVar10 < iVar1" identifier < identifier) )) (compound_statement "{\n        iVar12 = iVar12 + -1;\n        if (iVar12 < 0) goto LAB_00073fe8;\n        iVar1 = pIVar6[iVar12];\n      }" { (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (if_statement "if (iVar12 < 0) goto LAB_00073fe8;" if (parenthesized_expression "(iVar12 < 0)" ( (binary_expression "iVar12 < 0" identifier < number_literal) )) (goto_statement "goto LAB_00073fe8;" goto statement_identifier ;)) (expression_statement "iVar1 = pIVar6[iVar12];" (assignment_expression "iVar1 = pIVar6[iVar12]" identifier = (subscript_expression "pIVar6[iVar12]" identifier [ identifier ])) ;) }) (else_clause "else {\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_00073fe8;\n        iVar10 = pIVar13[iVar11];\n      }" else (compound_statement "{\n        iVar11 = iVar11 + -1;\n        if (iVar11 < 0) goto LAB_00073fe8;\n        iVar10 = pIVar13[iVar11];\n      }" { (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (if_statement "if (iVar11 < 0) goto LAB_00073fe8;" if (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) )) (goto_statement "goto LAB_00073fe8;" goto statement_identifier ;)) (expression_statement "iVar10 = pIVar13[iVar11];" (assignment_expression "iVar10 = pIVar13[iVar11]" identifier = (subscript_expression "pIVar13[iVar11]" identifier [ identifier ])) ;) }))) })) (if_statement "if (iVar8 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      pIVar4[iVar2] = iVar10;\n    }\n    else {\n      piVar3 = pIVar4 + iVar8;\n      iVar1 = *piVar3;\n      while (iVar10 < iVar1) {\n        iVar8 = iVar8 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar8 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar10) goto LAB_00073f7c;\n    }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      pIVar4[iVar2] = iVar10;\n    }" { (labeled_statement "LAB_00073f7c:\n      iVar2 = iVar2 + -1;" statement_identifier : (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;)) (expression_statement "pIVar4[iVar2] = iVar10;" (assignment_expression "pIVar4[iVar2] = iVar10" (subscript_expression "pIVar4[iVar2]" identifier [ identifier ]) = identifier) ;) }) (else_clause "else {\n      piVar3 = pIVar4 + iVar8;\n      iVar1 = *piVar3;\n      while (iVar10 < iVar1) {\n        iVar8 = iVar8 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar8 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar10) goto LAB_00073f7c;\n    }" else (compound_statement "{\n      piVar3 = pIVar4 + iVar8;\n      iVar1 = *piVar3;\n      while (iVar10 < iVar1) {\n        iVar8 = iVar8 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar8 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar10) goto LAB_00073f7c;\n    }" { (expression_statement "piVar3 = pIVar4 + iVar8;" (assignment_expression "piVar3 = pIVar4 + iVar8" identifier = (binary_expression "pIVar4 + iVar8" identifier + identifier)) ;) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (while_statement "while (iVar10 < iVar1) {\n        iVar8 = iVar8 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar8 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }" while (parenthesized_expression "(iVar10 < iVar1)" ( (binary_expression "iVar10 < iVar1" identifier < identifier) )) (compound_statement "{\n        iVar8 = iVar8 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar8 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }" { (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + -1;" (assignment_expression "piVar3 = piVar3 + -1" identifier = (binary_expression "piVar3 + -1" identifier + number_literal)) ;) (if_statement "if (iVar8 == -1) goto LAB_00073f7c;" if (parenthesized_expression "(iVar8 == -1)" ( (binary_expression "iVar8 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00073f7c;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) })) (if_statement "if (iVar1 != iVar10) goto LAB_00073f7c;" if (parenthesized_expression "(iVar1 != iVar10)" ( (binary_expression "iVar1 != iVar10" identifier != identifier) )) (goto_statement "goto LAB_00073f7c;" goto statement_identifier ;)) }))) (expression_statement "iVar11 = iVar11 + -1;" (assignment_expression "iVar11 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar11 < 0) || (iVar12 < 0)) {\nLAB_00073fe8:\n      iVar7 = dest->nelem;\n      iVar12 = iVar7 + src1->nelem + src2->nelem;\n      iVar1 = iVar12 - iVar2;\n      iVar12 = iVar12 + -1;\n      dest->nelem = iVar7 + iVar1;\n      if (0 < iVar1) {\n        iVar7 = iVar7 + -1;\n        iVar8 = iVar12 * 4;\n        if (-1 < iVar7) {\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1);\n      return _REG_NOERROR;\n    }" if (parenthesized_expression "((iVar11 < 0) || (iVar12 < 0))" ( (binary_expression "(iVar11 < 0) || (iVar12 < 0)" (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar12 < 0)" ( (binary_expression "iVar12 < 0" identifier < number_literal) ))) )) (compound_statement "{\nLAB_00073fe8:\n      iVar7 = dest->nelem;\n      iVar12 = iVar7 + src1->nelem + src2->nelem;\n      iVar1 = iVar12 - iVar2;\n      iVar12 = iVar12 + -1;\n      dest->nelem = iVar7 + iVar1;\n      if (0 < iVar1) {\n        iVar7 = iVar7 + -1;\n        iVar8 = iVar12 * 4;\n        if (-1 < iVar7) {\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1);\n      return _REG_NOERROR;\n    }" { (labeled_statement "LAB_00073fe8:\n      iVar7 = dest->nelem;" statement_identifier : (expression_statement "iVar7 = dest->nelem;" (assignment_expression "iVar7 = dest->nelem" identifier = (field_expression "dest->nelem" identifier -> field_identifier)) ;)) (expression_statement "iVar12 = iVar7 + src1->nelem + src2->nelem;" (assignment_expression "iVar12 = iVar7 + src1->nelem + src2->nelem" identifier = (binary_expression "iVar7 + src1->nelem + src2->nelem" (binary_expression "iVar7 + src1->nelem" identifier + (field_expression "src1->nelem" identifier -> field_identifier)) + (field_expression "src2->nelem" identifier -> field_identifier))) ;) (expression_statement "iVar1 = iVar12 - iVar2;" (assignment_expression "iVar1 = iVar12 - iVar2" identifier = (binary_expression "iVar12 - iVar2" identifier - identifier)) ;) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (expression_statement "dest->nelem = iVar7 + iVar1;" (assignment_expression "dest->nelem = iVar7 + iVar1" (field_expression "dest->nelem" identifier -> field_identifier) = (binary_expression "iVar7 + iVar1" identifier + identifier)) ;) (if_statement "if (0 < iVar1) {\n        iVar7 = iVar7 + -1;\n        iVar8 = iVar12 * 4;\n        if (-1 < iVar7) {\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }\n      }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n        iVar7 = iVar7 + -1;\n        iVar8 = iVar12 * 4;\n        if (-1 < iVar7) {\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }\n      }" { (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar12 * 4;" (assignment_expression "iVar8 = iVar12 * 4" identifier = (binary_expression "iVar12 * 4" identifier * number_literal)) ;) (if_statement "if (-1 < iVar7) {\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n          do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);\n          pIVar4 = dest->elems;\n        }" { (do_statement "do {\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          } while (iVar7 != -1);" do (compound_statement "{\n            IVar9 = *(int *)((int)pIVar4 + iVar8);\n            IVar5 = pIVar4[iVar7];\n            pIVar6 = pIVar4 + iVar7 + iVar1;\n            if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }\n            iVar7 = iVar7 + -1;\n            *pIVar6 = IVar5;\n          }" { (expression_statement "IVar9 = *(int *)((int)pIVar4 + iVar8);" (assignment_expression "IVar9 = *(int *)((int)pIVar4 + iVar8)" identifier = (pointer_expression "*(int *)((int)pIVar4 + iVar8)" * (cast_expression "(int *)((int)pIVar4 + iVar8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pIVar4 + iVar8)" ( (binary_expression "(int)pIVar4 + iVar8" (cast_expression "(int)pIVar4" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "IVar5 = pIVar4[iVar7];" (assignment_expression "IVar5 = pIVar4[iVar7]" identifier = (subscript_expression "pIVar4[iVar7]" identifier [ identifier ])) ;) (expression_statement "pIVar6 = pIVar4 + iVar7 + iVar1;" (assignment_expression "pIVar6 = pIVar4 + iVar7 + iVar1" identifier = (binary_expression "pIVar4 + iVar7 + iVar1" (binary_expression "pIVar4 + iVar7" identifier + identifier) + identifier)) ;) (if_statement "if (IVar5 < IVar9) {\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }" if (parenthesized_expression "(IVar5 < IVar9)" ( (binary_expression "IVar5 < IVar9" identifier < identifier) )) (compound_statement "{\n              do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);\n            }" { (do_statement "do {\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              } while (IVar5 < IVar9);" do (compound_statement "{\n                iVar1 = iVar1 + -1;\n                *pIVar6 = IVar9;\n                iVar12 = iVar12 + -1;\n                if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar8 = iVar12 * 4;\n                IVar5 = pIVar4[iVar7];\n                IVar9 = pIVar4[iVar12];\n                pIVar6 = pIVar4 + iVar7 + iVar1;\n              }" { (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "*pIVar6 = IVar9;" (assignment_expression "*pIVar6 = IVar9" (pointer_expression "*pIVar6" * identifier) = identifier) ;) (expression_statement "iVar12 = iVar12 + -1;" (assignment_expression "iVar12 = iVar12 + -1" identifier = (binary_expression "iVar12 + -1" identifier + number_literal)) ;) (if_statement "if (iVar1 == 0) {\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                  pIVar4 = dest->elems;\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }" { (expression_statement "pIVar4 = dest->elems;" (assignment_expression "pIVar4 = dest->elems" identifier = (field_expression "dest->elems" identifier -> field_identifier)) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0007409c;" goto statement_identifier ;) })) (expression_statement "iVar8 = iVar12 * 4;" (assignment_expression "iVar8 = iVar12 * 4" identifier = (binary_expression "iVar12 * 4" identifier * number_literal)) ;) (expression_statement "IVar5 = pIVar4[iVar7];" (assignment_expression "IVar5 = pIVar4[iVar7]" identifier = (subscript_expression "pIVar4[iVar7]" identifier [ identifier ])) ;) (expression_statement "IVar9 = pIVar4[iVar12];" (assignment_expression "IVar9 = pIVar4[iVar12]" identifier = (subscript_expression "pIVar4[iVar12]" identifier [ identifier ])) ;) (expression_statement "pIVar6 = pIVar4 + iVar7 + iVar1;" (assignment_expression "pIVar6 = pIVar4 + iVar7 + iVar1" identifier = (binary_expression "pIVar4 + iVar7 + iVar1" (binary_expression "pIVar4 + iVar7" identifier + identifier) + identifier)) ;) }) while (parenthesized_expression "(IVar5 < IVar9)" ( (binary_expression "IVar5 < IVar9" identifier < identifier) )) ;) })) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "*pIVar6 = IVar5;" (assignment_expression "*pIVar6 = IVar5" (pointer_expression "*pIVar6" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar7 != -1)" ( (binary_expression "iVar7 != -1" identifier != number_literal) )) ;) (expression_statement "pIVar4 = dest->elems;" (assignment_expression "pIVar4 = dest->elems" identifier = (field_expression "dest->elems" identifier -> field_identifier)) ;) })) })) (expression_statement "iVar1 = iVar1 << 2;" (assignment_expression "iVar1 = iVar1 << 2" identifier = (binary_expression "iVar1 << 2" identifier << number_literal)) ;) (labeled_statement "LAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1);" (call_expression "(*(code *)PTR_memcpy_000afc70)(pIVar4,pIVar4 + iVar2,iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_000afc70)" ( (pointer_expression "*(code *)PTR_memcpy_000afc70" * (cast_expression "(code *)PTR_memcpy_000afc70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar4,pIVar4 + iVar2,iVar1)" ( identifier , (binary_expression "pIVar4 + iVar2" identifier + identifier) , identifier ))) ;)) (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "iVar10 = pIVar13[iVar11];" (assignment_expression "iVar10 = pIVar13[iVar11]" identifier = (subscript_expression "pIVar13[iVar11]" identifier [ identifier ])) ;) (expression_statement "iVar1 = pIVar6[iVar12];" (assignment_expression "iVar1 = pIVar6[iVar12]" identifier = (subscript_expression "pIVar6[iVar12]" identifier [ identifier ])) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 FUN_00073e70(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar2 = *(int *)(param_3 + 4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  iVar6 = param_1[1];\n  iVar4 = param_1[2];\n  if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }\n  iVar9 = iVar1 + -1;\n  iVar11 = *(int *)(param_2 + 8);\n  iVar10 = iVar2 + -1;\n  iVar5 = *(int *)(param_3 + 8);\n  iVar8 = *(int *)(iVar11 + iVar9 * 4);\n  iVar7 = iVar6 + -1;\n  iVar2 = iVar6 + iVar1 + iVar2;\n  iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );\n}\n\n" (function_definition "undefined4 FUN_00073e70(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar2 = *(int *)(param_3 + 4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  iVar6 = param_1[1];\n  iVar4 = param_1[2];\n  if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }\n  iVar9 = iVar1 + -1;\n  iVar11 = *(int *)(param_2 + 8);\n  iVar10 = iVar2 + -1;\n  iVar5 = *(int *)(param_3 + 8);\n  iVar8 = *(int *)(iVar11 + iVar9 * 4);\n  iVar7 = iVar6 + -1;\n  iVar2 = iVar6 + iVar1 + iVar2;\n  iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );\n}" type_identifier (function_declarator "FUN_00073e70(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar2 = *(int *)(param_3 + 4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  iVar6 = param_1[1];\n  iVar4 = param_1[2];\n  if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }\n  iVar9 = iVar1 + -1;\n  iVar11 = *(int *)(param_2 + 8);\n  iVar10 = iVar2 + -1;\n  iVar5 = *(int *)(param_3 + 8);\n  iVar8 = *(int *)(iVar11 + iVar9 * 4);\n  iVar7 = iVar6 + -1;\n  iVar2 = iVar6 + iVar1 + iVar2;\n  iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = *(int *)(param_3 + 4);" (assignment_expression "iVar2 = *(int *)(param_3 + 4)" identifier = (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }" if (parenthesized_expression "(*param_1 < iVar1 + iVar2 + iVar6)" ( (binary_expression "*param_1 < iVar1 + iVar2 + iVar6" (pointer_expression "*param_1" * identifier) < (binary_expression "iVar1 + iVar2 + iVar6" (binary_expression "iVar1 + iVar2" identifier + identifier) + identifier)) )) (compound_statement "{\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }" { (expression_statement "iVar10 = iVar1 + iVar2 + *param_1;" (assignment_expression "iVar10 = iVar1 + iVar2 + *param_1" identifier = (binary_expression "iVar1 + iVar2 + *param_1" (binary_expression "iVar1 + iVar2" identifier + identifier) + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);" (assignment_expression "iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4)" identifier = (call_expression "(*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4)" (parenthesized_expression "(*(code *)PTR_realloc_000afde8)" ( (pointer_expression "*(code *)PTR_realloc_000afde8" * (cast_expression "(code *)PTR_realloc_000afde8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,iVar10 * 4)" ( identifier , (binary_expression "iVar10 * 4" identifier * number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      return 0xc;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0xc;\n    }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_3 + 4);" (assignment_expression "iVar2 = *(int *)(param_3 + 4)" identifier = (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = iVar10;" (assignment_expression "*param_1 = iVar10" (pointer_expression "*param_1" * identifier) = identifier) ;) })) (expression_statement "iVar9 = iVar1 + -1;" (assignment_expression "iVar9 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "iVar11 = *(int *)(param_2 + 8);" (assignment_expression "iVar11 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = iVar2 + -1;" (assignment_expression "iVar10 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "iVar5 = *(int *)(param_3 + 8);" (assignment_expression "iVar5 = *(int *)(param_3 + 8)" identifier = (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(iVar11 + iVar9 * 4);" (assignment_expression "iVar8 = *(int *)(iVar11 + iVar9 * 4)" identifier = (pointer_expression "*(int *)(iVar11 + iVar9 * 4)" * (cast_expression "(int *)(iVar11 + iVar9 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar9 * 4)" ( (binary_expression "iVar11 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar7 = iVar6 + -1;" (assignment_expression "iVar7 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar6 + iVar1 + iVar2;" (assignment_expression "iVar2 = iVar6 + iVar1 + iVar2" identifier = (binary_expression "iVar6 + iVar1 + iVar2" (binary_expression "iVar6 + iVar1" identifier + identifier) + identifier)) ;) (expression_statement "iVar1 = *(int *)(iVar5 + iVar10 * 4);" (assignment_expression "iVar1 = *(int *)(iVar5 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar5 + iVar10 * 4)" * (cast_expression "(int *)(iVar5 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar10 * 4)" ( (binary_expression "iVar5 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) (do_statement "do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );" do (compound_statement "{\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  }" { (while_statement "while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }" while (parenthesized_expression "(iVar8 != iVar1)" ( (binary_expression "iVar8 != iVar1" identifier != identifier) )) (compound_statement "{\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }" { (if_statement "if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }" if (parenthesized_expression "(iVar8 < iVar1)" ( (binary_expression "iVar8 < iVar1" identifier < identifier) )) (compound_statement "{\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }" { (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar10 < 0) goto LAB_00073fe8;" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (goto_statement "goto LAB_00073fe8;" goto statement_identifier ;)) (expression_statement "iVar1 = *(int *)(iVar5 + iVar10 * 4);" (assignment_expression "iVar1 = *(int *)(iVar5 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar5 + iVar10 * 4)" * (cast_expression "(int *)(iVar5 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar10 * 4)" ( (binary_expression "iVar5 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }" else (compound_statement "{\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }" { (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (if_statement "if (iVar9 < 0) goto LAB_00073fe8;" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (goto_statement "goto LAB_00073fe8;" goto statement_identifier ;)) (expression_statement "iVar8 = *(int *)(iVar11 + iVar9 * 4);" (assignment_expression "iVar8 = *(int *)(iVar11 + iVar9 * 4)" identifier = (pointer_expression "*(int *)(iVar11 + iVar9 * 4)" * (cast_expression "(int *)(iVar11 + iVar9 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar9 * 4)" ( (binary_expression "iVar11 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) }))) })) (if_statement "if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }" { (labeled_statement "LAB_00073f7c:\n      iVar2 = iVar2 + -1;" statement_identifier : (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;)) (expression_statement "*(int *)(iVar4 + iVar2 * 4) = iVar8;" (assignment_expression "*(int *)(iVar4 + iVar2 * 4) = iVar8" (pointer_expression "*(int *)(iVar4 + iVar2 * 4)" * (cast_expression "(int *)(iVar4 + iVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar2 * 4)" ( (binary_expression "iVar4 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }" else (compound_statement "{\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }" { (expression_statement "piVar3 = (int *)(iVar4 + iVar7 * 4);" (assignment_expression "piVar3 = (int *)(iVar4 + iVar7 * 4)" identifier = (cast_expression "(int *)(iVar4 + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar7 * 4)" ( (binary_expression "iVar4 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (while_statement "while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }" while (parenthesized_expression "(iVar8 < iVar1)" ( (binary_expression "iVar8 < iVar1" identifier < identifier) )) (compound_statement "{\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }" { (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + -1;" (assignment_expression "piVar3 = piVar3 + -1" identifier = (binary_expression "piVar3 + -1" identifier + number_literal)) ;) (if_statement "if (iVar7 == -1) goto LAB_00073f7c;" if (parenthesized_expression "(iVar7 == -1)" ( (binary_expression "iVar7 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00073f7c;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) })) (if_statement "if (iVar1 != iVar8) goto LAB_00073f7c;" if (parenthesized_expression "(iVar1 != iVar8)" ( (binary_expression "iVar1 != iVar8" identifier != identifier) )) (goto_statement "goto LAB_00073f7c;" goto statement_identifier ;)) }))) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }" if (parenthesized_expression "((iVar9 < 0) || (iVar10 < 0))" ( (binary_expression "(iVar9 < 0) || (iVar10 < 0)" (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) ))) )) (compound_statement "{\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }" { (labeled_statement "LAB_00073fe8:\n      iVar6 = param_1[1];" statement_identifier : (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) (expression_statement "iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" identifier = (binary_expression "iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (binary_expression "iVar6 + *(int *)(param_2 + 4)" identifier + (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) + (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))))) ;) (expression_statement "iVar1 = iVar10 - iVar2;" (assignment_expression "iVar1 = iVar10 - iVar2" identifier = (binary_expression "iVar10 - iVar2" identifier - identifier)) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "param_1[1] = iVar6 + iVar1;" (assignment_expression "param_1[1] = iVar6 + iVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar6 + iVar1" identifier + identifier)) ;) (if_statement "if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }" { (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar10 * 4;" (assignment_expression "iVar7 = iVar10 * 4" identifier = (binary_expression "iVar10 * 4" identifier * number_literal)) ;) (if_statement "if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }" if (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) (compound_statement "{\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }" { (do_statement "do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);" do (compound_statement "{\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          }" { (expression_statement "iVar8 = *(int *)(iVar4 + iVar7);" (assignment_expression "iVar8 = *(int *)(iVar4 + iVar7)" identifier = (pointer_expression "*(int *)(iVar4 + iVar7)" * (cast_expression "(int *)(iVar4 + iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar7)" ( (binary_expression "iVar4 + iVar7" identifier + identifier) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar5 = *(int *)(iVar4 + iVar6 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" * (cast_expression "(int *)(iVar4 + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar6 * 4)" ( (binary_expression "iVar4 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);" (assignment_expression "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4)" identifier = (cast_expression "(int *)(iVar4 + (iVar6 + iVar1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar6 + iVar1) * 4)" ( (binary_expression "iVar4 + (iVar6 + iVar1) * 4" identifier + (binary_expression "(iVar6 + iVar1) * 4" (parenthesized_expression "(iVar6 + iVar1)" ( (binary_expression "iVar6 + iVar1" identifier + identifier) )) * number_literal)) )))) ;) (if_statement "if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }" if (parenthesized_expression "(iVar5 < iVar8)" ( (binary_expression "iVar5 < iVar8" identifier < identifier) )) (compound_statement "{\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }" { (do_statement "do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);" do (compound_statement "{\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              }" { (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "*piVar3 = iVar8;" (assignment_expression "*piVar3 = iVar8" (pointer_expression "*piVar3" * identifier) = identifier) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }" { (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0007409c;" goto statement_identifier ;) })) (expression_statement "iVar7 = iVar10 * 4;" (assignment_expression "iVar7 = iVar10 * 4" identifier = (binary_expression "iVar10 * 4" identifier * number_literal)) ;) (expression_statement "iVar5 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar5 = *(int *)(iVar4 + iVar6 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" * (cast_expression "(int *)(iVar4 + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar6 * 4)" ( (binary_expression "iVar4 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar8 = *(int *)(iVar4 + iVar7);" (assignment_expression "iVar8 = *(int *)(iVar4 + iVar7)" identifier = (pointer_expression "*(int *)(iVar4 + iVar7)" * (cast_expression "(int *)(iVar4 + iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar7)" ( (binary_expression "iVar4 + iVar7" identifier + identifier) ))))) ;) (expression_statement "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);" (assignment_expression "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4)" identifier = (cast_expression "(int *)(iVar4 + (iVar6 + iVar1) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar6 + iVar1) * 4)" ( (binary_expression "iVar4 + (iVar6 + iVar1) * 4" identifier + (binary_expression "(iVar6 + iVar1) * 4" (parenthesized_expression "(iVar6 + iVar1)" ( (binary_expression "iVar6 + iVar1" identifier + identifier) )) * number_literal)) )))) ;) }) while (parenthesized_expression "(iVar5 < iVar8)" ( (binary_expression "iVar5 < iVar8" identifier < identifier) )) ;) })) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "*piVar3 = iVar5;" (assignment_expression "*piVar3 = iVar5" (pointer_expression "*piVar3" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar6 != -1)" ( (binary_expression "iVar6 != -1" identifier != number_literal) )) ;) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) })) })) (expression_statement "iVar1 = iVar1 << 2;" (assignment_expression "iVar1 = iVar1 << 2" identifier = (binary_expression "iVar1 << 2" identifier << number_literal)) ;) (labeled_statement "LAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);" (call_expression "(*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_000afc70)" ( (pointer_expression "*(code *)PTR_memcpy_000afc70" * (cast_expression "(code *)PTR_memcpy_000afc70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,iVar4 + iVar2 * 4,iVar1)" ( identifier , (binary_expression "iVar4 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) , identifier ))) ;)) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar8 = *(int *)(iVar11 + iVar9 * 4);" (assignment_expression "iVar8 = *(int *)(iVar11 + iVar9 * 4)" identifier = (pointer_expression "*(int *)(iVar11 + iVar9 * 4)" * (cast_expression "(int *)(iVar11 + iVar9 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar9 * 4)" ( (binary_expression "iVar11 + iVar9 * 4" identifier + (binary_expression "iVar9 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar1 = *(int *)(iVar5 + iVar10 * 4);" (assignment_expression "iVar1 = *(int *)(iVar5 + iVar10 * 4)" identifier = (pointer_expression "*(int *)(iVar5 + iVar10 * 4)" * (cast_expression "(int *)(iVar5 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar10 * 4)" ( (binary_expression "iVar5 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression (binary_expression IDENT + IDENT) + IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT * LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * LIT)) )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + (binary_expression IDENT * LIT)) , IDENT ))) ;)) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 FUN_00073e70(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar2 = *(int *)(param_3 + 4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  iVar6 = param_1[1];\n  iVar4 = param_1[2];\n  if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }\n  iVar9 = iVar1 + -1;\n  iVar11 = *(int *)(param_2 + 8);\n  iVar10 = iVar2 + -1;\n  iVar5 = *(int *)(param_3 + 8);\n  iVar8 = *(int *)(iVar11 + iVar9 * 4);\n  iVar7 = iVar6 + -1;\n  iVar2 = iVar6 + iVar1 + iVar2;\n  iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );\n}" (type_identifier "undefined4") (function_declarator "FUN_00073e70(int *param_1,int param_2,int param_3)" (identifier "FUN_00073e70") (parameter_list "(int *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  iVar1 = *(int *)(param_2 + 4);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar2 = *(int *)(param_3 + 4);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  iVar6 = param_1[1];\n  iVar4 = param_1[2];\n  if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }\n  iVar9 = iVar1 + -1;\n  iVar11 = *(int *)(param_2 + 8);\n  iVar10 = iVar2 + -1;\n  iVar5 = *(int *)(param_3 + 8);\n  iVar8 = *(int *)(iVar11 + iVar9 * 4);\n  iVar7 = iVar6 + -1;\n  iVar2 = iVar6 + iVar1 + iVar2;\n  iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar2 = *(int *)(param_3 + 4);" (assignment_expression "iVar2 = *(int *)(param_3 + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" (identifier "iVar6") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" (identifier "iVar4") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (*param_1 < iVar1 + iVar2 + iVar6) {\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }" (if "if") (parenthesized_expression "(*param_1 < iVar1 + iVar2 + iVar6)" (( "(") (binary_expression "*param_1 < iVar1 + iVar2 + iVar6" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (< "<") (binary_expression "iVar1 + iVar2 + iVar6" (binary_expression "iVar1 + iVar2" (identifier "iVar1") (+ "+") (identifier "iVar2")) (+ "+") (identifier "iVar6"))) () ")")) (compound_statement "{\n    iVar10 = iVar1 + iVar2 + *param_1;\n    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);\n    if (iVar4 == 0) {\n      return 0xc;\n    }\n    iVar1 = *(int *)(param_2 + 4);\n    iVar2 = *(int *)(param_3 + 4);\n    iVar6 = param_1[1];\n    param_1[2] = iVar4;\n    *param_1 = iVar10;\n  }" ({ "{") (expression_statement "iVar10 = iVar1 + iVar2 + *param_1;" (assignment_expression "iVar10 = iVar1 + iVar2 + *param_1" (identifier "iVar10") (= "=") (binary_expression "iVar1 + iVar2 + *param_1" (binary_expression "iVar1 + iVar2" (identifier "iVar1") (+ "+") (identifier "iVar2")) (+ "+") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);" (assignment_expression "iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4)" (parenthesized_expression "(*(code *)PTR_realloc_000afde8)" (( "(") (pointer_expression "*(code *)PTR_realloc_000afde8" (* "*") (cast_expression "(code *)PTR_realloc_000afde8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_realloc_000afde8"))) () ")")) (argument_list "(iVar4,iVar10 * 4)" (( "(") (identifier "iVar4") (, ",") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      return 0xc;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0xc;\n    }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(param_2 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(param_3 + 4);" (assignment_expression "iVar2 = *(int *)(param_3 + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" (identifier "iVar6") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*param_1 = iVar10;" (assignment_expression "*param_1 = iVar10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar10")) (; ";")) (} "}"))) (expression_statement "iVar9 = iVar1 + -1;" (assignment_expression "iVar9 = iVar1 + -1" (identifier "iVar9") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar11 = *(int *)(param_2 + 8);" (assignment_expression "iVar11 = *(int *)(param_2 + 8)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar10 = iVar2 + -1;" (assignment_expression "iVar10 = iVar2 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar5 = *(int *)(param_3 + 8);" (assignment_expression "iVar5 = *(int *)(param_3 + 8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_3 + 8)" (* "*") (cast_expression "(int *)(param_3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar8 = *(int *)(iVar11 + iVar9 * 4);" (assignment_expression "iVar8 = *(int *)(iVar11 + iVar9 * 4)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar11 + iVar9 * 4)" (* "*") (cast_expression "(int *)(iVar11 + iVar9 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + iVar9 * 4)" (( "(") (binary_expression "iVar11 + iVar9 * 4" (identifier "iVar11") (+ "+") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar7 = iVar6 + -1;" (assignment_expression "iVar7 = iVar6 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar2 = iVar6 + iVar1 + iVar2;" (assignment_expression "iVar2 = iVar6 + iVar1 + iVar2" (identifier "iVar2") (= "=") (binary_expression "iVar6 + iVar1 + iVar2" (binary_expression "iVar6 + iVar1" (identifier "iVar6") (+ "+") (identifier "iVar1")) (+ "+") (identifier "iVar2"))) (; ";")) (expression_statement "iVar1 = *(int *)(iVar5 + iVar10 * 4);" (assignment_expression "iVar1 = *(int *)(iVar5 + iVar10 * 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar5 + iVar10 * 4)" (* "*") (cast_expression "(int *)(iVar5 + iVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar10 * 4)" (( "(") (binary_expression "iVar5 + iVar10 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (do_statement "do {\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  } while( true );" (do "do") (compound_statement "{\n    while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }\n    if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }\n    iVar9 = iVar9 + -1;\n    iVar10 = iVar10 + -1;\n    if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }\n    iVar8 = *(int *)(iVar11 + iVar9 * 4);\n    iVar1 = *(int *)(iVar5 + iVar10 * 4);\n  }" ({ "{") (while_statement "while (iVar8 != iVar1) {\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }" (while "while") (parenthesized_expression "(iVar8 != iVar1)" (( "(") (binary_expression "iVar8 != iVar1" (identifier "iVar8") (!= "!=") (identifier "iVar1")) () ")")) (compound_statement "{\n      if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }\n    }" ({ "{") (if_statement "if (iVar8 < iVar1) {\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }\n      else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }" (if "if") (parenthesized_expression "(iVar8 < iVar1)" (( "(") (binary_expression "iVar8 < iVar1" (identifier "iVar8") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        iVar10 = iVar10 + -1;\n        if (iVar10 < 0) goto LAB_00073fe8;\n        iVar1 = *(int *)(iVar5 + iVar10 * 4);\n      }" ({ "{") (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar10 < 0) goto LAB_00073fe8;" (if "if") (parenthesized_expression "(iVar10 < 0)" (( "(") (binary_expression "iVar10 < 0" (identifier "iVar10") (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_00073fe8;" (goto "goto") (statement_identifier "LAB_00073fe8") (; ";"))) (expression_statement "iVar1 = *(int *)(iVar5 + iVar10 * 4);" (assignment_expression "iVar1 = *(int *)(iVar5 + iVar10 * 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar5 + iVar10 * 4)" (* "*") (cast_expression "(int *)(iVar5 + iVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar10 * 4)" (( "(") (binary_expression "iVar5 + iVar10 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }" (else "else") (compound_statement "{\n        iVar9 = iVar9 + -1;\n        if (iVar9 < 0) goto LAB_00073fe8;\n        iVar8 = *(int *)(iVar11 + iVar9 * 4);\n      }" ({ "{") (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar9 < 0) goto LAB_00073fe8;" (if "if") (parenthesized_expression "(iVar9 < 0)" (( "(") (binary_expression "iVar9 < 0" (identifier "iVar9") (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_00073fe8;" (goto "goto") (statement_identifier "LAB_00073fe8") (; ";"))) (expression_statement "iVar8 = *(int *)(iVar11 + iVar9 * 4);" (assignment_expression "iVar8 = *(int *)(iVar11 + iVar9 * 4)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar11 + iVar9 * 4)" (* "*") (cast_expression "(int *)(iVar11 + iVar9 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + iVar9 * 4)" (( "(") (binary_expression "iVar11 + iVar9 * 4" (identifier "iVar11") (+ "+") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")))) (} "}"))) (if_statement "if (iVar7 < 0) {\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }\n    else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00073f7c:\n      iVar2 = iVar2 + -1;\n      *(int *)(iVar4 + iVar2 * 4) = iVar8;\n    }" ({ "{") (labeled_statement "LAB_00073f7c:\n      iVar2 = iVar2 + -1;" (statement_identifier "LAB_00073f7c") (: ":") (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";"))) (expression_statement "*(int *)(iVar4 + iVar2 * 4) = iVar8;" (assignment_expression "*(int *)(iVar4 + iVar2 * 4) = iVar8" (pointer_expression "*(int *)(iVar4 + iVar2 * 4)" (* "*") (cast_expression "(int *)(iVar4 + iVar2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar2 * 4)" (( "(") (binary_expression "iVar4 + iVar2 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (} "}")) (else_clause "else {\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }" (else "else") (compound_statement "{\n      piVar3 = (int *)(iVar4 + iVar7 * 4);\n      iVar1 = *piVar3;\n      while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }\n      if (iVar1 != iVar8) goto LAB_00073f7c;\n    }" ({ "{") (expression_statement "piVar3 = (int *)(iVar4 + iVar7 * 4);" (assignment_expression "piVar3 = (int *)(iVar4 + iVar7 * 4)" (identifier "piVar3") (= "=") (cast_expression "(int *)(iVar4 + iVar7 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar7 * 4)" (( "(") (binary_expression "iVar4 + iVar7 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" (identifier "iVar1") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (while_statement "while (iVar8 < iVar1) {\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }" (while "while") (parenthesized_expression "(iVar8 < iVar1)" (( "(") (binary_expression "iVar8 < iVar1" (identifier "iVar8") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        iVar7 = iVar7 + -1;\n        piVar3 = piVar3 + -1;\n        if (iVar7 == -1) goto LAB_00073f7c;\n        iVar1 = *piVar3;\n      }" ({ "{") (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "piVar3 = piVar3 + -1;" (assignment_expression "piVar3 = piVar3 + -1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + -1" (identifier "piVar3") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar7 == -1) goto LAB_00073f7c;" (if "if") (parenthesized_expression "(iVar7 == -1)" (( "(") (binary_expression "iVar7 == -1" (identifier "iVar7") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_00073f7c;" (goto "goto") (statement_identifier "LAB_00073f7c") (; ";"))) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" (identifier "iVar1") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (} "}"))) (if_statement "if (iVar1 != iVar8) goto LAB_00073f7c;" (if "if") (parenthesized_expression "(iVar1 != iVar8)" (( "(") (binary_expression "iVar1 != iVar8" (identifier "iVar1") (!= "!=") (identifier "iVar8")) () ")")) (goto_statement "goto LAB_00073f7c;" (goto "goto") (statement_identifier "LAB_00073f7c") (; ";"))) (} "}")))) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if ((iVar9 < 0) || (iVar10 < 0)) {\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }" (if "if") (parenthesized_expression "((iVar9 < 0) || (iVar10 < 0))" (( "(") (binary_expression "(iVar9 < 0) || (iVar10 < 0)" (parenthesized_expression "(iVar9 < 0)" (( "(") (binary_expression "iVar9 < 0" (identifier "iVar9") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar10 < 0)" (( "(") (binary_expression "iVar10 < 0" (identifier "iVar10") (< "<") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_00073fe8:\n      iVar6 = param_1[1];\n      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n      iVar1 = iVar10 - iVar2;\n      iVar10 = iVar10 + -1;\n      param_1[1] = iVar6 + iVar1;\n      if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }\n      iVar1 = iVar1 << 2;\nLAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);\n      return 0;\n    }" ({ "{") (labeled_statement "LAB_00073fe8:\n      iVar6 = param_1[1];" (statement_identifier "LAB_00073fe8") (: ":") (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" (identifier "iVar6") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (expression_statement "iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (identifier "iVar10") (= "=") (binary_expression "iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (binary_expression "iVar6 + *(int *)(param_2 + 4)" (identifier "iVar6") (+ "+") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (+ "+") (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "iVar1 = iVar10 - iVar2;" (assignment_expression "iVar1 = iVar10 - iVar2" (identifier "iVar1") (= "=") (binary_expression "iVar10 - iVar2" (identifier "iVar10") (- "-") (identifier "iVar2"))) (; ";")) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "param_1[1] = iVar6 + iVar1;" (assignment_expression "param_1[1] = iVar6 + iVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar6 + iVar1" (identifier "iVar6") (+ "+") (identifier "iVar1"))) (; ";")) (if_statement "if (0 < iVar1) {\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }" (if "if") (parenthesized_expression "(0 < iVar1)" (( "(") (binary_expression "0 < iVar1" (number_literal "0") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        iVar6 = iVar6 + -1;\n        iVar7 = iVar10 * 4;\n        if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }\n      }" ({ "{") (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar7 = iVar10 * 4;" (assignment_expression "iVar7 = iVar10 * 4" (identifier "iVar7") (= "=") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) (; ";")) (if_statement "if (-1 < iVar6) {\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }" (if "if") (parenthesized_expression "(-1 < iVar6)" (( "(") (binary_expression "-1 < iVar6" (number_literal "-1") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n          do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);\n          iVar4 = param_1[2];\n        }" ({ "{") (do_statement "do {\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          } while (iVar6 != -1);" (do "do") (compound_statement "{\n            iVar8 = *(int *)(iVar4 + iVar7);\n            iVar5 = *(int *)(iVar4 + iVar6 * 4);\n            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n            if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }\n            iVar6 = iVar6 + -1;\n            *piVar3 = iVar5;\n          }" ({ "{") (expression_statement "iVar8 = *(int *)(iVar4 + iVar7);" (assignment_expression "iVar8 = *(int *)(iVar4 + iVar7)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar4 + iVar7)" (* "*") (cast_expression "(int *)(iVar4 + iVar7)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar7)" (( "(") (binary_expression "iVar4 + iVar7" (identifier "iVar4") (+ "+") (identifier "iVar7")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar5 = *(int *)(iVar4 + iVar6 * 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" (* "*") (cast_expression "(int *)(iVar4 + iVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar6 * 4)" (( "(") (binary_expression "iVar4 + iVar6 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);" (assignment_expression "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4)" (identifier "piVar3") (= "=") (cast_expression "(int *)(iVar4 + (iVar6 + iVar1) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + (iVar6 + iVar1) * 4)" (( "(") (binary_expression "iVar4 + (iVar6 + iVar1) * 4" (identifier "iVar4") (+ "+") (binary_expression "(iVar6 + iVar1) * 4" (parenthesized_expression "(iVar6 + iVar1)" (( "(") (binary_expression "iVar6 + iVar1" (identifier "iVar6") (+ "+") (identifier "iVar1")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (iVar5 < iVar8) {\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }" (if "if") (parenthesized_expression "(iVar5 < iVar8)" (( "(") (binary_expression "iVar5 < iVar8" (identifier "iVar5") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n              do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);\n            }" ({ "{") (do_statement "do {\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              } while (iVar5 < iVar8);" (do "do") (compound_statement "{\n                iVar1 = iVar1 + -1;\n                *piVar3 = iVar8;\n                iVar10 = iVar10 + -1;\n                if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }\n                iVar7 = iVar10 * 4;\n                iVar5 = *(int *)(iVar4 + iVar6 * 4);\n                iVar8 = *(int *)(iVar4 + iVar7);\n                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);\n              }" ({ "{") (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*piVar3 = iVar8;" (assignment_expression "*piVar3 = iVar8" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar1 == 0) {\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  iVar4 = param_1[2];\n                  iVar1 = 0;\n                  goto LAB_0007409c;\n                }" ({ "{") (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" (identifier "iVar4") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0007409c;" (goto "goto") (statement_identifier "LAB_0007409c") (; ";")) (} "}"))) (expression_statement "iVar7 = iVar10 * 4;" (assignment_expression "iVar7 = iVar10 * 4" (identifier "iVar7") (= "=") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar5 = *(int *)(iVar4 + iVar6 * 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" (* "*") (cast_expression "(int *)(iVar4 + iVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar6 * 4)" (( "(") (binary_expression "iVar4 + iVar6 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar8 = *(int *)(iVar4 + iVar7);" (assignment_expression "iVar8 = *(int *)(iVar4 + iVar7)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar4 + iVar7)" (* "*") (cast_expression "(int *)(iVar4 + iVar7)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar7)" (( "(") (binary_expression "iVar4 + iVar7" (identifier "iVar4") (+ "+") (identifier "iVar7")) () ")"))))) (; ";")) (expression_statement "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);" (assignment_expression "piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4)" (identifier "piVar3") (= "=") (cast_expression "(int *)(iVar4 + (iVar6 + iVar1) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + (iVar6 + iVar1) * 4)" (( "(") (binary_expression "iVar4 + (iVar6 + iVar1) * 4" (identifier "iVar4") (+ "+") (binary_expression "(iVar6 + iVar1) * 4" (parenthesized_expression "(iVar6 + iVar1)" (( "(") (binary_expression "iVar6 + iVar1" (identifier "iVar6") (+ "+") (identifier "iVar1")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 < iVar8)" (( "(") (binary_expression "iVar5 < iVar8" (identifier "iVar5") (< "<") (identifier "iVar8")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*piVar3 = iVar5;" (assignment_expression "*piVar3 = iVar5" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (identifier "iVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != -1)" (( "(") (binary_expression "iVar6 != -1" (identifier "iVar6") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" (identifier "iVar4") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar1 = iVar1 << 2;" (assignment_expression "iVar1 = iVar1 << 2" (identifier "iVar1") (= "=") (binary_expression "iVar1 << 2" (identifier "iVar1") (<< "<<") (number_literal "2"))) (; ";")) (labeled_statement "LAB_0007409c:\n      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);" (statement_identifier "LAB_0007409c") (: ":") (expression_statement "(*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);" (call_expression "(*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_000afc70)" (( "(") (pointer_expression "*(code *)PTR_memcpy_000afc70" (* "*") (cast_expression "(code *)PTR_memcpy_000afc70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_000afc70"))) () ")")) (argument_list "(iVar4,iVar4 + iVar2 * 4,iVar1)" (( "(") (identifier "iVar4") (, ",") (binary_expression "iVar4 + iVar2 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) (, ",") (identifier "iVar1") () ")"))) (; ";"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar8 = *(int *)(iVar11 + iVar9 * 4);" (assignment_expression "iVar8 = *(int *)(iVar11 + iVar9 * 4)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar11 + iVar9 * 4)" (* "*") (cast_expression "(int *)(iVar11 + iVar9 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + iVar9 * 4)" (( "(") (binary_expression "iVar11 + iVar9 * 4" (identifier "iVar11") (+ "+") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(iVar5 + iVar10 * 4);" (assignment_expression "iVar1 = *(int *)(iVar5 + iVar10 * 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar5 + iVar10 * 4)" (* "*") (cast_expression "(int *)(iVar5 + iVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar10 * 4)" (( "(") (binary_expression "iVar5 + iVar10 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

type_1 function_1(type_2 *dest,type_2 *src1,type_2 *src2)

{
  int var_1;
  int var_2;
  int *var_9;
  type_3 *var_5;
  type_3 var_10;
  type_3 *pIVar6;
  int var_3;
  int var_8;
  type_3 var_11;
  int var_6;
  int var_7;
  int var_4;
  type_3 *pIVar13;
  
  var_1 = src1->nelem;
  if (var_1 == 0) {
    return _REG_NOERROR;
  }
  var_2 = src2->nelem;
  if (var_2 == 0) {
    return _REG_NOERROR;
  }
  var_3 = dest->nelem;
  var_5 = dest->elems;
  if (dest->alloc < var_1 + var_2 + var_3) {
    var_4 = var_1 + var_2 + dest->alloc;
    var_5 = (type_3 *)(*(type_4 *)PTR_realloc_000afde8)(var_5,var_4 * 4);
    if (var_5 == (type_3 *)0x0) {
      return _REG_ESPACE;
    }
    var_1 = src1->nelem;
    var_2 = src2->nelem;
    var_3 = dest->nelem;
    dest->elems = var_5;
    dest->alloc = var_4;
  }
  var_7 = var_1 + -1;
  pIVar13 = src1->elems;
  var_4 = var_2 + -1;
  pIVar6 = src2->elems;
  var_6 = pIVar13[var_7];
  var_8 = var_3 + -1;
  var_2 = var_3 + var_1 + var_2;
  var_1 = pIVar6[var_4];
  do {
    while (var_6 != var_1) {
      if (var_6 < var_1) {
        var_4 = var_4 + -1;
        if (var_4 < 0) goto LAB_00073fe8;
        var_1 = pIVar6[var_4];
      }
      else {
        var_7 = var_7 + -1;
        if (var_7 < 0) goto LAB_00073fe8;
        var_6 = pIVar13[var_7];
      }
    }
    if (var_8 < 0) {
LAB_00073f7c:
      var_2 = var_2 + -1;
      var_5[var_2] = var_6;
    }
    else {
      var_9 = var_5 + var_8;
      var_1 = *var_9;
      while (var_6 < var_1) {
        var_8 = var_8 + -1;
        var_9 = var_9 + -1;
        if (var_8 == -1) goto LAB_00073f7c;
        var_1 = *var_9;
      }
      if (var_1 != var_6) goto LAB_00073f7c;
    }
    var_7 = var_7 + -1;
    var_4 = var_4 + -1;
    if ((var_7 < 0) || (var_4 < 0)) {
LAB_00073fe8:
      var_3 = dest->nelem;
      var_4 = var_3 + src1->nelem + src2->nelem;
      var_1 = var_4 - var_2;
      var_4 = var_4 + -1;
      dest->nelem = var_3 + var_1;
      if (0 < var_1) {
        var_3 = var_3 + -1;
        var_8 = var_4 * 4;
        if (-1 < var_3) {
          do {
            var_11 = *(int *)((int)var_5 + var_8);
            var_10 = var_5[var_3];
            pIVar6 = var_5 + var_3 + var_1;
            if (var_10 < var_11) {
              do {
                var_1 = var_1 + -1;
                *pIVar6 = var_11;
                var_4 = var_4 + -1;
                if (var_1 == 0) {
                  var_5 = dest->elems;
                  var_1 = 0;
                  goto LAB_0007409c;
                }
                var_8 = var_4 * 4;
                var_10 = var_5[var_3];
                var_11 = var_5[var_4];
                pIVar6 = var_5 + var_3 + var_1;
              } while (var_10 < var_11);
            }
            var_3 = var_3 + -1;
            *pIVar6 = var_10;
          } while (var_3 != -1);
          var_5 = dest->elems;
        }
      }
      var_1 = var_1 << 2;
LAB_0007409c:
      (*(type_4 *)PTR_memcpy_000afc70)(var_5,var_5 + var_2,var_1);
      return _REG_NOERROR;
    }
    var_6 = pIVar13[var_7];
    var_1 = pIVar6[var_4];
  } while( true );
}


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

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

{
  int iVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  
  iVar1 = *(int *)(param_2 + 4);
  if (iVar1 == 0) {
    return 0;
  }
  iVar2 = *(int *)(param_3 + 4);
  if (iVar2 == 0) {
    return 0;
  }
  iVar6 = param_1[1];
  iVar4 = param_1[2];
  if (*param_1 < iVar1 + iVar2 + iVar6) {
    iVar10 = iVar1 + iVar2 + *param_1;
    iVar4 = (*(code *)PTR_realloc_000afde8)(iVar4,iVar10 * 4);
    if (iVar4 == 0) {
      return 0xc;
    }
    iVar1 = *(int *)(param_2 + 4);
    iVar2 = *(int *)(param_3 + 4);
    iVar6 = param_1[1];
    param_1[2] = iVar4;
    *param_1 = iVar10;
  }
  iVar9 = iVar1 + -1;
  iVar11 = *(int *)(param_2 + 8);
  iVar10 = iVar2 + -1;
  iVar5 = *(int *)(param_3 + 8);
  iVar8 = *(int *)(iVar11 + iVar9 * 4);
  iVar7 = iVar6 + -1;
  iVar2 = iVar6 + iVar1 + iVar2;
  iVar1 = *(int *)(iVar5 + iVar10 * 4);
  do {
    while (iVar8 != iVar1) {
      if (iVar8 < iVar1) {
        iVar10 = iVar10 + -1;
        if (iVar10 < 0) goto LAB_00073fe8;
        iVar1 = *(int *)(iVar5 + iVar10 * 4);
      }
      else {
        iVar9 = iVar9 + -1;
        if (iVar9 < 0) goto LAB_00073fe8;
        iVar8 = *(int *)(iVar11 + iVar9 * 4);
      }
    }
    if (iVar7 < 0) {
LAB_00073f7c:
      iVar2 = iVar2 + -1;
      *(int *)(iVar4 + iVar2 * 4) = iVar8;
    }
    else {
      piVar3 = (int *)(iVar4 + iVar7 * 4);
      iVar1 = *piVar3;
      while (iVar8 < iVar1) {
        iVar7 = iVar7 + -1;
        piVar3 = piVar3 + -1;
        if (iVar7 == -1) goto LAB_00073f7c;
        iVar1 = *piVar3;
      }
      if (iVar1 != iVar8) goto LAB_00073f7c;
    }
    iVar9 = iVar9 + -1;
    iVar10 = iVar10 + -1;
    if ((iVar9 < 0) || (iVar10 < 0)) {
LAB_00073fe8:
      iVar6 = param_1[1];
      iVar10 = iVar6 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);
      iVar1 = iVar10 - iVar2;
      iVar10 = iVar10 + -1;
      param_1[1] = iVar6 + iVar1;
      if (0 < iVar1) {
        iVar6 = iVar6 + -1;
        iVar7 = iVar10 * 4;
        if (-1 < iVar6) {
          do {
            iVar8 = *(int *)(iVar4 + iVar7);
            iVar5 = *(int *)(iVar4 + iVar6 * 4);
            piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);
            if (iVar5 < iVar8) {
              do {
                iVar1 = iVar1 + -1;
                *piVar3 = iVar8;
                iVar10 = iVar10 + -1;
                if (iVar1 == 0) {
                  iVar4 = param_1[2];
                  iVar1 = 0;
                  goto LAB_0007409c;
                }
                iVar7 = iVar10 * 4;
                iVar5 = *(int *)(iVar4 + iVar6 * 4);
                iVar8 = *(int *)(iVar4 + iVar7);
                piVar3 = (int *)(iVar4 + (iVar6 + iVar1) * 4);
              } while (iVar5 < iVar8);
            }
            iVar6 = iVar6 + -1;
            *piVar3 = iVar5;
          } while (iVar6 != -1);
          iVar4 = param_1[2];
        }
      }
      iVar1 = iVar1 << 2;
LAB_0007409c:
      (*(code *)PTR_memcpy_000afc70)(iVar4,iVar4 + iVar2 * 4,iVar1);
      return 0;
    }
    iVar8 = *(int *)(iVar11 + iVar9 * 4);
    iVar1 = *(int *)(iVar5 + iVar10 * 4);
  } while( true );
}

