
int32 pstm_mul_comba(pstm_int *A,pstm_int *B,pstm_int *C,pstm_digit *paD,uint32 paDlen)

{
  bool bVar1;
  longlong lVar2;
  int32 iVar3;
  uint *puVar4;
  pstm_digit *ppVar5;
  uint uVar6;
  int iVar7;
  pstm_digit *ppVar8;
  uint *puVar9;
  uint *puVar10;
  uint *puVar11;
  int iVar12;
  uint uVar13;
  int iVar14;
  uint *puVar15;
  pstm_digit *ppVar16;
  int size;
  uint uVar17;
  int iVar18;
  pstm_digit *ppVar19;
  int iVar20;
  uint uVar21;
  
  size = A->used + B->used;
  if ((C->alloc < size) && (iVar3 = pstm_grow(C,size), iVar3 != 0)) {
    return -8;
  }
  uVar17 = size * 4;
  if (paD == (pstm_digit *)0x0) {
    iVar18 = 0;
    puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);
    puVar9 = C->dp;
joined_r0x00050b1c:
    if (0 < size) {
      ppVar19 = A->dp;
      puVar10 = puVar9;
LAB_00050a48:
      ppVar16 = B->dp;
      iVar12 = 0;
      uVar17 = 0;
      uVar21 = 0;
      puVar9 = puVar4;
      do {
        iVar7 = B->used + -1;
        if (iVar12 < iVar7) {
          iVar7 = iVar12;
        }
        iVar14 = A->used - (iVar12 - iVar7);
        if (iVar7 < iVar14) {
          iVar14 = iVar7 + 1;
          if (0 < iVar14) goto LAB_00050a94;
LAB_00050be8:
          uVar13 = 0;
        }
        else {
          if (iVar14 < 1) goto LAB_00050be8;
LAB_00050a94:
          iVar20 = 0;
          uVar13 = 0;
          ppVar5 = ppVar16 + iVar7;
          uVar6 = uVar21;
          ppVar8 = ppVar19 + (iVar12 - iVar7);
          do {
            iVar20 = iVar20 + 1;
            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;
            uVar17 = (uint)lVar2;
            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);
            uVar13 = uVar13 + (uVar21 < uVar6);
            ppVar5 = ppVar5 + -1;
            uVar6 = uVar21;
            ppVar8 = ppVar8 + 1;
          } while (iVar20 != iVar14);
        }
        iVar12 = iVar12 + 1;
        *puVar9 = uVar17;
        puVar9 = puVar9 + 1;
        uVar17 = uVar21;
        uVar21 = uVar13;
      } while (size != iVar12);
      uVar17 = B->sign;
      puVar9 = puVar10 + size;
      uVar21 = A->sign;
      iVar12 = C->used;
      C->used = size;
      C->sign = uVar17 ^ uVar21;
      puVar15 = puVar4;
      do {
        uVar17 = *puVar15;
        puVar11 = puVar10 + 1;
        puVar15 = puVar15 + 1;
        *puVar10 = uVar17;
        puVar10 = puVar11;
      } while (puVar11 != puVar9);
      bVar1 = size < iVar12;
      goto LAB_00050b48;
    }
  }
  else {
    if (paDlen < uVar17) {
      iVar18 = 1;
      puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);
      puVar9 = C->dp;
      goto joined_r0x00050b1c;
    }
    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(paD,0,paDlen);
    iVar18 = 0;
    puVar9 = C->dp;
    if (0 < size) {
      ppVar19 = A->dp;
      puVar10 = puVar9;
      goto LAB_00050a48;
    }
  }
  uVar17 = A->sign;
  uVar21 = B->sign;
  iVar12 = C->used;
  C->used = size;
  size = 0;
  C->sign = uVar17 ^ uVar21;
  bVar1 = 0 < iVar12;
LAB_00050b48:
  if (bVar1) {
    do {
      size = size + 1;
      *puVar9 = 0;
      puVar9 = puVar9 + 1;
    } while (iVar12 != size);
  }
  pstm_clamp(C);
  if (paD == (pstm_digit *)0x0) {
    (*(code *)PTR_free_0012b168)(puVar4);
  }
  else {
    if (iVar18 != 1) {
      return iVar18;
    }
    (*(code *)PTR_free_0012b168)(puVar4);
  }
  return 0;
}



int pstm_mul_comba(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)

{
  bool bVar1;
  longlong lVar2;
  int iVar3;
  uint *puVar4;
  uint *puVar5;
  uint uVar6;
  int iVar7;
  uint *puVar8;
  uint *puVar9;
  uint *puVar10;
  int iVar11;
  uint uVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  uint uVar16;
  int iVar17;
  int iVar18;
  uint uVar19;
  
  iVar15 = *param_1 + *param_2;
  if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {
    return -8;
  }
  uVar16 = iVar15 * 4;
  if (param_4 == 0) {
    iVar3 = 0;
    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);
    puVar9 = (uint *)param_3[3];
joined_r0x00050b1c:
    if (0 < iVar15) {
      iVar17 = param_1[3];
      puVar10 = puVar9;
LAB_00050a48:
      iVar14 = param_2[3];
      iVar11 = 0;
      uVar16 = 0;
      uVar19 = 0;
      puVar9 = puVar4;
      do {
        iVar7 = *param_2 + -1;
        if (iVar11 < *param_2 + -1) {
          iVar7 = iVar11;
        }
        iVar13 = *param_1 - (iVar11 - iVar7);
        if (iVar7 < iVar13) {
          iVar13 = iVar7 + 1;
          if (0 < iVar13) goto LAB_00050a94;
LAB_00050be8:
          uVar12 = 0;
        }
        else {
          if (iVar13 < 1) goto LAB_00050be8;
LAB_00050a94:
          iVar18 = 0;
          uVar12 = 0;
          puVar5 = (uint *)(iVar14 + iVar7 * 4);
          uVar6 = uVar19;
          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);
          do {
            iVar18 = iVar18 + 1;
            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;
            uVar16 = (uint)lVar2;
            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);
            uVar12 = uVar12 + (uVar19 < uVar6);
            puVar5 = puVar5 + -1;
            uVar6 = uVar19;
            puVar8 = puVar8 + 1;
          } while (iVar18 != iVar13);
        }
        iVar11 = iVar11 + 1;
        *puVar9 = uVar16;
        puVar9 = puVar9 + 1;
        uVar16 = uVar19;
        uVar19 = uVar12;
      } while (iVar15 != iVar11);
      uVar16 = param_2[2];
      puVar9 = puVar10 + iVar15;
      uVar19 = param_1[2];
      iVar17 = *param_3;
      *param_3 = iVar15;
      param_3[2] = uVar16 ^ uVar19;
      puVar5 = puVar4;
      do {
        uVar16 = *puVar5;
        puVar8 = puVar10 + 1;
        puVar5 = puVar5 + 1;
        *puVar10 = uVar16;
        puVar10 = puVar8;
      } while (puVar8 != puVar9);
      bVar1 = iVar15 < iVar17;
      goto LAB_00050b48;
    }
  }
  else {
    if (param_5 < uVar16) {
      iVar3 = 1;
      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);
      puVar9 = (uint *)param_3[3];
      goto joined_r0x00050b1c;
    }
    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);
    iVar3 = 0;
    puVar9 = (uint *)param_3[3];
    if (0 < iVar15) {
      iVar17 = param_1[3];
      puVar10 = puVar9;
      goto LAB_00050a48;
    }
  }
  uVar16 = param_1[2];
  uVar19 = param_2[2];
  iVar17 = *param_3;
  *param_3 = iVar15;
  iVar15 = 0;
  param_3[2] = uVar16 ^ uVar19;
  bVar1 = 0 < iVar17;
LAB_00050b48:
  if (bVar1) {
    do {
      iVar15 = iVar15 + 1;
      *puVar9 = 0;
      puVar9 = puVar9 + 1;
    } while (iVar17 != iVar15);
  }
  pstm_clamp(param_3);
  if (param_4 == 0) {
    (*(code *)PTR_free_0012b168)(puVar4);
  }
  else {
    if (iVar3 != 1) {
      return iVar3;
    }
    (*(code *)PTR_free_0012b168)(puVar4);
  }
  return 0;
}


