
/* WARNING: Unknown calling convention */

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

{
  int iVar1;
  int iVar2;
  Idx *pIVar3;
  int *piVar4;
  int iVar5;
  Idx *pIVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  
  if ((src1->nelem != 0) && (src2->nelem != 0)) {
    iVar1 = src1->nelem + src2->nelem;
    if (dest->alloc < iVar1 + dest->nelem) {
      iVar1 = iVar1 + dest->alloc;
      pIVar3 = (Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4);
      if (pIVar3 == (Idx *)0x0) {
        return _REG_ESPACE;
      }
      dest->elems = pIVar3;
      dest->alloc = iVar1;
    }
    iVar9 = dest->nelem + src1->nelem + src2->nelem;
    iVar1 = src1->nelem + -1;
    iVar7 = src2->nelem + -1;
    iVar8 = dest->nelem + -1;
    do {
      while( true ) {
        iVar5 = src1->elems[iVar1];
        if (iVar5 != src2->elems[iVar7]) break;
        if (iVar8 < 0) {
LAB_0048c05c:
          iVar9 = iVar9 + -1;
          dest->elems[iVar9] = iVar5;
        }
        else {
          piVar4 = dest->elems + iVar8;
          iVar2 = *piVar4;
          while (iVar5 < iVar2) {
            iVar8 = iVar8 + -1;
            piVar4 = piVar4 + -1;
            if (iVar8 == -1) {
              iVar8 = -1;
              goto LAB_0048c05c;
            }
            iVar2 = *piVar4;
          }
          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;
        }
        iVar1 = iVar1 + -1;
        iVar7 = iVar7 + -1;
        if (iVar1 < 0) goto LAB_0048bf60;
        if (iVar7 < 0) {
          iVar1 = dest->nelem;
          goto LAB_0048bf64;
        }
      }
      if (iVar5 < src2->elems[iVar7]) {
        iVar7 = iVar7 + -1;
        iVar5 = iVar7;
      }
      else {
        iVar1 = iVar1 + -1;
        iVar5 = iVar1;
      }
    } while (-1 < iVar5);
LAB_0048bf60:
    iVar1 = dest->nelem;
LAB_0048bf64:
    iVar8 = iVar1 + src1->nelem + src2->nelem;
    iVar7 = iVar8 + -1;
    iVar8 = iVar8 - iVar9;
    dest->nelem = iVar1 + iVar8;
    if (0 < iVar8) {
      while (iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1) {
        while( true ) {
          pIVar3 = dest->elems;
          pIVar6 = pIVar3 + iVar7;
          if (*pIVar6 <= pIVar3[iVar1]) break;
          iVar7 = iVar7 + -1;
          iVar8 = iVar5 + -1;
          pIVar3[iVar1 + iVar5] = *pIVar6;
          iVar5 = iVar8;
          if (iVar8 == 0) goto LAB_0048bf94;
        }
        pIVar3[iVar1 + iVar5] = pIVar3[iVar1];
        iVar8 = iVar5;
      }
    }
LAB_0048bf94:
    (*(code *)PTR_memcpy_004bf390)(dest->elems,dest->elems + iVar9,iVar8 << 2);
  }
  return _REG_NOERROR;
}



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

{
  int iVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  
  if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {
    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);
    if (*param_1 < iVar1 + param_1[1]) {
      iVar1 = iVar1 + *param_1;
      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);
      if (iVar6 == 0) {
        return 0xc;
      }
      param_1[2] = iVar6;
      *param_1 = iVar1;
    }
    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);
    iVar1 = *(int *)(param_2 + 4) + -1;
    iVar6 = *(int *)(param_3 + 4) + -1;
    iVar7 = param_1[1] + -1;
    do {
      while( true ) {
        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);
        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);
        if (iVar4 != iVar2) break;
        if (iVar7 < 0) {
LAB_0048c05c:
          iVar8 = iVar8 + -1;
          *(int *)(param_1[2] + iVar8 * 4) = iVar4;
        }
        else {
          piVar3 = (int *)(param_1[2] + iVar7 * 4);
          iVar2 = *piVar3;
          while (iVar4 < iVar2) {
            iVar7 = iVar7 + -1;
            piVar3 = piVar3 + -1;
            if (iVar7 == -1) {
              iVar7 = -1;
              goto LAB_0048c05c;
            }
            iVar2 = *piVar3;
          }
          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;
        }
        iVar1 = iVar1 + -1;
        iVar6 = iVar6 + -1;
        if (iVar1 < 0) goto LAB_0048bf60;
        if (iVar6 < 0) {
          iVar1 = param_1[1];
          goto LAB_0048bf64;
        }
      }
      if (iVar4 < iVar2) {
        iVar6 = iVar6 + -1;
        iVar2 = iVar6;
      }
      else {
        iVar1 = iVar1 + -1;
        iVar2 = iVar1;
      }
    } while (-1 < iVar2);
LAB_0048bf60:
    iVar1 = param_1[1];
LAB_0048bf64:
    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);
    iVar6 = iVar7 + -1;
    iVar7 = iVar7 - iVar8;
    param_1[1] = iVar1 + iVar7;
    if (0 < iVar7) {
      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {
        while( true ) {
          iVar4 = param_1[2];
          iVar5 = *(int *)(iVar4 + iVar6 * 4);
          iVar7 = *(int *)(iVar4 + iVar1 * 4);
          if (iVar5 <= iVar7) break;
          iVar6 = iVar6 + -1;
          iVar7 = iVar2 + -1;
          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;
          iVar2 = iVar7;
          if (iVar7 == 0) goto LAB_0048bf94;
        }
        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;
        iVar7 = iVar2;
      }
    }
LAB_0048bf94:
    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);
  }
  return 0;
}


