
/* WARNING: Unknown calling convention */

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

{
  reg_errcode_t rVar1;
  Idx *pIVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  
  if ((src1 == (re_node_set *)0x0) || (src1->nelem < 1)) {
    if ((src2 == (re_node_set *)0x0) || (src2->nelem < 1)) {
      *(undefined1 *)&dest->alloc = 0;
      *(undefined1 *)((int)&dest->alloc + 1) = 0;
      *(undefined1 *)((int)&dest->alloc + 2) = 0;
      *(undefined1 *)((int)&dest->alloc + 3) = 0;
      *(undefined1 *)&dest->nelem = 0;
      *(undefined1 *)((int)&dest->nelem + 1) = 0;
      *(undefined1 *)((int)&dest->nelem + 2) = 0;
      *(undefined1 *)((int)&dest->nelem + 3) = 0;
      *(undefined1 *)&dest->elems = 0;
      *(undefined1 *)((int)&dest->elems + 1) = 0;
      *(undefined1 *)((int)&dest->elems + 2) = 0;
      *(undefined1 *)((int)&dest->elems + 3) = 0;
      rVar1 = _REG_NOERROR;
    }
    else {
      rVar1 = re_node_set_init_copy(dest,src2);
    }
  }
  else if ((src2 == (re_node_set *)0x0) || (iVar5 = src1->nelem + src2->nelem, src2->nelem < 1)) {
    rVar1 = re_node_set_init_copy(dest,src1);
  }
  else {
    dest->alloc = iVar5;
    pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4);
    dest->elems = pIVar2;
    if (pIVar2 == (Idx *)0x0) {
      rVar1 = _REG_ESPACE;
    }
    else {
      iVar5 = 0;
      iVar6 = 0;
      iVar7 = 0;
      while (iVar7 < src1->nelem) {
        if (src2->nelem <= iVar6) {
          (*(code *)PTR_memcpy_004bf390)
                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);
          iVar5 = iVar5 + (src1->nelem - iVar7);
          goto LAB_0048c354;
        }
        iVar4 = src1->elems[iVar7];
        iVar3 = src2->elems[iVar6];
        if (iVar3 < iVar4) {
          iVar6 = iVar6 + 1;
          dest->elems[iVar5] = iVar3;
        }
        else {
          if (iVar4 == iVar3) {
            iVar6 = iVar6 + 1;
          }
          iVar7 = iVar7 + 1;
          dest->elems[iVar5] = iVar4;
        }
        iVar5 = iVar5 + 1;
      }
      if (iVar6 < src2->nelem) {
        (*(code *)PTR_memcpy_004bf390)
                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);
        iVar5 = iVar5 + (src2->nelem - iVar6);
      }
LAB_0048c354:
      dest->nelem = iVar5;
      rVar1 = _REG_NOERROR;
    }
  }
  return rVar1;
}



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

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  
  if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {
    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {
      *(undefined1 *)param_1 = 0;
      *(undefined1 *)((int)param_1 + 1) = 0;
      *(undefined1 *)((int)param_1 + 2) = 0;
      *(undefined1 *)((int)param_1 + 3) = 0;
      *(undefined1 *)(param_1 + 1) = 0;
      *(undefined1 *)((int)param_1 + 5) = 0;
      *(undefined1 *)((int)param_1 + 6) = 0;
      *(undefined1 *)((int)param_1 + 7) = 0;
      *(undefined1 *)(param_1 + 2) = 0;
      *(undefined1 *)((int)param_1 + 9) = 0;
      *(undefined1 *)((int)param_1 + 10) = 0;
      *(undefined1 *)((int)param_1 + 0xb) = 0;
      uVar1 = 0;
    }
    else {
      uVar1 = FUN_0048c08c(param_1,param_3);
    }
  }
  else if ((param_3 == 0) ||
          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {
    uVar1 = FUN_0048c08c(param_1);
  }
  else {
    *param_1 = iVar4;
    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);
    param_1[2] = iVar4;
    if (iVar4 == 0) {
      uVar1 = 0xc;
    }
    else {
      iVar4 = 0;
      iVar5 = 0;
      iVar6 = 0;
      while (iVar6 < *(int *)(param_2 + 4)) {
        if (*(int *)(param_3 + 4) <= iVar5) {
          (*(code *)PTR_memcpy_004bf390)
                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,
                     (*(int *)(param_2 + 4) - iVar6) * 4);
          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);
          goto LAB_0048c354;
        }
        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);
        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);
        if (iVar2 < iVar3) {
          iVar5 = iVar5 + 1;
          *(int *)(param_1[2] + iVar4 * 4) = iVar2;
        }
        else {
          if (iVar3 == iVar2) {
            iVar5 = iVar5 + 1;
          }
          iVar6 = iVar6 + 1;
          *(int *)(param_1[2] + iVar4 * 4) = iVar3;
        }
        iVar4 = iVar4 + 1;
      }
      if (iVar5 < *(int *)(param_3 + 4)) {
        (*(code *)PTR_memcpy_004bf390)
                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,
                   (*(int *)(param_3 + 4) - iVar5) * 4);
        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);
      }
LAB_0048c354:
      param_1[1] = iVar4;
      uVar1 = 0;
    }
  }
  return uVar1;
}


