
reg_errcode_t re_node_set_merge(re_node_set *dest,re_node_set *src)

{
  undefined *puVar1;
  int iVar2;
  Idx *pIVar3;
  Idx *pIVar4;
  Idx IVar5;
  int iVar6;
  int iVar7;
  Idx IVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  
  if (src != (re_node_set *)0x0) {
    iVar6 = src->nelem;
    if (iVar6 != 0) {
      iVar11 = dest->nelem;
      if (dest->alloc < iVar6 * 2 + iVar11) {
        iVar7 = iVar6 + dest->alloc;
        pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);
        if (pIVar3 == (Idx *)0x0) {
          return _REG_ESPACE;
        }
        iVar11 = dest->nelem;
        iVar6 = src->nelem;
        dest->elems = pIVar3;
        dest->alloc = iVar7 * 2;
      }
      puVar1 = PTR_memcpy_000534f4;
      if (iVar11 == 0) {
        pIVar3 = src->elems;
        dest->nelem = iVar6;
        (*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);
        return _REG_NOERROR;
      }
      iVar7 = iVar6 + -1;
      iVar9 = iVar6 * 2 + iVar11;
      iVar2 = iVar11 + -1;
      iVar10 = iVar9;
      if (-1 < iVar7) {
        pIVar3 = dest->elems;
        iVar11 = iVar2 * 4;
        pIVar4 = src->elems;
        if (iVar2 < 0) {
LAB_0002c200:
          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);
          iVar10 = iVar9 - iVar6;
        }
        else {
          do {
            while( true ) {
              iVar6 = pIVar4[iVar7];
              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;
              iVar10 = iVar9;
              if (iVar7 + -1 == -1) goto LAB_0002c0fc;
              iVar6 = iVar7;
              iVar7 = iVar7 + -1;
              if (iVar2 == 0) goto LAB_0002c200;
LAB_0002c1ec:
              iVar2 = iVar2 + -1;
              iVar11 = iVar2 * 4;
            }
            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {
              iVar6 = iVar7 + 1;
              if (iVar2 != 0) goto LAB_0002c1ec;
              goto LAB_0002c200;
            }
            iVar9 = iVar9 + -1;
            iVar7 = iVar7 + -1;
            pIVar3[iVar9] = iVar6;
            iVar10 = iVar9;
          } while (iVar7 != -1);
        }
LAB_0002c0fc:
        iVar11 = dest->nelem;
        iVar2 = iVar11 + -1;
        iVar9 = src->nelem * 2 + iVar11;
      }
      iVar6 = iVar9 - iVar10;
      iVar9 = iVar9 + -1;
      if (iVar6 != 0) {
        pIVar3 = dest->elems;
        iVar7 = iVar9 * 4;
        dest->nelem = iVar6 + iVar11;
        do {
          IVar8 = *(int *)((int)pIVar3 + iVar7);
          IVar5 = pIVar3[iVar2];
          pIVar4 = pIVar3 + iVar2 + iVar6;
          if (IVar5 < IVar8) {
            do {
              iVar6 = iVar6 + -1;
              *pIVar4 = IVar8;
              iVar9 = iVar9 + -1;
              if (iVar6 == 0) {
                return _REG_NOERROR;
              }
              iVar7 = iVar9 * 4;
              IVar5 = pIVar3[iVar2];
              IVar8 = pIVar3[iVar9];
              pIVar4 = pIVar3 + iVar2 + iVar6;
            } while (IVar5 < IVar8);
          }
          iVar2 = iVar2 + -1;
          *pIVar4 = IVar5;
        } while (-1 < iVar2);
        (*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);
      }
    }
  }
  return _REG_NOERROR;
}



undefined4 FUN_0002c03c(int *param_1,int param_2)

{
  undefined *puVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  
  if (param_2 != 0) {
    iVar6 = *(int *)(param_2 + 4);
    if (iVar6 != 0) {
      iVar11 = param_1[1];
      if (*param_1 < iVar6 * 2 + iVar11) {
        iVar7 = iVar6 + *param_1;
        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);
        if (iVar8 == 0) {
          return 0xc;
        }
        iVar11 = param_1[1];
        iVar6 = *(int *)(param_2 + 4);
        param_1[2] = iVar8;
        *param_1 = iVar7 * 2;
      }
      puVar1 = PTR_memcpy_000534f4;
      if (iVar11 == 0) {
        uVar5 = *(undefined4 *)(param_2 + 8);
        param_1[1] = iVar6;
        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);
        return 0;
      }
      iVar8 = iVar6 + -1;
      iVar10 = iVar6 * 2 + iVar11;
      iVar3 = iVar11 + -1;
      iVar7 = iVar10;
      if (-1 < iVar8) {
        iVar11 = param_1[2];
        iVar9 = iVar3 * 4;
        iVar4 = *(int *)(param_2 + 8);
        if (iVar3 < 0) {
LAB_0002c200:
          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);
          iVar7 = iVar10 - iVar6;
        }
        else {
          do {
            while( true ) {
              iVar6 = *(int *)(iVar4 + iVar8 * 4);
              if (*(int *)(iVar11 + iVar9) != iVar6) break;
              iVar7 = iVar10;
              if (iVar8 + -1 == -1) goto LAB_0002c0fc;
              iVar6 = iVar8;
              iVar8 = iVar8 + -1;
              if (iVar3 == 0) goto LAB_0002c200;
LAB_0002c1ec:
              iVar3 = iVar3 + -1;
              iVar9 = iVar3 * 4;
            }
            if (iVar6 <= *(int *)(iVar11 + iVar9)) {
              iVar6 = iVar8 + 1;
              if (iVar3 != 0) goto LAB_0002c1ec;
              goto LAB_0002c200;
            }
            iVar10 = iVar10 + -1;
            iVar8 = iVar8 + -1;
            *(int *)(iVar11 + iVar10 * 4) = iVar6;
            iVar7 = iVar10;
          } while (iVar8 != -1);
        }
LAB_0002c0fc:
        iVar11 = param_1[1];
        iVar3 = iVar11 + -1;
        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;
      }
      iVar6 = iVar10 - iVar7;
      iVar10 = iVar10 + -1;
      if (iVar6 != 0) {
        iVar8 = param_1[2];
        iVar4 = iVar10 * 4;
        param_1[1] = iVar6 + iVar11;
        do {
          iVar9 = *(int *)(iVar8 + iVar4);
          iVar11 = *(int *)(iVar8 + iVar3 * 4);
          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);
          if (iVar11 < iVar9) {
            do {
              iVar6 = iVar6 + -1;
              *piVar2 = iVar9;
              iVar10 = iVar10 + -1;
              if (iVar6 == 0) {
                return 0;
              }
              iVar4 = iVar10 * 4;
              iVar11 = *(int *)(iVar8 + iVar3 * 4);
              iVar9 = *(int *)(iVar8 + iVar4);
              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);
            } while (iVar11 < iVar9);
          }
          iVar3 = iVar3 + -1;
          *piVar2 = iVar11;
        } while (-1 < iVar3);
        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);
      }
    }
  }
  return 0;
}