lui gp,0xe
addiu gp,gp,0x17e8
addu gp,gp,t9
addiu sp,sp,-0x48
lw v1,0x0(a1)
lw v0,0x4(a2)
sw s0,0x24(sp)
lw s0,0x0(a0)
sw gp,0x10(sp)
sw s8,0x40(sp)
addu s0,s0,v1
sw s7,0x3c(sp)
sw s5,0x34(sp)
or s7,a1,zero
slt v0,v0,s0
sw s2,0x2c(sp)
sw s1,0x28(sp)
or s2,a0,zero
sw ra,0x44(sp)
or s5,a2,zero
sw s6,0x38(sp)
or s1,a3,zero
sw s4,0x30(sp)
beq v0,zero,0x00050a18
_lw s8,0x58(sp)
lw t9,-0x7b38(gp)
or a1,s0,zero
or a0,a2,zero
bal 0x0004d6d4
_li s6,-0x8
beq v0,zero,0x00050a18
_lw gp,0x10(sp)
lw ra,0x44(sp)
or v0,s6,zero
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x48
beq s1,zero,0x00050b08
_sll s4,s0,0x2
sltu v0,s8,s4
beq v0,zero,0x00050c38
_lw t9,-0x7f80(gp)
or a0,s4,zero
jalr t9
_li s6,0x1
lw gp,0x10(sp)
blez s0,0x00050b24
_lw t1,0xc(s5)
lw t8,0xc(s2)
or t3,zero,zero
lw t7,0xc(s7)
or a0,zero,zero
or t2,zero,zero
or t5,v0,zero
or t6,v0,zero
lw v1,0x0(s7)
lw t4,0x0(s2)
addiu a1,v1,-0x1
slt v1,t2,a1
movn a1,t2,v1
or v1,a1,zero
subu a1,t2,a1
subu t4,t4,a1
slt a2,v1,t4
bne a2,zero,0x00050bdc
_nop
blez t4,0x00050be8
_or a2,a0,zero
sll a1,a1,0x2
sll v1,v1,0x2
or a2,a0,zero
addu a1,t8,a1
or a0,t3,zero
addu v1,t7,v1
or t9,zero,zero
or t3,zero,zero
sw a2,0x1c(sp)
addiu a1,a1,0x4
lw ra,0x1c(sp)
addiu t9,t9,0x1
sw zero,0x18(sp)
addiu v1,v1,-0x4
lw s8,0x18(sp)
mtlo ra
lw a3,0x4(v1)
lw t0,-0x4(a1)
mthi s8
maddu t0,a3
mfhi a2
addu s8,a0,a2
mflo a2
sltu a0,s8,a0
addu t3,t3,a0
bne t9,t4,0x00050ab4
_or a0,s8,zero
b 0x00050bf4
_addiu t2,t2,0x1
lw t9,-0x7f80(gp)
or a0,s4,zero
jalr t9
_or s6,zero,zero
lw gp,0x10(sp)
bgtz s0,0x00050a44
_lw t1,0xc(s5)
lw v1,0x8(s2)
or a0,t1,zero
lw a2,0x8(s7)
lw a1,0x0(s5)
sw s0,0x0(s5)
or s0,zero,zero
xor v1,v1,a2
sw v1,0x8(s5)
slt v1,s0,a1
beq v1,zero,0x00050b64
_lw t9,-0x7ae0(gp)
addiu a0,a0,0x4
addiu s0,s0,0x1
bne a1,s0,0x00050b50
_sw zero,-0x4(a0)
lw t9,-0x7ae0(gp)
or a0,s5,zero
bal 0x0004db34
_sw v0,0x18(sp)
lw gp,0x10(sp)
bne s1,zero,0x00050bbc
_lw v0,0x18(sp)
lw t9,-0x6fe8(gp)
or s6,zero,zero
jalr t9
_or a0,v0,zero
lw ra,0x44(sp)
or v0,s6,zero
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x48
li v1,0x1
bne s6,v1,0x000509e8
_lw t9,-0x6fe8(gp)
or a0,v0,zero
jalr t9
_or s6,zero,zero
b 0x00050b90
_lw ra,0x44(sp)
addiu t4,v1,0x1
bgtz t4,0x00050a94
_or a2,a0,zero
or a0,t3,zero
or t3,zero,zero
addiu t2,t2,0x1
sw a2,0x0(t6)
bne s0,t2,0x00050a60
_addiu t6,t6,0x4
lw v1,0x8(s7)
addu a0,t1,s4
lw a2,0x8(s2)
lw a1,0x0(s5)
sw s0,0x0(s5)
xor v1,v1,a2
sw v1,0x8(s5)
lw v1,0x0(t5)
addiu t1,t1,0x4
addiu t5,t5,0x4
bne t1,a0,0x00050c1c
_sw v1,-0x4(t1)
b 0x00050b48
_slt v1,s0,a1
lw t9,-0x7294(gp)
or a1,zero,zero
or a2,s8,zero
jalr t9
_or a0,s1,zero
or s6,zero,zero
lw gp,0x10(sp)
blez s0,0x00050b24
_lw t1,0xc(s5)
b 0x00050a48
_lw t8,0xc(s2)
(translation_unit "int pstm_mul_comba(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  int iVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int iVar7;\n  uint *puVar8;\n  uint *puVar9;\n  uint *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  uint uVar19;\n  \n  iVar15 = *param_1 + *param_2;\n  if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }\n  uVar16 = iVar15 * 4;\n  if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar16 = param_1[2];\n  uVar19 = param_2[2];\n  iVar17 = *param_3;\n  *param_3 = iVar15;\n  iVar15 = 0;\n  param_3[2] = uVar16 ^ uVar19;\n  bVar1 = 0 < iVar17;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }\n  pstm_clamp(param_3);\n  if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}\n\n" (function_definition "int pstm_mul_comba(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  int iVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int iVar7;\n  uint *puVar8;\n  uint *puVar9;\n  uint *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  uint uVar19;\n  \n  iVar15 = *param_1 + *param_2;\n  if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }\n  uVar16 = iVar15 * 4;\n  if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar16 = param_1[2];\n  uVar19 = param_2[2];\n  iVar17 = *param_3;\n  *param_3 = iVar15;\n  iVar15 = 0;\n  param_3[2] = uVar16 ^ uVar19;\n  bVar1 = 0 < iVar17;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }\n  pstm_clamp(param_3);\n  if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}" primitive_type (function_declarator "pstm_mul_comba(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint param_5" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  longlong lVar2;\n  int iVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int iVar7;\n  uint *puVar8;\n  uint *puVar9;\n  uint *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  uint uVar19;\n  \n  iVar15 = *param_1 + *param_2;\n  if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }\n  uVar16 = iVar15 * 4;\n  if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar16 = param_1[2];\n  uVar19 = param_2[2];\n  iVar17 = *param_3;\n  *param_3 = iVar15;\n  iVar15 = 0;\n  param_3[2] = uVar16 ^ uVar19;\n  bVar1 = 0 < iVar17;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }\n  pstm_clamp(param_3);\n  if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "uint uVar19;" type_identifier identifier ;) (expression_statement "iVar15 = *param_1 + *param_2;" (assignment_expression "iVar15 = *param_1 + *param_2" identifier = (binary_expression "*param_1 + *param_2" (pointer_expression "*param_1" * identifier) + (pointer_expression "*param_2" * identifier))) ;) (if_statement "if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }" if (parenthesized_expression "((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0))" ( (binary_expression "(param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)" (parenthesized_expression "(param_3[1] < iVar15)" ( (binary_expression "param_3[1] < iVar15" (subscript_expression "param_3[1]" identifier [ number_literal ]) < identifier) )) && (parenthesized_expression "(iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)" ( (comma_expression "iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0" (assignment_expression "iVar3 = pstm_grow(param_3,iVar15)" identifier = (call_expression "pstm_grow(param_3,iVar15)" identifier (argument_list "(param_3,iVar15)" ( identifier , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return -8;\n  }" { (return_statement "return -8;" return number_literal ;) })) (expression_statement "uVar16 = iVar15 * 4;" (assignment_expression "uVar16 = iVar15 * 4" identifier = (binary_expression "iVar15 * 4" identifier * number_literal)) ;) (if_statement "if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" identifier = (cast_expression "(uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_FUN_0012a1d0)(uVar16)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" ( (pointer_expression "*(code *)PTR_FUN_0012a1d0" * (cast_expression "(code *)PTR_FUN_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar16)" ( identifier ))))) ;) (expression_statement "puVar9 = (uint *)param_3[3];" (assignment_expression "puVar9 = (uint *)param_3[3]" identifier = (cast_expression "(uint *)param_3[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) ;) (labeled_statement "joined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }" statement_identifier : (if_statement "if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }" if (parenthesized_expression "(0 < iVar15)" ( (binary_expression "0 < iVar15" number_literal < identifier) )) (compound_statement "{\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }" { (expression_statement "iVar17 = param_1[3];" (assignment_expression "iVar17 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;) (labeled_statement "LAB_00050a48:\n      iVar14 = param_2[3];" statement_identifier : (expression_statement "iVar14 = param_2[3];" (assignment_expression "iVar14 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;)) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar16 = 0;" (assignment_expression "uVar16 = 0" identifier = number_literal) ;) (expression_statement "uVar19 = 0;" (assignment_expression "uVar19 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = puVar4;" (assignment_expression "puVar9 = puVar4" identifier = identifier) ;) (do_statement "do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);" do (compound_statement "{\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      }" { (expression_statement "iVar7 = *param_2 + -1;" (assignment_expression "iVar7 = *param_2 + -1" identifier = (binary_expression "*param_2 + -1" (pointer_expression "*param_2" * identifier) + number_literal)) ;) (if_statement "if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }" if (parenthesized_expression "(iVar11 < *param_2 + -1)" ( (binary_expression "iVar11 < *param_2 + -1" identifier < (binary_expression "*param_2 + -1" (pointer_expression "*param_2" * identifier) + number_literal)) )) (compound_statement "{\n          iVar7 = iVar11;\n        }" { (expression_statement "iVar7 = iVar11;" (assignment_expression "iVar7 = iVar11" identifier = identifier) ;) })) (expression_statement "iVar13 = *param_1 - (iVar11 - iVar7);" (assignment_expression "iVar13 = *param_1 - (iVar11 - iVar7)" identifier = (binary_expression "*param_1 - (iVar11 - iVar7)" (pointer_expression "*param_1" * identifier) - (parenthesized_expression "(iVar11 - iVar7)" ( (binary_expression "iVar11 - iVar7" identifier - identifier) )))) ;) (if_statement "if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }" if (parenthesized_expression "(iVar7 < iVar13)" ( (binary_expression "iVar7 < iVar13" identifier < identifier) )) (compound_statement "{\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }" { (expression_statement "iVar13 = iVar7 + 1;" (assignment_expression "iVar13 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (0 < iVar13) goto LAB_00050a94;" if (parenthesized_expression "(0 < iVar13)" ( (binary_expression "0 < iVar13" number_literal < identifier) )) (goto_statement "goto LAB_00050a94;" goto statement_identifier ;)) (labeled_statement "LAB_00050be8:\n          uVar12 = 0;" statement_identifier : (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }" else (compound_statement "{\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }" { (if_statement "if (iVar13 < 1) goto LAB_00050be8;" if (parenthesized_expression "(iVar13 < 1)" ( (binary_expression "iVar13 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00050be8;" goto statement_identifier ;)) (labeled_statement "LAB_00050a94:\n          iVar18 = 0;" statement_identifier : (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;)) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (expression_statement "puVar5 = (uint *)(iVar14 + iVar7 * 4);" (assignment_expression "puVar5 = (uint *)(iVar14 + iVar7 * 4)" identifier = (cast_expression "(uint *)(iVar14 + iVar7 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + iVar7 * 4)" ( (binary_expression "iVar14 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "uVar6 = uVar19;" (assignment_expression "uVar6 = uVar19" identifier = identifier) ;) (expression_statement "puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);" (assignment_expression "puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4)" identifier = (cast_expression "(uint *)(iVar17 + (iVar11 - iVar7) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + (iVar11 - iVar7) * 4)" ( (binary_expression "iVar17 + (iVar11 - iVar7) * 4" identifier + (binary_expression "(iVar11 - iVar7) * 4" (parenthesized_expression "(iVar11 - iVar7)" ( (binary_expression "iVar11 - iVar7" identifier - identifier) )) * number_literal)) )))) ;) (do_statement "do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);" do (compound_statement "{\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          }" { (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;" (assignment_expression "lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5" identifier = (binary_expression "(ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5" (cast_expression "(ulonglong)uVar16" ( (type_descriptor "ulonglong" type_identifier) ) identifier) + (binary_expression "(ulonglong)*puVar8 * (ulonglong)*puVar5" (binary_expression "(ulonglong)*puVar8 * (ulonglong)" (binary_expression "(ulonglong)*puVar8" (parenthesized_expression "(ulonglong)" ( identifier )) * identifier) * (parenthesized_expression "(ulonglong)" ( identifier ))) * identifier))) ;) (expression_statement "uVar16 = (uint)lVar2;" (assignment_expression "uVar16 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20)" identifier = (binary_expression "uVar6 + (int)((ulonglong)lVar2 >> 0x20)" identifier + (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))))) ;) (expression_statement "uVar12 = uVar12 + (uVar19 < uVar6);" (assignment_expression "uVar12 = uVar12 + (uVar19 < uVar6)" identifier = (binary_expression "uVar12 + (uVar19 < uVar6)" identifier + (parenthesized_expression "(uVar19 < uVar6)" ( (binary_expression "uVar19 < uVar6" identifier < identifier) )))) ;) (expression_statement "puVar5 = puVar5 + -1;" (assignment_expression "puVar5 = puVar5 + -1" identifier = (binary_expression "puVar5 + -1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar19;" (assignment_expression "uVar6 = uVar19" identifier = identifier) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar18 != iVar13)" ( (binary_expression "iVar18 != iVar13" identifier != identifier) )) ;) }))) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = uVar16;" (assignment_expression "*puVar9 = uVar16" (pointer_expression "*puVar9" * identifier) = identifier) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar16 = uVar19;" (assignment_expression "uVar16 = uVar19" identifier = identifier) ;) (expression_statement "uVar19 = uVar12;" (assignment_expression "uVar19 = uVar12" identifier = identifier) ;) }) while (parenthesized_expression "(iVar15 != iVar11)" ( (binary_expression "iVar15 != iVar11" identifier != identifier) )) ;) (expression_statement "uVar16 = param_2[2];" (assignment_expression "uVar16 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "puVar9 = puVar10 + iVar15;" (assignment_expression "puVar9 = puVar10 + iVar15" identifier = (binary_expression "puVar10 + iVar15" identifier + identifier)) ;) (expression_statement "uVar19 = param_1[2];" (assignment_expression "uVar19 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar17 = *param_3;" (assignment_expression "iVar17 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = iVar15;" (assignment_expression "*param_3 = iVar15" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[2] = uVar16 ^ uVar19;" (assignment_expression "param_3[2] = uVar16 ^ uVar19" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "uVar16 ^ uVar19" identifier ^ identifier)) ;) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (do_statement "do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);" do (compound_statement "{\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      }" { (expression_statement "uVar16 = *puVar5;" (assignment_expression "uVar16 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar8 = puVar10 + 1;" (assignment_expression "puVar8 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar10 = uVar16;" (assignment_expression "*puVar10 = uVar16" (pointer_expression "*puVar10" * identifier) = identifier) ;) (expression_statement "puVar10 = puVar8;" (assignment_expression "puVar10 = puVar8" identifier = identifier) ;) }) while (parenthesized_expression "(puVar8 != puVar9)" ( (binary_expression "puVar8 != puVar9" identifier != identifier) )) ;) (expression_statement "bVar1 = iVar15 < iVar17;" (assignment_expression "bVar1 = iVar15 < iVar17" identifier = (binary_expression "iVar15 < iVar17" identifier < identifier)) ;) (goto_statement "goto LAB_00050b48;" goto statement_identifier ;) }))) }) (else_clause "else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" else (compound_statement "{\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" { (if_statement "if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }" if (parenthesized_expression "(param_5 < uVar16)" ( (binary_expression "param_5 < uVar16" identifier < identifier) )) (compound_statement "{\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" identifier = (cast_expression "(uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_FUN_0012a1d0)(uVar16)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" ( (pointer_expression "*(code *)PTR_FUN_0012a1d0" * (cast_expression "(code *)PTR_FUN_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar16)" ( identifier ))))) ;) (expression_statement "puVar9 = (uint *)param_3[3];" (assignment_expression "puVar9 = (uint *)param_3[3]" identifier = (cast_expression "(uint *)param_3[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) ;) (goto_statement "goto joined_r0x00050b1c;" goto statement_identifier ;) })) (expression_statement "puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5)" identifier = (cast_expression "(uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_memset_0012aebc)(param_4,0,param_5)" (parenthesized_expression "(*(code *)PTR_memset_0012aebc)" ( (pointer_expression "*(code *)PTR_memset_0012aebc" * (cast_expression "(code *)PTR_memset_0012aebc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_4,0,param_5)" ( identifier , number_literal , identifier ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = (uint *)param_3[3];" (assignment_expression "puVar9 = (uint *)param_3[3]" identifier = (cast_expression "(uint *)param_3[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) ;) (if_statement "if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }" if (parenthesized_expression "(0 < iVar15)" ( (binary_expression "0 < iVar15" number_literal < identifier) )) (compound_statement "{\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }" { (expression_statement "iVar17 = param_1[3];" (assignment_expression "iVar17 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;) (goto_statement "goto LAB_00050a48;" goto statement_identifier ;) })) }))) (expression_statement "uVar16 = param_1[2];" (assignment_expression "uVar16 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar19 = param_2[2];" (assignment_expression "uVar19 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar17 = *param_3;" (assignment_expression "iVar17 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = iVar15;" (assignment_expression "*param_3 = iVar15" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "param_3[2] = uVar16 ^ uVar19;" (assignment_expression "param_3[2] = uVar16 ^ uVar19" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "uVar16 ^ uVar19" identifier ^ identifier)) ;) (expression_statement "bVar1 = 0 < iVar17;" (assignment_expression "bVar1 = 0 < iVar17" identifier = (binary_expression "0 < iVar17" number_literal < identifier)) ;) (labeled_statement "LAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }" statement_identifier : (if_statement "if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }" { (do_statement "do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);" do (compound_statement "{\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    }" { (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar17 != iVar15)" ( (binary_expression "iVar17 != iVar15" identifier != identifier) )) ;) }))) (expression_statement "pstm_clamp(param_3);" (call_expression "pstm_clamp(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (if_statement "if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" { (expression_statement "(*(code *)PTR_free_0012b168)(puVar4);" (call_expression "(*(code *)PTR_free_0012b168)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) }) (else_clause "else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" else (compound_statement "{\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" { (if_statement "if (iVar3 != 1) {\n      return iVar3;\n    }" if (parenthesized_expression "(iVar3 != 1)" ( (binary_expression "iVar3 != 1" identifier != number_literal) )) (compound_statement "{\n      return iVar3;\n    }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "(*(code *)PTR_free_0012b168)(puVar4);" (call_expression "(*(code *)PTR_free_0012b168)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int32 pstm_mul_comba(pstm_int *A,pstm_int *B,pstm_int *C,pstm_digit *paD,uint32 paDlen)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  int32 iVar3;\n  uint *puVar4;\n  pstm_digit *ppVar5;\n  uint uVar6;\n  int iVar7;\n  pstm_digit *ppVar8;\n  uint *puVar9;\n  uint *puVar10;\n  uint *puVar11;\n  int iVar12;\n  uint uVar13;\n  int iVar14;\n  uint *puVar15;\n  pstm_digit *ppVar16;\n  int size;\n  uint uVar17;\n  int iVar18;\n  pstm_digit *ppVar19;\n  int iVar20;\n  uint uVar21;\n  \n  size = A->used + B->used;\n  if ((C->alloc < size) && (iVar3 = pstm_grow(C,size), iVar3 != 0)) {\n    return -8;\n  }\n  uVar17 = size * 4;\n  if (paD == (pstm_digit *)0x0) {\n    iVar18 = 0;\n    puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n    puVar9 = C->dp;\njoined_r0x00050b1c:\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\nLAB_00050a48:\n      ppVar16 = B->dp;\n      iVar12 = 0;\n      uVar17 = 0;\n      uVar21 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = B->used + -1;\n        if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }\n        iVar14 = A->used - (iVar12 - iVar7);\n        if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }\n        iVar12 = iVar12 + 1;\n        *puVar9 = uVar17;\n        puVar9 = puVar9 + 1;\n        uVar17 = uVar21;\n        uVar21 = uVar13;\n      } while (size != iVar12);\n      uVar17 = B->sign;\n      puVar9 = puVar10 + size;\n      uVar21 = A->sign;\n      iVar12 = C->used;\n      C->used = size;\n      C->sign = uVar17 ^ uVar21;\n      puVar15 = puVar4;\n      do {\n        uVar17 = *puVar15;\n        puVar11 = puVar10 + 1;\n        puVar15 = puVar15 + 1;\n        *puVar10 = uVar17;\n        puVar10 = puVar11;\n      } while (puVar11 != puVar9);\n      bVar1 = size < iVar12;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (paDlen < uVar17) {\n      iVar18 = 1;\n      puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n      puVar9 = C->dp;\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(paD,0,paDlen);\n    iVar18 = 0;\n    puVar9 = C->dp;\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar17 = A->sign;\n  uVar21 = B->sign;\n  iVar12 = C->used;\n  C->used = size;\n  size = 0;\n  C->sign = uVar17 ^ uVar21;\n  bVar1 = 0 < iVar12;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      size = size + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar12 != size);\n  }\n  pstm_clamp(C);\n  if (paD == (pstm_digit *)0x0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar18 != 1) {\n      return iVar18;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}\n\n" (function_definition "int32 pstm_mul_comba(pstm_int *A,pstm_int *B,pstm_int *C,pstm_digit *paD,uint32 paDlen)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  int32 iVar3;\n  uint *puVar4;\n  pstm_digit *ppVar5;\n  uint uVar6;\n  int iVar7;\n  pstm_digit *ppVar8;\n  uint *puVar9;\n  uint *puVar10;\n  uint *puVar11;\n  int iVar12;\n  uint uVar13;\n  int iVar14;\n  uint *puVar15;\n  pstm_digit *ppVar16;\n  int size;\n  uint uVar17;\n  int iVar18;\n  pstm_digit *ppVar19;\n  int iVar20;\n  uint uVar21;\n  \n  size = A->used + B->used;\n  if ((C->alloc < size) && (iVar3 = pstm_grow(C,size), iVar3 != 0)) {\n    return -8;\n  }\n  uVar17 = size * 4;\n  if (paD == (pstm_digit *)0x0) {\n    iVar18 = 0;\n    puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n    puVar9 = C->dp;\njoined_r0x00050b1c:\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\nLAB_00050a48:\n      ppVar16 = B->dp;\n      iVar12 = 0;\n      uVar17 = 0;\n      uVar21 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = B->used + -1;\n        if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }\n        iVar14 = A->used - (iVar12 - iVar7);\n        if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }\n        iVar12 = iVar12 + 1;\n        *puVar9 = uVar17;\n        puVar9 = puVar9 + 1;\n        uVar17 = uVar21;\n        uVar21 = uVar13;\n      } while (size != iVar12);\n      uVar17 = B->sign;\n      puVar9 = puVar10 + size;\n      uVar21 = A->sign;\n      iVar12 = C->used;\n      C->used = size;\n      C->sign = uVar17 ^ uVar21;\n      puVar15 = puVar4;\n      do {\n        uVar17 = *puVar15;\n        puVar11 = puVar10 + 1;\n        puVar15 = puVar15 + 1;\n        *puVar10 = uVar17;\n        puVar10 = puVar11;\n      } while (puVar11 != puVar9);\n      bVar1 = size < iVar12;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (paDlen < uVar17) {\n      iVar18 = 1;\n      puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n      puVar9 = C->dp;\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(paD,0,paDlen);\n    iVar18 = 0;\n    puVar9 = C->dp;\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar17 = A->sign;\n  uVar21 = B->sign;\n  iVar12 = C->used;\n  C->used = size;\n  size = 0;\n  C->sign = uVar17 ^ uVar21;\n  bVar1 = 0 < iVar12;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      size = size + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar12 != size);\n  }\n  pstm_clamp(C);\n  if (paD == (pstm_digit *)0x0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar18 != 1) {\n      return iVar18;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}" type_identifier (function_declarator "pstm_mul_comba(pstm_int *A,pstm_int *B,pstm_int *C,pstm_digit *paD,uint32 paDlen)" identifier (parameter_list "(pstm_int *A,pstm_int *B,pstm_int *C,pstm_digit *paD,uint32 paDlen)" ( (parameter_declaration "pstm_int *A" type_identifier (pointer_declarator "*A" * identifier)) , (parameter_declaration "pstm_int *B" type_identifier (pointer_declarator "*B" * identifier)) , (parameter_declaration "pstm_int *C" type_identifier (pointer_declarator "*C" * identifier)) , (parameter_declaration "pstm_digit *paD" type_identifier (pointer_declarator "*paD" * identifier)) , (parameter_declaration "uint32 paDlen" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  longlong lVar2;\n  int32 iVar3;\n  uint *puVar4;\n  pstm_digit *ppVar5;\n  uint uVar6;\n  int iVar7;\n  pstm_digit *ppVar8;\n  uint *puVar9;\n  uint *puVar10;\n  uint *puVar11;\n  int iVar12;\n  uint uVar13;\n  int iVar14;\n  uint *puVar15;\n  pstm_digit *ppVar16;\n  int size;\n  uint uVar17;\n  int iVar18;\n  pstm_digit *ppVar19;\n  int iVar20;\n  uint uVar21;\n  \n  size = A->used + B->used;\n  if ((C->alloc < size) && (iVar3 = pstm_grow(C,size), iVar3 != 0)) {\n    return -8;\n  }\n  uVar17 = size * 4;\n  if (paD == (pstm_digit *)0x0) {\n    iVar18 = 0;\n    puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n    puVar9 = C->dp;\njoined_r0x00050b1c:\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\nLAB_00050a48:\n      ppVar16 = B->dp;\n      iVar12 = 0;\n      uVar17 = 0;\n      uVar21 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = B->used + -1;\n        if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }\n        iVar14 = A->used - (iVar12 - iVar7);\n        if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }\n        iVar12 = iVar12 + 1;\n        *puVar9 = uVar17;\n        puVar9 = puVar9 + 1;\n        uVar17 = uVar21;\n        uVar21 = uVar13;\n      } while (size != iVar12);\n      uVar17 = B->sign;\n      puVar9 = puVar10 + size;\n      uVar21 = A->sign;\n      iVar12 = C->used;\n      C->used = size;\n      C->sign = uVar17 ^ uVar21;\n      puVar15 = puVar4;\n      do {\n        uVar17 = *puVar15;\n        puVar11 = puVar10 + 1;\n        puVar15 = puVar15 + 1;\n        *puVar10 = uVar17;\n        puVar10 = puVar11;\n      } while (puVar11 != puVar9);\n      bVar1 = size < iVar12;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (paDlen < uVar17) {\n      iVar18 = 1;\n      puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n      puVar9 = C->dp;\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(paD,0,paDlen);\n    iVar18 = 0;\n    puVar9 = C->dp;\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar17 = A->sign;\n  uVar21 = B->sign;\n  iVar12 = C->used;\n  C->used = size;\n  size = 0;\n  C->sign = uVar17 ^ uVar21;\n  bVar1 = 0 < iVar12;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      size = size + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar12 != size);\n  }\n  pstm_clamp(C);\n  if (paD == (pstm_digit *)0x0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar18 != 1) {\n      return iVar18;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "int32 iVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "pstm_digit *ppVar5;" type_identifier (pointer_declarator "*ppVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "pstm_digit *ppVar8;" type_identifier (pointer_declarator "*ppVar8" * identifier) ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "uint *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "pstm_digit *ppVar16;" type_identifier (pointer_declarator "*ppVar16" * identifier) ;) (declaration "int size;" primitive_type identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "pstm_digit *ppVar19;" type_identifier (pointer_declarator "*ppVar19" * identifier) ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "uint uVar21;" type_identifier identifier ;) (expression_statement "size = A->used + B->used;" (assignment_expression "size = A->used + B->used" identifier = (binary_expression "A->used + B->used" (field_expression "A->used" identifier -> field_identifier) + (field_expression "B->used" identifier -> field_identifier))) ;) (if_statement "if ((C->alloc < size) && (iVar3 = pstm_grow(C,size), iVar3 != 0)) {\n    return -8;\n  }" if (parenthesized_expression "((C->alloc < size) && (iVar3 = pstm_grow(C,size), iVar3 != 0))" ( (binary_expression "(C->alloc < size) && (iVar3 = pstm_grow(C,size), iVar3 != 0)" (parenthesized_expression "(C->alloc < size)" ( (binary_expression "C->alloc < size" (field_expression "C->alloc" identifier -> field_identifier) < identifier) )) && (parenthesized_expression "(iVar3 = pstm_grow(C,size), iVar3 != 0)" ( (comma_expression "iVar3 = pstm_grow(C,size), iVar3 != 0" (assignment_expression "iVar3 = pstm_grow(C,size)" identifier = (call_expression "pstm_grow(C,size)" identifier (argument_list "(C,size)" ( identifier , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return -8;\n  }" { (return_statement "return -8;" return number_literal ;) })) (expression_statement "uVar17 = size * 4;" (assignment_expression "uVar17 = size * 4" identifier = (binary_expression "size * 4" identifier * number_literal)) ;) (if_statement "if (paD == (pstm_digit *)0x0) {\n    iVar18 = 0;\n    puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n    puVar9 = C->dp;\njoined_r0x00050b1c:\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\nLAB_00050a48:\n      ppVar16 = B->dp;\n      iVar12 = 0;\n      uVar17 = 0;\n      uVar21 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = B->used + -1;\n        if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }\n        iVar14 = A->used - (iVar12 - iVar7);\n        if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }\n        iVar12 = iVar12 + 1;\n        *puVar9 = uVar17;\n        puVar9 = puVar9 + 1;\n        uVar17 = uVar21;\n        uVar21 = uVar13;\n      } while (size != iVar12);\n      uVar17 = B->sign;\n      puVar9 = puVar10 + size;\n      uVar21 = A->sign;\n      iVar12 = C->used;\n      C->used = size;\n      C->sign = uVar17 ^ uVar21;\n      puVar15 = puVar4;\n      do {\n        uVar17 = *puVar15;\n        puVar11 = puVar10 + 1;\n        puVar15 = puVar15 + 1;\n        *puVar10 = uVar17;\n        puVar10 = puVar11;\n      } while (puVar11 != puVar9);\n      bVar1 = size < iVar12;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (paDlen < uVar17) {\n      iVar18 = 1;\n      puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n      puVar9 = C->dp;\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(paD,0,paDlen);\n    iVar18 = 0;\n    puVar9 = C->dp;\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" if (parenthesized_expression "(paD == (pstm_digit *)0x0)" ( (binary_expression "paD == (pstm_digit *)0x0" identifier == (cast_expression "(pstm_digit *)0x0" ( (type_descriptor "pstm_digit *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar18 = 0;\n    puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n    puVar9 = C->dp;\njoined_r0x00050b1c:\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\nLAB_00050a48:\n      ppVar16 = B->dp;\n      iVar12 = 0;\n      uVar17 = 0;\n      uVar21 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = B->used + -1;\n        if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }\n        iVar14 = A->used - (iVar12 - iVar7);\n        if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }\n        iVar12 = iVar12 + 1;\n        *puVar9 = uVar17;\n        puVar9 = puVar9 + 1;\n        uVar17 = uVar21;\n        uVar21 = uVar13;\n      } while (size != iVar12);\n      uVar17 = B->sign;\n      puVar9 = puVar10 + size;\n      uVar21 = A->sign;\n      iVar12 = C->used;\n      C->used = size;\n      C->sign = uVar17 ^ uVar21;\n      puVar15 = puVar4;\n      do {\n        uVar17 = *puVar15;\n        puVar11 = puVar10 + 1;\n        puVar15 = puVar15 + 1;\n        *puVar10 = uVar17;\n        puVar10 = puVar11;\n      } while (puVar11 != puVar9);\n      bVar1 = size < iVar12;\n      goto LAB_00050b48;\n    }\n  }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17)" identifier = (cast_expression "(uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xzalloc_0012a1d0)(uVar17)" (parenthesized_expression "(*(code *)PTR_xzalloc_0012a1d0)" ( (pointer_expression "*(code *)PTR_xzalloc_0012a1d0" * (cast_expression "(code *)PTR_xzalloc_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar17)" ( identifier ))))) ;) (expression_statement "puVar9 = C->dp;" (assignment_expression "puVar9 = C->dp" identifier = (field_expression "C->dp" identifier -> field_identifier)) ;) (labeled_statement "joined_r0x00050b1c:\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\nLAB_00050a48:\n      ppVar16 = B->dp;\n      iVar12 = 0;\n      uVar17 = 0;\n      uVar21 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = B->used + -1;\n        if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }\n        iVar14 = A->used - (iVar12 - iVar7);\n        if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }\n        iVar12 = iVar12 + 1;\n        *puVar9 = uVar17;\n        puVar9 = puVar9 + 1;\n        uVar17 = uVar21;\n        uVar21 = uVar13;\n      } while (size != iVar12);\n      uVar17 = B->sign;\n      puVar9 = puVar10 + size;\n      uVar21 = A->sign;\n      iVar12 = C->used;\n      C->used = size;\n      C->sign = uVar17 ^ uVar21;\n      puVar15 = puVar4;\n      do {\n        uVar17 = *puVar15;\n        puVar11 = puVar10 + 1;\n        puVar15 = puVar15 + 1;\n        *puVar10 = uVar17;\n        puVar10 = puVar11;\n      } while (puVar11 != puVar9);\n      bVar1 = size < iVar12;\n      goto LAB_00050b48;\n    }" statement_identifier : (if_statement "if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\nLAB_00050a48:\n      ppVar16 = B->dp;\n      iVar12 = 0;\n      uVar17 = 0;\n      uVar21 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = B->used + -1;\n        if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }\n        iVar14 = A->used - (iVar12 - iVar7);\n        if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }\n        iVar12 = iVar12 + 1;\n        *puVar9 = uVar17;\n        puVar9 = puVar9 + 1;\n        uVar17 = uVar21;\n        uVar21 = uVar13;\n      } while (size != iVar12);\n      uVar17 = B->sign;\n      puVar9 = puVar10 + size;\n      uVar21 = A->sign;\n      iVar12 = C->used;\n      C->used = size;\n      C->sign = uVar17 ^ uVar21;\n      puVar15 = puVar4;\n      do {\n        uVar17 = *puVar15;\n        puVar11 = puVar10 + 1;\n        puVar15 = puVar15 + 1;\n        *puVar10 = uVar17;\n        puVar10 = puVar11;\n      } while (puVar11 != puVar9);\n      bVar1 = size < iVar12;\n      goto LAB_00050b48;\n    }" if (parenthesized_expression "(0 < size)" ( (binary_expression "0 < size" number_literal < identifier) )) (compound_statement "{\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\nLAB_00050a48:\n      ppVar16 = B->dp;\n      iVar12 = 0;\n      uVar17 = 0;\n      uVar21 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = B->used + -1;\n        if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }\n        iVar14 = A->used - (iVar12 - iVar7);\n        if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }\n        iVar12 = iVar12 + 1;\n        *puVar9 = uVar17;\n        puVar9 = puVar9 + 1;\n        uVar17 = uVar21;\n        uVar21 = uVar13;\n      } while (size != iVar12);\n      uVar17 = B->sign;\n      puVar9 = puVar10 + size;\n      uVar21 = A->sign;\n      iVar12 = C->used;\n      C->used = size;\n      C->sign = uVar17 ^ uVar21;\n      puVar15 = puVar4;\n      do {\n        uVar17 = *puVar15;\n        puVar11 = puVar10 + 1;\n        puVar15 = puVar15 + 1;\n        *puVar10 = uVar17;\n        puVar10 = puVar11;\n      } while (puVar11 != puVar9);\n      bVar1 = size < iVar12;\n      goto LAB_00050b48;\n    }" { (expression_statement "ppVar19 = A->dp;" (assignment_expression "ppVar19 = A->dp" identifier = (field_expression "A->dp" identifier -> field_identifier)) ;) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;) (labeled_statement "LAB_00050a48:\n      ppVar16 = B->dp;" statement_identifier : (expression_statement "ppVar16 = B->dp;" (assignment_expression "ppVar16 = B->dp" identifier = (field_expression "B->dp" identifier -> field_identifier)) ;)) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "uVar17 = 0;" (assignment_expression "uVar17 = 0" identifier = number_literal) ;) (expression_statement "uVar21 = 0;" (assignment_expression "uVar21 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = puVar4;" (assignment_expression "puVar9 = puVar4" identifier = identifier) ;) (do_statement "do {\n        iVar7 = B->used + -1;\n        if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }\n        iVar14 = A->used - (iVar12 - iVar7);\n        if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }\n        iVar12 = iVar12 + 1;\n        *puVar9 = uVar17;\n        puVar9 = puVar9 + 1;\n        uVar17 = uVar21;\n        uVar21 = uVar13;\n      } while (size != iVar12);" do (compound_statement "{\n        iVar7 = B->used + -1;\n        if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }\n        iVar14 = A->used - (iVar12 - iVar7);\n        if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }\n        iVar12 = iVar12 + 1;\n        *puVar9 = uVar17;\n        puVar9 = puVar9 + 1;\n        uVar17 = uVar21;\n        uVar21 = uVar13;\n      }" { (expression_statement "iVar7 = B->used + -1;" (assignment_expression "iVar7 = B->used + -1" identifier = (binary_expression "B->used + -1" (field_expression "B->used" identifier -> field_identifier) + number_literal)) ;) (if_statement "if (iVar12 < iVar7) {\n          iVar7 = iVar12;\n        }" if (parenthesized_expression "(iVar12 < iVar7)" ( (binary_expression "iVar12 < iVar7" identifier < identifier) )) (compound_statement "{\n          iVar7 = iVar12;\n        }" { (expression_statement "iVar7 = iVar12;" (assignment_expression "iVar7 = iVar12" identifier = identifier) ;) })) (expression_statement "iVar14 = A->used - (iVar12 - iVar7);" (assignment_expression "iVar14 = A->used - (iVar12 - iVar7)" identifier = (binary_expression "A->used - (iVar12 - iVar7)" (field_expression "A->used" identifier -> field_identifier) - (parenthesized_expression "(iVar12 - iVar7)" ( (binary_expression "iVar12 - iVar7" identifier - identifier) )))) ;) (if_statement "if (iVar7 < iVar14) {\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }\n        else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }" if (parenthesized_expression "(iVar7 < iVar14)" ( (binary_expression "iVar7 < iVar14" identifier < identifier) )) (compound_statement "{\n          iVar14 = iVar7 + 1;\n          if (0 < iVar14) goto LAB_00050a94;\nLAB_00050be8:\n          uVar13 = 0;\n        }" { (expression_statement "iVar14 = iVar7 + 1;" (assignment_expression "iVar14 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (0 < iVar14) goto LAB_00050a94;" if (parenthesized_expression "(0 < iVar14)" ( (binary_expression "0 < iVar14" number_literal < identifier) )) (goto_statement "goto LAB_00050a94;" goto statement_identifier ;)) (labeled_statement "LAB_00050be8:\n          uVar13 = 0;" statement_identifier : (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }" else (compound_statement "{\n          if (iVar14 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar20 = 0;\n          uVar13 = 0;\n          ppVar5 = ppVar16 + iVar7;\n          uVar6 = uVar21;\n          ppVar8 = ppVar19 + (iVar12 - iVar7);\n          do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);\n        }" { (if_statement "if (iVar14 < 1) goto LAB_00050be8;" if (parenthesized_expression "(iVar14 < 1)" ( (binary_expression "iVar14 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00050be8;" goto statement_identifier ;)) (labeled_statement "LAB_00050a94:\n          iVar20 = 0;" statement_identifier : (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;)) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (expression_statement "ppVar5 = ppVar16 + iVar7;" (assignment_expression "ppVar5 = ppVar16 + iVar7" identifier = (binary_expression "ppVar16 + iVar7" identifier + identifier)) ;) (expression_statement "uVar6 = uVar21;" (assignment_expression "uVar6 = uVar21" identifier = identifier) ;) (expression_statement "ppVar8 = ppVar19 + (iVar12 - iVar7);" (assignment_expression "ppVar8 = ppVar19 + (iVar12 - iVar7)" identifier = (binary_expression "ppVar19 + (iVar12 - iVar7)" identifier + (parenthesized_expression "(iVar12 - iVar7)" ( (binary_expression "iVar12 - iVar7" identifier - identifier) )))) ;) (do_statement "do {\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          } while (iVar20 != iVar14);" do (compound_statement "{\n            iVar20 = iVar20 + 1;\n            lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;\n            uVar17 = (uint)lVar2;\n            uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar13 = uVar13 + (uVar21 < uVar6);\n            ppVar5 = ppVar5 + -1;\n            uVar6 = uVar21;\n            ppVar8 = ppVar8 + 1;\n          }" { (expression_statement "iVar20 = iVar20 + 1;" (assignment_expression "iVar20 = iVar20 + 1" identifier = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5;" (assignment_expression "lVar2 = (ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5" identifier = (binary_expression "(ulonglong)uVar17 + (ulonglong)*ppVar8 * (ulonglong)*ppVar5" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) + (binary_expression "(ulonglong)*ppVar8 * (ulonglong)*ppVar5" (binary_expression "(ulonglong)*ppVar8 * (ulonglong)" (binary_expression "(ulonglong)*ppVar8" (parenthesized_expression "(ulonglong)" ( identifier )) * identifier) * (parenthesized_expression "(ulonglong)" ( identifier ))) * identifier))) ;) (expression_statement "uVar17 = (uint)lVar2;" (assignment_expression "uVar17 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar21 = uVar6 + (int)((ulonglong)lVar2 >> 0x20)" identifier = (binary_expression "uVar6 + (int)((ulonglong)lVar2 >> 0x20)" identifier + (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))))) ;) (expression_statement "uVar13 = uVar13 + (uVar21 < uVar6);" (assignment_expression "uVar13 = uVar13 + (uVar21 < uVar6)" identifier = (binary_expression "uVar13 + (uVar21 < uVar6)" identifier + (parenthesized_expression "(uVar21 < uVar6)" ( (binary_expression "uVar21 < uVar6" identifier < identifier) )))) ;) (expression_statement "ppVar5 = ppVar5 + -1;" (assignment_expression "ppVar5 = ppVar5 + -1" identifier = (binary_expression "ppVar5 + -1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar21;" (assignment_expression "uVar6 = uVar21" identifier = identifier) ;) (expression_statement "ppVar8 = ppVar8 + 1;" (assignment_expression "ppVar8 = ppVar8 + 1" identifier = (binary_expression "ppVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar20 != iVar14)" ( (binary_expression "iVar20 != iVar14" identifier != identifier) )) ;) }))) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = uVar17;" (assignment_expression "*puVar9 = uVar17" (pointer_expression "*puVar9" * identifier) = identifier) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar17 = uVar21;" (assignment_expression "uVar17 = uVar21" identifier = identifier) ;) (expression_statement "uVar21 = uVar13;" (assignment_expression "uVar21 = uVar13" identifier = identifier) ;) }) while (parenthesized_expression "(size != iVar12)" ( (binary_expression "size != iVar12" identifier != identifier) )) ;) (expression_statement "uVar17 = B->sign;" (assignment_expression "uVar17 = B->sign" identifier = (field_expression "B->sign" identifier -> field_identifier)) ;) (expression_statement "puVar9 = puVar10 + size;" (assignment_expression "puVar9 = puVar10 + size" identifier = (binary_expression "puVar10 + size" identifier + identifier)) ;) (expression_statement "uVar21 = A->sign;" (assignment_expression "uVar21 = A->sign" identifier = (field_expression "A->sign" identifier -> field_identifier)) ;) (expression_statement "iVar12 = C->used;" (assignment_expression "iVar12 = C->used" identifier = (field_expression "C->used" identifier -> field_identifier)) ;) (expression_statement "C->used = size;" (assignment_expression "C->used = size" (field_expression "C->used" identifier -> field_identifier) = identifier) ;) (expression_statement "C->sign = uVar17 ^ uVar21;" (assignment_expression "C->sign = uVar17 ^ uVar21" (field_expression "C->sign" identifier -> field_identifier) = (binary_expression "uVar17 ^ uVar21" identifier ^ identifier)) ;) (expression_statement "puVar15 = puVar4;" (assignment_expression "puVar15 = puVar4" identifier = identifier) ;) (do_statement "do {\n        uVar17 = *puVar15;\n        puVar11 = puVar10 + 1;\n        puVar15 = puVar15 + 1;\n        *puVar10 = uVar17;\n        puVar10 = puVar11;\n      } while (puVar11 != puVar9);" do (compound_statement "{\n        uVar17 = *puVar15;\n        puVar11 = puVar10 + 1;\n        puVar15 = puVar15 + 1;\n        *puVar10 = uVar17;\n        puVar10 = puVar11;\n      }" { (expression_statement "uVar17 = *puVar15;" (assignment_expression "uVar17 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) (expression_statement "puVar11 = puVar10 + 1;" (assignment_expression "puVar11 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) (expression_statement "puVar15 = puVar15 + 1;" (assignment_expression "puVar15 = puVar15 + 1" identifier = (binary_expression "puVar15 + 1" identifier + number_literal)) ;) (expression_statement "*puVar10 = uVar17;" (assignment_expression "*puVar10 = uVar17" (pointer_expression "*puVar10" * identifier) = identifier) ;) (expression_statement "puVar10 = puVar11;" (assignment_expression "puVar10 = puVar11" identifier = identifier) ;) }) while (parenthesized_expression "(puVar11 != puVar9)" ( (binary_expression "puVar11 != puVar9" identifier != identifier) )) ;) (expression_statement "bVar1 = size < iVar12;" (assignment_expression "bVar1 = size < iVar12" identifier = (binary_expression "size < iVar12" identifier < identifier)) ;) (goto_statement "goto LAB_00050b48;" goto statement_identifier ;) }))) }) (else_clause "else {\n    if (paDlen < uVar17) {\n      iVar18 = 1;\n      puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n      puVar9 = C->dp;\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(paD,0,paDlen);\n    iVar18 = 0;\n    puVar9 = C->dp;\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" else (compound_statement "{\n    if (paDlen < uVar17) {\n      iVar18 = 1;\n      puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n      puVar9 = C->dp;\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(paD,0,paDlen);\n    iVar18 = 0;\n    puVar9 = C->dp;\n    if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" { (if_statement "if (paDlen < uVar17) {\n      iVar18 = 1;\n      puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n      puVar9 = C->dp;\n      goto joined_r0x00050b1c;\n    }" if (parenthesized_expression "(paDlen < uVar17)" ( (binary_expression "paDlen < uVar17" identifier < identifier) )) (compound_statement "{\n      iVar18 = 1;\n      puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);\n      puVar9 = C->dp;\n      goto joined_r0x00050b1c;\n    }" { (expression_statement "iVar18 = 1;" (assignment_expression "iVar18 = 1" identifier = number_literal) ;) (expression_statement "puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17)" identifier = (cast_expression "(uint *)(*(code *)PTR_xzalloc_0012a1d0)(uVar17)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xzalloc_0012a1d0)(uVar17)" (parenthesized_expression "(*(code *)PTR_xzalloc_0012a1d0)" ( (pointer_expression "*(code *)PTR_xzalloc_0012a1d0" * (cast_expression "(code *)PTR_xzalloc_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar17)" ( identifier ))))) ;) (expression_statement "puVar9 = C->dp;" (assignment_expression "puVar9 = C->dp" identifier = (field_expression "C->dp" identifier -> field_identifier)) ;) (goto_statement "goto joined_r0x00050b1c;" goto statement_identifier ;) })) (expression_statement "puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(paD,0,paDlen);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(paD,0,paDlen)" identifier = (cast_expression "(uint *)(*(code *)PTR_memset_0012aebc)(paD,0,paDlen)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_memset_0012aebc)(paD,0,paDlen)" (parenthesized_expression "(*(code *)PTR_memset_0012aebc)" ( (pointer_expression "*(code *)PTR_memset_0012aebc" * (cast_expression "(code *)PTR_memset_0012aebc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(paD,0,paDlen)" ( identifier , number_literal , identifier ))))) ;) (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = C->dp;" (assignment_expression "puVar9 = C->dp" identifier = (field_expression "C->dp" identifier -> field_identifier)) ;) (if_statement "if (0 < size) {\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }" if (parenthesized_expression "(0 < size)" ( (binary_expression "0 < size" number_literal < identifier) )) (compound_statement "{\n      ppVar19 = A->dp;\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }" { (expression_statement "ppVar19 = A->dp;" (assignment_expression "ppVar19 = A->dp" identifier = (field_expression "A->dp" identifier -> field_identifier)) ;) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;) (goto_statement "goto LAB_00050a48;" goto statement_identifier ;) })) }))) (expression_statement "uVar17 = A->sign;" (assignment_expression "uVar17 = A->sign" identifier = (field_expression "A->sign" identifier -> field_identifier)) ;) (expression_statement "uVar21 = B->sign;" (assignment_expression "uVar21 = B->sign" identifier = (field_expression "B->sign" identifier -> field_identifier)) ;) (expression_statement "iVar12 = C->used;" (assignment_expression "iVar12 = C->used" identifier = (field_expression "C->used" identifier -> field_identifier)) ;) (expression_statement "C->used = size;" (assignment_expression "C->used = size" (field_expression "C->used" identifier -> field_identifier) = identifier) ;) (expression_statement "size = 0;" (assignment_expression "size = 0" identifier = number_literal) ;) (expression_statement "C->sign = uVar17 ^ uVar21;" (assignment_expression "C->sign = uVar17 ^ uVar21" (field_expression "C->sign" identifier -> field_identifier) = (binary_expression "uVar17 ^ uVar21" identifier ^ identifier)) ;) (expression_statement "bVar1 = 0 < iVar12;" (assignment_expression "bVar1 = 0 < iVar12" identifier = (binary_expression "0 < iVar12" number_literal < identifier)) ;) (labeled_statement "LAB_00050b48:\n  if (bVar1) {\n    do {\n      size = size + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar12 != size);\n  }" statement_identifier : (if_statement "if (bVar1) {\n    do {\n      size = size + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar12 != size);\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    do {\n      size = size + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar12 != size);\n  }" { (do_statement "do {\n      size = size + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar12 != size);" do (compound_statement "{\n      size = size + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    }" { (expression_statement "size = size + 1;" (assignment_expression "size = size + 1" identifier = (binary_expression "size + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar12 != size)" ( (binary_expression "iVar12 != size" identifier != identifier) )) ;) }))) (expression_statement "pstm_clamp(C);" (call_expression "pstm_clamp(C)" identifier (argument_list "(C)" ( identifier ))) ;) (if_statement "if (paD == (pstm_digit *)0x0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar18 != 1) {\n      return iVar18;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" if (parenthesized_expression "(paD == (pstm_digit *)0x0)" ( (binary_expression "paD == (pstm_digit *)0x0" identifier == (cast_expression "(pstm_digit *)0x0" ( (type_descriptor "pstm_digit *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" { (expression_statement "(*(code *)PTR_free_0012b168)(puVar4);" (call_expression "(*(code *)PTR_free_0012b168)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) }) (else_clause "else {\n    if (iVar18 != 1) {\n      return iVar18;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" else (compound_statement "{\n    if (iVar18 != 1) {\n      return iVar18;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" { (if_statement "if (iVar18 != 1) {\n      return iVar18;\n    }" if (parenthesized_expression "(iVar18 != 1)" ( (binary_expression "iVar18 != 1" identifier != number_literal) )) (compound_statement "{\n      return iVar18;\n    }" { (return_statement "return iVar18;" return identifier ;) })) (expression_statement "(*(code *)PTR_free_0012b168)(puVar4);" (call_expression "(*(code *)PTR_free_0012b168)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int pstm_mul_comba(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  int iVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int iVar7;\n  uint *puVar8;\n  uint *puVar9;\n  uint *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  uint uVar19;\n  \n  iVar15 = *param_1 + *param_2;\n  if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }\n  uVar16 = iVar15 * 4;\n  if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar16 = param_1[2];\n  uVar19 = param_2[2];\n  iVar17 = *param_3;\n  *param_3 = iVar15;\n  iVar15 = 0;\n  param_3[2] = uVar16 ^ uVar19;\n  bVar1 = 0 < iVar17;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }\n  pstm_clamp(param_3);\n  if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}\n\n" (function_definition "int pstm_mul_comba(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  int iVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int iVar7;\n  uint *puVar8;\n  uint *puVar9;\n  uint *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  uint uVar19;\n  \n  iVar15 = *param_1 + *param_2;\n  if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }\n  uVar16 = iVar15 * 4;\n  if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar16 = param_1[2];\n  uVar19 = param_2[2];\n  iVar17 = *param_3;\n  *param_3 = iVar15;\n  iVar15 = 0;\n  param_3[2] = uVar16 ^ uVar19;\n  bVar1 = 0 < iVar17;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }\n  pstm_clamp(param_3);\n  if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}" primitive_type (function_declarator "pstm_mul_comba(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint param_5" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  longlong lVar2;\n  int iVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int iVar7;\n  uint *puVar8;\n  uint *puVar9;\n  uint *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  uint uVar19;\n  \n  iVar15 = *param_1 + *param_2;\n  if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }\n  uVar16 = iVar15 * 4;\n  if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar16 = param_1[2];\n  uVar19 = param_2[2];\n  iVar17 = *param_3;\n  *param_3 = iVar15;\n  iVar15 = 0;\n  param_3[2] = uVar16 ^ uVar19;\n  bVar1 = 0 < iVar17;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }\n  pstm_clamp(param_3);\n  if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "uint uVar19;" type_identifier identifier ;) (expression_statement "iVar15 = *param_1 + *param_2;" (assignment_expression "iVar15 = *param_1 + *param_2" identifier = (binary_expression "*param_1 + *param_2" (pointer_expression "*param_1" * identifier) + (pointer_expression "*param_2" * identifier))) ;) (if_statement "if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }" if (parenthesized_expression "((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0))" ( (binary_expression "(param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)" (parenthesized_expression "(param_3[1] < iVar15)" ( (binary_expression "param_3[1] < iVar15" (subscript_expression "param_3[1]" identifier [ number_literal ]) < identifier) )) && (parenthesized_expression "(iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)" ( (comma_expression "iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0" (assignment_expression "iVar3 = pstm_grow(param_3,iVar15)" identifier = (call_expression "pstm_grow(param_3,iVar15)" identifier (argument_list "(param_3,iVar15)" ( identifier , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return -8;\n  }" { (return_statement "return -8;" return number_literal ;) })) (expression_statement "uVar16 = iVar15 * 4;" (assignment_expression "uVar16 = iVar15 * 4" identifier = (binary_expression "iVar15 * 4" identifier * number_literal)) ;) (if_statement "if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" identifier = (cast_expression "(uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_FUN_0012a1d0)(uVar16)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" ( (pointer_expression "*(code *)PTR_FUN_0012a1d0" * (cast_expression "(code *)PTR_FUN_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar16)" ( identifier ))))) ;) (expression_statement "puVar9 = (uint *)param_3[3];" (assignment_expression "puVar9 = (uint *)param_3[3]" identifier = (cast_expression "(uint *)param_3[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) ;) (labeled_statement "joined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }" statement_identifier : (if_statement "if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }" if (parenthesized_expression "(0 < iVar15)" ( (binary_expression "0 < iVar15" number_literal < identifier) )) (compound_statement "{\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }" { (expression_statement "iVar17 = param_1[3];" (assignment_expression "iVar17 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;) (labeled_statement "LAB_00050a48:\n      iVar14 = param_2[3];" statement_identifier : (expression_statement "iVar14 = param_2[3];" (assignment_expression "iVar14 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;)) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar16 = 0;" (assignment_expression "uVar16 = 0" identifier = number_literal) ;) (expression_statement "uVar19 = 0;" (assignment_expression "uVar19 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = puVar4;" (assignment_expression "puVar9 = puVar4" identifier = identifier) ;) (do_statement "do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);" do (compound_statement "{\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      }" { (expression_statement "iVar7 = *param_2 + -1;" (assignment_expression "iVar7 = *param_2 + -1" identifier = (binary_expression "*param_2 + -1" (pointer_expression "*param_2" * identifier) + number_literal)) ;) (if_statement "if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }" if (parenthesized_expression "(iVar11 < *param_2 + -1)" ( (binary_expression "iVar11 < *param_2 + -1" identifier < (binary_expression "*param_2 + -1" (pointer_expression "*param_2" * identifier) + number_literal)) )) (compound_statement "{\n          iVar7 = iVar11;\n        }" { (expression_statement "iVar7 = iVar11;" (assignment_expression "iVar7 = iVar11" identifier = identifier) ;) })) (expression_statement "iVar13 = *param_1 - (iVar11 - iVar7);" (assignment_expression "iVar13 = *param_1 - (iVar11 - iVar7)" identifier = (binary_expression "*param_1 - (iVar11 - iVar7)" (pointer_expression "*param_1" * identifier) - (parenthesized_expression "(iVar11 - iVar7)" ( (binary_expression "iVar11 - iVar7" identifier - identifier) )))) ;) (if_statement "if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }" if (parenthesized_expression "(iVar7 < iVar13)" ( (binary_expression "iVar7 < iVar13" identifier < identifier) )) (compound_statement "{\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }" { (expression_statement "iVar13 = iVar7 + 1;" (assignment_expression "iVar13 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (0 < iVar13) goto LAB_00050a94;" if (parenthesized_expression "(0 < iVar13)" ( (binary_expression "0 < iVar13" number_literal < identifier) )) (goto_statement "goto LAB_00050a94;" goto statement_identifier ;)) (labeled_statement "LAB_00050be8:\n          uVar12 = 0;" statement_identifier : (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }" else (compound_statement "{\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }" { (if_statement "if (iVar13 < 1) goto LAB_00050be8;" if (parenthesized_expression "(iVar13 < 1)" ( (binary_expression "iVar13 < 1" identifier < number_literal) )) (goto_statement "goto LAB_00050be8;" goto statement_identifier ;)) (labeled_statement "LAB_00050a94:\n          iVar18 = 0;" statement_identifier : (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;)) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (expression_statement "puVar5 = (uint *)(iVar14 + iVar7 * 4);" (assignment_expression "puVar5 = (uint *)(iVar14 + iVar7 * 4)" identifier = (cast_expression "(uint *)(iVar14 + iVar7 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + iVar7 * 4)" ( (binary_expression "iVar14 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "uVar6 = uVar19;" (assignment_expression "uVar6 = uVar19" identifier = identifier) ;) (expression_statement "puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);" (assignment_expression "puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4)" identifier = (cast_expression "(uint *)(iVar17 + (iVar11 - iVar7) * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + (iVar11 - iVar7) * 4)" ( (binary_expression "iVar17 + (iVar11 - iVar7) * 4" identifier + (binary_expression "(iVar11 - iVar7) * 4" (parenthesized_expression "(iVar11 - iVar7)" ( (binary_expression "iVar11 - iVar7" identifier - identifier) )) * number_literal)) )))) ;) (do_statement "do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);" do (compound_statement "{\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          }" { (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;" (assignment_expression "lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5" identifier = (binary_expression "(ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5" (cast_expression "(ulonglong)uVar16" ( (type_descriptor "ulonglong" type_identifier) ) identifier) + (binary_expression "(ulonglong)*puVar8 * (ulonglong)*puVar5" (binary_expression "(ulonglong)*puVar8 * (ulonglong)" (binary_expression "(ulonglong)*puVar8" (parenthesized_expression "(ulonglong)" ( identifier )) * identifier) * (parenthesized_expression "(ulonglong)" ( identifier ))) * identifier))) ;) (expression_statement "uVar16 = (uint)lVar2;" (assignment_expression "uVar16 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20)" identifier = (binary_expression "uVar6 + (int)((ulonglong)lVar2 >> 0x20)" identifier + (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))))) ;) (expression_statement "uVar12 = uVar12 + (uVar19 < uVar6);" (assignment_expression "uVar12 = uVar12 + (uVar19 < uVar6)" identifier = (binary_expression "uVar12 + (uVar19 < uVar6)" identifier + (parenthesized_expression "(uVar19 < uVar6)" ( (binary_expression "uVar19 < uVar6" identifier < identifier) )))) ;) (expression_statement "puVar5 = puVar5 + -1;" (assignment_expression "puVar5 = puVar5 + -1" identifier = (binary_expression "puVar5 + -1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar19;" (assignment_expression "uVar6 = uVar19" identifier = identifier) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar18 != iVar13)" ( (binary_expression "iVar18 != iVar13" identifier != identifier) )) ;) }))) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = uVar16;" (assignment_expression "*puVar9 = uVar16" (pointer_expression "*puVar9" * identifier) = identifier) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "uVar16 = uVar19;" (assignment_expression "uVar16 = uVar19" identifier = identifier) ;) (expression_statement "uVar19 = uVar12;" (assignment_expression "uVar19 = uVar12" identifier = identifier) ;) }) while (parenthesized_expression "(iVar15 != iVar11)" ( (binary_expression "iVar15 != iVar11" identifier != identifier) )) ;) (expression_statement "uVar16 = param_2[2];" (assignment_expression "uVar16 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "puVar9 = puVar10 + iVar15;" (assignment_expression "puVar9 = puVar10 + iVar15" identifier = (binary_expression "puVar10 + iVar15" identifier + identifier)) ;) (expression_statement "uVar19 = param_1[2];" (assignment_expression "uVar19 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar17 = *param_3;" (assignment_expression "iVar17 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = iVar15;" (assignment_expression "*param_3 = iVar15" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[2] = uVar16 ^ uVar19;" (assignment_expression "param_3[2] = uVar16 ^ uVar19" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "uVar16 ^ uVar19" identifier ^ identifier)) ;) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (do_statement "do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);" do (compound_statement "{\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      }" { (expression_statement "uVar16 = *puVar5;" (assignment_expression "uVar16 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar8 = puVar10 + 1;" (assignment_expression "puVar8 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar10 = uVar16;" (assignment_expression "*puVar10 = uVar16" (pointer_expression "*puVar10" * identifier) = identifier) ;) (expression_statement "puVar10 = puVar8;" (assignment_expression "puVar10 = puVar8" identifier = identifier) ;) }) while (parenthesized_expression "(puVar8 != puVar9)" ( (binary_expression "puVar8 != puVar9" identifier != identifier) )) ;) (expression_statement "bVar1 = iVar15 < iVar17;" (assignment_expression "bVar1 = iVar15 < iVar17" identifier = (binary_expression "iVar15 < iVar17" identifier < identifier)) ;) (goto_statement "goto LAB_00050b48;" goto statement_identifier ;) }))) }) (else_clause "else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" else (compound_statement "{\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" { (if_statement "if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }" if (parenthesized_expression "(param_5 < uVar16)" ( (binary_expression "param_5 < uVar16" identifier < identifier) )) (compound_statement "{\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" identifier = (cast_expression "(uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_FUN_0012a1d0)(uVar16)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" ( (pointer_expression "*(code *)PTR_FUN_0012a1d0" * (cast_expression "(code *)PTR_FUN_0012a1d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar16)" ( identifier ))))) ;) (expression_statement "puVar9 = (uint *)param_3[3];" (assignment_expression "puVar9 = (uint *)param_3[3]" identifier = (cast_expression "(uint *)param_3[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) ;) (goto_statement "goto joined_r0x00050b1c;" goto statement_identifier ;) })) (expression_statement "puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5)" identifier = (cast_expression "(uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_memset_0012aebc)(param_4,0,param_5)" (parenthesized_expression "(*(code *)PTR_memset_0012aebc)" ( (pointer_expression "*(code *)PTR_memset_0012aebc" * (cast_expression "(code *)PTR_memset_0012aebc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_4,0,param_5)" ( identifier , number_literal , identifier ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = (uint *)param_3[3];" (assignment_expression "puVar9 = (uint *)param_3[3]" identifier = (cast_expression "(uint *)param_3[3]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) ;) (if_statement "if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }" if (parenthesized_expression "(0 < iVar15)" ( (binary_expression "0 < iVar15" number_literal < identifier) )) (compound_statement "{\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }" { (expression_statement "iVar17 = param_1[3];" (assignment_expression "iVar17 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;) (goto_statement "goto LAB_00050a48;" goto statement_identifier ;) })) }))) (expression_statement "uVar16 = param_1[2];" (assignment_expression "uVar16 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar19 = param_2[2];" (assignment_expression "uVar19 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar17 = *param_3;" (assignment_expression "iVar17 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = iVar15;" (assignment_expression "*param_3 = iVar15" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "param_3[2] = uVar16 ^ uVar19;" (assignment_expression "param_3[2] = uVar16 ^ uVar19" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "uVar16 ^ uVar19" identifier ^ identifier)) ;) (expression_statement "bVar1 = 0 < iVar17;" (assignment_expression "bVar1 = 0 < iVar17" identifier = (binary_expression "0 < iVar17" number_literal < identifier)) ;) (labeled_statement "LAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }" statement_identifier : (if_statement "if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }" { (do_statement "do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);" do (compound_statement "{\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    }" { (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar17 != iVar15)" ( (binary_expression "iVar17 != iVar15" identifier != identifier) )) ;) }))) (expression_statement "pstm_clamp(param_3);" (call_expression "pstm_clamp(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (if_statement "if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" { (expression_statement "(*(code *)PTR_free_0012b168)(puVar4);" (call_expression "(*(code *)PTR_free_0012b168)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) }) (else_clause "else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" else (compound_statement "{\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" { (if_statement "if (iVar3 != 1) {\n      return iVar3;\n    }" if (parenthesized_expression "(iVar3 != 1)" ( (binary_expression "iVar3 != 1" identifier != number_literal) )) (compound_statement "{\n      return iVar3;\n    }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "(*(code *)PTR_free_0012b168)(puVar4);" (call_expression "(*(code *)PTR_free_0012b168)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression (pointer_expression * IDENT) + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) - (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) * LIT)) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * (parenthesized_expression ( IDENT ))) * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT < IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT ^ IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < IDENT)) ;) (goto_statement goto statement_identifier ;) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT ^ IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (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 ( IDENT ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }))) (return_statement return LIT ;) })))
(function_definition "int pstm_mul_comba(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  int iVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int iVar7;\n  uint *puVar8;\n  uint *puVar9;\n  uint *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  uint uVar19;\n  \n  iVar15 = *param_1 + *param_2;\n  if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }\n  uVar16 = iVar15 * 4;\n  if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar16 = param_1[2];\n  uVar19 = param_2[2];\n  iVar17 = *param_3;\n  *param_3 = iVar15;\n  iVar15 = 0;\n  param_3[2] = uVar16 ^ uVar19;\n  bVar1 = 0 < iVar17;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }\n  pstm_clamp(param_3);\n  if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "pstm_mul_comba(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)" (identifier "pstm_mul_comba") (parameter_list "(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) () ")"))) (compound_statement "{\n  bool bVar1;\n  longlong lVar2;\n  int iVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  int iVar7;\n  uint *puVar8;\n  uint *puVar9;\n  uint *puVar10;\n  int iVar11;\n  uint uVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  uint uVar19;\n  \n  iVar15 = *param_1 + *param_2;\n  if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }\n  uVar16 = iVar15 * 4;\n  if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }\n  uVar16 = param_1[2];\n  uVar19 = param_2[2];\n  iVar17 = *param_3;\n  *param_3 = iVar15;\n  iVar15 = 0;\n  param_3[2] = uVar16 ^ uVar19;\n  bVar1 = 0 < iVar17;\nLAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }\n  pstm_clamp(param_3);\n  if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  return 0;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "longlong lVar2;" (type_identifier "longlong") (identifier "lVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint *puVar8;" (type_identifier "uint") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "uint *puVar9;" (type_identifier "uint") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "uint *puVar10;" (type_identifier "uint") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "uint uVar19;" (type_identifier "uint") (identifier "uVar19") (; ";")) (expression_statement "iVar15 = *param_1 + *param_2;" (assignment_expression "iVar15 = *param_1 + *param_2" (identifier "iVar15") (= "=") (binary_expression "*param_1 + *param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {\n    return -8;\n  }" (if "if") (parenthesized_expression "((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0))" (( "(") (binary_expression "(param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)" (parenthesized_expression "(param_3[1] < iVar15)" (( "(") (binary_expression "param_3[1] < iVar15" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (< "<") (identifier "iVar15")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)" (( "(") (comma_expression "iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0" (assignment_expression "iVar3 = pstm_grow(param_3,iVar15)" (identifier "iVar3") (= "=") (call_expression "pstm_grow(param_3,iVar15)" (identifier "pstm_grow") (argument_list "(param_3,iVar15)" (( "(") (identifier "param_3") (, ",") (identifier "iVar15") () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return -8;\n  }" ({ "{") (return_statement "return -8;" (return "return") (number_literal "-8") (; ";")) (} "}"))) (expression_statement "uVar16 = iVar15 * 4;" (assignment_expression "uVar16 = iVar15 * 4" (identifier "uVar16") (= "=") (binary_expression "iVar15 * 4" (identifier "iVar15") (* "*") (number_literal "4"))) (; ";")) (if_statement "if (param_4 == 0) {\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }\n  else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = 0;\n    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n    puVar9 = (uint *)param_3[3];\njoined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" (identifier "puVar4") (= "=") (cast_expression "(uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_FUN_0012a1d0)(uVar16)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a1d0" (* "*") (cast_expression "(code *)PTR_FUN_0012a1d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a1d0"))) () ")")) (argument_list "(uVar16)" (( "(") (identifier "uVar16") () ")"))))) (; ";")) (expression_statement "puVar9 = (uint *)param_3[3];" (assignment_expression "puVar9 = (uint *)param_3[3]" (identifier "puVar9") (= "=") (cast_expression "(uint *)param_3[3]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")))) (; ";")) (labeled_statement "joined_r0x00050b1c:\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }" (statement_identifier "joined_r0x00050b1c") (: ":") (if_statement "if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }" (if "if") (parenthesized_expression "(0 < iVar15)" (( "(") (binary_expression "0 < iVar15" (number_literal "0") (< "<") (identifier "iVar15")) () ")")) (compound_statement "{\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\nLAB_00050a48:\n      iVar14 = param_2[3];\n      iVar11 = 0;\n      uVar16 = 0;\n      uVar19 = 0;\n      puVar9 = puVar4;\n      do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);\n      uVar16 = param_2[2];\n      puVar9 = puVar10 + iVar15;\n      uVar19 = param_1[2];\n      iVar17 = *param_3;\n      *param_3 = iVar15;\n      param_3[2] = uVar16 ^ uVar19;\n      puVar5 = puVar4;\n      do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);\n      bVar1 = iVar15 < iVar17;\n      goto LAB_00050b48;\n    }" ({ "{") (expression_statement "iVar17 = param_1[3];" (assignment_expression "iVar17 = param_1[3]" (identifier "iVar17") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" (identifier "puVar10") (= "=") (identifier "puVar9")) (; ";")) (labeled_statement "LAB_00050a48:\n      iVar14 = param_2[3];" (statement_identifier "LAB_00050a48") (: ":") (expression_statement "iVar14 = param_2[3];" (assignment_expression "iVar14 = param_2[3]" (identifier "iVar14") (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";"))) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar16 = 0;" (assignment_expression "uVar16 = 0" (identifier "uVar16") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar19 = 0;" (assignment_expression "uVar19 = 0" (identifier "uVar19") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = puVar4;" (assignment_expression "puVar9 = puVar4" (identifier "puVar9") (= "=") (identifier "puVar4")) (; ";")) (do_statement "do {\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      } while (iVar15 != iVar11);" (do "do") (compound_statement "{\n        iVar7 = *param_2 + -1;\n        if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }\n        iVar13 = *param_1 - (iVar11 - iVar7);\n        if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }\n        iVar11 = iVar11 + 1;\n        *puVar9 = uVar16;\n        puVar9 = puVar9 + 1;\n        uVar16 = uVar19;\n        uVar19 = uVar12;\n      }" ({ "{") (expression_statement "iVar7 = *param_2 + -1;" (assignment_expression "iVar7 = *param_2 + -1" (identifier "iVar7") (= "=") (binary_expression "*param_2 + -1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar11 < *param_2 + -1) {\n          iVar7 = iVar11;\n        }" (if "if") (parenthesized_expression "(iVar11 < *param_2 + -1)" (( "(") (binary_expression "iVar11 < *param_2 + -1" (identifier "iVar11") (< "<") (binary_expression "*param_2 + -1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "-1"))) () ")")) (compound_statement "{\n          iVar7 = iVar11;\n        }" ({ "{") (expression_statement "iVar7 = iVar11;" (assignment_expression "iVar7 = iVar11" (identifier "iVar7") (= "=") (identifier "iVar11")) (; ";")) (} "}"))) (expression_statement "iVar13 = *param_1 - (iVar11 - iVar7);" (assignment_expression "iVar13 = *param_1 - (iVar11 - iVar7)" (identifier "iVar13") (= "=") (binary_expression "*param_1 - (iVar11 - iVar7)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (- "-") (parenthesized_expression "(iVar11 - iVar7)" (( "(") (binary_expression "iVar11 - iVar7" (identifier "iVar11") (- "-") (identifier "iVar7")) () ")")))) (; ";")) (if_statement "if (iVar7 < iVar13) {\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }\n        else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }" (if "if") (parenthesized_expression "(iVar7 < iVar13)" (( "(") (binary_expression "iVar7 < iVar13" (identifier "iVar7") (< "<") (identifier "iVar13")) () ")")) (compound_statement "{\n          iVar13 = iVar7 + 1;\n          if (0 < iVar13) goto LAB_00050a94;\nLAB_00050be8:\n          uVar12 = 0;\n        }" ({ "{") (expression_statement "iVar13 = iVar7 + 1;" (assignment_expression "iVar13 = iVar7 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (0 < iVar13) goto LAB_00050a94;" (if "if") (parenthesized_expression "(0 < iVar13)" (( "(") (binary_expression "0 < iVar13" (number_literal "0") (< "<") (identifier "iVar13")) () ")")) (goto_statement "goto LAB_00050a94;" (goto "goto") (statement_identifier "LAB_00050a94") (; ";"))) (labeled_statement "LAB_00050be8:\n          uVar12 = 0;" (statement_identifier "LAB_00050be8") (: ":") (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }" (else "else") (compound_statement "{\n          if (iVar13 < 1) goto LAB_00050be8;\nLAB_00050a94:\n          iVar18 = 0;\n          uVar12 = 0;\n          puVar5 = (uint *)(iVar14 + iVar7 * 4);\n          uVar6 = uVar19;\n          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);\n          do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);\n        }" ({ "{") (if_statement "if (iVar13 < 1) goto LAB_00050be8;" (if "if") (parenthesized_expression "(iVar13 < 1)" (( "(") (binary_expression "iVar13 < 1" (identifier "iVar13") (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_00050be8;" (goto "goto") (statement_identifier "LAB_00050be8") (; ";"))) (labeled_statement "LAB_00050a94:\n          iVar18 = 0;" (statement_identifier "LAB_00050a94") (: ":") (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" (identifier "iVar18") (= "=") (number_literal "0")) (; ";"))) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = (uint *)(iVar14 + iVar7 * 4);" (assignment_expression "puVar5 = (uint *)(iVar14 + iVar7 * 4)" (identifier "puVar5") (= "=") (cast_expression "(uint *)(iVar14 + iVar7 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + iVar7 * 4)" (( "(") (binary_expression "iVar14 + iVar7 * 4" (identifier "iVar14") (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "uVar6 = uVar19;" (assignment_expression "uVar6 = uVar19" (identifier "uVar6") (= "=") (identifier "uVar19")) (; ";")) (expression_statement "puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);" (assignment_expression "puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4)" (identifier "puVar8") (= "=") (cast_expression "(uint *)(iVar17 + (iVar11 - iVar7) * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar17 + (iVar11 - iVar7) * 4)" (( "(") (binary_expression "iVar17 + (iVar11 - iVar7) * 4" (identifier "iVar17") (+ "+") (binary_expression "(iVar11 - iVar7) * 4" (parenthesized_expression "(iVar11 - iVar7)" (( "(") (binary_expression "iVar11 - iVar7" (identifier "iVar11") (- "-") (identifier "iVar7")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (do_statement "do {\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          } while (iVar18 != iVar13);" (do "do") (compound_statement "{\n            iVar18 = iVar18 + 1;\n            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;\n            uVar16 = (uint)lVar2;\n            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);\n            uVar12 = uVar12 + (uVar19 < uVar6);\n            puVar5 = puVar5 + -1;\n            uVar6 = uVar19;\n            puVar8 = puVar8 + 1;\n          }" ({ "{") (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" (identifier "iVar18") (= "=") (binary_expression "iVar18 + 1" (identifier "iVar18") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;" (assignment_expression "lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5" (identifier "lVar2") (= "=") (binary_expression "(ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5" (cast_expression "(ulonglong)uVar16" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar16")) (+ "+") (binary_expression "(ulonglong)*puVar8 * (ulonglong)*puVar5" (binary_expression "(ulonglong)*puVar8 * (ulonglong)" (binary_expression "(ulonglong)*puVar8" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (* "*") (identifier "puVar8")) (* "*") (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")"))) (* "*") (identifier "puVar5")))) (; ";")) (expression_statement "uVar16 = (uint)lVar2;" (assignment_expression "uVar16 = (uint)lVar2" (identifier "uVar16") (= "=") (cast_expression "(uint)lVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar2"))) (; ";")) (expression_statement "uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20)" (identifier "uVar19") (= "=") (binary_expression "uVar6 + (int)((ulonglong)lVar2 >> 0x20)" (identifier "uVar6") (+ "+") (cast_expression "(int)((ulonglong)lVar2 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar2 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar2")) (>> ">>") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "uVar12 = uVar12 + (uVar19 < uVar6);" (assignment_expression "uVar12 = uVar12 + (uVar19 < uVar6)" (identifier "uVar12") (= "=") (binary_expression "uVar12 + (uVar19 < uVar6)" (identifier "uVar12") (+ "+") (parenthesized_expression "(uVar19 < uVar6)" (( "(") (binary_expression "uVar19 < uVar6" (identifier "uVar19") (< "<") (identifier "uVar6")) () ")")))) (; ";")) (expression_statement "puVar5 = puVar5 + -1;" (assignment_expression "puVar5 = puVar5 + -1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + -1" (identifier "puVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar6 = uVar19;" (assignment_expression "uVar6 = uVar19" (identifier "uVar6") (= "=") (identifier "uVar19")) (; ";")) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar18 != iVar13)" (( "(") (binary_expression "iVar18 != iVar13" (identifier "iVar18") (!= "!=") (identifier "iVar13")) () ")")) (; ";")) (} "}")))) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar11 + 1" (identifier "iVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar9 = uVar16;" (assignment_expression "*puVar9 = uVar16" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (identifier "uVar16")) (; ";")) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + 1" (identifier "puVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar16 = uVar19;" (assignment_expression "uVar16 = uVar19" (identifier "uVar16") (= "=") (identifier "uVar19")) (; ";")) (expression_statement "uVar19 = uVar12;" (assignment_expression "uVar19 = uVar12" (identifier "uVar19") (= "=") (identifier "uVar12")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar15 != iVar11)" (( "(") (binary_expression "iVar15 != iVar11" (identifier "iVar15") (!= "!=") (identifier "iVar11")) () ")")) (; ";")) (expression_statement "uVar16 = param_2[2];" (assignment_expression "uVar16 = param_2[2]" (identifier "uVar16") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar9 = puVar10 + iVar15;" (assignment_expression "puVar9 = puVar10 + iVar15" (identifier "puVar9") (= "=") (binary_expression "puVar10 + iVar15" (identifier "puVar10") (+ "+") (identifier "iVar15"))) (; ";")) (expression_statement "uVar19 = param_1[2];" (assignment_expression "uVar19 = param_1[2]" (identifier "uVar19") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar17 = *param_3;" (assignment_expression "iVar17 = *param_3" (identifier "iVar17") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*param_3 = iVar15;" (assignment_expression "*param_3 = iVar15" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "iVar15")) (; ";")) (expression_statement "param_3[2] = uVar16 ^ uVar19;" (assignment_expression "param_3[2] = uVar16 ^ uVar19" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar16 ^ uVar19" (identifier "uVar16") (^ "^") (identifier "uVar19"))) (; ";")) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" (identifier "puVar5") (= "=") (identifier "puVar4")) (; ";")) (do_statement "do {\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      } while (puVar8 != puVar9);" (do "do") (compound_statement "{\n        uVar16 = *puVar5;\n        puVar8 = puVar10 + 1;\n        puVar5 = puVar5 + 1;\n        *puVar10 = uVar16;\n        puVar10 = puVar8;\n      }" ({ "{") (expression_statement "uVar16 = *puVar5;" (assignment_expression "uVar16 = *puVar5" (identifier "uVar16") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar8 = puVar10 + 1;" (assignment_expression "puVar8 = puVar10 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar10 + 1" (identifier "puVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar10 = uVar16;" (assignment_expression "*puVar10 = uVar16" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (identifier "uVar16")) (; ";")) (expression_statement "puVar10 = puVar8;" (assignment_expression "puVar10 = puVar8" (identifier "puVar10") (= "=") (identifier "puVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar8 != puVar9)" (( "(") (binary_expression "puVar8 != puVar9" (identifier "puVar8") (!= "!=") (identifier "puVar9")) () ")")) (; ";")) (expression_statement "bVar1 = iVar15 < iVar17;" (assignment_expression "bVar1 = iVar15 < iVar17" (identifier "bVar1") (= "=") (binary_expression "iVar15 < iVar17" (identifier "iVar15") (< "<") (identifier "iVar17"))) (; ";")) (goto_statement "goto LAB_00050b48;" (goto "goto") (statement_identifier "LAB_00050b48") (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" (else "else") (compound_statement "{\n    if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }\n    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);\n    iVar3 = 0;\n    puVar9 = (uint *)param_3[3];\n    if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }\n  }" ({ "{") (if_statement "if (param_5 < uVar16) {\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }" (if "if") (parenthesized_expression "(param_5 < uVar16)" (( "(") (binary_expression "param_5 < uVar16" (identifier "param_5") (< "<") (identifier "uVar16")) () ")")) (compound_statement "{\n      iVar3 = 1;\n      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);\n      puVar9 = (uint *)param_3[3];\n      goto joined_r0x00050b1c;\n    }" ({ "{") (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" (identifier "puVar4") (= "=") (cast_expression "(uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_FUN_0012a1d0)(uVar16)" (parenthesized_expression "(*(code *)PTR_FUN_0012a1d0)" (( "(") (pointer_expression "*(code *)PTR_FUN_0012a1d0" (* "*") (cast_expression "(code *)PTR_FUN_0012a1d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0012a1d0"))) () ")")) (argument_list "(uVar16)" (( "(") (identifier "uVar16") () ")"))))) (; ";")) (expression_statement "puVar9 = (uint *)param_3[3];" (assignment_expression "puVar9 = (uint *)param_3[3]" (identifier "puVar9") (= "=") (cast_expression "(uint *)param_3[3]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")))) (; ";")) (goto_statement "goto joined_r0x00050b1c;" (goto "goto") (statement_identifier "joined_r0x00050b1c") (; ";")) (} "}"))) (expression_statement "puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);" (assignment_expression "puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5)" (identifier "puVar4") (= "=") (cast_expression "(uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_memset_0012aebc)(param_4,0,param_5)" (parenthesized_expression "(*(code *)PTR_memset_0012aebc)" (( "(") (pointer_expression "*(code *)PTR_memset_0012aebc" (* "*") (cast_expression "(code *)PTR_memset_0012aebc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_0012aebc"))) () ")")) (argument_list "(param_4,0,param_5)" (( "(") (identifier "param_4") (, ",") (number_literal "0") (, ",") (identifier "param_5") () ")"))))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = (uint *)param_3[3];" (assignment_expression "puVar9 = (uint *)param_3[3]" (identifier "puVar9") (= "=") (cast_expression "(uint *)param_3[3]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if (0 < iVar15) {\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }" (if "if") (parenthesized_expression "(0 < iVar15)" (( "(") (binary_expression "0 < iVar15" (number_literal "0") (< "<") (identifier "iVar15")) () ")")) (compound_statement "{\n      iVar17 = param_1[3];\n      puVar10 = puVar9;\n      goto LAB_00050a48;\n    }" ({ "{") (expression_statement "iVar17 = param_1[3];" (assignment_expression "iVar17 = param_1[3]" (identifier "iVar17") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" (identifier "puVar10") (= "=") (identifier "puVar9")) (; ";")) (goto_statement "goto LAB_00050a48;" (goto "goto") (statement_identifier "LAB_00050a48") (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar16 = param_1[2];" (assignment_expression "uVar16 = param_1[2]" (identifier "uVar16") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar19 = param_2[2];" (assignment_expression "uVar19 = param_2[2]" (identifier "uVar19") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar17 = *param_3;" (assignment_expression "iVar17 = *param_3" (identifier "iVar17") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*param_3 = iVar15;" (assignment_expression "*param_3 = iVar15" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "iVar15")) (; ";")) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" (identifier "iVar15") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[2] = uVar16 ^ uVar19;" (assignment_expression "param_3[2] = uVar16 ^ uVar19" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar16 ^ uVar19" (identifier "uVar16") (^ "^") (identifier "uVar19"))) (; ";")) (expression_statement "bVar1 = 0 < iVar17;" (assignment_expression "bVar1 = 0 < iVar17" (identifier "bVar1") (= "=") (binary_expression "0 < iVar17" (number_literal "0") (< "<") (identifier "iVar17"))) (; ";")) (labeled_statement "LAB_00050b48:\n  if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }" (statement_identifier "LAB_00050b48") (: ":") (if_statement "if (bVar1) {\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n    do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);\n  }" ({ "{") (do_statement "do {\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    } while (iVar17 != iVar15);" (do "do") (compound_statement "{\n      iVar15 = iVar15 + 1;\n      *puVar9 = 0;\n      puVar9 = puVar9 + 1;\n    }" ({ "{") (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" (identifier "iVar15") (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + 1" (identifier "puVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar17 != iVar15)" (( "(") (binary_expression "iVar17 != iVar15" (identifier "iVar17") (!= "!=") (identifier "iVar15")) () ")")) (; ";")) (} "}")))) (expression_statement "pstm_clamp(param_3);" (call_expression "pstm_clamp(param_3)" (identifier "pstm_clamp") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (if_statement "if (param_4 == 0) {\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }\n  else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" ({ "{") (expression_statement "(*(code *)PTR_free_0012b168)(puVar4);" (call_expression "(*(code *)PTR_free_0012b168)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" (( "(") (pointer_expression "*(code *)PTR_free_0012b168" (* "*") (cast_expression "(code *)PTR_free_0012b168" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0012b168"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" (else "else") (compound_statement "{\n    if (iVar3 != 1) {\n      return iVar3;\n    }\n    (*(code *)PTR_free_0012b168)(puVar4);\n  }" ({ "{") (if_statement "if (iVar3 != 1) {\n      return iVar3;\n    }" (if "if") (parenthesized_expression "(iVar3 != 1)" (( "(") (binary_expression "iVar3 != 1" (identifier "iVar3") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      return iVar3;\n    }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_0012b168)(puVar4);" (call_expression "(*(code *)PTR_free_0012b168)(puVar4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" (( "(") (pointer_expression "*(code *)PTR_free_0012b168" (* "*") (cast_expression "(code *)PTR_free_0012b168" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0012b168"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (} "}")))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

type_1 function_1(type_2 *A,type_2 *B,type_2 *C,type_3 *var_4,type_4 var_21)

{
  bool bVar1;
  type_5 lVar2;
  type_1 var_3;
  type_6 *puVar4;
  type_3 *var_12;
  type_6 var_13;
  int var_6;
  type_3 *var_11;
  type_6 *var_16;
  type_6 *var_17;
  type_6 *var_20;
  int var_5;
  type_6 var_14;
  int var_7;
  type_6 *var_19;
  type_3 *var_8;
  int var_1;
  type_6 var_18;
  int var_23;
  type_3 *var_9;
  int var_10;
  type_6 var_15;
  
  var_1 = A->used + B->used;
  if ((C->alloc < var_1) && (var_3 = var_2(C,var_1), var_3 != 0)) {
    return -8;
  }
  var_18 = var_1 * 4;
  if (var_4 == (type_3 *)0x0) {
    var_23 = 0;
    puVar4 = (type_6 *)(*(type_7 *)PTR_xzalloc_0012a1d0)(var_18);
    var_16 = C->dp;
joined_r0x00050b1c:
    if (0 < var_1) {
      var_9 = A->dp;
      var_17 = var_16;
LAB_00050a48:
      var_8 = B->dp;
      var_5 = 0;
      var_18 = 0;
      var_15 = 0;
      var_16 = puVar4;
      do {
        var_6 = B->used + -1;
        if (var_5 < var_6) {
          var_6 = var_5;
        }
        var_7 = A->used - (var_5 - var_6);
        if (var_6 < var_7) {
          var_7 = var_6 + 1;
          if (0 < var_7) goto LAB_00050a94;
LAB_00050be8:
          var_14 = 0;
        }
        else {
          if (var_7 < 1) goto LAB_00050be8;
LAB_00050a94:
          var_10 = 0;
          var_14 = 0;
          var_12 = var_8 + var_6;
          var_13 = var_15;
          var_11 = var_9 + (var_5 - var_6);
          do {
            var_10 = var_10 + 1;
            lVar2 = (type_8)var_18 + (type_8)*var_11 * (type_8)*var_12;
            var_18 = (type_6)lVar2;
            var_15 = var_13 + (int)((type_8)lVar2 >> 0x20);
            var_14 = var_14 + (var_15 < var_13);
            var_12 = var_12 + -1;
            var_13 = var_15;
            var_11 = var_11 + 1;
          } while (var_10 != var_7);
        }
        var_5 = var_5 + 1;
        *var_16 = var_18;
        var_16 = var_16 + 1;
        var_18 = var_15;
        var_15 = var_14;
      } while (var_1 != var_5);
      var_18 = B->sign;
      var_16 = var_17 + var_1;
      var_15 = A->sign;
      var_5 = C->used;
      C->used = var_1;
      C->sign = var_18 ^ var_15;
      var_19 = puVar4;
      do {
        var_18 = *var_19;
        var_20 = var_17 + 1;
        var_19 = var_19 + 1;
        *var_17 = var_18;
        var_17 = var_20;
      } while (var_20 != var_16);
      bVar1 = var_1 < var_5;
      goto LAB_00050b48;
    }
  }
  else {
    if (var_21 < var_18) {
      var_23 = 1;
      puVar4 = (type_6 *)(*(type_7 *)PTR_xzalloc_0012a1d0)(var_18);
      var_16 = C->dp;
      goto joined_r0x00050b1c;
    }
    puVar4 = (type_6 *)(*(type_7 *)PTR_memset_0012aebc)(var_4,0,var_21);
    var_23 = 0;
    var_16 = C->dp;
    if (0 < var_1) {
      var_9 = A->dp;
      var_17 = var_16;
      goto LAB_00050a48;
    }
  }
  var_18 = A->sign;
  var_15 = B->sign;
  var_5 = C->used;
  C->used = var_1;
  var_1 = 0;
  C->sign = var_18 ^ var_15;
  bVar1 = 0 < var_5;
LAB_00050b48:
  if (bVar1) {
    do {
      var_1 = var_1 + 1;
      *var_16 = 0;
      var_16 = var_16 + 1;
    } while (var_5 != var_1);
  }
  var_22(C);
  if (var_4 == (type_3 *)0x0) {
    (*(type_7 *)PTR_free_0012b168)(puVar4);
  }
  else {
    if (var_23 != 1) {
      return var_23;
    }
    (*(type_7 *)PTR_free_0012b168)(puVar4);
  }
  return 0;
}


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

int MASKED(int *param_1,int *param_2,int *param_3,int param_4,uint param_5)

{
  bool bVar1;
  longlong lVar2;
  int iVar3;
  uint *puVar4;
  uint *puVar5;
  uint uVar6;
  int iVar7;
  uint *puVar8;
  uint *puVar9;
  uint *puVar10;
  int iVar11;
  uint uVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  uint uVar16;
  int iVar17;
  int iVar18;
  uint uVar19;
  
  iVar15 = *param_1 + *param_2;
  if ((param_3[1] < iVar15) && (iVar3 = pstm_grow(param_3,iVar15), iVar3 != 0)) {
    return -8;
  }
  uVar16 = iVar15 * 4;
  if (param_4 == 0) {
    iVar3 = 0;
    puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);
    puVar9 = (uint *)param_3[3];
joined_r0x00050b1c:
    if (0 < iVar15) {
      iVar17 = param_1[3];
      puVar10 = puVar9;
LAB_00050a48:
      iVar14 = param_2[3];
      iVar11 = 0;
      uVar16 = 0;
      uVar19 = 0;
      puVar9 = puVar4;
      do {
        iVar7 = *param_2 + -1;
        if (iVar11 < *param_2 + -1) {
          iVar7 = iVar11;
        }
        iVar13 = *param_1 - (iVar11 - iVar7);
        if (iVar7 < iVar13) {
          iVar13 = iVar7 + 1;
          if (0 < iVar13) goto LAB_00050a94;
LAB_00050be8:
          uVar12 = 0;
        }
        else {
          if (iVar13 < 1) goto LAB_00050be8;
LAB_00050a94:
          iVar18 = 0;
          uVar12 = 0;
          puVar5 = (uint *)(iVar14 + iVar7 * 4);
          uVar6 = uVar19;
          puVar8 = (uint *)(iVar17 + (iVar11 - iVar7) * 4);
          do {
            iVar18 = iVar18 + 1;
            lVar2 = (ulonglong)uVar16 + (ulonglong)*puVar8 * (ulonglong)*puVar5;
            uVar16 = (uint)lVar2;
            uVar19 = uVar6 + (int)((ulonglong)lVar2 >> 0x20);
            uVar12 = uVar12 + (uVar19 < uVar6);
            puVar5 = puVar5 + -1;
            uVar6 = uVar19;
            puVar8 = puVar8 + 1;
          } while (iVar18 != iVar13);
        }
        iVar11 = iVar11 + 1;
        *puVar9 = uVar16;
        puVar9 = puVar9 + 1;
        uVar16 = uVar19;
        uVar19 = uVar12;
      } while (iVar15 != iVar11);
      uVar16 = param_2[2];
      puVar9 = puVar10 + iVar15;
      uVar19 = param_1[2];
      iVar17 = *param_3;
      *param_3 = iVar15;
      param_3[2] = uVar16 ^ uVar19;
      puVar5 = puVar4;
      do {
        uVar16 = *puVar5;
        puVar8 = puVar10 + 1;
        puVar5 = puVar5 + 1;
        *puVar10 = uVar16;
        puVar10 = puVar8;
      } while (puVar8 != puVar9);
      bVar1 = iVar15 < iVar17;
      goto LAB_00050b48;
    }
  }
  else {
    if (param_5 < uVar16) {
      iVar3 = 1;
      puVar4 = (uint *)(*(code *)PTR_FUN_0012a1d0)(uVar16);
      puVar9 = (uint *)param_3[3];
      goto joined_r0x00050b1c;
    }
    puVar4 = (uint *)(*(code *)PTR_memset_0012aebc)(param_4,0,param_5);
    iVar3 = 0;
    puVar9 = (uint *)param_3[3];
    if (0 < iVar15) {
      iVar17 = param_1[3];
      puVar10 = puVar9;
      goto LAB_00050a48;
    }
  }
  uVar16 = param_1[2];
  uVar19 = param_2[2];
  iVar17 = *param_3;
  *param_3 = iVar15;
  iVar15 = 0;
  param_3[2] = uVar16 ^ uVar19;
  bVar1 = 0 < iVar17;
LAB_00050b48:
  if (bVar1) {
    do {
      iVar15 = iVar15 + 1;
      *puVar9 = 0;
      puVar9 = puVar9 + 1;
    } while (iVar17 != iVar15);
  }
  pstm_clamp(param_3);
  if (param_4 == 0) {
    (*(code *)PTR_free_0012b168)(puVar4);
  }
  else {
    if (iVar3 != 1) {
      return iVar3;
    }
    (*(code *)PTR_free_0012b168)(puVar4);
  }
  return 0;
}