addiu sp,sp,-0x38
sw ra,0x34(sp)
sw s5,0x30(sp)
sw s4,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)
or s0,a0,zero
beq a1,zero,0x0048c200
_or s1,a2,zero
lw a0,0x4(a1)
blez a0,0x0048c200
_or s2,a1,zero
beq a2,zero,0x0048c1b8
_or a1,s2,zero
lw v0,0x4(a2)
bgtz v0,0x0048c1d0
_addu a0,a0,v0
or a0,s0,zero
jal 0x0048c08c
_nop
lw gp,0x10(sp)
b 0x0048c24c
_lw ra,0x34(sp)
sw a0,0x0(s0)
sll a0,a0,0x2
lw t9,-0x7848(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x0048c39c
_sw v0,0x8(s0)
or a0,zero,zero
or s3,zero,zero
b 0x0048c2b0
_or s5,zero,zero
beq s1,zero,0x0048c214
_nop
lw v0,0x4(s1)
bgtz v0,0x0048c26c
_or a1,s1,zero
sb zero,0x0(s0)
sb zero,0x1(s0)
sb zero,0x2(s0)
sb zero,0x3(s0)
sb zero,0x4(s0)
sb zero,0x5(s0)
sb zero,0x6(s0)
sb zero,0x7(s0)
sb zero,0x8(s0)
sb zero,0x9(s0)
sb zero,0xa(s0)
sb zero,0xb(s0)
or v0,zero,zero
lw ra,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x38
or a0,s0,zero
jal 0x0048c08c
_nop
lw gp,0x10(sp)
b 0x0048c24c
_lw ra,0x34(sp)
addiu s3,s3,0x1
lw v1,0x8(s0)
addu v1,v1,a1
b 0x0048c2ac
_sw v0,0x0(v1)
addiu s5,s5,0x1
lw v0,0x8(s0)
sll a1,a0,0x2
addu v0,v0,a1
sw v1,0x0(v0)
addiu a0,a0,0x1
lw a2,0x4(s2)
slt v0,s5,a2
beq v0,zero,0x0048c344
_or s4,a0,zero
lw v0,0x4(s1)
slt v0,s3,v0
beq v0,zero,0x0048c308
_sll v1,s5,0x2
lw v0,0x8(s2)
addu v0,v0,v1
lw v1,0x0(v0)
lw v0,0x8(s1)
sll a1,s3,0x2
addu v0,v0,a1
lw v0,0x0(v0)
slt a1,v0,v1
bne a1,zero,0x0048c284
_sll a1,a0,0x2
bne v1,v0,0x0048c298
_nop
b 0x0048c298
_addiu s3,s3,0x1
sll a0,a0,0x2
lw v0,0x8(s0)
subu a2,a2,s5
lw a1,0x8(s2)
sll a2,a2,0x2
addu a1,a1,v1
addu a0,v0,a0
lw t9,-0x7790(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,0x4(s2)
subu s5,v0,s5
b 0x0048c354
_addu s4,s4,s5
lw a2,0x4(s1)
slt v0,s3,a2
bne v0,zero,0x0048c360
_sll v1,s3,0x2
sw s4,0x4(s0)
b 0x0048c248
_or v0,zero,zero
sll a0,a0,0x2
lw v0,0x8(s0)
subu a2,a2,s3
lw a1,0x8(s1)
sll a2,a2,0x2
addu a1,a1,v1
addu a0,v0,a0
lw t9,-0x7790(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,0x4(s1)
subu s3,v0,s3
b 0x0048c354
_addu s4,s4,s3
b 0x0048c248
_li v0,0xc
(translation_unit "undefined4 FUN_0048c160(int *param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_0048c160(int *param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0048c160(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  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" if (parenthesized_expression "((param_2 == 0) || (*(int *)(param_2 + 4) < 1))" ( (binary_expression "(param_2 == 0) || (*(int *)(param_2 + 4) < 1)" (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(param_2 + 4) < 1)" ( (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) ))) )) (compound_statement "{\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }" { (if_statement "if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }" if (parenthesized_expression "((param_3 == 0) || (*(int *)(param_3 + 4) < 1))" ( (binary_expression "(param_3 == 0) || (*(int *)(param_3 + 4) < 1)" (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(param_3 + 4) < 1)" ( (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) ))) )) (compound_statement "{\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }" { (expression_statement "*(undefined1 *)param_1 = 0;" (assignment_expression "*(undefined1 *)param_1 = 0" (pointer_expression "*(undefined1 *)param_1" * (cast_expression "(undefined1 *)param_1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 1) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 1)" * (cast_expression "(undefined1 *)((int)param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 2) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 2)" * (cast_expression "(undefined1 *)((int)param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 3) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 3) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 3)" * (cast_expression "(undefined1 *)((int)param_1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 3)" ( (binary_expression "(int)param_1 + 3" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 5) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 5) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 5)" * (cast_expression "(undefined1 *)((int)param_1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 5)" ( (binary_expression "(int)param_1 + 5" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 6) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 6) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 6)" * (cast_expression "(undefined1 *)((int)param_1 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 6)" ( (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 7) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 7)" * (cast_expression "(undefined1 *)((int)param_1 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 7)" ( (binary_expression "(int)param_1 + 7" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 9) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 9) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 9)" * (cast_expression "(undefined1 *)((int)param_1 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 9)" ( (binary_expression "(int)param_1 + 9" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0xb) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0xb) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0xb)" * (cast_expression "(undefined1 *)((int)param_1 + 0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xb)" ( (binary_expression "(int)param_1 + 0xb" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }" else (compound_statement "{\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }" { (expression_statement "uVar1 = FUN_0048c08c(param_1,param_3);" (assignment_expression "uVar1 = FUN_0048c08c(param_1,param_3)" identifier = (call_expression "FUN_0048c08c(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier )))) ;) }))) }) (else_clause "else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" else (if_statement "if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" if (parenthesized_expression "((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1))" ( (binary_expression "(param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)" (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)" ( (comma_expression "iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1" (assignment_expression "iVar4 = *(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) )))))) , (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)) ))) )) (compound_statement "{\n    uVar1 = FUN_0048c08c(param_1);\n  }" { (expression_statement "uVar1 = FUN_0048c08c(param_1);" (assignment_expression "uVar1 = FUN_0048c08c(param_1)" identifier = (call_expression "FUN_0048c08c(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" else (compound_statement "{\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" { (expression_statement "*param_1 = iVar4;" (assignment_expression "*param_1 = iVar4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);" (assignment_expression "iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2)" identifier = (call_expression "(*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2)" (parenthesized_expression "(*(code *)PTR_malloc_004bf2d8)" ( (pointer_expression "*(code *)PTR_malloc_004bf2d8" * (cast_expression "(code *)PTR_malloc_004bf2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 * 4,param_2)" ( (binary_expression "iVar4 * 4" identifier * number_literal) , identifier )))) ;) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = 0xc;\n    }" { (expression_statement "uVar1 = 0xc;" (assignment_expression "uVar1 = 0xc" identifier = number_literal) ;) }) (else_clause "else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }" else (compound_statement "{\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (while_statement "while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }" while (parenthesized_expression "(iVar6 < *(int *)(param_2 + 4))" ( (binary_expression "iVar6 < *(int *)(param_2 + 4)" identifier < (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }" { (if_statement "if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }" if (parenthesized_expression "(*(int *)(param_3 + 4) <= iVar5)" ( (binary_expression "*(int *)(param_3 + 4) <= iVar5" (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) )))) <= identifier) )) (compound_statement "{\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }" { (expression_statement "(*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);" (call_expression "(*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4)" (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] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4)" ( (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar4 * 4" identifier * number_literal)) , (binary_expression "*(int *)(param_2 + 8) + iVar6 * 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 "iVar6 * 4" identifier * number_literal)) , (binary_expression "(*(int *)(param_2 + 4) - iVar6) * 4" (parenthesized_expression "(*(int *)(param_2 + 4) - iVar6)" ( (binary_expression "*(int *)(param_2 + 4) - iVar6" (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) )))) - identifier) )) * number_literal) ))) ;) (expression_statement "iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);" (assignment_expression "iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6)" identifier = (binary_expression "iVar4 + (*(int *)(param_2 + 4) - iVar6)" identifier + (parenthesized_expression "(*(int *)(param_2 + 4) - iVar6)" ( (binary_expression "*(int *)(param_2 + 4) - iVar6" (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) )))) - identifier) )))) ;) (goto_statement "goto LAB_0048c354;" goto statement_identifier ;) })) (expression_statement "iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar6 * 4)" * (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + iVar6 * 4)" ( (binary_expression "*(int *)(param_2 + 8) + iVar6 * 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 "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_3 + 8) + iVar5 * 4)" * (cast_expression "(int *)(*(int *)(param_3 + 8) + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 8) + iVar5 * 4)" ( (binary_expression "*(int *)(param_3 + 8) + iVar5 * 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 "iVar5 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }" if (parenthesized_expression "(iVar2 < iVar3)" ( (binary_expression "iVar2 < iVar3" identifier < identifier) )) (compound_statement "{\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1[2] + iVar4 * 4) = iVar2;" (assignment_expression "*(int *)(param_1[2] + iVar4 * 4) = iVar2" (pointer_expression "*(int *)(param_1[2] + iVar4 * 4)" * (cast_expression "(int *)(param_1[2] + iVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar4 * 4)" ( (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar4 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }" else (compound_statement "{\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }" { (if_statement "if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }" if (parenthesized_expression "(iVar3 == iVar2)" ( (binary_expression "iVar3 == iVar2" identifier == identifier) )) (compound_statement "{\n            iVar5 = iVar5 + 1;\n          }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1[2] + iVar4 * 4) = iVar3;" (assignment_expression "*(int *)(param_1[2] + iVar4 * 4) = iVar3" (pointer_expression "*(int *)(param_1[2] + iVar4 * 4)" * (cast_expression "(int *)(param_1[2] + iVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar4 * 4)" ( (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar4 * 4" identifier * number_literal)) )))) = identifier) ;) }))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) (if_statement "if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }" if (parenthesized_expression "(iVar5 < *(int *)(param_3 + 4))" ( (binary_expression "iVar5 < *(int *)(param_3 + 4)" identifier < (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }" { (expression_statement "(*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);" (call_expression "(*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4)" (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] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4)" ( (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar4 * 4" identifier * number_literal)) , (binary_expression "*(int *)(param_3 + 8) + iVar5 * 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 "iVar5 * 4" identifier * number_literal)) , (binary_expression "(*(int *)(param_3 + 4) - iVar5) * 4" (parenthesized_expression "(*(int *)(param_3 + 4) - iVar5)" ( (binary_expression "*(int *)(param_3 + 4) - iVar5" (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) )))) - identifier) )) * number_literal) ))) ;) (expression_statement "iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);" (assignment_expression "iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5)" identifier = (binary_expression "iVar4 + (*(int *)(param_3 + 4) - iVar5)" identifier + (parenthesized_expression "(*(int *)(param_3 + 4) - iVar5)" ( (binary_expression "*(int *)(param_3 + 4) - iVar5" (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) )))) - identifier) )))) ;) })) (labeled_statement "LAB_0048c354:\n      param_1[1] = iVar4;" statement_identifier : (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }))) }))))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nreg_errcode_t re_node_set_init_union(re_node_set *dest,re_node_set *src1,re_node_set *src2)\n\n{\n  reg_errcode_t rVar1;\n  Idx *pIVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if ((src1 == (re_node_set *)0x0) || (src1->nelem < 1)) {\n    if ((src2 == (re_node_set *)0x0) || (src2->nelem < 1)) {\n      *(undefined1 *)&dest->alloc = 0;\n      *(undefined1 *)((int)&dest->alloc + 1) = 0;\n      *(undefined1 *)((int)&dest->alloc + 2) = 0;\n      *(undefined1 *)((int)&dest->alloc + 3) = 0;\n      *(undefined1 *)&dest->nelem = 0;\n      *(undefined1 *)((int)&dest->nelem + 1) = 0;\n      *(undefined1 *)((int)&dest->nelem + 2) = 0;\n      *(undefined1 *)((int)&dest->nelem + 3) = 0;\n      *(undefined1 *)&dest->elems = 0;\n      *(undefined1 *)((int)&dest->elems + 1) = 0;\n      *(undefined1 *)((int)&dest->elems + 2) = 0;\n      *(undefined1 *)((int)&dest->elems + 3) = 0;\n      rVar1 = _REG_NOERROR;\n    }\n    else {\n      rVar1 = re_node_set_init_copy(dest,src2);\n    }\n  }\n  else if ((src2 == (re_node_set *)0x0) || (iVar5 = src1->nelem + src2->nelem, src2->nelem < 1)) {\n    rVar1 = re_node_set_init_copy(dest,src1);\n  }\n  else {\n    dest->alloc = iVar5;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      rVar1 = _REG_ESPACE;\n    }\n    else {\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }\n  }\n  return rVar1;\n}\n\n" comment (function_definition "reg_errcode_t re_node_set_init_union(re_node_set *dest,re_node_set *src1,re_node_set *src2)\n\n{\n  reg_errcode_t rVar1;\n  Idx *pIVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if ((src1 == (re_node_set *)0x0) || (src1->nelem < 1)) {\n    if ((src2 == (re_node_set *)0x0) || (src2->nelem < 1)) {\n      *(undefined1 *)&dest->alloc = 0;\n      *(undefined1 *)((int)&dest->alloc + 1) = 0;\n      *(undefined1 *)((int)&dest->alloc + 2) = 0;\n      *(undefined1 *)((int)&dest->alloc + 3) = 0;\n      *(undefined1 *)&dest->nelem = 0;\n      *(undefined1 *)((int)&dest->nelem + 1) = 0;\n      *(undefined1 *)((int)&dest->nelem + 2) = 0;\n      *(undefined1 *)((int)&dest->nelem + 3) = 0;\n      *(undefined1 *)&dest->elems = 0;\n      *(undefined1 *)((int)&dest->elems + 1) = 0;\n      *(undefined1 *)((int)&dest->elems + 2) = 0;\n      *(undefined1 *)((int)&dest->elems + 3) = 0;\n      rVar1 = _REG_NOERROR;\n    }\n    else {\n      rVar1 = re_node_set_init_copy(dest,src2);\n    }\n  }\n  else if ((src2 == (re_node_set *)0x0) || (iVar5 = src1->nelem + src2->nelem, src2->nelem < 1)) {\n    rVar1 = re_node_set_init_copy(dest,src1);\n  }\n  else {\n    dest->alloc = iVar5;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      rVar1 = _REG_ESPACE;\n    }\n    else {\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }\n  }\n  return rVar1;\n}" type_identifier (function_declarator "re_node_set_init_union(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  reg_errcode_t rVar1;\n  Idx *pIVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  \n  if ((src1 == (re_node_set *)0x0) || (src1->nelem < 1)) {\n    if ((src2 == (re_node_set *)0x0) || (src2->nelem < 1)) {\n      *(undefined1 *)&dest->alloc = 0;\n      *(undefined1 *)((int)&dest->alloc + 1) = 0;\n      *(undefined1 *)((int)&dest->alloc + 2) = 0;\n      *(undefined1 *)((int)&dest->alloc + 3) = 0;\n      *(undefined1 *)&dest->nelem = 0;\n      *(undefined1 *)((int)&dest->nelem + 1) = 0;\n      *(undefined1 *)((int)&dest->nelem + 2) = 0;\n      *(undefined1 *)((int)&dest->nelem + 3) = 0;\n      *(undefined1 *)&dest->elems = 0;\n      *(undefined1 *)((int)&dest->elems + 1) = 0;\n      *(undefined1 *)((int)&dest->elems + 2) = 0;\n      *(undefined1 *)((int)&dest->elems + 3) = 0;\n      rVar1 = _REG_NOERROR;\n    }\n    else {\n      rVar1 = re_node_set_init_copy(dest,src2);\n    }\n  }\n  else if ((src2 == (re_node_set *)0x0) || (iVar5 = src1->nelem + src2->nelem, src2->nelem < 1)) {\n    rVar1 = re_node_set_init_copy(dest,src1);\n  }\n  else {\n    dest->alloc = iVar5;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      rVar1 = _REG_ESPACE;\n    }\n    else {\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }\n  }\n  return rVar1;\n}" { (declaration "reg_errcode_t rVar1;" type_identifier identifier ;) (declaration "Idx *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "int iVar3;" primitive_type 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 ;) (if_statement "if ((src1 == (re_node_set *)0x0) || (src1->nelem < 1)) {\n    if ((src2 == (re_node_set *)0x0) || (src2->nelem < 1)) {\n      *(undefined1 *)&dest->alloc = 0;\n      *(undefined1 *)((int)&dest->alloc + 1) = 0;\n      *(undefined1 *)((int)&dest->alloc + 2) = 0;\n      *(undefined1 *)((int)&dest->alloc + 3) = 0;\n      *(undefined1 *)&dest->nelem = 0;\n      *(undefined1 *)((int)&dest->nelem + 1) = 0;\n      *(undefined1 *)((int)&dest->nelem + 2) = 0;\n      *(undefined1 *)((int)&dest->nelem + 3) = 0;\n      *(undefined1 *)&dest->elems = 0;\n      *(undefined1 *)((int)&dest->elems + 1) = 0;\n      *(undefined1 *)((int)&dest->elems + 2) = 0;\n      *(undefined1 *)((int)&dest->elems + 3) = 0;\n      rVar1 = _REG_NOERROR;\n    }\n    else {\n      rVar1 = re_node_set_init_copy(dest,src2);\n    }\n  }\n  else if ((src2 == (re_node_set *)0x0) || (iVar5 = src1->nelem + src2->nelem, src2->nelem < 1)) {\n    rVar1 = re_node_set_init_copy(dest,src1);\n  }\n  else {\n    dest->alloc = iVar5;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      rVar1 = _REG_ESPACE;\n    }\n    else {\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }\n  }" if (parenthesized_expression "((src1 == (re_node_set *)0x0) || (src1->nelem < 1))" ( (binary_expression "(src1 == (re_node_set *)0x0) || (src1->nelem < 1)" (parenthesized_expression "(src1 == (re_node_set *)0x0)" ( (binary_expression "src1 == (re_node_set *)0x0" identifier == (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(src1->nelem < 1)" ( (binary_expression "src1->nelem < 1" (field_expression "src1->nelem" identifier -> field_identifier) < number_literal) ))) )) (compound_statement "{\n    if ((src2 == (re_node_set *)0x0) || (src2->nelem < 1)) {\n      *(undefined1 *)&dest->alloc = 0;\n      *(undefined1 *)((int)&dest->alloc + 1) = 0;\n      *(undefined1 *)((int)&dest->alloc + 2) = 0;\n      *(undefined1 *)((int)&dest->alloc + 3) = 0;\n      *(undefined1 *)&dest->nelem = 0;\n      *(undefined1 *)((int)&dest->nelem + 1) = 0;\n      *(undefined1 *)((int)&dest->nelem + 2) = 0;\n      *(undefined1 *)((int)&dest->nelem + 3) = 0;\n      *(undefined1 *)&dest->elems = 0;\n      *(undefined1 *)((int)&dest->elems + 1) = 0;\n      *(undefined1 *)((int)&dest->elems + 2) = 0;\n      *(undefined1 *)((int)&dest->elems + 3) = 0;\n      rVar1 = _REG_NOERROR;\n    }\n    else {\n      rVar1 = re_node_set_init_copy(dest,src2);\n    }\n  }" { (if_statement "if ((src2 == (re_node_set *)0x0) || (src2->nelem < 1)) {\n      *(undefined1 *)&dest->alloc = 0;\n      *(undefined1 *)((int)&dest->alloc + 1) = 0;\n      *(undefined1 *)((int)&dest->alloc + 2) = 0;\n      *(undefined1 *)((int)&dest->alloc + 3) = 0;\n      *(undefined1 *)&dest->nelem = 0;\n      *(undefined1 *)((int)&dest->nelem + 1) = 0;\n      *(undefined1 *)((int)&dest->nelem + 2) = 0;\n      *(undefined1 *)((int)&dest->nelem + 3) = 0;\n      *(undefined1 *)&dest->elems = 0;\n      *(undefined1 *)((int)&dest->elems + 1) = 0;\n      *(undefined1 *)((int)&dest->elems + 2) = 0;\n      *(undefined1 *)((int)&dest->elems + 3) = 0;\n      rVar1 = _REG_NOERROR;\n    }\n    else {\n      rVar1 = re_node_set_init_copy(dest,src2);\n    }" if (parenthesized_expression "((src2 == (re_node_set *)0x0) || (src2->nelem < 1))" ( (binary_expression "(src2 == (re_node_set *)0x0) || (src2->nelem < 1)" (parenthesized_expression "(src2 == (re_node_set *)0x0)" ( (binary_expression "src2 == (re_node_set *)0x0" identifier == (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(src2->nelem < 1)" ( (binary_expression "src2->nelem < 1" (field_expression "src2->nelem" identifier -> field_identifier) < number_literal) ))) )) (compound_statement "{\n      *(undefined1 *)&dest->alloc = 0;\n      *(undefined1 *)((int)&dest->alloc + 1) = 0;\n      *(undefined1 *)((int)&dest->alloc + 2) = 0;\n      *(undefined1 *)((int)&dest->alloc + 3) = 0;\n      *(undefined1 *)&dest->nelem = 0;\n      *(undefined1 *)((int)&dest->nelem + 1) = 0;\n      *(undefined1 *)((int)&dest->nelem + 2) = 0;\n      *(undefined1 *)((int)&dest->nelem + 3) = 0;\n      *(undefined1 *)&dest->elems = 0;\n      *(undefined1 *)((int)&dest->elems + 1) = 0;\n      *(undefined1 *)((int)&dest->elems + 2) = 0;\n      *(undefined1 *)((int)&dest->elems + 3) = 0;\n      rVar1 = _REG_NOERROR;\n    }" { (expression_statement "*(undefined1 *)&dest->alloc = 0;" (assignment_expression "*(undefined1 *)&dest->alloc = 0" (pointer_expression "*(undefined1 *)&dest->alloc" * (cast_expression "(undefined1 *)&dest->alloc" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dest->alloc" & (field_expression "dest->alloc" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->alloc + 1) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->alloc + 1) = 0" (pointer_expression "*(undefined1 *)((int)&dest->alloc + 1)" * (cast_expression "(undefined1 *)((int)&dest->alloc + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->alloc + 1)" ( (binary_expression "(int)&dest->alloc + 1" (cast_expression "(int)&dest->alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->alloc" & (field_expression "dest->alloc" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->alloc + 2) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->alloc + 2) = 0" (pointer_expression "*(undefined1 *)((int)&dest->alloc + 2)" * (cast_expression "(undefined1 *)((int)&dest->alloc + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->alloc + 2)" ( (binary_expression "(int)&dest->alloc + 2" (cast_expression "(int)&dest->alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->alloc" & (field_expression "dest->alloc" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->alloc + 3) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->alloc + 3) = 0" (pointer_expression "*(undefined1 *)((int)&dest->alloc + 3)" * (cast_expression "(undefined1 *)((int)&dest->alloc + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->alloc + 3)" ( (binary_expression "(int)&dest->alloc + 3" (cast_expression "(int)&dest->alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->alloc" & (field_expression "dest->alloc" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)&dest->nelem = 0;" (assignment_expression "*(undefined1 *)&dest->nelem = 0" (pointer_expression "*(undefined1 *)&dest->nelem" * (cast_expression "(undefined1 *)&dest->nelem" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dest->nelem" & (field_expression "dest->nelem" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->nelem + 1) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->nelem + 1) = 0" (pointer_expression "*(undefined1 *)((int)&dest->nelem + 1)" * (cast_expression "(undefined1 *)((int)&dest->nelem + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->nelem + 1)" ( (binary_expression "(int)&dest->nelem + 1" (cast_expression "(int)&dest->nelem" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->nelem" & (field_expression "dest->nelem" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->nelem + 2) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->nelem + 2) = 0" (pointer_expression "*(undefined1 *)((int)&dest->nelem + 2)" * (cast_expression "(undefined1 *)((int)&dest->nelem + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->nelem + 2)" ( (binary_expression "(int)&dest->nelem + 2" (cast_expression "(int)&dest->nelem" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->nelem" & (field_expression "dest->nelem" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->nelem + 3) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->nelem + 3) = 0" (pointer_expression "*(undefined1 *)((int)&dest->nelem + 3)" * (cast_expression "(undefined1 *)((int)&dest->nelem + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->nelem + 3)" ( (binary_expression "(int)&dest->nelem + 3" (cast_expression "(int)&dest->nelem" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->nelem" & (field_expression "dest->nelem" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)&dest->elems = 0;" (assignment_expression "*(undefined1 *)&dest->elems = 0" (pointer_expression "*(undefined1 *)&dest->elems" * (cast_expression "(undefined1 *)&dest->elems" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dest->elems" & (field_expression "dest->elems" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->elems + 1) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->elems + 1) = 0" (pointer_expression "*(undefined1 *)((int)&dest->elems + 1)" * (cast_expression "(undefined1 *)((int)&dest->elems + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->elems + 1)" ( (binary_expression "(int)&dest->elems + 1" (cast_expression "(int)&dest->elems" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->elems" & (field_expression "dest->elems" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->elems + 2) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->elems + 2) = 0" (pointer_expression "*(undefined1 *)((int)&dest->elems + 2)" * (cast_expression "(undefined1 *)((int)&dest->elems + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->elems + 2)" ( (binary_expression "(int)&dest->elems + 2" (cast_expression "(int)&dest->elems" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->elems" & (field_expression "dest->elems" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)&dest->elems + 3) = 0;" (assignment_expression "*(undefined1 *)((int)&dest->elems + 3) = 0" (pointer_expression "*(undefined1 *)((int)&dest->elems + 3)" * (cast_expression "(undefined1 *)((int)&dest->elems + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&dest->elems + 3)" ( (binary_expression "(int)&dest->elems + 3" (cast_expression "(int)&dest->elems" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&dest->elems" & (field_expression "dest->elems" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "rVar1 = _REG_NOERROR;" (assignment_expression "rVar1 = _REG_NOERROR" identifier = identifier) ;) }) (else_clause "else {\n      rVar1 = re_node_set_init_copy(dest,src2);\n    }" else (compound_statement "{\n      rVar1 = re_node_set_init_copy(dest,src2);\n    }" { (expression_statement "rVar1 = re_node_set_init_copy(dest,src2);" (assignment_expression "rVar1 = re_node_set_init_copy(dest,src2)" identifier = (call_expression "re_node_set_init_copy(dest,src2)" identifier (argument_list "(dest,src2)" ( identifier , identifier )))) ;) }))) }) (else_clause "else if ((src2 == (re_node_set *)0x0) || (iVar5 = src1->nelem + src2->nelem, src2->nelem < 1)) {\n    rVar1 = re_node_set_init_copy(dest,src1);\n  }\n  else {\n    dest->alloc = iVar5;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      rVar1 = _REG_ESPACE;\n    }\n    else {\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }\n  }" else (if_statement "if ((src2 == (re_node_set *)0x0) || (iVar5 = src1->nelem + src2->nelem, src2->nelem < 1)) {\n    rVar1 = re_node_set_init_copy(dest,src1);\n  }\n  else {\n    dest->alloc = iVar5;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      rVar1 = _REG_ESPACE;\n    }\n    else {\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }\n  }" if (parenthesized_expression "((src2 == (re_node_set *)0x0) || (iVar5 = src1->nelem + src2->nelem, src2->nelem < 1))" ( (binary_expression "(src2 == (re_node_set *)0x0) || (iVar5 = src1->nelem + src2->nelem, src2->nelem < 1)" (parenthesized_expression "(src2 == (re_node_set *)0x0)" ( (binary_expression "src2 == (re_node_set *)0x0" identifier == (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar5 = src1->nelem + src2->nelem, src2->nelem < 1)" ( (comma_expression "iVar5 = src1->nelem + src2->nelem, src2->nelem < 1" (assignment_expression "iVar5 = 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))) , (binary_expression "src2->nelem < 1" (field_expression "src2->nelem" identifier -> field_identifier) < number_literal)) ))) )) (compound_statement "{\n    rVar1 = re_node_set_init_copy(dest,src1);\n  }" { (expression_statement "rVar1 = re_node_set_init_copy(dest,src1);" (assignment_expression "rVar1 = re_node_set_init_copy(dest,src1)" identifier = (call_expression "re_node_set_init_copy(dest,src1)" identifier (argument_list "(dest,src1)" ( identifier , identifier )))) ;) }) (else_clause "else {\n    dest->alloc = iVar5;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      rVar1 = _REG_ESPACE;\n    }\n    else {\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }\n  }" else (compound_statement "{\n    dest->alloc = iVar5;\n    pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4);\n    dest->elems = pIVar2;\n    if (pIVar2 == (Idx *)0x0) {\n      rVar1 = _REG_ESPACE;\n    }\n    else {\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }\n  }" { (expression_statement "dest->alloc = iVar5;" (assignment_expression "dest->alloc = iVar5" (field_expression "dest->alloc" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4);" (assignment_expression "pIVar2 = (Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4)" identifier = (cast_expression "(Idx *)(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4)" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_004bf2d8)(iVar5 * 4)" (parenthesized_expression "(*(code *)PTR_malloc_004bf2d8)" ( (pointer_expression "*(code *)PTR_malloc_004bf2d8" * (cast_expression "(code *)PTR_malloc_004bf2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5 * 4)" ( (binary_expression "iVar5 * 4" identifier * number_literal) ))))) ;) (expression_statement "dest->elems = pIVar2;" (assignment_expression "dest->elems = pIVar2" (field_expression "dest->elems" identifier -> field_identifier) = identifier) ;) (if_statement "if (pIVar2 == (Idx *)0x0) {\n      rVar1 = _REG_ESPACE;\n    }\n    else {\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }" if (parenthesized_expression "(pIVar2 == (Idx *)0x0)" ( (binary_expression "pIVar2 == (Idx *)0x0" identifier == (cast_expression "(Idx *)0x0" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      rVar1 = _REG_ESPACE;\n    }" { (expression_statement "rVar1 = _REG_ESPACE;" (assignment_expression "rVar1 = _REG_ESPACE" identifier = identifier) ;) }) (else_clause "else {\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }" else (compound_statement "{\n      iVar5 = 0;\n      iVar6 = 0;\n      iVar7 = 0;\n      while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }\n      if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }\nLAB_0048c354:\n      dest->nelem = iVar5;\n      rVar1 = _REG_NOERROR;\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (while_statement "while (iVar7 < src1->nelem) {\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }" while (parenthesized_expression "(iVar7 < src1->nelem)" ( (binary_expression "iVar7 < src1->nelem" identifier < (field_expression "src1->nelem" identifier -> field_identifier)) )) (compound_statement "{\n        if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }\n        iVar4 = src1->elems[iVar7];\n        iVar3 = src2->elems[iVar6];\n        if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }\n        iVar5 = iVar5 + 1;\n      }" { (if_statement "if (src2->nelem <= iVar6) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }" if (parenthesized_expression "(src2->nelem <= iVar6)" ( (binary_expression "src2->nelem <= iVar6" (field_expression "src2->nelem" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n          (*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);\n          iVar5 = iVar5 + (src1->nelem - iVar7);\n          goto LAB_0048c354;\n        }" { (expression_statement "(*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4);" (call_expression "(*(code *)PTR_memcpy_004bf390)\n                    (dest->elems + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4)" (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 + iVar5,src1->elems + iVar7,(src1->nelem - iVar7) * 4)" ( (binary_expression "dest->elems + iVar5" (field_expression "dest->elems" identifier -> field_identifier) + identifier) , (binary_expression "src1->elems + iVar7" (field_expression "src1->elems" identifier -> field_identifier) + identifier) , (binary_expression "(src1->nelem - iVar7) * 4" (parenthesized_expression "(src1->nelem - iVar7)" ( (binary_expression "src1->nelem - iVar7" (field_expression "src1->nelem" identifier -> field_identifier) - identifier) )) * number_literal) ))) ;) (expression_statement "iVar5 = iVar5 + (src1->nelem - iVar7);" (assignment_expression "iVar5 = iVar5 + (src1->nelem - iVar7)" identifier = (binary_expression "iVar5 + (src1->nelem - iVar7)" identifier + (parenthesized_expression "(src1->nelem - iVar7)" ( (binary_expression "src1->nelem - iVar7" (field_expression "src1->nelem" identifier -> field_identifier) - identifier) )))) ;) (goto_statement "goto LAB_0048c354;" goto statement_identifier ;) })) (expression_statement "iVar4 = src1->elems[iVar7];" (assignment_expression "iVar4 = src1->elems[iVar7]" identifier = (subscript_expression "src1->elems[iVar7]" (field_expression "src1->elems" identifier -> field_identifier) [ identifier ])) ;) (expression_statement "iVar3 = src2->elems[iVar6];" (assignment_expression "iVar3 = src2->elems[iVar6]" identifier = (subscript_expression "src2->elems[iVar6]" (field_expression "src2->elems" identifier -> field_identifier) [ identifier ])) ;) (if_statement "if (iVar3 < iVar4) {\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }\n        else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }" if (parenthesized_expression "(iVar3 < iVar4)" ( (binary_expression "iVar3 < iVar4" identifier < identifier) )) (compound_statement "{\n          iVar6 = iVar6 + 1;\n          dest->elems[iVar5] = iVar3;\n        }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "dest->elems[iVar5] = iVar3;" (assignment_expression "dest->elems[iVar5] = iVar3" (subscript_expression "dest->elems[iVar5]" (field_expression "dest->elems" identifier -> field_identifier) [ identifier ]) = identifier) ;) }) (else_clause "else {\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }" else (compound_statement "{\n          if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }\n          iVar7 = iVar7 + 1;\n          dest->elems[iVar5] = iVar4;\n        }" { (if_statement "if (iVar4 == iVar3) {\n            iVar6 = iVar6 + 1;\n          }" if (parenthesized_expression "(iVar4 == iVar3)" ( (binary_expression "iVar4 == iVar3" identifier == identifier) )) (compound_statement "{\n            iVar6 = iVar6 + 1;\n          }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "dest->elems[iVar5] = iVar4;" (assignment_expression "dest->elems[iVar5] = iVar4" (subscript_expression "dest->elems[iVar5]" (field_expression "dest->elems" identifier -> field_identifier) [ identifier ]) = identifier) ;) }))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) })) (if_statement "if (iVar6 < src2->nelem) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }" if (parenthesized_expression "(iVar6 < src2->nelem)" ( (binary_expression "iVar6 < src2->nelem" identifier < (field_expression "src2->nelem" identifier -> field_identifier)) )) (compound_statement "{\n        (*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);\n        iVar5 = iVar5 + (src2->nelem - iVar6);\n      }" { (expression_statement "(*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4);" (call_expression "(*(code *)PTR_memcpy_004bf390)\n                  (dest->elems + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4)" (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 + iVar5,src2->elems + iVar6,(src2->nelem - iVar6) * 4)" ( (binary_expression "dest->elems + iVar5" (field_expression "dest->elems" identifier -> field_identifier) + identifier) , (binary_expression "src2->elems + iVar6" (field_expression "src2->elems" identifier -> field_identifier) + identifier) , (binary_expression "(src2->nelem - iVar6) * 4" (parenthesized_expression "(src2->nelem - iVar6)" ( (binary_expression "src2->nelem - iVar6" (field_expression "src2->nelem" identifier -> field_identifier) - identifier) )) * number_literal) ))) ;) (expression_statement "iVar5 = iVar5 + (src2->nelem - iVar6);" (assignment_expression "iVar5 = iVar5 + (src2->nelem - iVar6)" identifier = (binary_expression "iVar5 + (src2->nelem - iVar6)" identifier + (parenthesized_expression "(src2->nelem - iVar6)" ( (binary_expression "src2->nelem - iVar6" (field_expression "src2->nelem" identifier -> field_identifier) - identifier) )))) ;) })) (labeled_statement "LAB_0048c354:\n      dest->nelem = iVar5;" statement_identifier : (expression_statement "dest->nelem = iVar5;" (assignment_expression "dest->nelem = iVar5" (field_expression "dest->nelem" identifier -> field_identifier) = identifier) ;)) (expression_statement "rVar1 = _REG_NOERROR;" (assignment_expression "rVar1 = _REG_NOERROR" identifier = identifier) ;) }))) }))))) (return_statement "return rVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_0048c160(int *param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_0048c160(int *param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0048c160(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  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" if (parenthesized_expression "((param_2 == 0) || (*(int *)(param_2 + 4) < 1))" ( (binary_expression "(param_2 == 0) || (*(int *)(param_2 + 4) < 1)" (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(param_2 + 4) < 1)" ( (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) ))) )) (compound_statement "{\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }" { (if_statement "if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }" if (parenthesized_expression "((param_3 == 0) || (*(int *)(param_3 + 4) < 1))" ( (binary_expression "(param_3 == 0) || (*(int *)(param_3 + 4) < 1)" (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(param_3 + 4) < 1)" ( (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) ))) )) (compound_statement "{\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }" { (expression_statement "*(undefined1 *)param_1 = 0;" (assignment_expression "*(undefined1 *)param_1 = 0" (pointer_expression "*(undefined1 *)param_1" * (cast_expression "(undefined1 *)param_1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 1) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 1)" * (cast_expression "(undefined1 *)((int)param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 2) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 2)" * (cast_expression "(undefined1 *)((int)param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 2)" ( (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 3) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 3) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 3)" * (cast_expression "(undefined1 *)((int)param_1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 3)" ( (binary_expression "(int)param_1 + 3" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 5) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 5) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 5)" * (cast_expression "(undefined1 *)((int)param_1 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 5)" ( (binary_expression "(int)param_1 + 5" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 6) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 6) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 6)" * (cast_expression "(undefined1 *)((int)param_1 + 6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 6)" ( (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 7) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 7)" * (cast_expression "(undefined1 *)((int)param_1 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 7)" ( (binary_expression "(int)param_1 + 7" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 9) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 9) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 9)" * (cast_expression "(undefined1 *)((int)param_1 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 9)" ( (binary_expression "(int)param_1 + 9" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" * (cast_expression "(undefined1 *)((int)param_1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 10)" ( (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0xb) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0xb) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0xb)" * (cast_expression "(undefined1 *)((int)param_1 + 0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xb)" ( (binary_expression "(int)param_1 + 0xb" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }" else (compound_statement "{\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }" { (expression_statement "uVar1 = FUN_0048c08c(param_1,param_3);" (assignment_expression "uVar1 = FUN_0048c08c(param_1,param_3)" identifier = (call_expression "FUN_0048c08c(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier )))) ;) }))) }) (else_clause "else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" else (if_statement "if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" if (parenthesized_expression "((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1))" ( (binary_expression "(param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)" (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)" ( (comma_expression "iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1" (assignment_expression "iVar4 = *(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) )))))) , (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)) ))) )) (compound_statement "{\n    uVar1 = FUN_0048c08c(param_1);\n  }" { (expression_statement "uVar1 = FUN_0048c08c(param_1);" (assignment_expression "uVar1 = FUN_0048c08c(param_1)" identifier = (call_expression "FUN_0048c08c(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" else (compound_statement "{\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" { (expression_statement "*param_1 = iVar4;" (assignment_expression "*param_1 = iVar4" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);" (assignment_expression "iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2)" identifier = (call_expression "(*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2)" (parenthesized_expression "(*(code *)PTR_malloc_004bf2d8)" ( (pointer_expression "*(code *)PTR_malloc_004bf2d8" * (cast_expression "(code *)PTR_malloc_004bf2d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 * 4,param_2)" ( (binary_expression "iVar4 * 4" identifier * number_literal) , identifier )))) ;) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = 0xc;\n    }" { (expression_statement "uVar1 = 0xc;" (assignment_expression "uVar1 = 0xc" identifier = number_literal) ;) }) (else_clause "else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }" else (compound_statement "{\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (while_statement "while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }" while (parenthesized_expression "(iVar6 < *(int *)(param_2 + 4))" ( (binary_expression "iVar6 < *(int *)(param_2 + 4)" identifier < (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }" { (if_statement "if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }" if (parenthesized_expression "(*(int *)(param_3 + 4) <= iVar5)" ( (binary_expression "*(int *)(param_3 + 4) <= iVar5" (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) )))) <= identifier) )) (compound_statement "{\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }" { (expression_statement "(*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);" (call_expression "(*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4)" (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] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4)" ( (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar4 * 4" identifier * number_literal)) , (binary_expression "*(int *)(param_2 + 8) + iVar6 * 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 "iVar6 * 4" identifier * number_literal)) , (binary_expression "(*(int *)(param_2 + 4) - iVar6) * 4" (parenthesized_expression "(*(int *)(param_2 + 4) - iVar6)" ( (binary_expression "*(int *)(param_2 + 4) - iVar6" (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) )))) - identifier) )) * number_literal) ))) ;) (expression_statement "iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);" (assignment_expression "iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6)" identifier = (binary_expression "iVar4 + (*(int *)(param_2 + 4) - iVar6)" identifier + (parenthesized_expression "(*(int *)(param_2 + 4) - iVar6)" ( (binary_expression "*(int *)(param_2 + 4) - iVar6" (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) )))) - identifier) )))) ;) (goto_statement "goto LAB_0048c354;" goto statement_identifier ;) })) (expression_statement "iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar6 * 4)" * (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + iVar6 * 4)" ( (binary_expression "*(int *)(param_2 + 8) + iVar6 * 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 "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4)" identifier = (pointer_expression "*(int *)(*(int *)(param_3 + 8) + iVar5 * 4)" * (cast_expression "(int *)(*(int *)(param_3 + 8) + iVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_3 + 8) + iVar5 * 4)" ( (binary_expression "*(int *)(param_3 + 8) + iVar5 * 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 "iVar5 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }" if (parenthesized_expression "(iVar2 < iVar3)" ( (binary_expression "iVar2 < iVar3" identifier < identifier) )) (compound_statement "{\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1[2] + iVar4 * 4) = iVar2;" (assignment_expression "*(int *)(param_1[2] + iVar4 * 4) = iVar2" (pointer_expression "*(int *)(param_1[2] + iVar4 * 4)" * (cast_expression "(int *)(param_1[2] + iVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar4 * 4)" ( (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar4 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }" else (compound_statement "{\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }" { (if_statement "if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }" if (parenthesized_expression "(iVar3 == iVar2)" ( (binary_expression "iVar3 == iVar2" identifier == identifier) )) (compound_statement "{\n            iVar5 = iVar5 + 1;\n          }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(param_1[2] + iVar4 * 4) = iVar3;" (assignment_expression "*(int *)(param_1[2] + iVar4 * 4) = iVar3" (pointer_expression "*(int *)(param_1[2] + iVar4 * 4)" * (cast_expression "(int *)(param_1[2] + iVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + iVar4 * 4)" ( (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar4 * 4" identifier * number_literal)) )))) = identifier) ;) }))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) (if_statement "if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }" if (parenthesized_expression "(iVar5 < *(int *)(param_3 + 4))" ( (binary_expression "iVar5 < *(int *)(param_3 + 4)" identifier < (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }" { (expression_statement "(*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);" (call_expression "(*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4)" (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] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4)" ( (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "iVar4 * 4" identifier * number_literal)) , (binary_expression "*(int *)(param_3 + 8) + iVar5 * 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 "iVar5 * 4" identifier * number_literal)) , (binary_expression "(*(int *)(param_3 + 4) - iVar5) * 4" (parenthesized_expression "(*(int *)(param_3 + 4) - iVar5)" ( (binary_expression "*(int *)(param_3 + 4) - iVar5" (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) )))) - identifier) )) * number_literal) ))) ;) (expression_statement "iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);" (assignment_expression "iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5)" identifier = (binary_expression "iVar4 + (*(int *)(param_3 + 4) - iVar5)" identifier + (parenthesized_expression "(*(int *)(param_3 + 4) - iVar5)" ( (binary_expression "*(int *)(param_3 + 4) - iVar5" (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) )))) - identifier) )))) ;) })) (labeled_statement "LAB_0048c354:\n      param_1[1] = iVar4;" statement_identifier : (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }))) }))))) (return_statement "return uVar1;" return identifier ;) })))
(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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (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) )))))) , (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 = (call_expression IDENT (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT * LIT) , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) )) * LIT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) )))) ;) (goto_statement goto statement_identifier ;) })) (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) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) }) (else_clause else (compound_statement { (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 = (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) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) )) * LIT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) )))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0048c160(int *param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0048c160(int *param_1,int param_2,int param_3)" (identifier "FUN_0048c160") (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  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  \n  if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (if_statement "if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }\n  else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" (if "if") (parenthesized_expression "((param_2 == 0) || (*(int *)(param_2 + 4) < 1))" (( "(") (binary_expression "(param_2 == 0) || (*(int *)(param_2 + 4) < 1)" (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(param_2 + 4) < 1)" (( "(") (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")) () ")"))) () ")")) (compound_statement "{\n    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }\n  }" ({ "{") (if_statement "if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }\n    else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }" (if "if") (parenthesized_expression "((param_3 == 0) || (*(int *)(param_3 + 4) < 1))" (( "(") (binary_expression "(param_3 == 0) || (*(int *)(param_3 + 4) < 1)" (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(param_3 + 4) < 1)" (( "(") (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")) () ")"))) () ")")) (compound_statement "{\n      *(undefined1 *)param_1 = 0;\n      *(undefined1 *)((int)param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 3) = 0;\n      *(undefined1 *)(param_1 + 1) = 0;\n      *(undefined1 *)((int)param_1 + 5) = 0;\n      *(undefined1 *)((int)param_1 + 6) = 0;\n      *(undefined1 *)((int)param_1 + 7) = 0;\n      *(undefined1 *)(param_1 + 2) = 0;\n      *(undefined1 *)((int)param_1 + 9) = 0;\n      *(undefined1 *)((int)param_1 + 10) = 0;\n      *(undefined1 *)((int)param_1 + 0xb) = 0;\n      uVar1 = 0;\n    }" ({ "{") (expression_statement "*(undefined1 *)param_1 = 0;" (assignment_expression "*(undefined1 *)param_1 = 0" (pointer_expression "*(undefined1 *)param_1" (* "*") (cast_expression "(undefined1 *)param_1" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 1) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 1)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 1)" (( "(") (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 2) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 2)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 2)" (( "(") (binary_expression "(int)param_1 + 2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 3) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 3) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 3)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 3)" (( "(") (binary_expression "(int)param_1 + 3" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 5) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 5) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 5)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 5)" (( "(") (binary_expression "(int)param_1 + 5" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "5")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 6) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 6) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 6)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 6)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 6)" (( "(") (binary_expression "(int)param_1 + 6" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 7) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 7)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 7)" (( "(") (binary_expression "(int)param_1 + 7" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" (* "*") (cast_expression "(undefined1 *)(param_1 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 9) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 9) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 9)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 9)" (( "(") (binary_expression "(int)param_1 + 9" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "9")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 10)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 10)" (( "(") (binary_expression "(int)param_1 + 10" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 0xb) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0xb) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0xb)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0xb)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0xb)" (( "(") (binary_expression "(int)param_1 + 0xb" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0xb")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }" (else "else") (compound_statement "{\n      uVar1 = FUN_0048c08c(param_1,param_3);\n    }" ({ "{") (expression_statement "uVar1 = FUN_0048c08c(param_1,param_3);" (assignment_expression "uVar1 = FUN_0048c08c(param_1,param_3)" (identifier "uVar1") (= "=") (call_expression "FUN_0048c08c(param_1,param_3)" (identifier "FUN_0048c08c") (argument_list "(param_1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" (else "else") (if_statement "if ((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {\n    uVar1 = FUN_0048c08c(param_1);\n  }\n  else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" (if "if") (parenthesized_expression "((param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1))" (( "(") (binary_expression "(param_3 == 0) ||\n          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)" (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)" (( "(") (comma_expression "iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1" (assignment_expression "iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4)" (identifier "iVar4") (= "=") (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")) () ")")))))) (, ",") (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"))) () ")"))) () ")")) (compound_statement "{\n    uVar1 = FUN_0048c08c(param_1);\n  }" ({ "{") (expression_statement "uVar1 = FUN_0048c08c(param_1);" (assignment_expression "uVar1 = FUN_0048c08c(param_1)" (identifier "uVar1") (= "=") (call_expression "FUN_0048c08c(param_1)" (identifier "FUN_0048c08c") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" (else "else") (compound_statement "{\n    *param_1 = iVar4;\n    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);\n    param_1[2] = iVar4;\n    if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }\n  }" ({ "{") (expression_statement "*param_1 = iVar4;" (assignment_expression "*param_1 = iVar4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);" (assignment_expression "iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2)" (parenthesized_expression "(*(code *)PTR_malloc_004bf2d8)" (( "(") (pointer_expression "*(code *)PTR_malloc_004bf2d8" (* "*") (cast_expression "(code *)PTR_malloc_004bf2d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_004bf2d8"))) () ")")) (argument_list "(iVar4 * 4,param_2)" (( "(") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4")) (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar4 == 0) {\n      uVar1 = 0xc;\n    }\n    else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = 0xc;\n    }" ({ "{") (expression_statement "uVar1 = 0xc;" (assignment_expression "uVar1 = 0xc" (identifier "uVar1") (= "=") (number_literal "0xc")) (; ";")) (} "}")) (else_clause "else {\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }" (else "else") (compound_statement "{\n      iVar4 = 0;\n      iVar5 = 0;\n      iVar6 = 0;\n      while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }\n      if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }\nLAB_0048c354:\n      param_1[1] = iVar4;\n      uVar1 = 0;\n    }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (while_statement "while (iVar6 < *(int *)(param_2 + 4)) {\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }" (while "while") (parenthesized_expression "(iVar6 < *(int *)(param_2 + 4))" (( "(") (binary_expression "iVar6 < *(int *)(param_2 + 4)" (identifier "iVar6") (< "<") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n        if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }\n        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);\n        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);\n        if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }\n        iVar4 = iVar4 + 1;\n      }" ({ "{") (if_statement "if (*(int *)(param_3 + 4) <= iVar5) {\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }" (if "if") (parenthesized_expression "(*(int *)(param_3 + 4) <= iVar5)" (( "(") (binary_expression "*(int *)(param_3 + 4) <= iVar5" (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")) () ")")))) (<= "<=") (identifier "iVar5")) () ")")) (compound_statement "{\n          (*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);\n          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);\n          goto LAB_0048c354;\n        }" ({ "{") (expression_statement "(*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4);" (call_expression "(*(code *)PTR_memcpy_004bf390)\n                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4)" (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] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,\n                     (*(int *)(param_2 + 4) - iVar6) * 4)" (( "(") (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) (, ",") (binary_expression "*(int *)(param_2 + 8) + iVar6 * 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 "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) (, ",") (binary_expression "(*(int *)(param_2 + 4) - iVar6) * 4" (parenthesized_expression "(*(int *)(param_2 + 4) - iVar6)" (( "(") (binary_expression "*(int *)(param_2 + 4) - iVar6" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (- "-") (identifier "iVar6")) () ")")) (* "*") (number_literal "4")) () ")"))) (; ";")) (expression_statement "iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);" (assignment_expression "iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6)" (identifier "iVar4") (= "=") (binary_expression "iVar4 + (*(int *)(param_2 + 4) - iVar6)" (identifier "iVar4") (+ "+") (parenthesized_expression "(*(int *)(param_2 + 4) - iVar6)" (( "(") (binary_expression "*(int *)(param_2 + 4) - iVar6" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (- "-") (identifier "iVar6")) () ")")))) (; ";")) (goto_statement "goto LAB_0048c354;" (goto "goto") (statement_identifier "LAB_0048c354") (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);" (assignment_expression "iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(*(int *)(param_2 + 8) + iVar6 * 4)" (* "*") (cast_expression "(int *)(*(int *)(param_2 + 8) + iVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 8) + iVar6 * 4)" (( "(") (binary_expression "*(int *)(param_2 + 8) + iVar6 * 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 "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(param_3 + 8) + iVar5 * 4)" (* "*") (cast_expression "(int *)(*(int *)(param_3 + 8) + iVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_3 + 8) + iVar5 * 4)" (( "(") (binary_expression "*(int *)(param_3 + 8) + iVar5 * 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 "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (iVar2 < iVar3) {\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }\n        else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }" (if "if") (parenthesized_expression "(iVar2 < iVar3)" (( "(") (binary_expression "iVar2 < iVar3" (identifier "iVar2") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n          iVar5 = iVar5 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar2;\n        }" ({ "{") (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1[2] + iVar4 * 4) = iVar2;" (assignment_expression "*(int *)(param_1[2] + iVar4 * 4) = iVar2" (pointer_expression "*(int *)(param_1[2] + iVar4 * 4)" (* "*") (cast_expression "(int *)(param_1[2] + iVar4 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + iVar4 * 4)" (( "(") (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (} "}")) (else_clause "else {\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }" (else "else") (compound_statement "{\n          if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }\n          iVar6 = iVar6 + 1;\n          *(int *)(param_1[2] + iVar4 * 4) = iVar3;\n        }" ({ "{") (if_statement "if (iVar3 == iVar2) {\n            iVar5 = iVar5 + 1;\n          }" (if "if") (parenthesized_expression "(iVar3 == iVar2)" (( "(") (binary_expression "iVar3 == iVar2" (identifier "iVar3") (== "==") (identifier "iVar2")) () ")")) (compound_statement "{\n            iVar5 = iVar5 + 1;\n          }" ({ "{") (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1[2] + iVar4 * 4) = iVar3;" (assignment_expression "*(int *)(param_1[2] + iVar4 * 4) = iVar3" (pointer_expression "*(int *)(param_1[2] + iVar4 * 4)" (* "*") (cast_expression "(int *)(param_1[2] + iVar4 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + iVar4 * 4)" (( "(") (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (} "}")))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (iVar5 < *(int *)(param_3 + 4)) {\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }" (if "if") (parenthesized_expression "(iVar5 < *(int *)(param_3 + 4))" (( "(") (binary_expression "iVar5 < *(int *)(param_3 + 4)" (identifier "iVar5") (< "<") (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")) () ")"))))) () ")")) (compound_statement "{\n        (*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);\n        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);\n      }" ({ "{") (expression_statement "(*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4);" (call_expression "(*(code *)PTR_memcpy_004bf390)\n                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4)" (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] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,\n                   (*(int *)(param_3 + 4) - iVar5) * 4)" (( "(") (binary_expression "param_1[2] + iVar4 * 4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) (, ",") (binary_expression "*(int *)(param_3 + 8) + iVar5 * 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 "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) (, ",") (binary_expression "(*(int *)(param_3 + 4) - iVar5) * 4" (parenthesized_expression "(*(int *)(param_3 + 4) - iVar5)" (( "(") (binary_expression "*(int *)(param_3 + 4) - iVar5" (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")) () ")")))) (- "-") (identifier "iVar5")) () ")")) (* "*") (number_literal "4")) () ")"))) (; ";")) (expression_statement "iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);" (assignment_expression "iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5)" (identifier "iVar4") (= "=") (binary_expression "iVar4 + (*(int *)(param_3 + 4) - iVar5)" (identifier "iVar4") (+ "+") (parenthesized_expression "(*(int *)(param_3 + 4) - iVar5)" (( "(") (binary_expression "*(int *)(param_3 + 4) - iVar5" (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")) () ")")))) (- "-") (identifier "iVar5")) () ")")))) (; ";")) (} "}"))) (labeled_statement "LAB_0048c354:\n      param_1[1] = iVar4;" (statement_identifier "LAB_0048c354") (: ":") (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";"))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")))))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))
(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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) 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 (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (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))))))) 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)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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 (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))) (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))) (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: (identifier))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) 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: (identifier)))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (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)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))) (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))) (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: (identifier))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) 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: (identifier)))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))))) (return_statement (identifier)))))

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

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  
  if ((param_2 == 0) || (*(int *)(param_2 + 4) < 1)) {
    if ((param_3 == 0) || (*(int *)(param_3 + 4) < 1)) {
      *(undefined1 *)param_1 = 0;
      *(undefined1 *)((int)param_1 + 1) = 0;
      *(undefined1 *)((int)param_1 + 2) = 0;
      *(undefined1 *)((int)param_1 + 3) = 0;
      *(undefined1 *)(param_1 + 1) = 0;
      *(undefined1 *)((int)param_1 + 5) = 0;
      *(undefined1 *)((int)param_1 + 6) = 0;
      *(undefined1 *)((int)param_1 + 7) = 0;
      *(undefined1 *)(param_1 + 2) = 0;
      *(undefined1 *)((int)param_1 + 9) = 0;
      *(undefined1 *)((int)param_1 + 10) = 0;
      *(undefined1 *)((int)param_1 + 0xb) = 0;
      uVar1 = 0;
    }
    else {
      uVar1 = FUN_0048c08c(param_1,param_3);
    }
  }
  else if ((param_3 == 0) ||
          (iVar4 = *(int *)(param_2 + 4) + *(int *)(param_3 + 4), *(int *)(param_3 + 4) < 1)) {
    uVar1 = FUN_0048c08c(param_1);
  }
  else {
    *param_1 = iVar4;
    iVar4 = (*(code *)PTR_malloc_004bf2d8)(iVar4 * 4,param_2);
    param_1[2] = iVar4;
    if (iVar4 == 0) {
      uVar1 = 0xc;
    }
    else {
      iVar4 = 0;
      iVar5 = 0;
      iVar6 = 0;
      while (iVar6 < *(int *)(param_2 + 4)) {
        if (*(int *)(param_3 + 4) <= iVar5) {
          (*(code *)PTR_memcpy_004bf390)
                    (param_1[2] + iVar4 * 4,*(int *)(param_2 + 8) + iVar6 * 4,
                     (*(int *)(param_2 + 4) - iVar6) * 4);
          iVar4 = iVar4 + (*(int *)(param_2 + 4) - iVar6);
          goto LAB_0048c354;
        }
        iVar3 = *(int *)(*(int *)(param_2 + 8) + iVar6 * 4);
        iVar2 = *(int *)(*(int *)(param_3 + 8) + iVar5 * 4);
        if (iVar2 < iVar3) {
          iVar5 = iVar5 + 1;
          *(int *)(param_1[2] + iVar4 * 4) = iVar2;
        }
        else {
          if (iVar3 == iVar2) {
            iVar5 = iVar5 + 1;
          }
          iVar6 = iVar6 + 1;
          *(int *)(param_1[2] + iVar4 * 4) = iVar3;
        }
        iVar4 = iVar4 + 1;
      }
      if (iVar5 < *(int *)(param_3 + 4)) {
        (*(code *)PTR_memcpy_004bf390)
                  (param_1[2] + iVar4 * 4,*(int *)(param_3 + 8) + iVar5 * 4,
                   (*(int *)(param_3 + 4) - iVar5) * 4);
        iVar4 = iVar4 + (*(int *)(param_3 + 4) - iVar5);
      }
LAB_0048c354:
      param_1[1] = iVar4;
      uVar1 = 0;
    }
  }
  return uVar1;
}