lui gp,0x3
addiu gp,gp,-0xf5c
addu gp,gp,t9
addiu sp,sp,-0x30
sw gp,0x10(sp)
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
beq a1,zero,0x0002c1b4
_sw s0,0x1c(sp)
lw a2,0x4(a1)
beq a2,zero,0x0002c1b4
_sll v0,a2,0x1
lw s2,0x4(a0)
lw v1,0x0(a0)
or s1,a0,zero
addu v0,v0,s2
slt v0,v1,v0
bne v0,zero,0x0002c220
_or s3,a1,zero
beq s2,zero,0x0002c254
_nop
sll s0,a2,0x1
addiu a3,a2,-0x1
addu s0,s0,s2
bltz a3,0x0002c278
_addiu v1,s2,-0x1
lw a0,0x8(s1)
sll t0,v1,0x2
lw a1,0x8(s3)
bltz v1,0x0002c200
_li t2,-0x1
sll v0,a3,0x2
addu a2,a0,t0
addu v0,a1,v0
lw a2,0x0(a2)
lw v0,0x0(v0)
beq a2,v0,0x0002c1d8
_slt t1,a2,v0
beq t1,zero,0x0002c1f4
_nop
addiu s0,s0,-0x1
addiu a3,a3,-0x1
sll a2,s0,0x2
addu a2,a0,a2
bne a3,t2,0x0002c0c0
_sw v0,0x0(a2)
lw t1,0x4(s3)
lw s2,0x4(s1)
sll t1,t1,0x1
addiu v1,s2,-0x1
addu t1,t1,s2
subu a2,t1,s0
beq a2,zero,0x0002c1b4
_addiu t1,t1,-0x1
addu s2,a2,s2
lw a0,0x8(s1)
sll t0,v1,0x2
sll t3,t1,0x2
sw s2,0x4(s1)
addu a3,a0,t3
addu a1,a0,t0
addu v0,v1,a2
lw a3,0x0(a3)
lw a1,0x0(a1)
sll v0,v0,0x2
slt t2,a1,a3
beq t2,zero,0x0002c18c
_addu v0,a0,v0
addiu a2,a2,-0x1
sw a3,0x0(v0)
beq a2,zero,0x0002c1b4
_addiu t1,t1,-0x1
sll t3,t1,0x2
addu a1,a0,t0
addu a3,a0,t3
addu v0,v1,a2
lw a1,0x0(a1)
lw a3,0x0(a3)
sll v0,v0,0x2
slt t2,a1,a3
bne t2,zero,0x0002c154
_addu v0,a0,v0
addiu v1,v1,-0x1
bltz v1,0x0002c1a0
_sw a1,0x0(v0)
b 0x0002c130
_sll t0,v1,0x2
sll a1,s0,0x2
lw t9,-0x7bec(gp)
sll a2,a2,0x2
jalr t9
_addu a1,a0,a1
or s2,zero,zero
lw ra,0x2c(sp)
or v0,s2,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
addiu a3,a3,-0x1
beq a3,t2,0x0002c0fc
_addiu v1,v1,-0x1
beq v1,t2,0x0002c200
_addiu a2,a3,0x1
b 0x0002c0c0
_sll t0,v1,0x2
addiu v1,v1,-0x1
bne v1,t2,0x0002c1ec
_addiu a2,a3,0x1
subu s0,s0,a2
lw t9,-0x7bec(gp)
sll a2,a2,0x2
sll v0,s0,0x2
jalr t9
_addu a0,a0,v0
b 0x0002c0fc
_lw gp,0x10(sp)
addu a2,a2,v1
lw t9,-0x7c68(gp)
lw a0,0x8(a0)
sll a1,a2,0x3
jalr t9
_sll s0,a2,0x1
beq v0,zero,0x0002c280
_lw gp,0x10(sp)
lw s2,0x4(s1)
lw a2,0x4(s3)
sw v0,0x8(s1)
bne s2,zero,0x0002c098
_sw s0,0x0(s1)
lw a1,0x8(s3)
lw t9,-0x7bec(gp)
lw a0,0x8(s1)
sw a2,0x4(s1)
lw a2,0x4(s3)
jalr t9
_sll a2,a2,0x2
b 0x0002c1bc
_lw ra,0x2c(sp)
b 0x0002c110
_or t1,s0,zero
b 0x0002c1b8
_li s2,0xc
(translation_unit "undefined4 FUN_0002c03c(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0002c03c(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0002c03c(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier 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 ;) (if_statement "if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }" { (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_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) ))))) ;) (if_statement "if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }" { (expression_statement "iVar11 = param_1[1];" (assignment_expression "iVar11 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }" if (parenthesized_expression "(*param_1 < iVar6 * 2 + iVar11)" ( (binary_expression "*param_1 < iVar6 * 2 + iVar11" (pointer_expression "*param_1" * identifier) < (binary_expression "iVar6 * 2 + iVar11" (binary_expression "iVar6 * 2" identifier * number_literal) + identifier)) )) (compound_statement "{\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }" { (expression_statement "iVar7 = iVar6 + *param_1;" (assignment_expression "iVar7 = iVar6 + *param_1" identifier = (binary_expression "iVar6 + *param_1" identifier + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);" (assignment_expression "iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8)" identifier = (call_expression "(*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8)" (parenthesized_expression "(*(code *)PTR_realloc_00053478)" ( (pointer_expression "*(code *)PTR_realloc_00053478" * (cast_expression "(code *)PTR_realloc_00053478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],iVar7 * 8)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "iVar7 * 8" identifier * number_literal) )))) ;) (if_statement "if (iVar8 == 0) {\n          return 0xc;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0xc;\n        }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar11 = param_1[1];" (assignment_expression "iVar11 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_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) ))))) ;) (expression_statement "param_1[2] = iVar8;" (assignment_expression "param_1[2] = iVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = iVar7 * 2;" (assignment_expression "*param_1 = iVar7 * 2" (pointer_expression "*param_1" * identifier) = (binary_expression "iVar7 * 2" identifier * number_literal)) ;) })) (expression_statement "puVar1 = PTR_memcpy_000534f4;" (assignment_expression "puVar1 = PTR_memcpy_000534f4" identifier = identifier) ;) (if_statement "if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }" { (expression_statement "uVar5 = *(undefined4 *)(param_2 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(param_2 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);" (call_expression "(*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],uVar5,*(int *)(param_2 + 4) << 2)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , (binary_expression "*(int *)(param_2 + 4) << 2" (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) )))) << number_literal) ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar8 = iVar6 + -1;" (assignment_expression "iVar8 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = iVar6 * 2 + iVar11;" (assignment_expression "iVar10 = iVar6 * 2 + iVar11" identifier = (binary_expression "iVar6 * 2 + iVar11" (binary_expression "iVar6 * 2" identifier * number_literal) + identifier)) ;) (expression_statement "iVar3 = iVar11 + -1;" (assignment_expression "iVar3 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" identifier = identifier) ;) (if_statement "if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }" if (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) )) (compound_statement "{\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }" { (expression_statement "iVar11 = param_1[2];" (assignment_expression "iVar11 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = iVar3 * 4;" (assignment_expression "iVar9 = iVar3 * 4" identifier = (binary_expression "iVar3 * 4" identifier * number_literal)) ;) (expression_statement "iVar4 = *(int *)(param_2 + 8);" (assignment_expression "iVar4 = *(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) ))))) ;) (if_statement "if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }" { (labeled_statement "LAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);" (call_expression "(*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_000534f4)" ( (pointer_expression "*(code *)PTR_memcpy_000534f4" * (cast_expression "(code *)PTR_memcpy_000534f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2)" ( (binary_expression "iVar11 + (iVar10 - iVar6) * 4" identifier + (binary_expression "(iVar10 - iVar6) * 4" (parenthesized_expression "(iVar10 - iVar6)" ( (binary_expression "iVar10 - iVar6" identifier - identifier) )) * number_literal)) , identifier , (binary_expression "iVar6 << 2" identifier << number_literal) ))) ;)) (expression_statement "iVar7 = iVar10 - iVar6;" (assignment_expression "iVar7 = iVar10 - iVar6" identifier = (binary_expression "iVar10 - iVar6" identifier - identifier)) ;) }) (else_clause "else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }" else (compound_statement "{\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }" { (do_statement "do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);" do (compound_statement "{\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          }" { (while_statement "while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }" { (expression_statement "iVar6 = *(int *)(iVar4 + iVar8 * 4);" (assignment_expression "iVar6 = *(int *)(iVar4 + iVar8 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar8 * 4)" * (cast_expression "(int *)(iVar4 + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar8 * 4)" ( (binary_expression "iVar4 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (*(int *)(iVar11 + iVar9) != iVar6) break;" if (parenthesized_expression "(*(int *)(iVar11 + iVar9) != iVar6)" ( (binary_expression "*(int *)(iVar11 + iVar9) != iVar6" (pointer_expression "*(int *)(iVar11 + iVar9)" * (cast_expression "(int *)(iVar11 + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar9)" ( (binary_expression "iVar11 + iVar9" identifier + identifier) )))) != identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" identifier = identifier) ;) (if_statement "if (iVar8 + -1 == -1) goto LAB_0002c0fc;" if (parenthesized_expression "(iVar8 + -1 == -1)" ( (binary_expression "iVar8 + -1 == -1" (binary_expression "iVar8 + -1" identifier + number_literal) == number_literal) )) (goto_statement "goto LAB_0002c0fc;" goto statement_identifier ;)) (expression_statement "iVar6 = iVar8;" (assignment_expression "iVar6 = iVar8" identifier = identifier) ;) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (if_statement "if (iVar3 == 0) goto LAB_0002c200;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002c200;" goto statement_identifier ;)) (labeled_statement "LAB_0002c1ec:\n              iVar3 = iVar3 + -1;" statement_identifier : (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;)) (expression_statement "iVar9 = iVar3 * 4;" (assignment_expression "iVar9 = iVar3 * 4" identifier = (binary_expression "iVar3 * 4" identifier * number_literal)) ;) })) (if_statement "if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }" if (parenthesized_expression "(iVar6 <= *(int *)(iVar11 + iVar9))" ( (binary_expression "iVar6 <= *(int *)(iVar11 + iVar9)" identifier <= (pointer_expression "*(int *)(iVar11 + iVar9)" * (cast_expression "(int *)(iVar11 + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar9)" ( (binary_expression "iVar11 + iVar9" identifier + identifier) ))))) )) (compound_statement "{\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }" { (expression_statement "iVar6 = iVar8 + 1;" (assignment_expression "iVar6 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 != 0) goto LAB_0002c1ec;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002c1ec;" goto statement_identifier ;)) (goto_statement "goto LAB_0002c200;" goto statement_identifier ;) })) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar11 + iVar10 * 4) = iVar6;" (assignment_expression "*(int *)(iVar11 + iVar10 * 4) = iVar6" (pointer_expression "*(int *)(iVar11 + iVar10 * 4)" * (cast_expression "(int *)(iVar11 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar10 * 4)" ( (binary_expression "iVar11 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iVar8 != -1)" ( (binary_expression "iVar8 != -1" identifier != number_literal) )) ;) }))) (labeled_statement "LAB_0002c0fc:\n        iVar11 = param_1[1];" statement_identifier : (expression_statement "iVar11 = param_1[1];" (assignment_expression "iVar11 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) (expression_statement "iVar3 = iVar11 + -1;" (assignment_expression "iVar3 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;" (assignment_expression "iVar10 = *(int *)(param_2 + 4) * 2 + iVar11" identifier = (binary_expression "*(int *)(param_2 + 4) * 2 + iVar11" (binary_expression "*(int *)(param_2 + 4) * 2" (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) )))) * number_literal) + identifier)) ;) })) (expression_statement "iVar6 = iVar10 - iVar7;" (assignment_expression "iVar6 = iVar10 - iVar7" identifier = (binary_expression "iVar10 - iVar7" identifier - identifier)) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }" { (expression_statement "iVar8 = param_1[2];" (assignment_expression "iVar8 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = iVar10 * 4;" (assignment_expression "iVar4 = iVar10 * 4" identifier = (binary_expression "iVar10 * 4" identifier * number_literal)) ;) (expression_statement "param_1[1] = iVar6 + iVar11;" (assignment_expression "param_1[1] = iVar6 + iVar11" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar6 + iVar11" identifier + identifier)) ;) (do_statement "do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);" do (compound_statement "{\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        }" { (expression_statement "iVar9 = *(int *)(iVar8 + iVar4);" (assignment_expression "iVar9 = *(int *)(iVar8 + iVar4)" identifier = (pointer_expression "*(int *)(iVar8 + iVar4)" * (cast_expression "(int *)(iVar8 + iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + iVar4)" ( (binary_expression "iVar8 + iVar4" identifier + identifier) ))))) ;) (expression_statement "iVar11 = *(int *)(iVar8 + iVar3 * 4);" (assignment_expression "iVar11 = *(int *)(iVar8 + iVar3 * 4)" identifier = (pointer_expression "*(int *)(iVar8 + iVar3 * 4)" * (cast_expression "(int *)(iVar8 + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + iVar3 * 4)" ( (binary_expression "iVar8 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);" (assignment_expression "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4)" identifier = (cast_expression "(int *)(iVar8 + (iVar3 + iVar6) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + (iVar3 + iVar6) * 4)" ( (binary_expression "iVar8 + (iVar3 + iVar6) * 4" identifier + (binary_expression "(iVar3 + iVar6) * 4" (parenthesized_expression "(iVar3 + iVar6)" ( (binary_expression "iVar3 + iVar6" identifier + identifier) )) * number_literal)) )))) ;) (if_statement "if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }" if (parenthesized_expression "(iVar11 < iVar9)" ( (binary_expression "iVar11 < iVar9" identifier < identifier) )) (compound_statement "{\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }" { (do_statement "do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);" do (compound_statement "{\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            }" { (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "*piVar2 = iVar9;" (assignment_expression "*piVar2 = iVar9" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar6 == 0) {\n                return 0;\n              }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                return 0;\n              }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = iVar10 * 4;" (assignment_expression "iVar4 = iVar10 * 4" identifier = (binary_expression "iVar10 * 4" identifier * number_literal)) ;) (expression_statement "iVar11 = *(int *)(iVar8 + iVar3 * 4);" (assignment_expression "iVar11 = *(int *)(iVar8 + iVar3 * 4)" identifier = (pointer_expression "*(int *)(iVar8 + iVar3 * 4)" * (cast_expression "(int *)(iVar8 + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + iVar3 * 4)" ( (binary_expression "iVar8 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar9 = *(int *)(iVar8 + iVar4);" (assignment_expression "iVar9 = *(int *)(iVar8 + iVar4)" identifier = (pointer_expression "*(int *)(iVar8 + iVar4)" * (cast_expression "(int *)(iVar8 + iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + iVar4)" ( (binary_expression "iVar8 + iVar4" identifier + identifier) ))))) ;) (expression_statement "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);" (assignment_expression "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4)" identifier = (cast_expression "(int *)(iVar8 + (iVar3 + iVar6) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + (iVar3 + iVar6) * 4)" ( (binary_expression "iVar8 + (iVar3 + iVar6) * 4" identifier + (binary_expression "(iVar3 + iVar6) * 4" (parenthesized_expression "(iVar3 + iVar6)" ( (binary_expression "iVar3 + iVar6" identifier + identifier) )) * number_literal)) )))) ;) }) while (parenthesized_expression "(iVar11 < iVar9)" ( (binary_expression "iVar11 < iVar9" identifier < identifier) )) ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "*piVar2 = iVar11;" (assignment_expression "*piVar2 = iVar11" (pointer_expression "*piVar2" * identifier) = identifier) ;) }) while (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) ;) (expression_statement "(*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);" (call_expression "(*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_000534f4)" ( (pointer_expression "*(code *)PTR_memcpy_000534f4" * (cast_expression "(code *)PTR_memcpy_000534f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8,iVar8 + iVar7 * 4,iVar6 << 2)" ( identifier , (binary_expression "iVar8 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) , (binary_expression "iVar6 << 2" identifier << number_literal) ))) ;) })) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "reg_errcode_t re_node_set_merge(re_node_set *dest,re_node_set *src)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  Idx *pIVar3;\n  Idx *pIVar4;\n  Idx IVar5;\n  int iVar6;\n  int iVar7;\n  Idx IVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (src != (re_node_set *)0x0) {\n    iVar6 = src->nelem;\n    if (iVar6 != 0) {\n      iVar11 = dest->nelem;\n      if (dest->alloc < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + dest->alloc;\n        pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);\n        if (pIVar3 == (Idx *)0x0) {\n          return _REG_ESPACE;\n        }\n        iVar11 = dest->nelem;\n        iVar6 = src->nelem;\n        dest->elems = pIVar3;\n        dest->alloc = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        pIVar3 = src->elems;\n        dest->nelem = iVar6;\n        (*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);\n        return _REG_NOERROR;\n      }\n      iVar7 = iVar6 + -1;\n      iVar9 = iVar6 * 2 + iVar11;\n      iVar2 = iVar11 + -1;\n      iVar10 = iVar9;\n      if (-1 < iVar7) {\n        pIVar3 = dest->elems;\n        iVar11 = iVar2 * 4;\n        pIVar4 = src->elems;\n        if (iVar2 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = dest->nelem;\n        iVar2 = iVar11 + -1;\n        iVar9 = src->nelem * 2 + iVar11;\n      }\n      iVar6 = iVar9 - iVar10;\n      iVar9 = iVar9 + -1;\n      if (iVar6 != 0) {\n        pIVar3 = dest->elems;\n        iVar7 = iVar9 * 4;\n        dest->nelem = iVar6 + iVar11;\n        do {\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        } while (-1 < iVar2);\n        (*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);\n      }\n    }\n  }\n  return _REG_NOERROR;\n}\n\n" (function_definition "reg_errcode_t re_node_set_merge(re_node_set *dest,re_node_set *src)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  Idx *pIVar3;\n  Idx *pIVar4;\n  Idx IVar5;\n  int iVar6;\n  int iVar7;\n  Idx IVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (src != (re_node_set *)0x0) {\n    iVar6 = src->nelem;\n    if (iVar6 != 0) {\n      iVar11 = dest->nelem;\n      if (dest->alloc < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + dest->alloc;\n        pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);\n        if (pIVar3 == (Idx *)0x0) {\n          return _REG_ESPACE;\n        }\n        iVar11 = dest->nelem;\n        iVar6 = src->nelem;\n        dest->elems = pIVar3;\n        dest->alloc = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        pIVar3 = src->elems;\n        dest->nelem = iVar6;\n        (*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);\n        return _REG_NOERROR;\n      }\n      iVar7 = iVar6 + -1;\n      iVar9 = iVar6 * 2 + iVar11;\n      iVar2 = iVar11 + -1;\n      iVar10 = iVar9;\n      if (-1 < iVar7) {\n        pIVar3 = dest->elems;\n        iVar11 = iVar2 * 4;\n        pIVar4 = src->elems;\n        if (iVar2 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = dest->nelem;\n        iVar2 = iVar11 + -1;\n        iVar9 = src->nelem * 2 + iVar11;\n      }\n      iVar6 = iVar9 - iVar10;\n      iVar9 = iVar9 + -1;\n      if (iVar6 != 0) {\n        pIVar3 = dest->elems;\n        iVar7 = iVar9 * 4;\n        dest->nelem = iVar6 + iVar11;\n        do {\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        } while (-1 < iVar2);\n        (*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);\n      }\n    }\n  }\n  return _REG_NOERROR;\n}" type_identifier (function_declarator "re_node_set_merge(re_node_set *dest,re_node_set *src)" identifier (parameter_list "(re_node_set *dest,re_node_set *src)" ( (parameter_declaration "re_node_set *dest" type_identifier (pointer_declarator "*dest" * identifier)) , (parameter_declaration "re_node_set *src" type_identifier (pointer_declarator "*src" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  Idx *pIVar3;\n  Idx *pIVar4;\n  Idx IVar5;\n  int iVar6;\n  int iVar7;\n  Idx IVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (src != (re_node_set *)0x0) {\n    iVar6 = src->nelem;\n    if (iVar6 != 0) {\n      iVar11 = dest->nelem;\n      if (dest->alloc < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + dest->alloc;\n        pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);\n        if (pIVar3 == (Idx *)0x0) {\n          return _REG_ESPACE;\n        }\n        iVar11 = dest->nelem;\n        iVar6 = src->nelem;\n        dest->elems = pIVar3;\n        dest->alloc = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        pIVar3 = src->elems;\n        dest->nelem = iVar6;\n        (*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);\n        return _REG_NOERROR;\n      }\n      iVar7 = iVar6 + -1;\n      iVar9 = iVar6 * 2 + iVar11;\n      iVar2 = iVar11 + -1;\n      iVar10 = iVar9;\n      if (-1 < iVar7) {\n        pIVar3 = dest->elems;\n        iVar11 = iVar2 * 4;\n        pIVar4 = src->elems;\n        if (iVar2 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = dest->nelem;\n        iVar2 = iVar11 + -1;\n        iVar9 = src->nelem * 2 + iVar11;\n      }\n      iVar6 = iVar9 - iVar10;\n      iVar9 = iVar9 + -1;\n      if (iVar6 != 0) {\n        pIVar3 = dest->elems;\n        iVar7 = iVar9 * 4;\n        dest->nelem = iVar6 + iVar11;\n        do {\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        } while (-1 < iVar2);\n        (*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);\n      }\n    }\n  }\n  return _REG_NOERROR;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Idx *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (declaration "Idx *pIVar4;" type_identifier (pointer_declarator "*pIVar4" * identifier) ;) (declaration "Idx IVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "Idx IVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (if_statement "if (src != (re_node_set *)0x0) {\n    iVar6 = src->nelem;\n    if (iVar6 != 0) {\n      iVar11 = dest->nelem;\n      if (dest->alloc < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + dest->alloc;\n        pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);\n        if (pIVar3 == (Idx *)0x0) {\n          return _REG_ESPACE;\n        }\n        iVar11 = dest->nelem;\n        iVar6 = src->nelem;\n        dest->elems = pIVar3;\n        dest->alloc = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        pIVar3 = src->elems;\n        dest->nelem = iVar6;\n        (*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);\n        return _REG_NOERROR;\n      }\n      iVar7 = iVar6 + -1;\n      iVar9 = iVar6 * 2 + iVar11;\n      iVar2 = iVar11 + -1;\n      iVar10 = iVar9;\n      if (-1 < iVar7) {\n        pIVar3 = dest->elems;\n        iVar11 = iVar2 * 4;\n        pIVar4 = src->elems;\n        if (iVar2 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = dest->nelem;\n        iVar2 = iVar11 + -1;\n        iVar9 = src->nelem * 2 + iVar11;\n      }\n      iVar6 = iVar9 - iVar10;\n      iVar9 = iVar9 + -1;\n      if (iVar6 != 0) {\n        pIVar3 = dest->elems;\n        iVar7 = iVar9 * 4;\n        dest->nelem = iVar6 + iVar11;\n        do {\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        } while (-1 < iVar2);\n        (*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);\n      }\n    }\n  }" if (parenthesized_expression "(src != (re_node_set *)0x0)" ( (binary_expression "src != (re_node_set *)0x0" identifier != (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar6 = src->nelem;\n    if (iVar6 != 0) {\n      iVar11 = dest->nelem;\n      if (dest->alloc < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + dest->alloc;\n        pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);\n        if (pIVar3 == (Idx *)0x0) {\n          return _REG_ESPACE;\n        }\n        iVar11 = dest->nelem;\n        iVar6 = src->nelem;\n        dest->elems = pIVar3;\n        dest->alloc = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        pIVar3 = src->elems;\n        dest->nelem = iVar6;\n        (*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);\n        return _REG_NOERROR;\n      }\n      iVar7 = iVar6 + -1;\n      iVar9 = iVar6 * 2 + iVar11;\n      iVar2 = iVar11 + -1;\n      iVar10 = iVar9;\n      if (-1 < iVar7) {\n        pIVar3 = dest->elems;\n        iVar11 = iVar2 * 4;\n        pIVar4 = src->elems;\n        if (iVar2 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = dest->nelem;\n        iVar2 = iVar11 + -1;\n        iVar9 = src->nelem * 2 + iVar11;\n      }\n      iVar6 = iVar9 - iVar10;\n      iVar9 = iVar9 + -1;\n      if (iVar6 != 0) {\n        pIVar3 = dest->elems;\n        iVar7 = iVar9 * 4;\n        dest->nelem = iVar6 + iVar11;\n        do {\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        } while (-1 < iVar2);\n        (*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);\n      }\n    }\n  }" { (expression_statement "iVar6 = src->nelem;" (assignment_expression "iVar6 = src->nelem" identifier = (field_expression "src->nelem" identifier -> field_identifier)) ;) (if_statement "if (iVar6 != 0) {\n      iVar11 = dest->nelem;\n      if (dest->alloc < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + dest->alloc;\n        pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);\n        if (pIVar3 == (Idx *)0x0) {\n          return _REG_ESPACE;\n        }\n        iVar11 = dest->nelem;\n        iVar6 = src->nelem;\n        dest->elems = pIVar3;\n        dest->alloc = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        pIVar3 = src->elems;\n        dest->nelem = iVar6;\n        (*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);\n        return _REG_NOERROR;\n      }\n      iVar7 = iVar6 + -1;\n      iVar9 = iVar6 * 2 + iVar11;\n      iVar2 = iVar11 + -1;\n      iVar10 = iVar9;\n      if (-1 < iVar7) {\n        pIVar3 = dest->elems;\n        iVar11 = iVar2 * 4;\n        pIVar4 = src->elems;\n        if (iVar2 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = dest->nelem;\n        iVar2 = iVar11 + -1;\n        iVar9 = src->nelem * 2 + iVar11;\n      }\n      iVar6 = iVar9 - iVar10;\n      iVar9 = iVar9 + -1;\n      if (iVar6 != 0) {\n        pIVar3 = dest->elems;\n        iVar7 = iVar9 * 4;\n        dest->nelem = iVar6 + iVar11;\n        do {\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        } while (-1 < iVar2);\n        (*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);\n      }\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar11 = dest->nelem;\n      if (dest->alloc < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + dest->alloc;\n        pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);\n        if (pIVar3 == (Idx *)0x0) {\n          return _REG_ESPACE;\n        }\n        iVar11 = dest->nelem;\n        iVar6 = src->nelem;\n        dest->elems = pIVar3;\n        dest->alloc = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        pIVar3 = src->elems;\n        dest->nelem = iVar6;\n        (*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);\n        return _REG_NOERROR;\n      }\n      iVar7 = iVar6 + -1;\n      iVar9 = iVar6 * 2 + iVar11;\n      iVar2 = iVar11 + -1;\n      iVar10 = iVar9;\n      if (-1 < iVar7) {\n        pIVar3 = dest->elems;\n        iVar11 = iVar2 * 4;\n        pIVar4 = src->elems;\n        if (iVar2 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = dest->nelem;\n        iVar2 = iVar11 + -1;\n        iVar9 = src->nelem * 2 + iVar11;\n      }\n      iVar6 = iVar9 - iVar10;\n      iVar9 = iVar9 + -1;\n      if (iVar6 != 0) {\n        pIVar3 = dest->elems;\n        iVar7 = iVar9 * 4;\n        dest->nelem = iVar6 + iVar11;\n        do {\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        } while (-1 < iVar2);\n        (*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);\n      }\n    }" { (expression_statement "iVar11 = dest->nelem;" (assignment_expression "iVar11 = dest->nelem" identifier = (field_expression "dest->nelem" identifier -> field_identifier)) ;) (if_statement "if (dest->alloc < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + dest->alloc;\n        pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);\n        if (pIVar3 == (Idx *)0x0) {\n          return _REG_ESPACE;\n        }\n        iVar11 = dest->nelem;\n        iVar6 = src->nelem;\n        dest->elems = pIVar3;\n        dest->alloc = iVar7 * 2;\n      }" if (parenthesized_expression "(dest->alloc < iVar6 * 2 + iVar11)" ( (binary_expression "dest->alloc < iVar6 * 2 + iVar11" (field_expression "dest->alloc" identifier -> field_identifier) < (binary_expression "iVar6 * 2 + iVar11" (binary_expression "iVar6 * 2" identifier * number_literal) + identifier)) )) (compound_statement "{\n        iVar7 = iVar6 + dest->alloc;\n        pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);\n        if (pIVar3 == (Idx *)0x0) {\n          return _REG_ESPACE;\n        }\n        iVar11 = dest->nelem;\n        iVar6 = src->nelem;\n        dest->elems = pIVar3;\n        dest->alloc = iVar7 * 2;\n      }" { (expression_statement "iVar7 = iVar6 + dest->alloc;" (assignment_expression "iVar7 = iVar6 + dest->alloc" identifier = (binary_expression "iVar6 + dest->alloc" identifier + (field_expression "dest->alloc" identifier -> field_identifier))) ;) (expression_statement "pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8);" (assignment_expression "pIVar3 = (Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8)" identifier = (cast_expression "(Idx *)(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8)" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_00053478)(dest->elems,iVar7 * 8)" (parenthesized_expression "(*(code *)PTR_realloc_00053478)" ( (pointer_expression "*(code *)PTR_realloc_00053478" * (cast_expression "(code *)PTR_realloc_00053478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dest->elems,iVar7 * 8)" ( (field_expression "dest->elems" identifier -> field_identifier) , (binary_expression "iVar7 * 8" identifier * number_literal) ))))) ;) (if_statement "if (pIVar3 == (Idx *)0x0) {\n          return _REG_ESPACE;\n        }" if (parenthesized_expression "(pIVar3 == (Idx *)0x0)" ( (binary_expression "pIVar3 == (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 "iVar11 = dest->nelem;" (assignment_expression "iVar11 = dest->nelem" identifier = (field_expression "dest->nelem" identifier -> field_identifier)) ;) (expression_statement "iVar6 = src->nelem;" (assignment_expression "iVar6 = src->nelem" identifier = (field_expression "src->nelem" identifier -> field_identifier)) ;) (expression_statement "dest->elems = pIVar3;" (assignment_expression "dest->elems = pIVar3" (field_expression "dest->elems" identifier -> field_identifier) = identifier) ;) (expression_statement "dest->alloc = iVar7 * 2;" (assignment_expression "dest->alloc = iVar7 * 2" (field_expression "dest->alloc" identifier -> field_identifier) = (binary_expression "iVar7 * 2" identifier * number_literal)) ;) })) (expression_statement "puVar1 = PTR_memcpy_000534f4;" (assignment_expression "puVar1 = PTR_memcpy_000534f4" identifier = identifier) ;) (if_statement "if (iVar11 == 0) {\n        pIVar3 = src->elems;\n        dest->nelem = iVar6;\n        (*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);\n        return _REG_NOERROR;\n      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        pIVar3 = src->elems;\n        dest->nelem = iVar6;\n        (*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);\n        return _REG_NOERROR;\n      }" { (expression_statement "pIVar3 = src->elems;" (assignment_expression "pIVar3 = src->elems" identifier = (field_expression "src->elems" identifier -> field_identifier)) ;) (expression_statement "dest->nelem = iVar6;" (assignment_expression "dest->nelem = iVar6" (field_expression "dest->nelem" identifier -> field_identifier) = identifier) ;) (expression_statement "(*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2);" (call_expression "(*(code *)puVar1)(dest->elems,pIVar3,src->nelem << 2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dest->elems,pIVar3,src->nelem << 2)" ( (field_expression "dest->elems" identifier -> field_identifier) , identifier , (binary_expression "src->nelem << 2" (field_expression "src->nelem" identifier -> field_identifier) << number_literal) ))) ;) (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "iVar7 = iVar6 + -1;" (assignment_expression "iVar7 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar9 = iVar6 * 2 + iVar11;" (assignment_expression "iVar9 = iVar6 * 2 + iVar11" identifier = (binary_expression "iVar6 * 2 + iVar11" (binary_expression "iVar6 * 2" identifier * number_literal) + identifier)) ;) (expression_statement "iVar2 = iVar11 + -1;" (assignment_expression "iVar2 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = iVar9;" (assignment_expression "iVar10 = iVar9" identifier = identifier) ;) (if_statement "if (-1 < iVar7) {\n        pIVar3 = dest->elems;\n        iVar11 = iVar2 * 4;\n        pIVar4 = src->elems;\n        if (iVar2 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = dest->nelem;\n        iVar2 = iVar11 + -1;\n        iVar9 = src->nelem * 2 + iVar11;\n      }" if (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) (compound_statement "{\n        pIVar3 = dest->elems;\n        iVar11 = iVar2 * 4;\n        pIVar4 = src->elems;\n        if (iVar2 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = dest->nelem;\n        iVar2 = iVar11 + -1;\n        iVar9 = src->nelem * 2 + iVar11;\n      }" { (expression_statement "pIVar3 = dest->elems;" (assignment_expression "pIVar3 = dest->elems" identifier = (field_expression "dest->elems" identifier -> field_identifier)) ;) (expression_statement "iVar11 = iVar2 * 4;" (assignment_expression "iVar11 = iVar2 * 4" identifier = (binary_expression "iVar2 * 4" identifier * number_literal)) ;) (expression_statement "pIVar4 = src->elems;" (assignment_expression "pIVar4 = src->elems" identifier = (field_expression "src->elems" identifier -> field_identifier)) ;) (if_statement "if (iVar2 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);\n          iVar10 = iVar9 - iVar6;\n        }" { (labeled_statement "LAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2);" (call_expression "(*(code *)PTR_memcpy_000534f4)(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_000534f4)" ( (pointer_expression "*(code *)PTR_memcpy_000534f4" * (cast_expression "(code *)PTR_memcpy_000534f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar3 + (iVar9 - iVar6),pIVar4,iVar6 << 2)" ( (binary_expression "pIVar3 + (iVar9 - iVar6)" identifier + (parenthesized_expression "(iVar9 - iVar6)" ( (binary_expression "iVar9 - iVar6" identifier - identifier) ))) , identifier , (binary_expression "iVar6 << 2" identifier << number_literal) ))) ;)) (expression_statement "iVar10 = iVar9 - iVar6;" (assignment_expression "iVar10 = iVar9 - iVar6" identifier = (binary_expression "iVar9 - iVar6" identifier - identifier)) ;) }) (else_clause "else {\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }" else (compound_statement "{\n          do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);\n        }" { (do_statement "do {\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          } while (iVar7 != -1);" do (compound_statement "{\n            while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }\n            if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar9 = iVar9 + -1;\n            iVar7 = iVar7 + -1;\n            pIVar3[iVar9] = iVar6;\n            iVar10 = iVar9;\n          }" { (while_statement "while( true ) {\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              iVar6 = pIVar4[iVar7];\n              if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;\n              iVar10 = iVar9;\n              if (iVar7 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar7;\n              iVar7 = iVar7 + -1;\n              if (iVar2 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar2 = iVar2 + -1;\n              iVar11 = iVar2 * 4;\n            }" { (expression_statement "iVar6 = pIVar4[iVar7];" (assignment_expression "iVar6 = pIVar4[iVar7]" identifier = (subscript_expression "pIVar4[iVar7]" identifier [ identifier ])) ;) (if_statement "if (*(int *)((int)pIVar3 + iVar11) != iVar6) break;" if (parenthesized_expression "(*(int *)((int)pIVar3 + iVar11) != iVar6)" ( (binary_expression "*(int *)((int)pIVar3 + iVar11) != iVar6" (pointer_expression "*(int *)((int)pIVar3 + iVar11)" * (cast_expression "(int *)((int)pIVar3 + iVar11)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pIVar3 + iVar11)" ( (binary_expression "(int)pIVar3 + iVar11" (cast_expression "(int)pIVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) != identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = iVar9;" (assignment_expression "iVar10 = iVar9" identifier = identifier) ;) (if_statement "if (iVar7 + -1 == -1) goto LAB_0002c0fc;" if (parenthesized_expression "(iVar7 + -1 == -1)" ( (binary_expression "iVar7 + -1 == -1" (binary_expression "iVar7 + -1" identifier + number_literal) == number_literal) )) (goto_statement "goto LAB_0002c0fc;" goto statement_identifier ;)) (expression_statement "iVar6 = iVar7;" (assignment_expression "iVar6 = iVar7" identifier = identifier) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (if_statement "if (iVar2 == 0) goto LAB_0002c200;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002c200;" goto statement_identifier ;)) (labeled_statement "LAB_0002c1ec:\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 "iVar11 = iVar2 * 4;" (assignment_expression "iVar11 = iVar2 * 4" identifier = (binary_expression "iVar2 * 4" identifier * number_literal)) ;) })) (if_statement "if (iVar6 <= *(int *)((int)pIVar3 + iVar11)) {\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }" if (parenthesized_expression "(iVar6 <= *(int *)((int)pIVar3 + iVar11))" ( (binary_expression "iVar6 <= *(int *)((int)pIVar3 + iVar11)" identifier <= (pointer_expression "*(int *)((int)pIVar3 + iVar11)" * (cast_expression "(int *)((int)pIVar3 + iVar11)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pIVar3 + iVar11)" ( (binary_expression "(int)pIVar3 + iVar11" (cast_expression "(int)pIVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) )) (compound_statement "{\n              iVar6 = iVar7 + 1;\n              if (iVar2 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }" { (expression_statement "iVar6 = iVar7 + 1;" (assignment_expression "iVar6 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 != 0) goto LAB_0002c1ec;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002c1ec;" goto statement_identifier ;)) (goto_statement "goto LAB_0002c200;" goto statement_identifier ;) })) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "pIVar3[iVar9] = iVar6;" (assignment_expression "pIVar3[iVar9] = iVar6" (subscript_expression "pIVar3[iVar9]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar10 = iVar9;" (assignment_expression "iVar10 = iVar9" identifier = identifier) ;) }) while (parenthesized_expression "(iVar7 != -1)" ( (binary_expression "iVar7 != -1" identifier != number_literal) )) ;) }))) (labeled_statement "LAB_0002c0fc:\n        iVar11 = dest->nelem;" statement_identifier : (expression_statement "iVar11 = dest->nelem;" (assignment_expression "iVar11 = dest->nelem" identifier = (field_expression "dest->nelem" identifier -> field_identifier)) ;)) (expression_statement "iVar2 = iVar11 + -1;" (assignment_expression "iVar2 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "iVar9 = src->nelem * 2 + iVar11;" (assignment_expression "iVar9 = src->nelem * 2 + iVar11" identifier = (binary_expression "src->nelem * 2 + iVar11" (binary_expression "src->nelem * 2" (field_expression "src->nelem" identifier -> field_identifier) * number_literal) + identifier)) ;) })) (expression_statement "iVar6 = iVar9 - iVar10;" (assignment_expression "iVar6 = iVar9 - iVar10" identifier = (binary_expression "iVar9 - iVar10" identifier - identifier)) ;) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (if_statement "if (iVar6 != 0) {\n        pIVar3 = dest->elems;\n        iVar7 = iVar9 * 4;\n        dest->nelem = iVar6 + iVar11;\n        do {\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        } while (-1 < iVar2);\n        (*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        pIVar3 = dest->elems;\n        iVar7 = iVar9 * 4;\n        dest->nelem = iVar6 + iVar11;\n        do {\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        } while (-1 < iVar2);\n        (*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);\n      }" { (expression_statement "pIVar3 = dest->elems;" (assignment_expression "pIVar3 = dest->elems" identifier = (field_expression "dest->elems" identifier -> field_identifier)) ;) (expression_statement "iVar7 = iVar9 * 4;" (assignment_expression "iVar7 = iVar9 * 4" identifier = (binary_expression "iVar9 * 4" identifier * number_literal)) ;) (expression_statement "dest->nelem = iVar6 + iVar11;" (assignment_expression "dest->nelem = iVar6 + iVar11" (field_expression "dest->nelem" identifier -> field_identifier) = (binary_expression "iVar6 + iVar11" identifier + identifier)) ;) (do_statement "do {\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        } while (-1 < iVar2);" do (compound_statement "{\n          IVar8 = *(int *)((int)pIVar3 + iVar7);\n          IVar5 = pIVar3[iVar2];\n          pIVar4 = pIVar3 + iVar2 + iVar6;\n          if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }\n          iVar2 = iVar2 + -1;\n          *pIVar4 = IVar5;\n        }" { (expression_statement "IVar8 = *(int *)((int)pIVar3 + iVar7);" (assignment_expression "IVar8 = *(int *)((int)pIVar3 + iVar7)" identifier = (pointer_expression "*(int *)((int)pIVar3 + iVar7)" * (cast_expression "(int *)((int)pIVar3 + iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pIVar3 + iVar7)" ( (binary_expression "(int)pIVar3 + iVar7" (cast_expression "(int)pIVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "IVar5 = pIVar3[iVar2];" (assignment_expression "IVar5 = pIVar3[iVar2]" identifier = (subscript_expression "pIVar3[iVar2]" identifier [ identifier ])) ;) (expression_statement "pIVar4 = pIVar3 + iVar2 + iVar6;" (assignment_expression "pIVar4 = pIVar3 + iVar2 + iVar6" identifier = (binary_expression "pIVar3 + iVar2 + iVar6" (binary_expression "pIVar3 + iVar2" identifier + identifier) + identifier)) ;) (if_statement "if (IVar5 < IVar8) {\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }" if (parenthesized_expression "(IVar5 < IVar8)" ( (binary_expression "IVar5 < IVar8" identifier < identifier) )) (compound_statement "{\n            do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);\n          }" { (do_statement "do {\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            } while (IVar5 < IVar8);" do (compound_statement "{\n              iVar6 = iVar6 + -1;\n              *pIVar4 = IVar8;\n              iVar9 = iVar9 + -1;\n              if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }\n              iVar7 = iVar9 * 4;\n              IVar5 = pIVar3[iVar2];\n              IVar8 = pIVar3[iVar9];\n              pIVar4 = pIVar3 + iVar2 + iVar6;\n            }" { (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "*pIVar4 = IVar8;" (assignment_expression "*pIVar4 = IVar8" (pointer_expression "*pIVar4" * identifier) = identifier) ;) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (if_statement "if (iVar6 == 0) {\n                return _REG_NOERROR;\n              }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                return _REG_NOERROR;\n              }" { (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "iVar7 = iVar9 * 4;" (assignment_expression "iVar7 = iVar9 * 4" identifier = (binary_expression "iVar9 * 4" identifier * number_literal)) ;) (expression_statement "IVar5 = pIVar3[iVar2];" (assignment_expression "IVar5 = pIVar3[iVar2]" identifier = (subscript_expression "pIVar3[iVar2]" identifier [ identifier ])) ;) (expression_statement "IVar8 = pIVar3[iVar9];" (assignment_expression "IVar8 = pIVar3[iVar9]" identifier = (subscript_expression "pIVar3[iVar9]" identifier [ identifier ])) ;) (expression_statement "pIVar4 = pIVar3 + iVar2 + iVar6;" (assignment_expression "pIVar4 = pIVar3 + iVar2 + iVar6" identifier = (binary_expression "pIVar3 + iVar2 + iVar6" (binary_expression "pIVar3 + iVar2" identifier + identifier) + identifier)) ;) }) while (parenthesized_expression "(IVar5 < IVar8)" ( (binary_expression "IVar5 < IVar8" identifier < identifier) )) ;) })) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "*pIVar4 = IVar5;" (assignment_expression "*pIVar4 = IVar5" (pointer_expression "*pIVar4" * identifier) = identifier) ;) }) while (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) ;) (expression_statement "(*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2);" (call_expression "(*(code *)PTR_memcpy_000534f4)(pIVar3,pIVar3 + iVar10,iVar6 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_000534f4)" ( (pointer_expression "*(code *)PTR_memcpy_000534f4" * (cast_expression "(code *)PTR_memcpy_000534f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar3,pIVar3 + iVar10,iVar6 << 2)" ( identifier , (binary_expression "pIVar3 + iVar10" identifier + identifier) , (binary_expression "iVar6 << 2" identifier << number_literal) ))) ;) })) })) })) (return_statement "return _REG_NOERROR;" return identifier ;) })))
(translation_unit "undefined4 FUN_0002c03c(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0002c03c(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0002c03c(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier 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 ;) (if_statement "if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }" { (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_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) ))))) ;) (if_statement "if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }" { (expression_statement "iVar11 = param_1[1];" (assignment_expression "iVar11 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }" if (parenthesized_expression "(*param_1 < iVar6 * 2 + iVar11)" ( (binary_expression "*param_1 < iVar6 * 2 + iVar11" (pointer_expression "*param_1" * identifier) < (binary_expression "iVar6 * 2 + iVar11" (binary_expression "iVar6 * 2" identifier * number_literal) + identifier)) )) (compound_statement "{\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }" { (expression_statement "iVar7 = iVar6 + *param_1;" (assignment_expression "iVar7 = iVar6 + *param_1" identifier = (binary_expression "iVar6 + *param_1" identifier + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);" (assignment_expression "iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8)" identifier = (call_expression "(*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8)" (parenthesized_expression "(*(code *)PTR_realloc_00053478)" ( (pointer_expression "*(code *)PTR_realloc_00053478" * (cast_expression "(code *)PTR_realloc_00053478" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],iVar7 * 8)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "iVar7 * 8" identifier * number_literal) )))) ;) (if_statement "if (iVar8 == 0) {\n          return 0xc;\n        }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0xc;\n        }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar11 = param_1[1];" (assignment_expression "iVar11 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_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) ))))) ;) (expression_statement "param_1[2] = iVar8;" (assignment_expression "param_1[2] = iVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = iVar7 * 2;" (assignment_expression "*param_1 = iVar7 * 2" (pointer_expression "*param_1" * identifier) = (binary_expression "iVar7 * 2" identifier * number_literal)) ;) })) (expression_statement "puVar1 = PTR_memcpy_000534f4;" (assignment_expression "puVar1 = PTR_memcpy_000534f4" identifier = identifier) ;) (if_statement "if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }" { (expression_statement "uVar5 = *(undefined4 *)(param_2 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(param_2 + 8)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);" (call_expression "(*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],uVar5,*(int *)(param_2 + 4) << 2)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , identifier , (binary_expression "*(int *)(param_2 + 4) << 2" (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) )))) << number_literal) ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar8 = iVar6 + -1;" (assignment_expression "iVar8 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = iVar6 * 2 + iVar11;" (assignment_expression "iVar10 = iVar6 * 2 + iVar11" identifier = (binary_expression "iVar6 * 2 + iVar11" (binary_expression "iVar6 * 2" identifier * number_literal) + identifier)) ;) (expression_statement "iVar3 = iVar11 + -1;" (assignment_expression "iVar3 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" identifier = identifier) ;) (if_statement "if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }" if (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) )) (compound_statement "{\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }" { (expression_statement "iVar11 = param_1[2];" (assignment_expression "iVar11 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = iVar3 * 4;" (assignment_expression "iVar9 = iVar3 * 4" identifier = (binary_expression "iVar3 * 4" identifier * number_literal)) ;) (expression_statement "iVar4 = *(int *)(param_2 + 8);" (assignment_expression "iVar4 = *(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) ))))) ;) (if_statement "if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }" { (labeled_statement "LAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);" (call_expression "(*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_000534f4)" ( (pointer_expression "*(code *)PTR_memcpy_000534f4" * (cast_expression "(code *)PTR_memcpy_000534f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2)" ( (binary_expression "iVar11 + (iVar10 - iVar6) * 4" identifier + (binary_expression "(iVar10 - iVar6) * 4" (parenthesized_expression "(iVar10 - iVar6)" ( (binary_expression "iVar10 - iVar6" identifier - identifier) )) * number_literal)) , identifier , (binary_expression "iVar6 << 2" identifier << number_literal) ))) ;)) (expression_statement "iVar7 = iVar10 - iVar6;" (assignment_expression "iVar7 = iVar10 - iVar6" identifier = (binary_expression "iVar10 - iVar6" identifier - identifier)) ;) }) (else_clause "else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }" else (compound_statement "{\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }" { (do_statement "do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);" do (compound_statement "{\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          }" { (while_statement "while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }" { (expression_statement "iVar6 = *(int *)(iVar4 + iVar8 * 4);" (assignment_expression "iVar6 = *(int *)(iVar4 + iVar8 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar8 * 4)" * (cast_expression "(int *)(iVar4 + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar8 * 4)" ( (binary_expression "iVar4 + iVar8 * 4" identifier + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (*(int *)(iVar11 + iVar9) != iVar6) break;" if (parenthesized_expression "(*(int *)(iVar11 + iVar9) != iVar6)" ( (binary_expression "*(int *)(iVar11 + iVar9) != iVar6" (pointer_expression "*(int *)(iVar11 + iVar9)" * (cast_expression "(int *)(iVar11 + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar9)" ( (binary_expression "iVar11 + iVar9" identifier + identifier) )))) != identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" identifier = identifier) ;) (if_statement "if (iVar8 + -1 == -1) goto LAB_0002c0fc;" if (parenthesized_expression "(iVar8 + -1 == -1)" ( (binary_expression "iVar8 + -1 == -1" (binary_expression "iVar8 + -1" identifier + number_literal) == number_literal) )) (goto_statement "goto LAB_0002c0fc;" goto statement_identifier ;)) (expression_statement "iVar6 = iVar8;" (assignment_expression "iVar6 = iVar8" identifier = identifier) ;) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (if_statement "if (iVar3 == 0) goto LAB_0002c200;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0002c200;" goto statement_identifier ;)) (labeled_statement "LAB_0002c1ec:\n              iVar3 = iVar3 + -1;" statement_identifier : (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;)) (expression_statement "iVar9 = iVar3 * 4;" (assignment_expression "iVar9 = iVar3 * 4" identifier = (binary_expression "iVar3 * 4" identifier * number_literal)) ;) })) (if_statement "if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }" if (parenthesized_expression "(iVar6 <= *(int *)(iVar11 + iVar9))" ( (binary_expression "iVar6 <= *(int *)(iVar11 + iVar9)" identifier <= (pointer_expression "*(int *)(iVar11 + iVar9)" * (cast_expression "(int *)(iVar11 + iVar9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar9)" ( (binary_expression "iVar11 + iVar9" identifier + identifier) ))))) )) (compound_statement "{\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }" { (expression_statement "iVar6 = iVar8 + 1;" (assignment_expression "iVar6 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar3 != 0) goto LAB_0002c1ec;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002c1ec;" goto statement_identifier ;)) (goto_statement "goto LAB_0002c200;" goto statement_identifier ;) })) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar11 + iVar10 * 4) = iVar6;" (assignment_expression "*(int *)(iVar11 + iVar10 * 4) = iVar6" (pointer_expression "*(int *)(iVar11 + iVar10 * 4)" * (cast_expression "(int *)(iVar11 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + iVar10 * 4)" ( (binary_expression "iVar11 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" identifier = identifier) ;) }) while (parenthesized_expression "(iVar8 != -1)" ( (binary_expression "iVar8 != -1" identifier != number_literal) )) ;) }))) (labeled_statement "LAB_0002c0fc:\n        iVar11 = param_1[1];" statement_identifier : (expression_statement "iVar11 = param_1[1];" (assignment_expression "iVar11 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) (expression_statement "iVar3 = iVar11 + -1;" (assignment_expression "iVar3 = iVar11 + -1" identifier = (binary_expression "iVar11 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;" (assignment_expression "iVar10 = *(int *)(param_2 + 4) * 2 + iVar11" identifier = (binary_expression "*(int *)(param_2 + 4) * 2 + iVar11" (binary_expression "*(int *)(param_2 + 4) * 2" (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) )))) * number_literal) + identifier)) ;) })) (expression_statement "iVar6 = iVar10 - iVar7;" (assignment_expression "iVar6 = iVar10 - iVar7" identifier = (binary_expression "iVar10 - iVar7" identifier - identifier)) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }" { (expression_statement "iVar8 = param_1[2];" (assignment_expression "iVar8 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = iVar10 * 4;" (assignment_expression "iVar4 = iVar10 * 4" identifier = (binary_expression "iVar10 * 4" identifier * number_literal)) ;) (expression_statement "param_1[1] = iVar6 + iVar11;" (assignment_expression "param_1[1] = iVar6 + iVar11" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar6 + iVar11" identifier + identifier)) ;) (do_statement "do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);" do (compound_statement "{\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        }" { (expression_statement "iVar9 = *(int *)(iVar8 + iVar4);" (assignment_expression "iVar9 = *(int *)(iVar8 + iVar4)" identifier = (pointer_expression "*(int *)(iVar8 + iVar4)" * (cast_expression "(int *)(iVar8 + iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + iVar4)" ( (binary_expression "iVar8 + iVar4" identifier + identifier) ))))) ;) (expression_statement "iVar11 = *(int *)(iVar8 + iVar3 * 4);" (assignment_expression "iVar11 = *(int *)(iVar8 + iVar3 * 4)" identifier = (pointer_expression "*(int *)(iVar8 + iVar3 * 4)" * (cast_expression "(int *)(iVar8 + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + iVar3 * 4)" ( (binary_expression "iVar8 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);" (assignment_expression "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4)" identifier = (cast_expression "(int *)(iVar8 + (iVar3 + iVar6) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + (iVar3 + iVar6) * 4)" ( (binary_expression "iVar8 + (iVar3 + iVar6) * 4" identifier + (binary_expression "(iVar3 + iVar6) * 4" (parenthesized_expression "(iVar3 + iVar6)" ( (binary_expression "iVar3 + iVar6" identifier + identifier) )) * number_literal)) )))) ;) (if_statement "if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }" if (parenthesized_expression "(iVar11 < iVar9)" ( (binary_expression "iVar11 < iVar9" identifier < identifier) )) (compound_statement "{\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }" { (do_statement "do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);" do (compound_statement "{\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            }" { (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "*piVar2 = iVar9;" (assignment_expression "*piVar2 = iVar9" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if (iVar6 == 0) {\n                return 0;\n              }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                return 0;\n              }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = iVar10 * 4;" (assignment_expression "iVar4 = iVar10 * 4" identifier = (binary_expression "iVar10 * 4" identifier * number_literal)) ;) (expression_statement "iVar11 = *(int *)(iVar8 + iVar3 * 4);" (assignment_expression "iVar11 = *(int *)(iVar8 + iVar3 * 4)" identifier = (pointer_expression "*(int *)(iVar8 + iVar3 * 4)" * (cast_expression "(int *)(iVar8 + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + iVar3 * 4)" ( (binary_expression "iVar8 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar9 = *(int *)(iVar8 + iVar4);" (assignment_expression "iVar9 = *(int *)(iVar8 + iVar4)" identifier = (pointer_expression "*(int *)(iVar8 + iVar4)" * (cast_expression "(int *)(iVar8 + iVar4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + iVar4)" ( (binary_expression "iVar8 + iVar4" identifier + identifier) ))))) ;) (expression_statement "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);" (assignment_expression "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4)" identifier = (cast_expression "(int *)(iVar8 + (iVar3 + iVar6) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + (iVar3 + iVar6) * 4)" ( (binary_expression "iVar8 + (iVar3 + iVar6) * 4" identifier + (binary_expression "(iVar3 + iVar6) * 4" (parenthesized_expression "(iVar3 + iVar6)" ( (binary_expression "iVar3 + iVar6" identifier + identifier) )) * number_literal)) )))) ;) }) while (parenthesized_expression "(iVar11 < iVar9)" ( (binary_expression "iVar11 < iVar9" identifier < identifier) )) ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "*piVar2 = iVar11;" (assignment_expression "*piVar2 = iVar11" (pointer_expression "*piVar2" * identifier) = identifier) ;) }) while (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) ;) (expression_statement "(*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);" (call_expression "(*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_000534f4)" ( (pointer_expression "*(code *)PTR_memcpy_000534f4" * (cast_expression "(code *)PTR_memcpy_000534f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8,iVar8 + iVar7 * 4,iVar6 << 2)" ( identifier , (binary_expression "iVar8 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) , (binary_expression "iVar6 << 2" identifier << number_literal) ))) ;) })) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * 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 ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression (binary_expression IDENT * LIT) + IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression 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 ( (subscript_expression IDENT [ LIT ]) , (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT * LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) * LIT)) , IDENT , (binary_expression IDENT << LIT) ))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) != IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement 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 IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT) + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_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 = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) (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 { (return_statement return 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 + (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 LIT < IDENT) )) ;) (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)) , (binary_expression IDENT << LIT) ))) ;) })) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0002c03c(int *param_1,int param_2)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0002c03c(int *param_1,int param_2)" (identifier "FUN_0002c03c") (parameter_list "(int *param_1,int param_2)" (( "(") (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")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  \n  if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (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") (; ";")) (if_statement "if (param_2 != 0) {\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = *(int *)(param_2 + 4);\n    if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }\n  }" ({ "{") (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_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")) () ")"))))) (; ";")) (if_statement "if (iVar6 != 0) {\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar11 = param_1[1];\n      if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }\n      puVar1 = PTR_memcpy_000534f4;\n      if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }\n      iVar8 = iVar6 + -1;\n      iVar10 = iVar6 * 2 + iVar11;\n      iVar3 = iVar11 + -1;\n      iVar7 = iVar10;\n      if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }\n      iVar6 = iVar10 - iVar7;\n      iVar10 = iVar10 + -1;\n      if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }\n    }" ({ "{") (expression_statement "iVar11 = param_1[1];" (assignment_expression "iVar11 = param_1[1]" (identifier "iVar11") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (*param_1 < iVar6 * 2 + iVar11) {\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }" (if "if") (parenthesized_expression "(*param_1 < iVar6 * 2 + iVar11)" (( "(") (binary_expression "*param_1 < iVar6 * 2 + iVar11" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (< "<") (binary_expression "iVar6 * 2 + iVar11" (binary_expression "iVar6 * 2" (identifier "iVar6") (* "*") (number_literal "2")) (+ "+") (identifier "iVar11"))) () ")")) (compound_statement "{\n        iVar7 = iVar6 + *param_1;\n        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);\n        if (iVar8 == 0) {\n          return 0xc;\n        }\n        iVar11 = param_1[1];\n        iVar6 = *(int *)(param_2 + 4);\n        param_1[2] = iVar8;\n        *param_1 = iVar7 * 2;\n      }" ({ "{") (expression_statement "iVar7 = iVar6 + *param_1;" (assignment_expression "iVar7 = iVar6 + *param_1" (identifier "iVar7") (= "=") (binary_expression "iVar6 + *param_1" (identifier "iVar6") (+ "+") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);" (assignment_expression "iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8)" (parenthesized_expression "(*(code *)PTR_realloc_00053478)" (( "(") (pointer_expression "*(code *)PTR_realloc_00053478" (* "*") (cast_expression "(code *)PTR_realloc_00053478" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_realloc_00053478"))) () ")")) (argument_list "(param_1[2],iVar7 * 8)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (binary_expression "iVar7 * 8" (identifier "iVar7") (* "*") (number_literal "8")) () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n          return 0xc;\n        }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return 0xc;\n        }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (expression_statement "iVar11 = param_1[1];" (assignment_expression "iVar11 = param_1[1]" (identifier "iVar11") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_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")) () ")"))))) (; ";")) (expression_statement "param_1[2] = iVar8;" (assignment_expression "param_1[2] = iVar8" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "*param_1 = iVar7 * 2;" (assignment_expression "*param_1 = iVar7 * 2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "iVar7 * 2" (identifier "iVar7") (* "*") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_memcpy_000534f4;" (assignment_expression "puVar1 = PTR_memcpy_000534f4" (identifier "puVar1") (= "=") (identifier "PTR_memcpy_000534f4")) (; ";")) (if_statement "if (iVar11 == 0) {\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = *(undefined4 *)(param_2 + 8);\n        param_1[1] = iVar6;\n        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);\n        return 0;\n      }" ({ "{") (expression_statement "uVar5 = *(undefined4 *)(param_2 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(param_2 + 8)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "(*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);" (call_expression "(*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1[2],uVar5,*(int *)(param_2 + 4) << 2)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "uVar5") (, ",") (binary_expression "*(int *)(param_2 + 4) << 2" (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")) () ")")))) (<< "<<") (number_literal "2")) () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar8 = iVar6 + -1;" (assignment_expression "iVar8 = iVar6 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar10 = iVar6 * 2 + iVar11;" (assignment_expression "iVar10 = iVar6 * 2 + iVar11" (identifier "iVar10") (= "=") (binary_expression "iVar6 * 2 + iVar11" (binary_expression "iVar6 * 2" (identifier "iVar6") (* "*") (number_literal "2")) (+ "+") (identifier "iVar11"))) (; ";")) (expression_statement "iVar3 = iVar11 + -1;" (assignment_expression "iVar3 = iVar11 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar11 + -1" (identifier "iVar11") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" (identifier "iVar7") (= "=") (identifier "iVar10")) (; ";")) (if_statement "if (-1 < iVar8) {\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }" (if "if") (parenthesized_expression "(-1 < iVar8)" (( "(") (binary_expression "-1 < iVar8" (number_literal "-1") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n        iVar11 = param_1[2];\n        iVar9 = iVar3 * 4;\n        iVar4 = *(int *)(param_2 + 8);\n        if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }\nLAB_0002c0fc:\n        iVar11 = param_1[1];\n        iVar3 = iVar11 + -1;\n        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;\n      }" ({ "{") (expression_statement "iVar11 = param_1[2];" (assignment_expression "iVar11 = param_1[2]" (identifier "iVar11") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar9 = iVar3 * 4;" (assignment_expression "iVar9 = iVar3 * 4" (identifier "iVar9") (= "=") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar4 = *(int *)(param_2 + 8);" (assignment_expression "iVar4 = *(int *)(param_2 + 8)" (identifier "iVar4") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if (iVar3 < 0) {\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }\n        else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);\n          iVar7 = iVar10 - iVar6;\n        }" ({ "{") (labeled_statement "LAB_0002c200:\n          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);" (statement_identifier "LAB_0002c200") (: ":") (expression_statement "(*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);" (call_expression "(*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_000534f4)" (( "(") (pointer_expression "*(code *)PTR_memcpy_000534f4" (* "*") (cast_expression "(code *)PTR_memcpy_000534f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_000534f4"))) () ")")) (argument_list "(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2)" (( "(") (binary_expression "iVar11 + (iVar10 - iVar6) * 4" (identifier "iVar11") (+ "+") (binary_expression "(iVar10 - iVar6) * 4" (parenthesized_expression "(iVar10 - iVar6)" (( "(") (binary_expression "iVar10 - iVar6" (identifier "iVar10") (- "-") (identifier "iVar6")) () ")")) (* "*") (number_literal "4"))) (, ",") (identifier "iVar4") (, ",") (binary_expression "iVar6 << 2" (identifier "iVar6") (<< "<<") (number_literal "2")) () ")"))) (; ";"))) (expression_statement "iVar7 = iVar10 - iVar6;" (assignment_expression "iVar7 = iVar10 - iVar6" (identifier "iVar7") (= "=") (binary_expression "iVar10 - iVar6" (identifier "iVar10") (- "-") (identifier "iVar6"))) (; ";")) (} "}")) (else_clause "else {\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }" (else "else") (compound_statement "{\n          do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);\n        }" ({ "{") (do_statement "do {\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          } while (iVar8 != -1);" (do "do") (compound_statement "{\n            while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }\n            if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }\n            iVar10 = iVar10 + -1;\n            iVar8 = iVar8 + -1;\n            *(int *)(iVar11 + iVar10 * 4) = iVar6;\n            iVar7 = iVar10;\n          }" ({ "{") (while_statement "while( true ) {\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n              iVar6 = *(int *)(iVar4 + iVar8 * 4);\n              if (*(int *)(iVar11 + iVar9) != iVar6) break;\n              iVar7 = iVar10;\n              if (iVar8 + -1 == -1) goto LAB_0002c0fc;\n              iVar6 = iVar8;\n              iVar8 = iVar8 + -1;\n              if (iVar3 == 0) goto LAB_0002c200;\nLAB_0002c1ec:\n              iVar3 = iVar3 + -1;\n              iVar9 = iVar3 * 4;\n            }" ({ "{") (expression_statement "iVar6 = *(int *)(iVar4 + iVar8 * 4);" (assignment_expression "iVar6 = *(int *)(iVar4 + iVar8 * 4)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar4 + iVar8 * 4)" (* "*") (cast_expression "(int *)(iVar4 + iVar8 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar8 * 4)" (( "(") (binary_expression "iVar4 + iVar8 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar11 + iVar9) != iVar6) break;" (if "if") (parenthesized_expression "(*(int *)(iVar11 + iVar9) != iVar6)" (( "(") (binary_expression "*(int *)(iVar11 + iVar9) != iVar6" (pointer_expression "*(int *)(iVar11 + iVar9)" (* "*") (cast_expression "(int *)(iVar11 + iVar9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + iVar9)" (( "(") (binary_expression "iVar11 + iVar9" (identifier "iVar11") (+ "+") (identifier "iVar9")) () ")")))) (!= "!=") (identifier "iVar6")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" (identifier "iVar7") (= "=") (identifier "iVar10")) (; ";")) (if_statement "if (iVar8 + -1 == -1) goto LAB_0002c0fc;" (if "if") (parenthesized_expression "(iVar8 + -1 == -1)" (( "(") (binary_expression "iVar8 + -1 == -1" (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1")) (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0002c0fc;" (goto "goto") (statement_identifier "LAB_0002c0fc") (; ";"))) (expression_statement "iVar6 = iVar8;" (assignment_expression "iVar6 = iVar8" (identifier "iVar6") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_0002c200;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002c200;" (goto "goto") (statement_identifier "LAB_0002c200") (; ";"))) (labeled_statement "LAB_0002c1ec:\n              iVar3 = iVar3 + -1;" (statement_identifier "LAB_0002c1ec") (: ":") (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";"))) (expression_statement "iVar9 = iVar3 * 4;" (assignment_expression "iVar9 = iVar3 * 4" (identifier "iVar9") (= "=") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) (; ";")) (} "}"))) (if_statement "if (iVar6 <= *(int *)(iVar11 + iVar9)) {\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }" (if "if") (parenthesized_expression "(iVar6 <= *(int *)(iVar11 + iVar9))" (( "(") (binary_expression "iVar6 <= *(int *)(iVar11 + iVar9)" (identifier "iVar6") (<= "<=") (pointer_expression "*(int *)(iVar11 + iVar9)" (* "*") (cast_expression "(int *)(iVar11 + iVar9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + iVar9)" (( "(") (binary_expression "iVar11 + iVar9" (identifier "iVar11") (+ "+") (identifier "iVar9")) () ")"))))) () ")")) (compound_statement "{\n              iVar6 = iVar8 + 1;\n              if (iVar3 != 0) goto LAB_0002c1ec;\n              goto LAB_0002c200;\n            }" ({ "{") (expression_statement "iVar6 = iVar8 + 1;" (assignment_expression "iVar6 = iVar8 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar3 != 0) goto LAB_0002c1ec;" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002c1ec;" (goto "goto") (statement_identifier "LAB_0002c1ec") (; ";"))) (goto_statement "goto LAB_0002c200;" (goto "goto") (statement_identifier "LAB_0002c200") (; ";")) (} "}"))) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(int *)(iVar11 + iVar10 * 4) = iVar6;" (assignment_expression "*(int *)(iVar11 + iVar10 * 4) = iVar6" (pointer_expression "*(int *)(iVar11 + iVar10 * 4)" (* "*") (cast_expression "(int *)(iVar11 + iVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + iVar10 * 4)" (( "(") (binary_expression "iVar11 + iVar10 * 4" (identifier "iVar11") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" (identifier "iVar7") (= "=") (identifier "iVar10")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 != -1)" (( "(") (binary_expression "iVar8 != -1" (identifier "iVar8") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (} "}")))) (labeled_statement "LAB_0002c0fc:\n        iVar11 = param_1[1];" (statement_identifier "LAB_0002c0fc") (: ":") (expression_statement "iVar11 = param_1[1];" (assignment_expression "iVar11 = param_1[1]" (identifier "iVar11") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (expression_statement "iVar3 = iVar11 + -1;" (assignment_expression "iVar3 = iVar11 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar11 + -1" (identifier "iVar11") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;" (assignment_expression "iVar10 = *(int *)(param_2 + 4) * 2 + iVar11" (identifier "iVar10") (= "=") (binary_expression "*(int *)(param_2 + 4) * 2 + iVar11" (binary_expression "*(int *)(param_2 + 4) * 2" (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")) () ")")))) (* "*") (number_literal "2")) (+ "+") (identifier "iVar11"))) (; ";")) (} "}"))) (expression_statement "iVar6 = iVar10 - iVar7;" (assignment_expression "iVar6 = iVar10 - iVar7" (identifier "iVar6") (= "=") (binary_expression "iVar10 - iVar7" (identifier "iVar10") (- "-") (identifier "iVar7"))) (; ";")) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar6 != 0) {\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar8 = param_1[2];\n        iVar4 = iVar10 * 4;\n        param_1[1] = iVar6 + iVar11;\n        do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);\n        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);\n      }" ({ "{") (expression_statement "iVar8 = param_1[2];" (assignment_expression "iVar8 = param_1[2]" (identifier "iVar8") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar4 = iVar10 * 4;" (assignment_expression "iVar4 = iVar10 * 4" (identifier "iVar4") (= "=") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) (; ";")) (expression_statement "param_1[1] = iVar6 + iVar11;" (assignment_expression "param_1[1] = iVar6 + iVar11" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar6 + iVar11" (identifier "iVar6") (+ "+") (identifier "iVar11"))) (; ";")) (do_statement "do {\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        } while (-1 < iVar3);" (do "do") (compound_statement "{\n          iVar9 = *(int *)(iVar8 + iVar4);\n          iVar11 = *(int *)(iVar8 + iVar3 * 4);\n          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n          if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }\n          iVar3 = iVar3 + -1;\n          *piVar2 = iVar11;\n        }" ({ "{") (expression_statement "iVar9 = *(int *)(iVar8 + iVar4);" (assignment_expression "iVar9 = *(int *)(iVar8 + iVar4)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar8 + iVar4)" (* "*") (cast_expression "(int *)(iVar8 + iVar4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + iVar4)" (( "(") (binary_expression "iVar8 + iVar4" (identifier "iVar8") (+ "+") (identifier "iVar4")) () ")"))))) (; ";")) (expression_statement "iVar11 = *(int *)(iVar8 + iVar3 * 4);" (assignment_expression "iVar11 = *(int *)(iVar8 + iVar3 * 4)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar8 + iVar3 * 4)" (* "*") (cast_expression "(int *)(iVar8 + iVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + iVar3 * 4)" (( "(") (binary_expression "iVar8 + iVar3 * 4" (identifier "iVar8") (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);" (assignment_expression "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4)" (identifier "piVar2") (= "=") (cast_expression "(int *)(iVar8 + (iVar3 + iVar6) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + (iVar3 + iVar6) * 4)" (( "(") (binary_expression "iVar8 + (iVar3 + iVar6) * 4" (identifier "iVar8") (+ "+") (binary_expression "(iVar3 + iVar6) * 4" (parenthesized_expression "(iVar3 + iVar6)" (( "(") (binary_expression "iVar3 + iVar6" (identifier "iVar3") (+ "+") (identifier "iVar6")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (iVar11 < iVar9) {\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }" (if "if") (parenthesized_expression "(iVar11 < iVar9)" (( "(") (binary_expression "iVar11 < iVar9" (identifier "iVar11") (< "<") (identifier "iVar9")) () ")")) (compound_statement "{\n            do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);\n          }" ({ "{") (do_statement "do {\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            } while (iVar11 < iVar9);" (do "do") (compound_statement "{\n              iVar6 = iVar6 + -1;\n              *piVar2 = iVar9;\n              iVar10 = iVar10 + -1;\n              if (iVar6 == 0) {\n                return 0;\n              }\n              iVar4 = iVar10 * 4;\n              iVar11 = *(int *)(iVar8 + iVar3 * 4);\n              iVar9 = *(int *)(iVar8 + iVar4);\n              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);\n            }" ({ "{") (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*piVar2 = iVar9;" (assignment_expression "*piVar2 = iVar9" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar6 == 0) {\n                return 0;\n              }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                return 0;\n              }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar4 = iVar10 * 4;" (assignment_expression "iVar4 = iVar10 * 4" (identifier "iVar4") (= "=") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar11 = *(int *)(iVar8 + iVar3 * 4);" (assignment_expression "iVar11 = *(int *)(iVar8 + iVar3 * 4)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar8 + iVar3 * 4)" (* "*") (cast_expression "(int *)(iVar8 + iVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + iVar3 * 4)" (( "(") (binary_expression "iVar8 + iVar3 * 4" (identifier "iVar8") (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar9 = *(int *)(iVar8 + iVar4);" (assignment_expression "iVar9 = *(int *)(iVar8 + iVar4)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar8 + iVar4)" (* "*") (cast_expression "(int *)(iVar8 + iVar4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + iVar4)" (( "(") (binary_expression "iVar8 + iVar4" (identifier "iVar8") (+ "+") (identifier "iVar4")) () ")"))))) (; ";")) (expression_statement "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);" (assignment_expression "piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4)" (identifier "piVar2") (= "=") (cast_expression "(int *)(iVar8 + (iVar3 + iVar6) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + (iVar3 + iVar6) * 4)" (( "(") (binary_expression "iVar8 + (iVar3 + iVar6) * 4" (identifier "iVar8") (+ "+") (binary_expression "(iVar3 + iVar6) * 4" (parenthesized_expression "(iVar3 + iVar6)" (( "(") (binary_expression "iVar3 + iVar6" (identifier "iVar3") (+ "+") (identifier "iVar6")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar11 < iVar9)" (( "(") (binary_expression "iVar11 < iVar9" (identifier "iVar11") (< "<") (identifier "iVar9")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*piVar2 = iVar11;" (assignment_expression "*piVar2 = iVar11" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar11")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(-1 < iVar3)" (( "(") (binary_expression "-1 < iVar3" (number_literal "-1") (< "<") (identifier "iVar3")) () ")")) (; ";")) (expression_statement "(*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);" (call_expression "(*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_000534f4)" (( "(") (pointer_expression "*(code *)PTR_memcpy_000534f4" (* "*") (cast_expression "(code *)PTR_memcpy_000534f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_000534f4"))) () ")")) (argument_list "(iVar8,iVar8 + iVar7 * 4,iVar6 << 2)" (( "(") (identifier "iVar8") (, ",") (binary_expression "iVar8 + iVar7 * 4" (identifier "iVar8") (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) (, ",") (binary_expression "iVar6 << 2" (identifier "iVar6") (<< "<<") (number_literal "2")) () ")"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 function_1(type_2 *dest,type_2 *var_1)

{
  type_3 *puVar1;
  int var_6;
  type_4 *var_5;
  type_4 *pIVar4;
  type_4 var_9;
  int var_2;
  int var_4;
  type_4 var_10;
  int var_7;
  int var_8;
  int var_3;
  
  if (var_1 != (type_2 *)0x0) {
    var_2 = var_1->nelem;
    if (var_2 != 0) {
      var_3 = dest->nelem;
      if (dest->alloc < var_2 * 2 + var_3) {
        var_4 = var_2 + dest->alloc;
        var_5 = (type_4 *)(*(type_5 *)PTR_realloc_00053478)(dest->elems,var_4 * 8);
        if (var_5 == (type_4 *)0x0) {
          return _REG_ESPACE;
        }
        var_3 = dest->nelem;
        var_2 = var_1->nelem;
        dest->elems = var_5;
        dest->alloc = var_4 * 2;
      }
      puVar1 = PTR_memcpy_000534f4;
      if (var_3 == 0) {
        var_5 = var_1->elems;
        dest->nelem = var_2;
        (*(type_5 *)puVar1)(dest->elems,var_5,var_1->nelem << 2);
        return _REG_NOERROR;
      }
      var_4 = var_2 + -1;
      var_7 = var_2 * 2 + var_3;
      var_6 = var_3 + -1;
      var_8 = var_7;
      if (-1 < var_4) {
        var_5 = dest->elems;
        var_3 = var_6 * 4;
        pIVar4 = var_1->elems;
        if (var_6 < 0) {
LAB_0002c200:
          (*(type_5 *)PTR_memcpy_000534f4)(var_5 + (var_7 - var_2),pIVar4,var_2 << 2);
          var_8 = var_7 - var_2;
        }
        else {
          do {
            while( true ) {
              var_2 = pIVar4[var_4];
              if (*(int *)((int)var_5 + var_3) != var_2) break;
              var_8 = var_7;
              if (var_4 + -1 == -1) goto LAB_0002c0fc;
              var_2 = var_4;
              var_4 = var_4 + -1;
              if (var_6 == 0) goto LAB_0002c200;
LAB_0002c1ec:
              var_6 = var_6 + -1;
              var_3 = var_6 * 4;
            }
            if (var_2 <= *(int *)((int)var_5 + var_3)) {
              var_2 = var_4 + 1;
              if (var_6 != 0) goto LAB_0002c1ec;
              goto LAB_0002c200;
            }
            var_7 = var_7 + -1;
            var_4 = var_4 + -1;
            var_5[var_7] = var_2;
            var_8 = var_7;
          } while (var_4 != -1);
        }
LAB_0002c0fc:
        var_3 = dest->nelem;
        var_6 = var_3 + -1;
        var_7 = var_1->nelem * 2 + var_3;
      }
      var_2 = var_7 - var_8;
      var_7 = var_7 + -1;
      if (var_2 != 0) {
        var_5 = dest->elems;
        var_4 = var_7 * 4;
        dest->nelem = var_2 + var_3;
        do {
          var_10 = *(int *)((int)var_5 + var_4);
          var_9 = var_5[var_6];
          pIVar4 = var_5 + var_6 + var_2;
          if (var_9 < var_10) {
            do {
              var_2 = var_2 + -1;
              *pIVar4 = var_10;
              var_7 = var_7 + -1;
              if (var_2 == 0) {
                return _REG_NOERROR;
              }
              var_4 = var_7 * 4;
              var_9 = var_5[var_6];
              var_10 = var_5[var_7];
              pIVar4 = var_5 + var_6 + var_2;
            } while (var_9 < var_10);
          }
          var_6 = var_6 + -1;
          *pIVar4 = var_9;
        } while (-1 < var_6);
        (*(type_5 *)PTR_memcpy_000534f4)(var_5,var_5 + var_8,var_2 << 2);
      }
    }
  }
  return _REG_NOERROR;
}


(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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator 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: (type_identifier) 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)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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: (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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 (subscript_expression argument: (identifier) index: (number_literal)) (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: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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 (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (return_statement (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: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_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: (subscript_expression argument: (identifier) index: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) 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: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (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: (goto_statement label: (statement_identifier))) (labeled_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: (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))))))) 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))) (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)))) (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))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (identifier)))))) (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)))) (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: (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)))) (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 (return_statement (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: (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: (number_literal) right: (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))) (binary_expression left: (identifier) right: (number_literal))))))))))) (return_statement (number_literal)))))