addiu sp,sp,-0x30
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
lui gp,0x4c
addiu gp,gp,0x6b20
sw gp,0x10(sp)
lw v0,0x4(a1)
beq v0,zero,0x0048c028
_nop
lw v1,0x4(a2)
beq v1,zero,0x0048c048
_or s1,a2,zero
or s0,a1,zero
addu v0,v0,v1
lw s3,0x0(a0)
lw v1,0x4(a0)
addu v1,v0,v1
slt v1,s3,v1
bne v1,zero,0x0048be88
_or s2,a0,zero
lw a3,0x4(s2)
lw a1,0x4(s0)
lw a2,0x4(s1)
addu t0,a3,a1
addu t0,t0,a2
addiu a1,a1,-0x1
addiu a2,a2,-0x1
addiu a3,a3,-0x1
b 0x0048bf20
_li t1,-0x1
addu s3,v0,s3
sll a1,s3,0x2
lw a0,0x8(a0)
lw t9,-0x7844(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0048c050
_nop
sw v0,0x8(s2)
b 0x0048be60
_sw s3,0x0(s2)
bltz a3,0x0048c05c
_sll v1,a3,0x2
lw t2,0x8(s2)
addu v1,t2,v1
lw v0,0x0(v1)
slt v0,a0,v0
beq v0,zero,0x0048befc
_sll v0,a3,0x2
addiu a3,a3,-0x1
beq a3,t1,0x0048c058
_addiu v1,v1,-0x4
lw v0,0x0(v1)
slt v0,a0,v0
bne v0,zero,0x0048bedc
_addiu a3,a3,-0x1
addiu a3,a3,0x1
sll v0,a3,0x2
addu t2,t2,v0
lw v0,0x0(t2)
bne a0,v0,0x0048c05c
_nop
b 0x0048c074
_addiu a1,a1,-0x1
addiu a1,a1,-0x1
bltz a1,0x0048bf60
_nop
lw v0,0x8(s0)
sll v1,a1,0x2
addu v0,v0,v1
lw a0,0x0(v0)
lw v0,0x8(s1)
sll v1,a2,0x2
addu v0,v0,v1
lw v0,0x0(v0)
beq a0,v0,0x0048beb8
_nop
slt a0,a0,v0
beq a0,zero,0x0048bf14
_nop
addiu a2,a2,-0x1
bgez a2,0x0048bf20
_nop
lw v1,0x4(s2)
lw a2,0x4(s0)
addu a2,v1,a2
lw v0,0x4(s1)
addu a2,a2,v0
addiu a3,a2,-0x1
subu a2,a2,t0
addu v0,v1,a2
blez a2,0x0048bf94
_sw v0,0x4(s2)
addiu v1,v1,-0x1
bgez v1,0x0048bfd4
_nop
lw a0,0x8(s2)
sll a1,t0,0x2
sll a2,a2,0x2
addu a1,a0,a1
lw t9,-0x7790(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x0048c02c
_or v0,zero,zero
addu a1,v1,a2
sll a1,a1,0x2
addu v0,v0,a1
addiu v1,v1,-0x1
bltz v1,0x0048bf94
_sw a0,0x0(v0)
lw v0,0x8(s2)
sll a0,a3,0x2
addu a0,v0,a0
lw a1,0x0(a0)
sll a0,v1,0x2
addu a0,v0,a0
lw a0,0x0(a0)
slt t1,a0,a1
beq t1,zero,0x0048bfbc
_nop
addiu a3,a3,-0x1
addiu a0,a2,-0x1
addu a2,v1,a2
sll a2,a2,0x2
addu a2,v0,a2
beq a0,zero,0x0048c020
_sw a1,0x0(a2)
b 0x0048bfd4
_or a2,a0,zero
b 0x0048bf94
_or a2,a0,zero
or v0,zero,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
b 0x0048c02c
_or v0,zero,zero
b 0x0048c02c
_li v0,0xc
li a3,-0x1
addiu t0,t0,-0x1
lw v0,0x8(s2)
sll v1,t0,0x2
addu v0,v0,v1
sw a0,0x0(v0)
addiu a1,a1,-0x1
bltz a1,0x0048bf60
_addiu a2,a2,-0x1
bgez a2,0x0048bf20
_nop
b 0x0048bf64
_lw v1,0x4(s2)
(translation_unit "undefined4 FUN_0048be04(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0048be04(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0048be04(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (if_statement "if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }" if (parenthesized_expression "((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0))" ( (binary_expression "(*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)" (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" ( (binary_expression "*(int *)(param_2 + 4) != 0" (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) )) && (parenthesized_expression "(*(int *)(param_3 + 4) != 0)" ( (binary_expression "*(int *)(param_3 + 4) != 0" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }" { (expression_statement "iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" identifier = (binary_expression "*(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))))) ;) (if_statement "if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }" if (parenthesized_expression "(*param_1 < iVar1 + param_1[1])" ( (binary_expression "*param_1 < iVar1 + param_1[1]" (pointer_expression "*param_1" * identifier) < (binary_expression "iVar1 + param_1[1]" identifier + (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }" { (expression_statement "iVar1 = iVar1 + *param_1;" (assignment_expression "iVar1 = iVar1 + *param_1" identifier = (binary_expression "iVar1 + *param_1" identifier + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);" (assignment_expression "iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4)" identifier = (call_expression "(*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4)" (parenthesized_expression "(*(code *)PTR_realloc_004bf2dc)" ( (pointer_expression "*(code *)PTR_realloc_004bf2dc" * (cast_expression "(code *)PTR_realloc_004bf2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],iVar1 * 4)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "iVar1 * 4" identifier * number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n        return 0xc;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0xc;\n      }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "param_1[2] = iVar6;" (assignment_expression "param_1[2] = iVar6" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) })) (expression_statement "iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" identifier = (binary_expression "param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (binary_expression "param_1[1] + *(int *)(param_2 + 4)" (subscript_expression "param_1[1]" identifier [ number_literal ]) + (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) + (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))))) ;) (expression_statement "iVar1 = *(int *)(param_2 + 4) + -1;" (assignment_expression "iVar1 = *(int *)(param_2 + 4) + -1" identifier = (binary_expression "*(int *)(param_2 + 4) + -1" (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)) ;) (expression_statement "iVar6 = *(int *)(param_3 + 4) + -1;" (assignment_expression "iVar6 = *(int *)(param_3 + 4) + -1" identifier = (binary_expression "*(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar7 = param_1[1] + -1;" (assignment_expression "iVar7 = param_1[1] + -1" identifier = (binary_expression "param_1[1] + -1" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal)) ;) (do_statement "do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);" do (compound_statement "{\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    }" { (while_statement "while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }" { (expression_statement "iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);" (assignment_expression "iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" * (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + iVar1 * 4)" ( (binary_expression "*(int *)(param_2 + 8) + iVar1 * 4" (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) )))) + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_3 + 8) + iVar6 * 4)" * (cast_expression "(int *)(*(int *)(param_3 + 8) + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 8) + iVar6 * 4)" ( (binary_expression "*(int *)(param_3 + 8) + iVar6 * 4" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar4 != iVar2) break;" if (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) (break_statement "break;" break ;)) (if_statement "if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }" { (labeled_statement "LAB_0048c05c:\n          iVar8 = iVar8 + -1;" statement_identifier : (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;)) (expression_statement "*(int *)(param_1[2] + iVar8 * 4) = iVar4;" (assignment_expression "*(int *)(param_1[2] + iVar8 * 4) = iVar4" (pointer_expression "*(int *)(param_1[2] + iVar8 * 4)" * (cast_expression "(int *)(param_1[2] + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar8 * 4)" ( (binary_expression "param_1[2] + iVar8 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }" else (compound_statement "{\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }" { (expression_statement "piVar3 = (int *)(param_1[2] + iVar7 * 4);" (assignment_expression "piVar3 = (int *)(param_1[2] + iVar7 * 4)" identifier = (cast_expression "(int *)(param_1[2] + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar7 * 4)" ( (binary_expression "param_1[2] + iVar7 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (while_statement "while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }" while (parenthesized_expression "(iVar4 < iVar2)" ( (binary_expression "iVar4 < iVar2" identifier < identifier) )) (compound_statement "{\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }" { (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + -1;" (assignment_expression "piVar3 = piVar3 + -1" identifier = (binary_expression "piVar3 + -1" identifier + number_literal)) ;) (if_statement "if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }" if (parenthesized_expression "(iVar7 == -1)" ( (binary_expression "iVar7 == -1" identifier == number_literal) )) (compound_statement "{\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }" { (expression_statement "iVar7 = -1;" (assignment_expression "iVar7 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0048c05c;" goto statement_identifier ;) })) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) })) (if_statement "if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;" if (parenthesized_expression "(iVar4 != *(int *)(param_1[2] + iVar7 * 4))" ( (binary_expression "iVar4 != *(int *)(param_1[2] + iVar7 * 4)" identifier != (pointer_expression "*(int *)(param_1[2] + iVar7 * 4)" * (cast_expression "(int *)(param_1[2] + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar7 * 4)" ( (binary_expression "param_1[2] + iVar7 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar7 * 4" identifier * number_literal)) ))))) )) (goto_statement "goto LAB_0048c05c;" goto statement_identifier ;)) }))) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (if_statement "if (iVar1 < 0) goto LAB_0048bf60;" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0048bf60;" goto statement_identifier ;)) (if_statement "if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }" { (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_0048bf64;" goto statement_identifier ;) })) })) (if_statement "if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }" if (parenthesized_expression "(iVar4 < iVar2)" ( (binary_expression "iVar4 < iVar2" identifier < identifier) )) (compound_statement "{\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }" { (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" identifier = identifier) ;) }) (else_clause "else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }" else (compound_statement "{\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }" { (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) }))) }) while (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) ;) (labeled_statement "LAB_0048bf60:\n    iVar1 = param_1[1];" statement_identifier : (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) (labeled_statement "LAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" statement_identifier : (expression_statement "iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" identifier = (binary_expression "iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (binary_expression "iVar1 + *(int *)(param_2 + 4)" identifier + (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) + (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))))) ;)) (expression_statement "iVar6 = iVar7 + -1;" (assignment_expression "iVar6 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 - iVar8;" (assignment_expression "iVar7 = iVar7 - iVar8" identifier = (binary_expression "iVar7 - iVar8" identifier - identifier)) ;) (expression_statement "param_1[1] = iVar1 + iVar7;" (assignment_expression "param_1[1] = iVar1 + iVar7" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar1 + iVar7" identifier + identifier)) ;) (if_statement "if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }" { (while_statement "while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }" while (parenthesized_expression "(iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1)" ( (comma_expression "iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) , (comma_expression "iVar2 = iVar7, -1 < iVar1" (assignment_expression "iVar2 = iVar7" identifier = identifier) , (binary_expression "-1 < iVar1" number_literal < identifier))) )) (compound_statement "{\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }" { (while_statement "while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }" { (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar5 = *(int *)(iVar4 + iVar6 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" * (cast_expression "(int *)(iVar4 + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar6 * 4)" ( (binary_expression "iVar4 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar7 = *(int *)(iVar4 + iVar1 * 4);" (assignment_expression "iVar7 = *(int *)(iVar4 + iVar1 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar1 * 4)" * (cast_expression "(int *)(iVar4 + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar1 * 4)" ( (binary_expression "iVar4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar5 <= iVar7) break;" if (parenthesized_expression "(iVar5 <= iVar7)" ( (binary_expression "iVar5 <= iVar7" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar2 + -1;" (assignment_expression "iVar7 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;" (assignment_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5" (pointer_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4)" * (cast_expression "(int *)(iVar4 + (iVar1 + iVar2) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar1 + iVar2) * 4)" ( (binary_expression "iVar4 + (iVar1 + iVar2) * 4" identifier + (binary_expression "(iVar1 + iVar2) * 4" (parenthesized_expression "(iVar1 + iVar2)" ( (binary_expression "iVar1 + iVar2" identifier + identifier) )) * number_literal)) )))) = identifier) ;) (expression_statement "iVar2 = iVar7;" (assignment_expression "iVar2 = iVar7" identifier = identifier) ;) (if_statement "if (iVar7 == 0) goto LAB_0048bf94;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0048bf94;" goto statement_identifier ;)) })) (expression_statement "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;" (assignment_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7" (pointer_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4)" * (cast_expression "(int *)(iVar4 + (iVar1 + iVar2) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar1 + iVar2) * 4)" ( (binary_expression "iVar4 + (iVar1 + iVar2) * 4" identifier + (binary_expression "(iVar1 + iVar2) * 4" (parenthesized_expression "(iVar1 + iVar2)" ( (binary_expression "iVar1 + iVar2" identifier + identifier) )) * number_literal)) )))) = identifier) ;) (expression_statement "iVar7 = iVar2;" (assignment_expression "iVar7 = iVar2" identifier = identifier) ;) })) })) (labeled_statement "LAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);" (call_expression "(*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_004bf390)" ( (pointer_expression "*(code *)PTR_memcpy_004bf390" * (cast_expression "(code *)PTR_memcpy_004bf390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "param_1[2] + iVar8 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar8 * 4" identifier * number_literal)) , (binary_expression "iVar7 << 2" identifier << number_literal) ))) ;)) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nreg_errcode_t re_node_set_add_intersect(re_node_set *dest,re_node_set *src1,re_node_set *src2)\n\n{\n  int iVar1;\n  int iVar2;\n  Idx *pIVar3;\n  int *piVar4;\n  int iVar5;\n  Idx *pIVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  if ((src1->nelem != 0) && (src2->nelem != 0)) {\n    iVar1 = src1->nelem + src2->nelem;\n    if (dest->alloc < iVar1 + dest->nelem) {\n      iVar1 = iVar1 + dest->alloc;\n      pIVar3 = (Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4);\n      if (pIVar3 == (Idx *)0x0) {\n        return _REG_ESPACE;\n      }\n      dest->elems = pIVar3;\n      dest->alloc = iVar1;\n    }\n    iVar9 = dest->nelem + src1->nelem + src2->nelem;\n    iVar1 = src1->nelem + -1;\n    iVar7 = src2->nelem + -1;\n    iVar8 = dest->nelem + -1;\n    do {\n      while( true ) {\n        iVar5 = src1->elems[iVar1];\n        if (iVar5 != src2->elems[iVar7]) break;\n        if (iVar8 < 0) {\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }\n        else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar7 = iVar7 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar7 < 0) {\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar5 < src2->elems[iVar7]) {\n        iVar7 = iVar7 + -1;\n        iVar5 = iVar7;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar5 = iVar1;\n      }\n    } while (-1 < iVar5);\nLAB_0048bf60:\n    iVar1 = dest->nelem;\nLAB_0048bf64:\n    iVar8 = iVar1 + src1->nelem + src2->nelem;\n    iVar7 = iVar8 + -1;\n    iVar8 = iVar8 - iVar9;\n    dest->nelem = iVar1 + iVar8;\n    if (0 < iVar8) {\n      while (iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1) {\n        while( true ) {\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }\n        pIVar3[iVar1 + iVar5] = pIVar3[iVar1];\n        iVar8 = iVar5;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(dest->elems,dest->elems + iVar9,iVar8 << 2);\n  }\n  return _REG_NOERROR;\n}\n\n" comment (function_definition "reg_errcode_t re_node_set_add_intersect(re_node_set *dest,re_node_set *src1,re_node_set *src2)\n\n{\n  int iVar1;\n  int iVar2;\n  Idx *pIVar3;\n  int *piVar4;\n  int iVar5;\n  Idx *pIVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  if ((src1->nelem != 0) && (src2->nelem != 0)) {\n    iVar1 = src1->nelem + src2->nelem;\n    if (dest->alloc < iVar1 + dest->nelem) {\n      iVar1 = iVar1 + dest->alloc;\n      pIVar3 = (Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4);\n      if (pIVar3 == (Idx *)0x0) {\n        return _REG_ESPACE;\n      }\n      dest->elems = pIVar3;\n      dest->alloc = iVar1;\n    }\n    iVar9 = dest->nelem + src1->nelem + src2->nelem;\n    iVar1 = src1->nelem + -1;\n    iVar7 = src2->nelem + -1;\n    iVar8 = dest->nelem + -1;\n    do {\n      while( true ) {\n        iVar5 = src1->elems[iVar1];\n        if (iVar5 != src2->elems[iVar7]) break;\n        if (iVar8 < 0) {\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }\n        else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar7 = iVar7 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar7 < 0) {\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar5 < src2->elems[iVar7]) {\n        iVar7 = iVar7 + -1;\n        iVar5 = iVar7;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar5 = iVar1;\n      }\n    } while (-1 < iVar5);\nLAB_0048bf60:\n    iVar1 = dest->nelem;\nLAB_0048bf64:\n    iVar8 = iVar1 + src1->nelem + src2->nelem;\n    iVar7 = iVar8 + -1;\n    iVar8 = iVar8 - iVar9;\n    dest->nelem = iVar1 + iVar8;\n    if (0 < iVar8) {\n      while (iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1) {\n        while( true ) {\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }\n        pIVar3[iVar1 + iVar5] = pIVar3[iVar1];\n        iVar8 = iVar5;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(dest->elems,dest->elems + iVar9,iVar8 << 2);\n  }\n  return _REG_NOERROR;\n}" type_identifier (function_declarator "re_node_set_add_intersect(re_node_set *dest,re_node_set *src1,re_node_set *src2)" identifier (parameter_list "(re_node_set *dest,re_node_set *src1,re_node_set *src2)" ( (parameter_declaration "re_node_set *dest" type_identifier (pointer_declarator "*dest" * identifier)) , (parameter_declaration "re_node_set *src1" type_identifier (pointer_declarator "*src1" * identifier)) , (parameter_declaration "re_node_set *src2" type_identifier (pointer_declarator "*src2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  Idx *pIVar3;\n  int *piVar4;\n  int iVar5;\n  Idx *pIVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  \n  if ((src1->nelem != 0) && (src2->nelem != 0)) {\n    iVar1 = src1->nelem + src2->nelem;\n    if (dest->alloc < iVar1 + dest->nelem) {\n      iVar1 = iVar1 + dest->alloc;\n      pIVar3 = (Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4);\n      if (pIVar3 == (Idx *)0x0) {\n        return _REG_ESPACE;\n      }\n      dest->elems = pIVar3;\n      dest->alloc = iVar1;\n    }\n    iVar9 = dest->nelem + src1->nelem + src2->nelem;\n    iVar1 = src1->nelem + -1;\n    iVar7 = src2->nelem + -1;\n    iVar8 = dest->nelem + -1;\n    do {\n      while( true ) {\n        iVar5 = src1->elems[iVar1];\n        if (iVar5 != src2->elems[iVar7]) break;\n        if (iVar8 < 0) {\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }\n        else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar7 = iVar7 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar7 < 0) {\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar5 < src2->elems[iVar7]) {\n        iVar7 = iVar7 + -1;\n        iVar5 = iVar7;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar5 = iVar1;\n      }\n    } while (-1 < iVar5);\nLAB_0048bf60:\n    iVar1 = dest->nelem;\nLAB_0048bf64:\n    iVar8 = iVar1 + src1->nelem + src2->nelem;\n    iVar7 = iVar8 + -1;\n    iVar8 = iVar8 - iVar9;\n    dest->nelem = iVar1 + iVar8;\n    if (0 < iVar8) {\n      while (iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1) {\n        while( true ) {\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }\n        pIVar3[iVar1 + iVar5] = pIVar3[iVar1];\n        iVar8 = iVar5;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(dest->elems,dest->elems + iVar9,iVar8 << 2);\n  }\n  return _REG_NOERROR;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Idx *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "Idx *pIVar6;" type_identifier (pointer_declarator "*pIVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (if_statement "if ((src1->nelem != 0) && (src2->nelem != 0)) {\n    iVar1 = src1->nelem + src2->nelem;\n    if (dest->alloc < iVar1 + dest->nelem) {\n      iVar1 = iVar1 + dest->alloc;\n      pIVar3 = (Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4);\n      if (pIVar3 == (Idx *)0x0) {\n        return _REG_ESPACE;\n      }\n      dest->elems = pIVar3;\n      dest->alloc = iVar1;\n    }\n    iVar9 = dest->nelem + src1->nelem + src2->nelem;\n    iVar1 = src1->nelem + -1;\n    iVar7 = src2->nelem + -1;\n    iVar8 = dest->nelem + -1;\n    do {\n      while( true ) {\n        iVar5 = src1->elems[iVar1];\n        if (iVar5 != src2->elems[iVar7]) break;\n        if (iVar8 < 0) {\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }\n        else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar7 = iVar7 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar7 < 0) {\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar5 < src2->elems[iVar7]) {\n        iVar7 = iVar7 + -1;\n        iVar5 = iVar7;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar5 = iVar1;\n      }\n    } while (-1 < iVar5);\nLAB_0048bf60:\n    iVar1 = dest->nelem;\nLAB_0048bf64:\n    iVar8 = iVar1 + src1->nelem + src2->nelem;\n    iVar7 = iVar8 + -1;\n    iVar8 = iVar8 - iVar9;\n    dest->nelem = iVar1 + iVar8;\n    if (0 < iVar8) {\n      while (iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1) {\n        while( true ) {\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }\n        pIVar3[iVar1 + iVar5] = pIVar3[iVar1];\n        iVar8 = iVar5;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(dest->elems,dest->elems + iVar9,iVar8 << 2);\n  }" if (parenthesized_expression "((src1->nelem != 0) && (src2->nelem != 0))" ( (binary_expression "(src1->nelem != 0) && (src2->nelem != 0)" (parenthesized_expression "(src1->nelem != 0)" ( (binary_expression "src1->nelem != 0" (field_expression "src1->nelem" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(src2->nelem != 0)" ( (binary_expression "src2->nelem != 0" (field_expression "src2->nelem" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n    iVar1 = src1->nelem + src2->nelem;\n    if (dest->alloc < iVar1 + dest->nelem) {\n      iVar1 = iVar1 + dest->alloc;\n      pIVar3 = (Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4);\n      if (pIVar3 == (Idx *)0x0) {\n        return _REG_ESPACE;\n      }\n      dest->elems = pIVar3;\n      dest->alloc = iVar1;\n    }\n    iVar9 = dest->nelem + src1->nelem + src2->nelem;\n    iVar1 = src1->nelem + -1;\n    iVar7 = src2->nelem + -1;\n    iVar8 = dest->nelem + -1;\n    do {\n      while( true ) {\n        iVar5 = src1->elems[iVar1];\n        if (iVar5 != src2->elems[iVar7]) break;\n        if (iVar8 < 0) {\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }\n        else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar7 = iVar7 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar7 < 0) {\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar5 < src2->elems[iVar7]) {\n        iVar7 = iVar7 + -1;\n        iVar5 = iVar7;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar5 = iVar1;\n      }\n    } while (-1 < iVar5);\nLAB_0048bf60:\n    iVar1 = dest->nelem;\nLAB_0048bf64:\n    iVar8 = iVar1 + src1->nelem + src2->nelem;\n    iVar7 = iVar8 + -1;\n    iVar8 = iVar8 - iVar9;\n    dest->nelem = iVar1 + iVar8;\n    if (0 < iVar8) {\n      while (iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1) {\n        while( true ) {\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }\n        pIVar3[iVar1 + iVar5] = pIVar3[iVar1];\n        iVar8 = iVar5;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(dest->elems,dest->elems + iVar9,iVar8 << 2);\n  }" { (expression_statement "iVar1 = src1->nelem + src2->nelem;" (assignment_expression "iVar1 = src1->nelem + src2->nelem" identifier = (binary_expression "src1->nelem + src2->nelem" (field_expression "src1->nelem" identifier -> field_identifier) + (field_expression "src2->nelem" identifier -> field_identifier))) ;) (if_statement "if (dest->alloc < iVar1 + dest->nelem) {\n      iVar1 = iVar1 + dest->alloc;\n      pIVar3 = (Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4);\n      if (pIVar3 == (Idx *)0x0) {\n        return _REG_ESPACE;\n      }\n      dest->elems = pIVar3;\n      dest->alloc = iVar1;\n    }" if (parenthesized_expression "(dest->alloc < iVar1 + dest->nelem)" ( (binary_expression "dest->alloc < iVar1 + dest->nelem" (field_expression "dest->alloc" identifier -> field_identifier) < (binary_expression "iVar1 + dest->nelem" identifier + (field_expression "dest->nelem" identifier -> field_identifier))) )) (compound_statement "{\n      iVar1 = iVar1 + dest->alloc;\n      pIVar3 = (Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4);\n      if (pIVar3 == (Idx *)0x0) {\n        return _REG_ESPACE;\n      }\n      dest->elems = pIVar3;\n      dest->alloc = iVar1;\n    }" { (expression_statement "iVar1 = iVar1 + dest->alloc;" (assignment_expression "iVar1 = iVar1 + dest->alloc" identifier = (binary_expression "iVar1 + dest->alloc" identifier + (field_expression "dest->alloc" identifier -> field_identifier))) ;) (expression_statement "pIVar3 = (Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4);" (assignment_expression "pIVar3 = (Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4)" identifier = (cast_expression "(Idx *)(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4)" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_004bf2dc)(dest->elems,iVar1 * 4)" (parenthesized_expression "(*(code *)PTR_realloc_004bf2dc)" ( (pointer_expression "*(code *)PTR_realloc_004bf2dc" * (cast_expression "(code *)PTR_realloc_004bf2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dest->elems,iVar1 * 4)" ( (field_expression "dest->elems" identifier -> field_identifier) , (binary_expression "iVar1 * 4" 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 "dest->elems = pIVar3;" (assignment_expression "dest->elems = pIVar3" (field_expression "dest->elems" identifier -> field_identifier) = identifier) ;) (expression_statement "dest->alloc = iVar1;" (assignment_expression "dest->alloc = iVar1" (field_expression "dest->alloc" identifier -> field_identifier) = identifier) ;) })) (expression_statement "iVar9 = dest->nelem + src1->nelem + src2->nelem;" (assignment_expression "iVar9 = dest->nelem + src1->nelem + src2->nelem" identifier = (binary_expression "dest->nelem + src1->nelem + src2->nelem" (binary_expression "dest->nelem + src1->nelem" (field_expression "dest->nelem" identifier -> field_identifier) + (field_expression "src1->nelem" identifier -> field_identifier)) + (field_expression "src2->nelem" identifier -> field_identifier))) ;) (expression_statement "iVar1 = src1->nelem + -1;" (assignment_expression "iVar1 = src1->nelem + -1" identifier = (binary_expression "src1->nelem + -1" (field_expression "src1->nelem" identifier -> field_identifier) + number_literal)) ;) (expression_statement "iVar7 = src2->nelem + -1;" (assignment_expression "iVar7 = src2->nelem + -1" identifier = (binary_expression "src2->nelem + -1" (field_expression "src2->nelem" identifier -> field_identifier) + number_literal)) ;) (expression_statement "iVar8 = dest->nelem + -1;" (assignment_expression "iVar8 = dest->nelem + -1" identifier = (binary_expression "dest->nelem + -1" (field_expression "dest->nelem" identifier -> field_identifier) + number_literal)) ;) (do_statement "do {\n      while( true ) {\n        iVar5 = src1->elems[iVar1];\n        if (iVar5 != src2->elems[iVar7]) break;\n        if (iVar8 < 0) {\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }\n        else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar7 = iVar7 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar7 < 0) {\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar5 < src2->elems[iVar7]) {\n        iVar7 = iVar7 + -1;\n        iVar5 = iVar7;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar5 = iVar1;\n      }\n    } while (-1 < iVar5);" do (compound_statement "{\n      while( true ) {\n        iVar5 = src1->elems[iVar1];\n        if (iVar5 != src2->elems[iVar7]) break;\n        if (iVar8 < 0) {\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }\n        else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar7 = iVar7 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar7 < 0) {\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar5 < src2->elems[iVar7]) {\n        iVar7 = iVar7 + -1;\n        iVar5 = iVar7;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar5 = iVar1;\n      }\n    }" { (while_statement "while( true ) {\n        iVar5 = src1->elems[iVar1];\n        if (iVar5 != src2->elems[iVar7]) break;\n        if (iVar8 < 0) {\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }\n        else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar7 = iVar7 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar7 < 0) {\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar5 = src1->elems[iVar1];\n        if (iVar5 != src2->elems[iVar7]) break;\n        if (iVar8 < 0) {\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }\n        else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar7 = iVar7 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar7 < 0) {\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }\n      }" { (expression_statement "iVar5 = src1->elems[iVar1];" (assignment_expression "iVar5 = src1->elems[iVar1]" identifier = (subscript_expression "src1->elems[iVar1]" (field_expression "src1->elems" identifier -> field_identifier) [ identifier ])) ;) (if_statement "if (iVar5 != src2->elems[iVar7]) break;" if (parenthesized_expression "(iVar5 != src2->elems[iVar7])" ( (binary_expression "iVar5 != src2->elems[iVar7]" identifier != (subscript_expression "src2->elems[iVar7]" (field_expression "src2->elems" identifier -> field_identifier) [ identifier ])) )) (break_statement "break;" break ;)) (if_statement "if (iVar8 < 0) {\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }\n        else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }" if (parenthesized_expression "(iVar8 < 0)" ( (binary_expression "iVar8 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0048c05c:\n          iVar9 = iVar9 + -1;\n          dest->elems[iVar9] = iVar5;\n        }" { (labeled_statement "LAB_0048c05c:\n          iVar9 = iVar9 + -1;" statement_identifier : (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;)) (expression_statement "dest->elems[iVar9] = iVar5;" (assignment_expression "dest->elems[iVar9] = iVar5" (subscript_expression "dest->elems[iVar9]" (field_expression "dest->elems" identifier -> field_identifier) [ identifier ]) = identifier) ;) }) (else_clause "else {\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }" else (compound_statement "{\n          piVar4 = dest->elems + iVar8;\n          iVar2 = *piVar4;\n          while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }\n          if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;\n        }" { (expression_statement "piVar4 = dest->elems + iVar8;" (assignment_expression "piVar4 = dest->elems + iVar8" identifier = (binary_expression "dest->elems + iVar8" (field_expression "dest->elems" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (while_statement "while (iVar5 < iVar2) {\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }" while (parenthesized_expression "(iVar5 < iVar2)" ( (binary_expression "iVar5 < iVar2" identifier < identifier) )) (compound_statement "{\n            iVar8 = iVar8 + -1;\n            piVar4 = piVar4 + -1;\n            if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar4;\n          }" { (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "piVar4 = piVar4 + -1;" (assignment_expression "piVar4 = piVar4 + -1" identifier = (binary_expression "piVar4 + -1" identifier + number_literal)) ;) (if_statement "if (iVar8 == -1) {\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }" if (parenthesized_expression "(iVar8 == -1)" ( (binary_expression "iVar8 == -1" identifier == number_literal) )) (compound_statement "{\n              iVar8 = -1;\n              goto LAB_0048c05c;\n            }" { (expression_statement "iVar8 = -1;" (assignment_expression "iVar8 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0048c05c;" goto statement_identifier ;) })) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) })) (if_statement "if (iVar5 != dest->elems[iVar8]) goto LAB_0048c05c;" if (parenthesized_expression "(iVar5 != dest->elems[iVar8])" ( (binary_expression "iVar5 != dest->elems[iVar8]" identifier != (subscript_expression "dest->elems[iVar8]" (field_expression "dest->elems" identifier -> field_identifier) [ identifier ])) )) (goto_statement "goto LAB_0048c05c;" goto statement_identifier ;)) }))) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (if_statement "if (iVar1 < 0) goto LAB_0048bf60;" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0048bf60;" goto statement_identifier ;)) (if_statement "if (iVar7 < 0) {\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n          iVar1 = dest->nelem;\n          goto LAB_0048bf64;\n        }" { (expression_statement "iVar1 = dest->nelem;" (assignment_expression "iVar1 = dest->nelem" identifier = (field_expression "dest->nelem" identifier -> field_identifier)) ;) (goto_statement "goto LAB_0048bf64;" goto statement_identifier ;) })) })) (if_statement "if (iVar5 < src2->elems[iVar7]) {\n        iVar7 = iVar7 + -1;\n        iVar5 = iVar7;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar5 = iVar1;\n      }" if (parenthesized_expression "(iVar5 < src2->elems[iVar7])" ( (binary_expression "iVar5 < src2->elems[iVar7]" identifier < (subscript_expression "src2->elems[iVar7]" (field_expression "src2->elems" identifier -> field_identifier) [ identifier ])) )) (compound_statement "{\n        iVar7 = iVar7 + -1;\n        iVar5 = iVar7;\n      }" { (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" identifier = identifier) ;) }) (else_clause "else {\n        iVar1 = iVar1 + -1;\n        iVar5 = iVar1;\n      }" else (compound_statement "{\n        iVar1 = iVar1 + -1;\n        iVar5 = iVar1;\n      }" { (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) }))) }) while (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) ;) (labeled_statement "LAB_0048bf60:\n    iVar1 = dest->nelem;" statement_identifier : (expression_statement "iVar1 = dest->nelem;" (assignment_expression "iVar1 = dest->nelem" identifier = (field_expression "dest->nelem" identifier -> field_identifier)) ;)) (labeled_statement "LAB_0048bf64:\n    iVar8 = iVar1 + src1->nelem + src2->nelem;" statement_identifier : (expression_statement "iVar8 = iVar1 + src1->nelem + src2->nelem;" (assignment_expression "iVar8 = iVar1 + src1->nelem + src2->nelem" identifier = (binary_expression "iVar1 + src1->nelem + src2->nelem" (binary_expression "iVar1 + src1->nelem" identifier + (field_expression "src1->nelem" identifier -> field_identifier)) + (field_expression "src2->nelem" identifier -> field_identifier))) ;)) (expression_statement "iVar7 = iVar8 + -1;" (assignment_expression "iVar7 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar8 - iVar9;" (assignment_expression "iVar8 = iVar8 - iVar9" identifier = (binary_expression "iVar8 - iVar9" identifier - identifier)) ;) (expression_statement "dest->nelem = iVar1 + iVar8;" (assignment_expression "dest->nelem = iVar1 + iVar8" (field_expression "dest->nelem" identifier -> field_identifier) = (binary_expression "iVar1 + iVar8" identifier + identifier)) ;) (if_statement "if (0 < iVar8) {\n      while (iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1) {\n        while( true ) {\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }\n        pIVar3[iVar1 + iVar5] = pIVar3[iVar1];\n        iVar8 = iVar5;\n      }\n    }" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (compound_statement "{\n      while (iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1) {\n        while( true ) {\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }\n        pIVar3[iVar1 + iVar5] = pIVar3[iVar1];\n        iVar8 = iVar5;\n      }\n    }" { (while_statement "while (iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1) {\n        while( true ) {\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }\n        pIVar3[iVar1 + iVar5] = pIVar3[iVar1];\n        iVar8 = iVar5;\n      }" while (parenthesized_expression "(iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1)" ( (comma_expression "iVar1 = iVar1 + -1, iVar5 = iVar8, -1 < iVar1" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) , (comma_expression "iVar5 = iVar8, -1 < iVar1" (assignment_expression "iVar5 = iVar8" identifier = identifier) , (binary_expression "-1 < iVar1" number_literal < identifier))) )) (compound_statement "{\n        while( true ) {\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }\n        pIVar3[iVar1 + iVar5] = pIVar3[iVar1];\n        iVar8 = iVar5;\n      }" { (while_statement "while( true ) {\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          pIVar3 = dest->elems;\n          pIVar6 = pIVar3 + iVar7;\n          if (*pIVar6 <= pIVar3[iVar1]) break;\n          iVar7 = iVar7 + -1;\n          iVar8 = iVar5 + -1;\n          pIVar3[iVar1 + iVar5] = *pIVar6;\n          iVar5 = iVar8;\n          if (iVar8 == 0) goto LAB_0048bf94;\n        }" { (expression_statement "pIVar3 = dest->elems;" (assignment_expression "pIVar3 = dest->elems" identifier = (field_expression "dest->elems" identifier -> field_identifier)) ;) (expression_statement "pIVar6 = pIVar3 + iVar7;" (assignment_expression "pIVar6 = pIVar3 + iVar7" identifier = (binary_expression "pIVar3 + iVar7" identifier + identifier)) ;) (if_statement "if (*pIVar6 <= pIVar3[iVar1]) break;" if (parenthesized_expression "(*pIVar6 <= pIVar3[iVar1])" ( (binary_expression "*pIVar6 <= pIVar3[iVar1]" (pointer_expression "*pIVar6" * identifier) <= (subscript_expression "pIVar3[iVar1]" identifier [ identifier ])) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar5 + -1;" (assignment_expression "iVar8 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "pIVar3[iVar1 + iVar5] = *pIVar6;" (assignment_expression "pIVar3[iVar1 + iVar5] = *pIVar6" (subscript_expression "pIVar3[iVar1 + iVar5]" identifier [ (binary_expression "iVar1 + iVar5" identifier + identifier) ]) = (pointer_expression "*pIVar6" * identifier)) ;) (expression_statement "iVar5 = iVar8;" (assignment_expression "iVar5 = iVar8" identifier = identifier) ;) (if_statement "if (iVar8 == 0) goto LAB_0048bf94;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0048bf94;" goto statement_identifier ;)) })) (expression_statement "pIVar3[iVar1 + iVar5] = pIVar3[iVar1];" (assignment_expression "pIVar3[iVar1 + iVar5] = pIVar3[iVar1]" (subscript_expression "pIVar3[iVar1 + iVar5]" identifier [ (binary_expression "iVar1 + iVar5" identifier + identifier) ]) = (subscript_expression "pIVar3[iVar1]" identifier [ identifier ])) ;) (expression_statement "iVar8 = iVar5;" (assignment_expression "iVar8 = iVar5" identifier = identifier) ;) })) })) (labeled_statement "LAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(dest->elems,dest->elems + iVar9,iVar8 << 2);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_004bf390)(dest->elems,dest->elems + iVar9,iVar8 << 2);" (call_expression "(*(code *)PTR_memcpy_004bf390)(dest->elems,dest->elems + iVar9,iVar8 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_004bf390)" ( (pointer_expression "*(code *)PTR_memcpy_004bf390" * (cast_expression "(code *)PTR_memcpy_004bf390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dest->elems,dest->elems + iVar9,iVar8 << 2)" ( (field_expression "dest->elems" identifier -> field_identifier) , (binary_expression "dest->elems + iVar9" (field_expression "dest->elems" identifier -> field_identifier) + identifier) , (binary_expression "iVar8 << 2" identifier << number_literal) ))) ;)) })) (return_statement "return _REG_NOERROR;" return identifier ;) })))
(translation_unit "undefined4 FUN_0048be04(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0048be04(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0048be04(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (if_statement "if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }" if (parenthesized_expression "((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0))" ( (binary_expression "(*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)" (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" ( (binary_expression "*(int *)(param_2 + 4) != 0" (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) )) && (parenthesized_expression "(*(int *)(param_3 + 4) != 0)" ( (binary_expression "*(int *)(param_3 + 4) != 0" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }" { (expression_statement "iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" identifier = (binary_expression "*(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))))) ;) (if_statement "if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }" if (parenthesized_expression "(*param_1 < iVar1 + param_1[1])" ( (binary_expression "*param_1 < iVar1 + param_1[1]" (pointer_expression "*param_1" * identifier) < (binary_expression "iVar1 + param_1[1]" identifier + (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }" { (expression_statement "iVar1 = iVar1 + *param_1;" (assignment_expression "iVar1 = iVar1 + *param_1" identifier = (binary_expression "iVar1 + *param_1" identifier + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);" (assignment_expression "iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4)" identifier = (call_expression "(*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4)" (parenthesized_expression "(*(code *)PTR_realloc_004bf2dc)" ( (pointer_expression "*(code *)PTR_realloc_004bf2dc" * (cast_expression "(code *)PTR_realloc_004bf2dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],iVar1 * 4)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "iVar1 * 4" identifier * number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n        return 0xc;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0xc;\n      }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "param_1[2] = iVar6;" (assignment_expression "param_1[2] = iVar6" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) })) (expression_statement "iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" identifier = (binary_expression "param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (binary_expression "param_1[1] + *(int *)(param_2 + 4)" (subscript_expression "param_1[1]" identifier [ number_literal ]) + (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) + (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))))) ;) (expression_statement "iVar1 = *(int *)(param_2 + 4) + -1;" (assignment_expression "iVar1 = *(int *)(param_2 + 4) + -1" identifier = (binary_expression "*(int *)(param_2 + 4) + -1" (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)) ;) (expression_statement "iVar6 = *(int *)(param_3 + 4) + -1;" (assignment_expression "iVar6 = *(int *)(param_3 + 4) + -1" identifier = (binary_expression "*(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar7 = param_1[1] + -1;" (assignment_expression "iVar7 = param_1[1] + -1" identifier = (binary_expression "param_1[1] + -1" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal)) ;) (do_statement "do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);" do (compound_statement "{\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    }" { (while_statement "while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }" { (expression_statement "iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);" (assignment_expression "iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" * (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + iVar1 * 4)" ( (binary_expression "*(int *)(param_2 + 8) + iVar1 * 4" (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) )))) + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_3 + 8) + iVar6 * 4)" * (cast_expression "(int *)(*(int *)(param_3 + 8) + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 8) + iVar6 * 4)" ( (binary_expression "*(int *)(param_3 + 8) + iVar6 * 4" (pointer_expression "*(int *)(param_3 + 8)" * (cast_expression "(int *)(param_3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar4 != iVar2) break;" if (parenthesized_expression "(iVar4 != iVar2)" ( (binary_expression "iVar4 != iVar2" identifier != identifier) )) (break_statement "break;" break ;)) (if_statement "if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }" { (labeled_statement "LAB_0048c05c:\n          iVar8 = iVar8 + -1;" statement_identifier : (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;)) (expression_statement "*(int *)(param_1[2] + iVar8 * 4) = iVar4;" (assignment_expression "*(int *)(param_1[2] + iVar8 * 4) = iVar4" (pointer_expression "*(int *)(param_1[2] + iVar8 * 4)" * (cast_expression "(int *)(param_1[2] + iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar8 * 4)" ( (binary_expression "param_1[2] + iVar8 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar8 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }" else (compound_statement "{\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }" { (expression_statement "piVar3 = (int *)(param_1[2] + iVar7 * 4);" (assignment_expression "piVar3 = (int *)(param_1[2] + iVar7 * 4)" identifier = (cast_expression "(int *)(param_1[2] + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar7 * 4)" ( (binary_expression "param_1[2] + iVar7 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (while_statement "while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }" while (parenthesized_expression "(iVar4 < iVar2)" ( (binary_expression "iVar4 < iVar2" identifier < identifier) )) (compound_statement "{\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }" { (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "piVar3 = piVar3 + -1;" (assignment_expression "piVar3 = piVar3 + -1" identifier = (binary_expression "piVar3 + -1" identifier + number_literal)) ;) (if_statement "if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }" if (parenthesized_expression "(iVar7 == -1)" ( (binary_expression "iVar7 == -1" identifier == number_literal) )) (compound_statement "{\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }" { (expression_statement "iVar7 = -1;" (assignment_expression "iVar7 = -1" identifier = number_literal) ;) (goto_statement "goto LAB_0048c05c;" goto statement_identifier ;) })) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) })) (if_statement "if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;" if (parenthesized_expression "(iVar4 != *(int *)(param_1[2] + iVar7 * 4))" ( (binary_expression "iVar4 != *(int *)(param_1[2] + iVar7 * 4)" identifier != (pointer_expression "*(int *)(param_1[2] + iVar7 * 4)" * (cast_expression "(int *)(param_1[2] + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar7 * 4)" ( (binary_expression "param_1[2] + iVar7 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar7 * 4" identifier * number_literal)) ))))) )) (goto_statement "goto LAB_0048c05c;" goto statement_identifier ;)) }))) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (if_statement "if (iVar1 < 0) goto LAB_0048bf60;" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0048bf60;" goto statement_identifier ;)) (if_statement "if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }" { (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_0048bf64;" goto statement_identifier ;) })) })) (if_statement "if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }" if (parenthesized_expression "(iVar4 < iVar2)" ( (binary_expression "iVar4 < iVar2" identifier < identifier) )) (compound_statement "{\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }" { (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" identifier = identifier) ;) }) (else_clause "else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }" else (compound_statement "{\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }" { (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) }))) }) while (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) ;) (labeled_statement "LAB_0048bf60:\n    iVar1 = param_1[1];" statement_identifier : (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) (labeled_statement "LAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" statement_identifier : (expression_statement "iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" identifier = (binary_expression "iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (binary_expression "iVar1 + *(int *)(param_2 + 4)" identifier + (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) + (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))))) ;)) (expression_statement "iVar6 = iVar7 + -1;" (assignment_expression "iVar6 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 - iVar8;" (assignment_expression "iVar7 = iVar7 - iVar8" identifier = (binary_expression "iVar7 - iVar8" identifier - identifier)) ;) (expression_statement "param_1[1] = iVar1 + iVar7;" (assignment_expression "param_1[1] = iVar1 + iVar7" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar1 + iVar7" identifier + identifier)) ;) (if_statement "if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }" { (while_statement "while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }" while (parenthesized_expression "(iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1)" ( (comma_expression "iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) , (comma_expression "iVar2 = iVar7, -1 < iVar1" (assignment_expression "iVar2 = iVar7" identifier = identifier) , (binary_expression "-1 < iVar1" number_literal < identifier))) )) (compound_statement "{\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }" { (while_statement "while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }" { (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar5 = *(int *)(iVar4 + iVar6 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" * (cast_expression "(int *)(iVar4 + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar6 * 4)" ( (binary_expression "iVar4 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar7 = *(int *)(iVar4 + iVar1 * 4);" (assignment_expression "iVar7 = *(int *)(iVar4 + iVar1 * 4)" identifier = (pointer_expression "*(int *)(iVar4 + iVar1 * 4)" * (cast_expression "(int *)(iVar4 + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar1 * 4)" ( (binary_expression "iVar4 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar5 <= iVar7) break;" if (parenthesized_expression "(iVar5 <= iVar7)" ( (binary_expression "iVar5 <= iVar7" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar2 + -1;" (assignment_expression "iVar7 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;" (assignment_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5" (pointer_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4)" * (cast_expression "(int *)(iVar4 + (iVar1 + iVar2) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar1 + iVar2) * 4)" ( (binary_expression "iVar4 + (iVar1 + iVar2) * 4" identifier + (binary_expression "(iVar1 + iVar2) * 4" (parenthesized_expression "(iVar1 + iVar2)" ( (binary_expression "iVar1 + iVar2" identifier + identifier) )) * number_literal)) )))) = identifier) ;) (expression_statement "iVar2 = iVar7;" (assignment_expression "iVar2 = iVar7" identifier = identifier) ;) (if_statement "if (iVar7 == 0) goto LAB_0048bf94;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0048bf94;" goto statement_identifier ;)) })) (expression_statement "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;" (assignment_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7" (pointer_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4)" * (cast_expression "(int *)(iVar4 + (iVar1 + iVar2) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + (iVar1 + iVar2) * 4)" ( (binary_expression "iVar4 + (iVar1 + iVar2) * 4" identifier + (binary_expression "(iVar1 + iVar2) * 4" (parenthesized_expression "(iVar1 + iVar2)" ( (binary_expression "iVar1 + iVar2" identifier + identifier) )) * number_literal)) )))) = identifier) ;) (expression_statement "iVar7 = iVar2;" (assignment_expression "iVar7 = iVar2" identifier = identifier) ;) })) })) (labeled_statement "LAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);" (call_expression "(*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_004bf390)" ( (pointer_expression "*(code *)PTR_memcpy_004bf390" * (cast_expression "(code *)PTR_memcpy_004bf390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2)" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) , (binary_expression "param_1[2] + iVar8 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar8 * 4" identifier * number_literal)) , (binary_expression "iVar7 << 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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) )) (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) ))))) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression LIT < IDENT))) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (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 + (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)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (break_statement break ;)) (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 (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) , (binary_expression IDENT << LIT) ))) ;)) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0048be04(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0048be04(int *param_1,int param_2,int param_3)" (identifier "FUN_0048be04") (parameter_list "(int *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (if_statement "if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }" (if "if") (parenthesized_expression "((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0))" (( "(") (binary_expression "(*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)" (parenthesized_expression "(*(int *)(param_2 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 4) != 0" (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 "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_3 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_3 + 4) != 0" (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }\n    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar1 = *(int *)(param_2 + 4) + -1;\n    iVar6 = *(int *)(param_3 + 4) + -1;\n    iVar7 = param_1[1] + -1;\n    do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);\nLAB_0048bf60:\n    iVar1 = param_1[1];\nLAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);\n    iVar6 = iVar7 + -1;\n    iVar7 = iVar7 - iVar8;\n    param_1[1] = iVar1 + iVar7;\n    if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }\nLAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (identifier "iVar1") (= "=") (binary_expression "*(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (+ "+") (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (if_statement "if (*param_1 < iVar1 + param_1[1]) {\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }" (if "if") (parenthesized_expression "(*param_1 < iVar1 + param_1[1])" (( "(") (binary_expression "*param_1 < iVar1 + param_1[1]" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (< "<") (binary_expression "iVar1 + param_1[1]" (identifier "iVar1") (+ "+") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n      iVar1 = iVar1 + *param_1;\n      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);\n      if (iVar6 == 0) {\n        return 0xc;\n      }\n      param_1[2] = iVar6;\n      *param_1 = iVar1;\n    }" ({ "{") (expression_statement "iVar1 = iVar1 + *param_1;" (assignment_expression "iVar1 = iVar1 + *param_1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + *param_1" (identifier "iVar1") (+ "+") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);" (assignment_expression "iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4)" (parenthesized_expression "(*(code *)PTR_realloc_004bf2dc)" (( "(") (pointer_expression "*(code *)PTR_realloc_004bf2dc" (* "*") (cast_expression "(code *)PTR_realloc_004bf2dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_realloc_004bf2dc"))) () ")")) (argument_list "(param_1[2],iVar1 * 4)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n        return 0xc;\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 0xc;\n      }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (expression_statement "param_1[2] = iVar6;" (assignment_expression "param_1[2] = iVar6" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (expression_statement "iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (identifier "iVar8") (= "=") (binary_expression "param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (binary_expression "param_1[1] + *(int *)(param_2 + 4)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (+ "+") (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "iVar1 = *(int *)(param_2 + 4) + -1;" (assignment_expression "iVar1 = *(int *)(param_2 + 4) + -1" (identifier "iVar1") (= "=") (binary_expression "*(int *)(param_2 + 4) + -1" (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 "-1"))) (; ";")) (expression_statement "iVar6 = *(int *)(param_3 + 4) + -1;" (assignment_expression "iVar6 = *(int *)(param_3 + 4) + -1" (identifier "iVar6") (= "=") (binary_expression "*(int *)(param_3 + 4) + -1" (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar7 = param_1[1] + -1;" (assignment_expression "iVar7 = param_1[1] + -1" (identifier "iVar7") (= "=") (binary_expression "param_1[1] + -1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (do_statement "do {\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    } while (-1 < iVar2);" (do "do") (compound_statement "{\n      while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }\n      if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);\n        if (iVar4 != iVar2) break;\n        if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }\n        iVar1 = iVar1 + -1;\n        iVar6 = iVar6 + -1;\n        if (iVar1 < 0) goto LAB_0048bf60;\n        if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }\n      }" ({ "{") (expression_statement "iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);" (assignment_expression "iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" (* "*") (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 8) + iVar1 * 4)" (( "(") (binary_expression "*(int *)(param_2 + 8) + iVar1 * 4" (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")) () ")")))) (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(param_3 + 8) + iVar6 * 4)" (* "*") (cast_expression "(int *)(*(int *)(param_3 + 8) + iVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_3 + 8) + iVar6 * 4)" (( "(") (binary_expression "*(int *)(param_3 + 8) + iVar6 * 4" (pointer_expression "*(int *)(param_3 + 8)" (* "*") (cast_expression "(int *)(param_3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (iVar4 != iVar2) break;" (if "if") (parenthesized_expression "(iVar4 != iVar2)" (( "(") (binary_expression "iVar4 != iVar2" (identifier "iVar4") (!= "!=") (identifier "iVar2")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (iVar7 < 0) {\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }\n        else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0048c05c:\n          iVar8 = iVar8 + -1;\n          *(int *)(param_1[2] + iVar8 * 4) = iVar4;\n        }" ({ "{") (labeled_statement "LAB_0048c05c:\n          iVar8 = iVar8 + -1;" (statement_identifier "LAB_0048c05c") (: ":") (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";"))) (expression_statement "*(int *)(param_1[2] + iVar8 * 4) = iVar4;" (assignment_expression "*(int *)(param_1[2] + iVar8 * 4) = iVar4" (pointer_expression "*(int *)(param_1[2] + iVar8 * 4)" (* "*") (cast_expression "(int *)(param_1[2] + iVar8 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + iVar8 * 4)" (( "(") (binary_expression "param_1[2] + iVar8 * 4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (} "}")) (else_clause "else {\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }" (else "else") (compound_statement "{\n          piVar3 = (int *)(param_1[2] + iVar7 * 4);\n          iVar2 = *piVar3;\n          while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }\n          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;\n        }" ({ "{") (expression_statement "piVar3 = (int *)(param_1[2] + iVar7 * 4);" (assignment_expression "piVar3 = (int *)(param_1[2] + iVar7 * 4)" (identifier "piVar3") (= "=") (cast_expression "(int *)(param_1[2] + iVar7 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + iVar7 * 4)" (( "(") (binary_expression "param_1[2] + iVar7 * 4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" (identifier "iVar2") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (while_statement "while (iVar4 < iVar2) {\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }" (while "while") (parenthesized_expression "(iVar4 < iVar2)" (( "(") (binary_expression "iVar4 < iVar2" (identifier "iVar4") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n            iVar7 = iVar7 + -1;\n            piVar3 = piVar3 + -1;\n            if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }\n            iVar2 = *piVar3;\n          }" ({ "{") (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "piVar3 = piVar3 + -1;" (assignment_expression "piVar3 = piVar3 + -1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + -1" (identifier "piVar3") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar7 == -1) {\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }" (if "if") (parenthesized_expression "(iVar7 == -1)" (( "(") (binary_expression "iVar7 == -1" (identifier "iVar7") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n              iVar7 = -1;\n              goto LAB_0048c05c;\n            }" ({ "{") (expression_statement "iVar7 = -1;" (assignment_expression "iVar7 = -1" (identifier "iVar7") (= "=") (number_literal "-1")) (; ";")) (goto_statement "goto LAB_0048c05c;" (goto "goto") (statement_identifier "LAB_0048c05c") (; ";")) (} "}"))) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" (identifier "iVar2") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (} "}"))) (if_statement "if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;" (if "if") (parenthesized_expression "(iVar4 != *(int *)(param_1[2] + iVar7 * 4))" (( "(") (binary_expression "iVar4 != *(int *)(param_1[2] + iVar7 * 4)" (identifier "iVar4") (!= "!=") (pointer_expression "*(int *)(param_1[2] + iVar7 * 4)" (* "*") (cast_expression "(int *)(param_1[2] + iVar7 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + iVar7 * 4)" (( "(") (binary_expression "param_1[2] + iVar7 * 4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")"))))) () ")")) (goto_statement "goto LAB_0048c05c;" (goto "goto") (statement_identifier "LAB_0048c05c") (; ";"))) (} "}")))) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar1 < 0) goto LAB_0048bf60;" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_0048bf60;" (goto "goto") (statement_identifier "LAB_0048bf60") (; ";"))) (if_statement "if (iVar6 < 0) {\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }" (if "if") (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          iVar1 = param_1[1];\n          goto LAB_0048bf64;\n        }" ({ "{") (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" (identifier "iVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (goto_statement "goto LAB_0048bf64;" (goto "goto") (statement_identifier "LAB_0048bf64") (; ";")) (} "}"))) (} "}"))) (if_statement "if (iVar4 < iVar2) {\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }\n      else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }" (if "if") (parenthesized_expression "(iVar4 < iVar2)" (( "(") (binary_expression "iVar4 < iVar2" (identifier "iVar4") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n        iVar6 = iVar6 + -1;\n        iVar2 = iVar6;\n      }" ({ "{") (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar2 = iVar6;" (assignment_expression "iVar2 = iVar6" (identifier "iVar2") (= "=") (identifier "iVar6")) (; ";")) (} "}")) (else_clause "else {\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }" (else "else") (compound_statement "{\n        iVar1 = iVar1 + -1;\n        iVar2 = iVar1;\n      }" ({ "{") (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" (identifier "iVar2") (= "=") (identifier "iVar1")) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(-1 < iVar2)" (( "(") (binary_expression "-1 < iVar2" (number_literal "-1") (< "<") (identifier "iVar2")) () ")")) (; ";")) (labeled_statement "LAB_0048bf60:\n    iVar1 = param_1[1];" (statement_identifier "LAB_0048bf60") (: ":") (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" (identifier "iVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (labeled_statement "LAB_0048bf64:\n    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (statement_identifier "LAB_0048bf64") (: ":") (expression_statement "iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);" (assignment_expression "iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (identifier "iVar7") (= "=") (binary_expression "iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (binary_expression "iVar1 + *(int *)(param_2 + 4)" (identifier "iVar1") (+ "+") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (+ "+") (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))))) (; ";"))) (expression_statement "iVar6 = iVar7 + -1;" (assignment_expression "iVar6 = iVar7 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar7 = iVar7 - iVar8;" (assignment_expression "iVar7 = iVar7 - iVar8" (identifier "iVar7") (= "=") (binary_expression "iVar7 - iVar8" (identifier "iVar7") (- "-") (identifier "iVar8"))) (; ";")) (expression_statement "param_1[1] = iVar1 + iVar7;" (assignment_expression "param_1[1] = iVar1 + iVar7" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar1 + iVar7" (identifier "iVar1") (+ "+") (identifier "iVar7"))) (; ";")) (if_statement "if (0 < iVar7) {\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }" (if "if") (parenthesized_expression "(0 < iVar7)" (( "(") (binary_expression "0 < iVar7" (number_literal "0") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }\n    }" ({ "{") (while_statement "while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }" (while "while") (parenthesized_expression "(iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1)" (( "(") (comma_expression "iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (, ",") (comma_expression "iVar2 = iVar7, -1 < iVar1" (assignment_expression "iVar2 = iVar7" (identifier "iVar2") (= "=") (identifier "iVar7")) (, ",") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")))) () ")")) (compound_statement "{\n        while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }\n        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;\n        iVar7 = iVar2;\n      }" ({ "{") (while_statement "while( true ) {\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          iVar4 = param_1[2];\n          iVar5 = *(int *)(iVar4 + iVar6 * 4);\n          iVar7 = *(int *)(iVar4 + iVar1 * 4);\n          if (iVar5 <= iVar7) break;\n          iVar6 = iVar6 + -1;\n          iVar7 = iVar2 + -1;\n          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;\n          iVar2 = iVar7;\n          if (iVar7 == 0) goto LAB_0048bf94;\n        }" ({ "{") (expression_statement "iVar4 = param_1[2];" (assignment_expression "iVar4 = param_1[2]" (identifier "iVar4") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar4 + iVar6 * 4);" (assignment_expression "iVar5 = *(int *)(iVar4 + iVar6 * 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + iVar6 * 4)" (* "*") (cast_expression "(int *)(iVar4 + iVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar6 * 4)" (( "(") (binary_expression "iVar4 + iVar6 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar7 = *(int *)(iVar4 + iVar1 * 4);" (assignment_expression "iVar7 = *(int *)(iVar4 + iVar1 * 4)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar4 + iVar1 * 4)" (* "*") (cast_expression "(int *)(iVar4 + iVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar1 * 4)" (( "(") (binary_expression "iVar4 + iVar1 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (iVar5 <= iVar7) break;" (if "if") (parenthesized_expression "(iVar5 <= iVar7)" (( "(") (binary_expression "iVar5 <= iVar7" (identifier "iVar5") (<= "<=") (identifier "iVar7")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar7 = iVar2 + -1;" (assignment_expression "iVar7 = iVar2 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;" (assignment_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5" (pointer_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4)" (* "*") (cast_expression "(int *)(iVar4 + (iVar1 + iVar2) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + (iVar1 + iVar2) * 4)" (( "(") (binary_expression "iVar4 + (iVar1 + iVar2) * 4" (identifier "iVar4") (+ "+") (binary_expression "(iVar1 + iVar2) * 4" (parenthesized_expression "(iVar1 + iVar2)" (( "(") (binary_expression "iVar1 + iVar2" (identifier "iVar1") (+ "+") (identifier "iVar2")) () ")")) (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "iVar2 = iVar7;" (assignment_expression "iVar2 = iVar7" (identifier "iVar2") (= "=") (identifier "iVar7")) (; ";")) (if_statement "if (iVar7 == 0) goto LAB_0048bf94;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0048bf94;" (goto "goto") (statement_identifier "LAB_0048bf94") (; ";"))) (} "}"))) (expression_statement "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;" (assignment_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7" (pointer_expression "*(int *)(iVar4 + (iVar1 + iVar2) * 4)" (* "*") (cast_expression "(int *)(iVar4 + (iVar1 + iVar2) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + (iVar1 + iVar2) * 4)" (( "(") (binary_expression "iVar4 + (iVar1 + iVar2) * 4" (identifier "iVar4") (+ "+") (binary_expression "(iVar1 + iVar2) * 4" (parenthesized_expression "(iVar1 + iVar2)" (( "(") (binary_expression "iVar1 + iVar2" (identifier "iVar1") (+ "+") (identifier "iVar2")) () ")")) (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "iVar7 = iVar2;" (assignment_expression "iVar7 = iVar2" (identifier "iVar7") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0048bf94:\n    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);" (statement_identifier "LAB_0048bf94") (: ":") (expression_statement "(*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);" (call_expression "(*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2)" (parenthesized_expression "(*(code *)PTR_memcpy_004bf390)" (( "(") (pointer_expression "*(code *)PTR_memcpy_004bf390" (* "*") (cast_expression "(code *)PTR_memcpy_004bf390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_004bf390"))) () ")")) (argument_list "(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2)" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (binary_expression "param_1[2] + iVar8 * 4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) (, ",") (binary_expression "iVar7 << 2" (identifier "iVar7") (<< "<<") (number_literal "2")) () ")"))) (; ";"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) 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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (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)))) (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (number_literal) right: (identifier))))) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (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 (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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,int param_3)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  
  if ((*(int *)(param_2 + 4) != 0) && (*(int *)(param_3 + 4) != 0)) {
    iVar1 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4);
    if (*param_1 < iVar1 + param_1[1]) {
      iVar1 = iVar1 + *param_1;
      iVar6 = (*(code *)PTR_realloc_004bf2dc)(param_1[2],iVar1 * 4);
      if (iVar6 == 0) {
        return 0xc;
      }
      param_1[2] = iVar6;
      *param_1 = iVar1;
    }
    iVar8 = param_1[1] + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);
    iVar1 = *(int *)(param_2 + 4) + -1;
    iVar6 = *(int *)(param_3 + 4) + -1;
    iVar7 = param_1[1] + -1;
    do {
      while( true ) {
        iVar4 = *(int *)(*(int *)(param_2 + 8) + iVar1 * 4);
        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar6 * 4);
        if (iVar4 != iVar2) break;
        if (iVar7 < 0) {
LAB_0048c05c:
          iVar8 = iVar8 + -1;
          *(int *)(param_1[2] + iVar8 * 4) = iVar4;
        }
        else {
          piVar3 = (int *)(param_1[2] + iVar7 * 4);
          iVar2 = *piVar3;
          while (iVar4 < iVar2) {
            iVar7 = iVar7 + -1;
            piVar3 = piVar3 + -1;
            if (iVar7 == -1) {
              iVar7 = -1;
              goto LAB_0048c05c;
            }
            iVar2 = *piVar3;
          }
          if (iVar4 != *(int *)(param_1[2] + iVar7 * 4)) goto LAB_0048c05c;
        }
        iVar1 = iVar1 + -1;
        iVar6 = iVar6 + -1;
        if (iVar1 < 0) goto LAB_0048bf60;
        if (iVar6 < 0) {
          iVar1 = param_1[1];
          goto LAB_0048bf64;
        }
      }
      if (iVar4 < iVar2) {
        iVar6 = iVar6 + -1;
        iVar2 = iVar6;
      }
      else {
        iVar1 = iVar1 + -1;
        iVar2 = iVar1;
      }
    } while (-1 < iVar2);
LAB_0048bf60:
    iVar1 = param_1[1];
LAB_0048bf64:
    iVar7 = iVar1 + *(int *)(param_2 + 4) + *(int *)(param_3 + 4);
    iVar6 = iVar7 + -1;
    iVar7 = iVar7 - iVar8;
    param_1[1] = iVar1 + iVar7;
    if (0 < iVar7) {
      while (iVar1 = iVar1 + -1, iVar2 = iVar7, -1 < iVar1) {
        while( true ) {
          iVar4 = param_1[2];
          iVar5 = *(int *)(iVar4 + iVar6 * 4);
          iVar7 = *(int *)(iVar4 + iVar1 * 4);
          if (iVar5 <= iVar7) break;
          iVar6 = iVar6 + -1;
          iVar7 = iVar2 + -1;
          *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar5;
          iVar2 = iVar7;
          if (iVar7 == 0) goto LAB_0048bf94;
        }
        *(int *)(iVar4 + (iVar1 + iVar2) * 4) = iVar7;
        iVar7 = iVar2;
      }
    }
LAB_0048bf94:
    (*(code *)PTR_memcpy_004bf390)(param_1[2],param_1[2] + iVar8 * 4,iVar7 << 2);
  }
  return 0;
}