undefined4 MASKED(int *param_1,int param_2)

{
  undefined *puVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  
  if (param_2 != 0) {
    iVar6 = *(int *)(param_2 + 4);
    if (iVar6 != 0) {
      iVar11 = param_1[1];
      if (*param_1 < iVar6 * 2 + iVar11) {
        iVar7 = iVar6 + *param_1;
        iVar8 = (*(code *)PTR_realloc_00053478)(param_1[2],iVar7 * 8);
        if (iVar8 == 0) {
          return 0xc;
        }
        iVar11 = param_1[1];
        iVar6 = *(int *)(param_2 + 4);
        param_1[2] = iVar8;
        *param_1 = iVar7 * 2;
      }
      puVar1 = PTR_memcpy_000534f4;
      if (iVar11 == 0) {
        uVar5 = *(undefined4 *)(param_2 + 8);
        param_1[1] = iVar6;
        (*(code *)puVar1)(param_1[2],uVar5,*(int *)(param_2 + 4) << 2);
        return 0;
      }
      iVar8 = iVar6 + -1;
      iVar10 = iVar6 * 2 + iVar11;
      iVar3 = iVar11 + -1;
      iVar7 = iVar10;
      if (-1 < iVar8) {
        iVar11 = param_1[2];
        iVar9 = iVar3 * 4;
        iVar4 = *(int *)(param_2 + 8);
        if (iVar3 < 0) {
LAB_0002c200:
          (*(code *)PTR_memcpy_000534f4)(iVar11 + (iVar10 - iVar6) * 4,iVar4,iVar6 << 2);
          iVar7 = iVar10 - iVar6;
        }
        else {
          do {
            while( true ) {
              iVar6 = *(int *)(iVar4 + iVar8 * 4);
              if (*(int *)(iVar11 + iVar9) != iVar6) break;
              iVar7 = iVar10;
              if (iVar8 + -1 == -1) goto LAB_0002c0fc;
              iVar6 = iVar8;
              iVar8 = iVar8 + -1;
              if (iVar3 == 0) goto LAB_0002c200;
LAB_0002c1ec:
              iVar3 = iVar3 + -1;
              iVar9 = iVar3 * 4;
            }
            if (iVar6 <= *(int *)(iVar11 + iVar9)) {
              iVar6 = iVar8 + 1;
              if (iVar3 != 0) goto LAB_0002c1ec;
              goto LAB_0002c200;
            }
            iVar10 = iVar10 + -1;
            iVar8 = iVar8 + -1;
            *(int *)(iVar11 + iVar10 * 4) = iVar6;
            iVar7 = iVar10;
          } while (iVar8 != -1);
        }
LAB_0002c0fc:
        iVar11 = param_1[1];
        iVar3 = iVar11 + -1;
        iVar10 = *(int *)(param_2 + 4) * 2 + iVar11;
      }
      iVar6 = iVar10 - iVar7;
      iVar10 = iVar10 + -1;
      if (iVar6 != 0) {
        iVar8 = param_1[2];
        iVar4 = iVar10 * 4;
        param_1[1] = iVar6 + iVar11;
        do {
          iVar9 = *(int *)(iVar8 + iVar4);
          iVar11 = *(int *)(iVar8 + iVar3 * 4);
          piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);
          if (iVar11 < iVar9) {
            do {
              iVar6 = iVar6 + -1;
              *piVar2 = iVar9;
              iVar10 = iVar10 + -1;
              if (iVar6 == 0) {
                return 0;
              }
              iVar4 = iVar10 * 4;
              iVar11 = *(int *)(iVar8 + iVar3 * 4);
              iVar9 = *(int *)(iVar8 + iVar4);
              piVar2 = (int *)(iVar8 + (iVar3 + iVar6) * 4);
            } while (iVar11 < iVar9);
          }
          iVar3 = iVar3 + -1;
          *piVar2 = iVar11;
        } while (-1 < iVar3);
        (*(code *)PTR_memcpy_000534f4)(iVar8,iVar8 + iVar7 * 4,iVar6 << 2);
      }
    }
  }
  return 0;
}

