
void hash_table_put(hash_table *ht,void *key,void *value)

{
  bool bVar1;
  undefined *puVar2;
  undefined *puVar3;
  uint uVar4;
  ulong uVar5;
  int iVar6;
  hashfun_t p_Var7;
  cell *pcVar8;
  cell *pcVar9;
  uint *puVar10;
  void *pvVar11;
  cell *pcVar12;
  uint uVar13;
  testfun_t p_Var14;
  cell *pcVar15;
  cell *pcVar16;
  cell *pcVar17;
  uint uVar18;
  double dVar19;
  
  uVar13 = ht->size;
  pcVar15 = ht->cells;
  uVar5 = (*ht->hash_function)(key);
  if (uVar13 == 0) {
    trap(7);
  }
  p_Var14 = ht->test_function;
  pcVar12 = pcVar15 + uVar5 % uVar13;
  while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {
    while( true ) {
      iVar6 = (*p_Var14)(key,pvVar11);
      if (iVar6 != 0) {
        if (pcVar8->key != (void *)0xffffffff) {
          pcVar8->key = key;
          pcVar8->value = value;
          return;
        }
        goto LAB_0002ec48;
      }
      pcVar12 = pcVar15;
      if (pcVar15 + (uVar13 - 1) == pcVar8) break;
      pcVar8 = pcVar8 + 1;
      pvVar11 = pcVar8->key;
      if (pvVar11 == (void *)0xffffffff) goto LAB_0002ec48;
    }
  }
LAB_0002ec48:
  puVar3 = PTR_xmalloc_000af5c4;
  puVar2 = PTR_s_hallenge__000af46c;
  if (ht->count < ht->resize_threshold) {
    ht->count = ht->count + 1;
  }
  else {
    p_Var7 = ht->hash_function;
    uVar13 = ht->prime_offset;
    pcVar15 = ht->cells;
    iVar6 = ht->size << 1;
    pcVar12 = pcVar15 + ht->size;
    if (0x46 < uVar13) {
LAB_0002eedc:
      (*(code *)PTR_abort_000afe98)();
      return;
    }
    uVar18 = *(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0);
    if ((int)uVar18 < iVar6) {
      uVar4 = uVar13 + 1;
      puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0);
      do {
        uVar13 = uVar4;
        if (uVar13 == 0x47) goto LAB_0002eedc;
        uVar18 = *puVar10;
        uVar4 = uVar13 + 1;
        puVar10 = puVar10 + 1;
      } while ((int)uVar18 < iVar6);
    }
    ht->prime_offset = uVar13 + 1;
    dVar19 = *(double *)(puVar2 + -0xdb0);
    ht->size = uVar18;
    ht->resize_threshold = (int)((double)(int)uVar18 * dVar19);
    pcVar8 = (cell *)(*(code *)puVar3)(uVar18 * 8);
    (*(code *)PTR_memset_000afd94)(pcVar8,0xff,uVar18 * 8);
    ht->cells = pcVar8;
    if (pcVar15 < pcVar12) {
      pcVar16 = pcVar15;
      do {
        while (pcVar16->key != (void *)0xffffffff) {
          uVar5 = (*p_Var7)(pcVar16->key);
          if (uVar18 == 0) {
            trap(7);
          }
          pcVar9 = pcVar8 + uVar5 % uVar18;
          while (pcVar9->key != (void *)0xffffffff) {
            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;
            pcVar9 = pcVar9 + 1;
            if (bVar1) {
              pcVar9 = pcVar8;
            }
          }
          pcVar17 = pcVar16 + 1;
          pvVar11 = pcVar16->value;
          pcVar9->key = pcVar16->key;
          pcVar9->value = pvVar11;
          pcVar16 = pcVar17;
          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;
        }
        pcVar16 = pcVar16 + 1;
      } while (pcVar16 < pcVar12);
    }
LAB_0002ee4c:
    (*(code *)PTR_free_000afd08)(pcVar15);
    uVar13 = ht->size;
    pcVar15 = ht->cells;
    uVar5 = (*ht->hash_function)(key);
    if (uVar13 == 0) {
      trap(7);
    }
    p_Var14 = ht->test_function;
    pcVar12 = pcVar15 + uVar5 % uVar13;
    while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {
      while( true ) {
        iVar6 = (*p_Var14)(key,pvVar11);
        if (iVar6 != 0) goto LAB_0002eec4;
        pcVar12 = pcVar15;
        if (pcVar15 + (uVar13 - 1) == pcVar8) break;
        pcVar8 = pcVar8 + 1;
        pvVar11 = pcVar8->key;
        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;
      }
    }
LAB_0002eec4:
    ht->count = ht->count + 1;
  }
  pcVar8->key = key;
  pcVar8->value = value;
  return;
}



void hash_table_put(undefined4 *param_1,int param_2,int param_3)

{
  bool bVar1;
  undefined *puVar2;
  undefined *puVar3;
  uint uVar4;
  uint uVar5;
  int iVar6;
  int *piVar7;
  int *piVar8;
  uint *puVar9;
  int *piVar10;
  uint uVar11;
  code *pcVar12;
  int *piVar13;
  int *piVar14;
  int *piVar15;
  double dVar16;
  
  uVar11 = param_1[3];
  piVar13 = (int *)param_1[2];
  uVar5 = (*(code *)*param_1)(param_2);
  if (uVar11 == 0) {
    trap(7);
  }
  pcVar12 = (code *)param_1[1];
  piVar10 = piVar13 + (uVar5 % uVar11) * 2;
  while (piVar7 = piVar10, *piVar10 != -1) {
    while( true ) {
      iVar6 = (*pcVar12)(param_2);
      if (iVar6 != 0) {
        if (*piVar7 != -1) {
          *piVar7 = param_2;
          piVar7[1] = param_3;
          return;
        }
        goto LAB_0002ec48;
      }
      piVar10 = piVar13;
      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;
      piVar7 = piVar7 + 2;
      if (*piVar7 == -1) goto LAB_0002ec48;
    }
  }
LAB_0002ec48:
  puVar3 = PTR_xmalloc_000af5c4;
  puVar2 = PTR_s_hallenge__000af46c;
  if ((int)param_1[4] < (int)param_1[5]) {
    param_1[4] = param_1[4] + 1;
  }
  else {
    pcVar12 = (code *)*param_1;
    uVar5 = param_1[6];
    piVar13 = (int *)param_1[2];
    iVar6 = param_1[3] << 1;
    piVar10 = piVar13 + param_1[3] * 2;
    if (0x46 < uVar5) {
LAB_0002eedc:
      (*(code *)PTR_abort_000afe98)();
      return;
    }
    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);
    if ((int)uVar11 < iVar6) {
      uVar4 = uVar5 + 1;
      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);
      do {
        uVar5 = uVar4;
        if (uVar5 == 0x47) goto LAB_0002eedc;
        uVar11 = *puVar9;
        uVar4 = uVar5 + 1;
        puVar9 = puVar9 + 1;
      } while ((int)uVar11 < iVar6);
    }
    param_1[6] = uVar5 + 1;
    dVar16 = *(double *)(puVar2 + -0xdb0);
    param_1[3] = uVar11;
    param_1[5] = (int)((double)(int)uVar11 * dVar16);
    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);
    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);
    param_1[2] = piVar7;
    if (piVar13 < piVar10) {
      piVar14 = piVar13;
      do {
        while (*piVar14 != -1) {
          uVar5 = (*pcVar12)();
          if (uVar11 == 0) {
            trap(7);
          }
          piVar8 = piVar7 + (uVar5 % uVar11) * 2;
          while (*piVar8 != -1) {
            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;
            piVar8 = piVar8 + 2;
            if (bVar1) {
              piVar8 = piVar7;
            }
          }
          piVar15 = piVar14 + 2;
          iVar6 = piVar14[1];
          *piVar8 = *piVar14;
          piVar8[1] = iVar6;
          piVar14 = piVar15;
          if (piVar10 <= piVar15) goto LAB_0002ee4c;
        }
        piVar14 = piVar14 + 2;
      } while (piVar14 < piVar10);
    }
LAB_0002ee4c:
    (*(code *)PTR_free_000afd08)(piVar13);
    uVar11 = param_1[3];
    piVar13 = (int *)param_1[2];
    uVar5 = (*(code *)*param_1)(param_2);
    if (uVar11 == 0) {
      trap(7);
    }
    pcVar12 = (code *)param_1[1];
    piVar10 = piVar13 + (uVar5 % uVar11) * 2;
    while (piVar7 = piVar10, *piVar10 != -1) {
      while( true ) {
        iVar6 = (*pcVar12)(param_2);
        if (iVar6 != 0) goto LAB_0002eec4;
        piVar10 = piVar13;
        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;
        piVar7 = piVar7 + 2;
        if (*piVar7 == -1) goto LAB_0002eec4;
      }
    }
LAB_0002eec4:
    param_1[4] = param_1[4] + 1;
  }
  *piVar7 = param_2;
  piVar7[1] = param_3;
  return;
}


lui gp,0x9
addiu gp,gp,-0x775c
addu gp,gp,t9
addiu sp,sp,-0x48
lw t9,0x0(a0)
sw s7,0x3c(sp)
or s7,a0,zero
sw s1,0x24(sp)
or a0,a1,zero
sw gp,0x10(sp)
sw s6,0x38(sp)
li s6,-0x1
sw s5,0x34(sp)
sw s4,0x30(sp)
sw s3,0x2c(sp)
or s3,a2,zero
sw s2,0x28(sp)
or s2,a1,zero
sw s0,0x20(sp)
sw ra,0x44(sp)
sw s8,0x40(sp)
lw s1,0xc(s7)
jalr t9
_lw s5,0x8(s7)
teq s1,zero
divu v0,s1
lw gp,0x10(sp)
sll s1,s1,0x3
lw s4,0x4(s7)
addiu s1,s1,-0x8
addu s1,s5,s1
mfhi s0
sll s0,s0,0x3
addu s0,s5,s0
lw a1,0x0(s0)
beq a1,s6,0x0002ec48
_or t9,s4,zero
jalr t9
_or a0,s2,zero
bne v0,zero,0x0002eca0
_lw gp,0x10(sp)
beq s1,s0,0x0002ec98
_nop
addiu s0,s0,0x8
lw a1,0x0(s0)
bne a1,s6,0x0002ec20
_or t9,s4,zero
lw v0,0x10(s7)
lw v1,0x14(s7)
slt v1,v0,v1
beq v1,zero,0x0002ece0
_addiu v0,v0,0x1
sw v0,0x10(s7)
lw ra,0x44(sp)
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s1,0x24(sp)
sw s2,0x0(s0)
sw s3,0x4(s0)
lw s2,0x28(sp)
lw s3,0x2c(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
b 0x0002ec14
_or s0,s5,zero
lw v0,0x0(s0)
beq v0,s6,0x0002ec48
_lw ra,0x44(sp)
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s1,0x24(sp)
sw s2,0x0(s0)
sw s3,0x4(s0)
lw s2,0x28(sp)
lw s3,0x2c(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
lw a2,0xc(s7)
lw v0,0x0(s7)
lw a0,0x18(s7)
lw v1,0x8(s7)
sll s0,a2,0x3
sw v0,0x18(sp)
sll a2,a2,0x1
sltiu v0,a0,0x47
sw v1,0x1c(sp)
beq v0,zero,0x0002eedc
_addu s0,v1,s0
lw v1,-0x7fc4(gp)
sll v0,a0,0x2
addiu v1,v1,-0xed0
addu v0,v0,v1
lw s6,0x0(v0)
slt v0,s6,a2
beq v0,zero,0x0002ed54
_addiu v0,a0,0x1
li a3,0x47
sll a0,v0,0x2
addu v1,v1,a0
beq v0,a3,0x0002eedc
_or a0,v0,zero
addiu v1,v1,0x4
lw s6,-0x4(v1)
slt a1,s6,a2
bne a1,zero,0x0002ed38
_addiu v0,v0,0x1
mtc1 s6,f0
lw v0,-0x7fc4(gp)
addiu a0,a0,0x1
lw t9,-0x7e6c(gp)
sll s5,s6,0x3
sw a0,0x18(s7)
ldc1 f2,-0xdb0(v0)
or a0,s5,zero
sw s6,0xc(s7)
cvt.d.W f0,f0
mul.D f0,f0,f2
trunc.w.D f0,f0
jalr t9
_swc1 f0,0x14(s7)
li a1,0xff
lw gp,0x10(sp)
or a2,s5,zero
or a0,v0,zero
lw t9,-0x769c(gp)
jalr t9
_or s8,v0,zero
lw v0,0x1c(sp)
lw gp,0x10(sp)
sltu v0,v0,s0
beq v0,zero,0x0002ee48
_sw s8,0x8(s7)
addiu s5,s5,-0x8
li s1,-0x1
addu s4,s8,s5
b 0x0002ede0
_lw s5,0x1c(sp)
addiu s5,s5,0x8
sltu v0,s5,s0
beq v0,zero,0x0002ee4c
_lw t9,-0x7728(gp)
lw a0,0x0(s5)
beq a0,s1,0x0002edd0
_lw t9,0x18(sp)
jalr t9
_nop
teq s6,zero
divu v0,s6
lw gp,0x10(sp)
mfhi v0
sll v0,v0,0x3
b 0x0002ee1c
_addu v0,s8,v0
bne s4,v0,0x0002ee1c
_addiu v0,v0,0x8
or v0,s8,zero
lw v1,0x0(v0)
bne v1,s1,0x0002ee10
_nop
lw a0,0x0(s5)
addiu s5,s5,0x8
lw v1,-0x4(s5)
sw a0,0x0(v0)
sw v1,0x4(v0)
sltu v0,s5,s0
bne v0,zero,0x0002ede0
_nop
lw t9,-0x7728(gp)
li s5,-0x1
jalr t9
_lw a0,0x1c(sp)
or a0,s2,zero
lw t9,0x0(s7)
lw s1,0xc(s7)
jalr t9
_lw s6,0x8(s7)
teq s1,zero
divu v0,s1
lw s4,0x4(s7)
sll s1,s1,0x3
addiu s1,s1,-0x8
addu s1,s6,s1
mfhi s0
sll s0,s0,0x3
addu s0,s6,s0
lw a1,0x0(s0)
beq a1,s5,0x0002eec4
_or t9,s4,zero
jalr t9
_or a0,s2,zero
bne v0,zero,0x0002eec4
_nop
beq s1,s0,0x0002eed4
_nop
addiu s0,s0,0x8
lw a1,0x0(s0)
bne a1,s5,0x0002ee9c
_or t9,s4,zero
lw v0,0x10(s7)
addiu v0,v0,0x1
b 0x0002ec60
_sw v0,0x10(s7)
b 0x0002ee90
_or s0,s6,zero
lw t9,-0x7598(gp)
jalr t9
_nop
(translation_unit "void hash_table_put(undefined4 *param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  uint *puVar9;\n  int *piVar10;\n  uint uVar11;\n  code *pcVar12;\n  int *piVar13;\n  int *piVar14;\n  int *piVar15;\n  double dVar16;\n  \n  uVar11 = param_1[3];\n  piVar13 = (int *)param_1[2];\n  uVar5 = (*(code *)*param_1)(param_2);\n  if (uVar11 == 0) {\n    trap(7);\n  }\n  pcVar12 = (code *)param_1[1];\n  piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n  while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }\n  *piVar7 = param_2;\n  piVar7[1] = param_3;\n  return;\n}\n\n" (function_definition "void hash_table_put(undefined4 *param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  uint *puVar9;\n  int *piVar10;\n  uint uVar11;\n  code *pcVar12;\n  int *piVar13;\n  int *piVar14;\n  int *piVar15;\n  double dVar16;\n  \n  uVar11 = param_1[3];\n  piVar13 = (int *)param_1[2];\n  uVar5 = (*(code *)*param_1)(param_2);\n  if (uVar11 == 0) {\n    trap(7);\n  }\n  pcVar12 = (code *)param_1[1];\n  piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n  while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }\n  *piVar7 = param_2;\n  piVar7[1] = param_3;\n  return;\n}" primitive_type (function_declarator "hash_table_put(undefined4 *param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  uint *puVar9;\n  int *piVar10;\n  uint uVar11;\n  code *pcVar12;\n  int *piVar13;\n  int *piVar14;\n  int *piVar15;\n  double dVar16;\n  \n  uVar11 = param_1[3];\n  piVar13 = (int *)param_1[2];\n  uVar5 = (*(code *)*param_1)(param_2);\n  if (uVar11 == 0) {\n    trap(7);\n  }\n  pcVar12 = (code *)param_1[1];\n  piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n  while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }\n  *piVar7 = param_2;\n  piVar7[1] = param_3;\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "code *pcVar12;" type_identifier (pointer_declarator "*pcVar12" * identifier) ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "double dVar16;" primitive_type identifier ;) (expression_statement "uVar11 = param_1[3];" (assignment_expression "uVar11 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "piVar13 = (int *)param_1[2];" (assignment_expression "piVar13 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar5 = (*(code *)*param_1)(param_2);" (assignment_expression "uVar5 = (*(code *)*param_1)(param_2)" identifier = (call_expression "(*(code *)*param_1)(param_2)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (uVar11 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "pcVar12 = (code *)param_1[1];" (assignment_expression "pcVar12 = (code *)param_1[1]" identifier = (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar10 = piVar13 + (uVar5 % uVar11) * 2;" (assignment_expression "piVar10 = piVar13 + (uVar5 % uVar11) * 2" identifier = (binary_expression "piVar13 + (uVar5 % uVar11) * 2" identifier + (binary_expression "(uVar5 % uVar11) * 2" (parenthesized_expression "(uVar5 % uVar11)" ( (binary_expression "uVar5 % uVar11" identifier % identifier) )) * number_literal))) ;) (while_statement "while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }" while (parenthesized_expression "(piVar7 = piVar10, *piVar10 != -1)" ( (comma_expression "piVar7 = piVar10, *piVar10 != -1" (assignment_expression "piVar7 = piVar10" identifier = identifier) , (binary_expression "*piVar10 != -1" (pointer_expression "*piVar10" * identifier) != number_literal)) )) (compound_statement "{\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }" { (while_statement "while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }" { (expression_statement "iVar6 = (*pcVar12)(param_2);" (assignment_expression "iVar6 = (*pcVar12)(param_2)" identifier = (call_expression "(*pcVar12)(param_2)" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }" { (if_statement "if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }" if (parenthesized_expression "(*piVar7 != -1)" ( (binary_expression "*piVar7 != -1" (pointer_expression "*piVar7" * identifier) != number_literal) )) (compound_statement "{\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }" { (expression_statement "*piVar7 = param_2;" (assignment_expression "*piVar7 = param_2" (pointer_expression "*piVar7" * identifier) = identifier) ;) (expression_statement "piVar7[1] = param_3;" (assignment_expression "piVar7[1] = param_3" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (goto_statement "goto LAB_0002ec48;" goto statement_identifier ;) })) (expression_statement "piVar10 = piVar13;" (assignment_expression "piVar10 = piVar13" identifier = identifier) ;) (if_statement "if (piVar13 + uVar11 * 2 + -2 == piVar7) break;" if (parenthesized_expression "(piVar13 + uVar11 * 2 + -2 == piVar7)" ( (binary_expression "piVar13 + uVar11 * 2 + -2 == piVar7" (binary_expression "piVar13 + uVar11 * 2 + -2" (binary_expression "piVar13 + uVar11 * 2" identifier + (binary_expression "uVar11 * 2" identifier * number_literal)) + number_literal) == identifier) )) (break_statement "break;" break ;)) (expression_statement "piVar7 = piVar7 + 2;" (assignment_expression "piVar7 = piVar7 + 2" identifier = (binary_expression "piVar7 + 2" identifier + number_literal)) ;) (if_statement "if (*piVar7 == -1) goto LAB_0002ec48;" if (parenthesized_expression "(*piVar7 == -1)" ( (binary_expression "*piVar7 == -1" (pointer_expression "*piVar7" * identifier) == number_literal) )) (goto_statement "goto LAB_0002ec48;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;" statement_identifier : (expression_statement "puVar3 = PTR_xmalloc_000af5c4;" (assignment_expression "puVar3 = PTR_xmalloc_000af5c4" identifier = identifier) ;)) (expression_statement "puVar2 = PTR_s_hallenge__000af46c;" (assignment_expression "puVar2 = PTR_s_hallenge__000af46c" identifier = identifier) ;) (if_statement "if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }" if (parenthesized_expression "((int)param_1[4] < (int)param_1[5])" ( (binary_expression "(int)param_1[4] < (int)param_1[5]" (cast_expression "(int)param_1[4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[4]" identifier [ number_literal ])) < (cast_expression "(int)param_1[5]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) )) (compound_statement "{\n    param_1[4] = param_1[4] + 1;\n  }" { (expression_statement "param_1[4] = param_1[4] + 1;" (assignment_expression "param_1[4] = param_1[4] + 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "param_1[4] + 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) + number_literal)) ;) }) (else_clause "else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }" else (compound_statement "{\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }" { (expression_statement "pcVar12 = (code *)*param_1;" (assignment_expression "pcVar12 = (code *)*param_1" identifier = (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar5 = param_1[6];" (assignment_expression "uVar5 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "piVar13 = (int *)param_1[2];" (assignment_expression "piVar13 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = param_1[3] << 1;" (assignment_expression "iVar6 = param_1[3] << 1" identifier = (binary_expression "param_1[3] << 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) << number_literal)) ;) (expression_statement "piVar10 = piVar13 + param_1[3] * 2;" (assignment_expression "piVar10 = piVar13 + param_1[3] * 2" identifier = (binary_expression "piVar13 + param_1[3] * 2" identifier + (binary_expression "param_1[3] * 2" (subscript_expression "param_1[3]" identifier [ number_literal ]) * number_literal))) ;) (if_statement "if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }" if (parenthesized_expression "(0x46 < uVar5)" ( (binary_expression "0x46 < uVar5" number_literal < identifier) )) (compound_statement "{\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }" { (labeled_statement "LAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();" statement_identifier : (expression_statement "(*(code *)PTR_abort_000afe98)();" (call_expression "(*(code *)PTR_abort_000afe98)()" (parenthesized_expression "(*(code *)PTR_abort_000afe98)" ( (pointer_expression "*(code *)PTR_abort_000afe98" * (cast_expression "(code *)PTR_abort_000afe98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);" (assignment_expression "uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" identifier = (pointer_expression "*(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" * (cast_expression "(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" ( (binary_expression "PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0" (binary_expression "PTR_s_hallenge__000af46c + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }" if (parenthesized_expression "((int)uVar11 < iVar6)" ( (binary_expression "(int)uVar11 < iVar6" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }" { (expression_statement "uVar4 = uVar5 + 1;" (assignment_expression "uVar4 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);" (assignment_expression "puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0)" identifier = (cast_expression "(uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0)" ( (binary_expression "PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0" (binary_expression "PTR_s_hallenge__000af46c + (uVar5 + 1) * 4" identifier + (binary_expression "(uVar5 + 1) * 4" (parenthesized_expression "(uVar5 + 1)" ( (binary_expression "uVar5 + 1" identifier + number_literal) )) * number_literal)) + number_literal) )))) ;) (do_statement "do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);" do (compound_statement "{\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      }" { (expression_statement "uVar5 = uVar4;" (assignment_expression "uVar5 = uVar4" identifier = identifier) ;) (if_statement "if (uVar5 == 0x47) goto LAB_0002eedc;" if (parenthesized_expression "(uVar5 == 0x47)" ( (binary_expression "uVar5 == 0x47" identifier == number_literal) )) (goto_statement "goto LAB_0002eedc;" goto statement_identifier ;)) (expression_statement "uVar11 = *puVar9;" (assignment_expression "uVar11 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "uVar4 = uVar5 + 1;" (assignment_expression "uVar4 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)uVar11 < iVar6)" ( (binary_expression "(int)uVar11 < iVar6" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) (expression_statement "param_1[6] = uVar5 + 1;" (assignment_expression "param_1[6] = uVar5 + 1" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "dVar16 = *(double *)(puVar2 + -0xdb0);" (assignment_expression "dVar16 = *(double *)(puVar2 + -0xdb0)" identifier = (pointer_expression "*(double *)(puVar2 + -0xdb0)" * (cast_expression "(double *)(puVar2 + -0xdb0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xdb0)" ( (binary_expression "puVar2 + -0xdb0" identifier + number_literal) ))))) ;) (expression_statement "param_1[3] = uVar11;" (assignment_expression "param_1[3] = uVar11" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = (int)((double)(int)uVar11 * dVar16);" (assignment_expression "param_1[5] = (int)((double)(int)uVar11 * dVar16)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (cast_expression "(int)((double)(int)uVar11 * dVar16)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((double)(int)uVar11 * dVar16)" ( (binary_expression "(double)(int)uVar11 * dVar16" (cast_expression "(double)(int)uVar11" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) * identifier) )))) ;) (expression_statement "piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);" (assignment_expression "piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8)" identifier = (cast_expression "(int *)(*(code *)puVar3)(uVar11 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(uVar11 * 8)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11 * 8)" ( (binary_expression "uVar11 * 8" identifier * number_literal) ))))) ;) (expression_statement "(*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);" (call_expression "(*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8)" (parenthesized_expression "(*(code *)PTR_memset_000afd94)" ( (pointer_expression "*(code *)PTR_memset_000afd94" * (cast_expression "(code *)PTR_memset_000afd94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7,0xff,uVar11 * 8)" ( identifier , number_literal , (binary_expression "uVar11 * 8" identifier * number_literal) ))) ;) (expression_statement "param_1[2] = piVar7;" (assignment_expression "param_1[2] = piVar7" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }" if (parenthesized_expression "(piVar13 < piVar10)" ( (binary_expression "piVar13 < piVar10" identifier < identifier) )) (compound_statement "{\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }" { (expression_statement "piVar14 = piVar13;" (assignment_expression "piVar14 = piVar13" identifier = identifier) ;) (do_statement "do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);" do (compound_statement "{\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      }" { (while_statement "while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }" while (parenthesized_expression "(*piVar14 != -1)" ( (binary_expression "*piVar14 != -1" (pointer_expression "*piVar14" * identifier) != number_literal) )) (compound_statement "{\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }" { (expression_statement "uVar5 = (*pcVar12)();" (assignment_expression "uVar5 = (*pcVar12)()" identifier = (call_expression "(*pcVar12)()" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (uVar11 == 0) {\n            trap(7);\n          }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n            trap(7);\n          }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "piVar8 = piVar7 + (uVar5 % uVar11) * 2;" (assignment_expression "piVar8 = piVar7 + (uVar5 % uVar11) * 2" identifier = (binary_expression "piVar7 + (uVar5 % uVar11) * 2" identifier + (binary_expression "(uVar5 % uVar11) * 2" (parenthesized_expression "(uVar5 % uVar11)" ( (binary_expression "uVar5 % uVar11" identifier % identifier) )) * number_literal))) ;) (while_statement "while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }" while (parenthesized_expression "(*piVar8 != -1)" ( (binary_expression "*piVar8 != -1" (pointer_expression "*piVar8" * identifier) != number_literal) )) (compound_statement "{\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }" { (expression_statement "bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;" (assignment_expression "bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8" identifier = (binary_expression "piVar7 + uVar11 * 2 + -2 == piVar8" (binary_expression "piVar7 + uVar11 * 2 + -2" (binary_expression "piVar7 + uVar11 * 2" identifier + (binary_expression "uVar11 * 2" identifier * number_literal)) + number_literal) == identifier)) ;) (expression_statement "piVar8 = piVar8 + 2;" (assignment_expression "piVar8 = piVar8 + 2" identifier = (binary_expression "piVar8 + 2" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n              piVar8 = piVar7;\n            }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n              piVar8 = piVar7;\n            }" { (expression_statement "piVar8 = piVar7;" (assignment_expression "piVar8 = piVar7" identifier = identifier) ;) })) })) (expression_statement "piVar15 = piVar14 + 2;" (assignment_expression "piVar15 = piVar14 + 2" identifier = (binary_expression "piVar14 + 2" identifier + number_literal)) ;) (expression_statement "iVar6 = piVar14[1];" (assignment_expression "iVar6 = piVar14[1]" identifier = (subscript_expression "piVar14[1]" identifier [ number_literal ])) ;) (expression_statement "*piVar8 = *piVar14;" (assignment_expression "*piVar8 = *piVar14" (pointer_expression "*piVar8" * identifier) = (pointer_expression "*piVar14" * identifier)) ;) (expression_statement "piVar8[1] = iVar6;" (assignment_expression "piVar8[1] = iVar6" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar14 = piVar15;" (assignment_expression "piVar14 = piVar15" identifier = identifier) ;) (if_statement "if (piVar10 <= piVar15) goto LAB_0002ee4c;" if (parenthesized_expression "(piVar10 <= piVar15)" ( (binary_expression "piVar10 <= piVar15" identifier <= identifier) )) (goto_statement "goto LAB_0002ee4c;" goto statement_identifier ;)) })) (expression_statement "piVar14 = piVar14 + 2;" (assignment_expression "piVar14 = piVar14 + 2" identifier = (binary_expression "piVar14 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar14 < piVar10)" ( (binary_expression "piVar14 < piVar10" identifier < identifier) )) ;) })) (labeled_statement "LAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);" statement_identifier : (expression_statement "(*(code *)PTR_free_000afd08)(piVar13);" (call_expression "(*(code *)PTR_free_000afd08)(piVar13)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar13)" ( identifier ))) ;)) (expression_statement "uVar11 = param_1[3];" (assignment_expression "uVar11 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "piVar13 = (int *)param_1[2];" (assignment_expression "piVar13 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar5 = (*(code *)*param_1)(param_2);" (assignment_expression "uVar5 = (*(code *)*param_1)(param_2)" identifier = (call_expression "(*(code *)*param_1)(param_2)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (uVar11 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "pcVar12 = (code *)param_1[1];" (assignment_expression "pcVar12 = (code *)param_1[1]" identifier = (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar10 = piVar13 + (uVar5 % uVar11) * 2;" (assignment_expression "piVar10 = piVar13 + (uVar5 % uVar11) * 2" identifier = (binary_expression "piVar13 + (uVar5 % uVar11) * 2" identifier + (binary_expression "(uVar5 % uVar11) * 2" (parenthesized_expression "(uVar5 % uVar11)" ( (binary_expression "uVar5 % uVar11" identifier % identifier) )) * number_literal))) ;) (while_statement "while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }" while (parenthesized_expression "(piVar7 = piVar10, *piVar10 != -1)" ( (comma_expression "piVar7 = piVar10, *piVar10 != -1" (assignment_expression "piVar7 = piVar10" identifier = identifier) , (binary_expression "*piVar10 != -1" (pointer_expression "*piVar10" * identifier) != number_literal)) )) (compound_statement "{\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }" { (while_statement "while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }" { (expression_statement "iVar6 = (*pcVar12)(param_2);" (assignment_expression "iVar6 = (*pcVar12)(param_2)" identifier = (call_expression "(*pcVar12)(param_2)" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_0002eec4;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002eec4;" goto statement_identifier ;)) (expression_statement "piVar10 = piVar13;" (assignment_expression "piVar10 = piVar13" identifier = identifier) ;) (if_statement "if (piVar13 + uVar11 * 2 + -2 == piVar7) break;" if (parenthesized_expression "(piVar13 + uVar11 * 2 + -2 == piVar7)" ( (binary_expression "piVar13 + uVar11 * 2 + -2 == piVar7" (binary_expression "piVar13 + uVar11 * 2 + -2" (binary_expression "piVar13 + uVar11 * 2" identifier + (binary_expression "uVar11 * 2" identifier * number_literal)) + number_literal) == identifier) )) (break_statement "break;" break ;)) (expression_statement "piVar7 = piVar7 + 2;" (assignment_expression "piVar7 = piVar7 + 2" identifier = (binary_expression "piVar7 + 2" identifier + number_literal)) ;) (if_statement "if (*piVar7 == -1) goto LAB_0002eec4;" if (parenthesized_expression "(*piVar7 == -1)" ( (binary_expression "*piVar7 == -1" (pointer_expression "*piVar7" * identifier) == number_literal) )) (goto_statement "goto LAB_0002eec4;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0002eec4:\n    param_1[4] = param_1[4] + 1;" statement_identifier : (expression_statement "param_1[4] = param_1[4] + 1;" (assignment_expression "param_1[4] = param_1[4] + 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "param_1[4] + 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) + number_literal)) ;)) }))) (expression_statement "*piVar7 = param_2;" (assignment_expression "*piVar7 = param_2" (pointer_expression "*piVar7" * identifier) = identifier) ;) (expression_statement "piVar7[1] = param_3;" (assignment_expression "piVar7[1] = param_3" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void hash_table_put(hash_table *ht,void *key,void *value)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  ulong uVar5;\n  int iVar6;\n  hashfun_t p_Var7;\n  cell *pcVar8;\n  cell *pcVar9;\n  uint *puVar10;\n  void *pvVar11;\n  cell *pcVar12;\n  uint uVar13;\n  testfun_t p_Var14;\n  cell *pcVar15;\n  cell *pcVar16;\n  cell *pcVar17;\n  uint uVar18;\n  double dVar19;\n  \n  uVar13 = ht->size;\n  pcVar15 = ht->cells;\n  uVar5 = (*ht->hash_function)(key);\n  if (uVar13 == 0) {\n    trap(7);\n  }\n  p_Var14 = ht->test_function;\n  pcVar12 = pcVar15 + uVar5 % uVar13;\n  while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n    while( true ) {\n      iVar6 = (*p_Var14)(key,pvVar11);\n      if (iVar6 != 0) {\n        if (pcVar8->key != (void *)0xffffffff) {\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      pcVar12 = pcVar15;\n      if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n      pcVar8 = pcVar8 + 1;\n      pvVar11 = pcVar8->key;\n      if (pvVar11 == (void *)0xffffffff) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if (ht->count < ht->resize_threshold) {\n    ht->count = ht->count + 1;\n  }\n  else {\n    p_Var7 = ht->hash_function;\n    uVar13 = ht->prime_offset;\n    pcVar15 = ht->cells;\n    iVar6 = ht->size << 1;\n    pcVar12 = pcVar15 + ht->size;\n    if (0x46 < uVar13) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar18 = *(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0);\n    if ((int)uVar18 < iVar6) {\n      uVar4 = uVar13 + 1;\n      puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0);\n      do {\n        uVar13 = uVar4;\n        if (uVar13 == 0x47) goto LAB_0002eedc;\n        uVar18 = *puVar10;\n        uVar4 = uVar13 + 1;\n        puVar10 = puVar10 + 1;\n      } while ((int)uVar18 < iVar6);\n    }\n    ht->prime_offset = uVar13 + 1;\n    dVar19 = *(double *)(puVar2 + -0xdb0);\n    ht->size = uVar18;\n    ht->resize_threshold = (int)((double)(int)uVar18 * dVar19);\n    pcVar8 = (cell *)(*(code *)puVar3)(uVar18 * 8);\n    (*(code *)PTR_memset_000afd94)(pcVar8,0xff,uVar18 * 8);\n    ht->cells = pcVar8;\n    if (pcVar15 < pcVar12) {\n      pcVar16 = pcVar15;\n      do {\n        while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }\n        pcVar16 = pcVar16 + 1;\n      } while (pcVar16 < pcVar12);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(pcVar15);\n    uVar13 = ht->size;\n    pcVar15 = ht->cells;\n    uVar5 = (*ht->hash_function)(key);\n    if (uVar13 == 0) {\n      trap(7);\n    }\n    p_Var14 = ht->test_function;\n    pcVar12 = pcVar15 + uVar5 % uVar13;\n    while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n      while( true ) {\n        iVar6 = (*p_Var14)(key,pvVar11);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        pcVar12 = pcVar15;\n        if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n        pcVar8 = pcVar8 + 1;\n        pvVar11 = pcVar8->key;\n        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    ht->count = ht->count + 1;\n  }\n  pcVar8->key = key;\n  pcVar8->value = value;\n  return;\n}\n\n" (function_definition "void hash_table_put(hash_table *ht,void *key,void *value)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  ulong uVar5;\n  int iVar6;\n  hashfun_t p_Var7;\n  cell *pcVar8;\n  cell *pcVar9;\n  uint *puVar10;\n  void *pvVar11;\n  cell *pcVar12;\n  uint uVar13;\n  testfun_t p_Var14;\n  cell *pcVar15;\n  cell *pcVar16;\n  cell *pcVar17;\n  uint uVar18;\n  double dVar19;\n  \n  uVar13 = ht->size;\n  pcVar15 = ht->cells;\n  uVar5 = (*ht->hash_function)(key);\n  if (uVar13 == 0) {\n    trap(7);\n  }\n  p_Var14 = ht->test_function;\n  pcVar12 = pcVar15 + uVar5 % uVar13;\n  while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n    while( true ) {\n      iVar6 = (*p_Var14)(key,pvVar11);\n      if (iVar6 != 0) {\n        if (pcVar8->key != (void *)0xffffffff) {\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      pcVar12 = pcVar15;\n      if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n      pcVar8 = pcVar8 + 1;\n      pvVar11 = pcVar8->key;\n      if (pvVar11 == (void *)0xffffffff) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if (ht->count < ht->resize_threshold) {\n    ht->count = ht->count + 1;\n  }\n  else {\n    p_Var7 = ht->hash_function;\n    uVar13 = ht->prime_offset;\n    pcVar15 = ht->cells;\n    iVar6 = ht->size << 1;\n    pcVar12 = pcVar15 + ht->size;\n    if (0x46 < uVar13) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar18 = *(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0);\n    if ((int)uVar18 < iVar6) {\n      uVar4 = uVar13 + 1;\n      puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0);\n      do {\n        uVar13 = uVar4;\n        if (uVar13 == 0x47) goto LAB_0002eedc;\n        uVar18 = *puVar10;\n        uVar4 = uVar13 + 1;\n        puVar10 = puVar10 + 1;\n      } while ((int)uVar18 < iVar6);\n    }\n    ht->prime_offset = uVar13 + 1;\n    dVar19 = *(double *)(puVar2 + -0xdb0);\n    ht->size = uVar18;\n    ht->resize_threshold = (int)((double)(int)uVar18 * dVar19);\n    pcVar8 = (cell *)(*(code *)puVar3)(uVar18 * 8);\n    (*(code *)PTR_memset_000afd94)(pcVar8,0xff,uVar18 * 8);\n    ht->cells = pcVar8;\n    if (pcVar15 < pcVar12) {\n      pcVar16 = pcVar15;\n      do {\n        while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }\n        pcVar16 = pcVar16 + 1;\n      } while (pcVar16 < pcVar12);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(pcVar15);\n    uVar13 = ht->size;\n    pcVar15 = ht->cells;\n    uVar5 = (*ht->hash_function)(key);\n    if (uVar13 == 0) {\n      trap(7);\n    }\n    p_Var14 = ht->test_function;\n    pcVar12 = pcVar15 + uVar5 % uVar13;\n    while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n      while( true ) {\n        iVar6 = (*p_Var14)(key,pvVar11);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        pcVar12 = pcVar15;\n        if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n        pcVar8 = pcVar8 + 1;\n        pvVar11 = pcVar8->key;\n        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    ht->count = ht->count + 1;\n  }\n  pcVar8->key = key;\n  pcVar8->value = value;\n  return;\n}" primitive_type (function_declarator "hash_table_put(hash_table *ht,void *key,void *value)" identifier (parameter_list "(hash_table *ht,void *key,void *value)" ( (parameter_declaration "hash_table *ht" type_identifier (pointer_declarator "*ht" * identifier)) , (parameter_declaration "void *key" primitive_type (pointer_declarator "*key" * identifier)) , (parameter_declaration "void *value" primitive_type (pointer_declarator "*value" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  ulong uVar5;\n  int iVar6;\n  hashfun_t p_Var7;\n  cell *pcVar8;\n  cell *pcVar9;\n  uint *puVar10;\n  void *pvVar11;\n  cell *pcVar12;\n  uint uVar13;\n  testfun_t p_Var14;\n  cell *pcVar15;\n  cell *pcVar16;\n  cell *pcVar17;\n  uint uVar18;\n  double dVar19;\n  \n  uVar13 = ht->size;\n  pcVar15 = ht->cells;\n  uVar5 = (*ht->hash_function)(key);\n  if (uVar13 == 0) {\n    trap(7);\n  }\n  p_Var14 = ht->test_function;\n  pcVar12 = pcVar15 + uVar5 % uVar13;\n  while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n    while( true ) {\n      iVar6 = (*p_Var14)(key,pvVar11);\n      if (iVar6 != 0) {\n        if (pcVar8->key != (void *)0xffffffff) {\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      pcVar12 = pcVar15;\n      if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n      pcVar8 = pcVar8 + 1;\n      pvVar11 = pcVar8->key;\n      if (pvVar11 == (void *)0xffffffff) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if (ht->count < ht->resize_threshold) {\n    ht->count = ht->count + 1;\n  }\n  else {\n    p_Var7 = ht->hash_function;\n    uVar13 = ht->prime_offset;\n    pcVar15 = ht->cells;\n    iVar6 = ht->size << 1;\n    pcVar12 = pcVar15 + ht->size;\n    if (0x46 < uVar13) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar18 = *(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0);\n    if ((int)uVar18 < iVar6) {\n      uVar4 = uVar13 + 1;\n      puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0);\n      do {\n        uVar13 = uVar4;\n        if (uVar13 == 0x47) goto LAB_0002eedc;\n        uVar18 = *puVar10;\n        uVar4 = uVar13 + 1;\n        puVar10 = puVar10 + 1;\n      } while ((int)uVar18 < iVar6);\n    }\n    ht->prime_offset = uVar13 + 1;\n    dVar19 = *(double *)(puVar2 + -0xdb0);\n    ht->size = uVar18;\n    ht->resize_threshold = (int)((double)(int)uVar18 * dVar19);\n    pcVar8 = (cell *)(*(code *)puVar3)(uVar18 * 8);\n    (*(code *)PTR_memset_000afd94)(pcVar8,0xff,uVar18 * 8);\n    ht->cells = pcVar8;\n    if (pcVar15 < pcVar12) {\n      pcVar16 = pcVar15;\n      do {\n        while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }\n        pcVar16 = pcVar16 + 1;\n      } while (pcVar16 < pcVar12);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(pcVar15);\n    uVar13 = ht->size;\n    pcVar15 = ht->cells;\n    uVar5 = (*ht->hash_function)(key);\n    if (uVar13 == 0) {\n      trap(7);\n    }\n    p_Var14 = ht->test_function;\n    pcVar12 = pcVar15 + uVar5 % uVar13;\n    while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n      while( true ) {\n        iVar6 = (*p_Var14)(key,pvVar11);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        pcVar12 = pcVar15;\n        if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n        pcVar8 = pcVar8 + 1;\n        pvVar11 = pcVar8->key;\n        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    ht->count = ht->count + 1;\n  }\n  pcVar8->key = key;\n  pcVar8->value = value;\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "hashfun_t p_Var7;" type_identifier identifier ;) (declaration "cell *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "cell *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "void *pvVar11;" primitive_type (pointer_declarator "*pvVar11" * identifier) ;) (declaration "cell *pcVar12;" type_identifier (pointer_declarator "*pcVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "testfun_t p_Var14;" type_identifier identifier ;) (declaration "cell *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "cell *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "cell *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (expression_statement "uVar13 = ht->size;" (assignment_expression "uVar13 = ht->size" identifier = (field_expression "ht->size" identifier -> field_identifier)) ;) (expression_statement "pcVar15 = ht->cells;" (assignment_expression "pcVar15 = ht->cells" identifier = (field_expression "ht->cells" identifier -> field_identifier)) ;) (expression_statement "uVar5 = (*ht->hash_function)(key);" (assignment_expression "uVar5 = (*ht->hash_function)(key)" identifier = (call_expression "(*ht->hash_function)(key)" (parenthesized_expression "(*ht->hash_function)" ( (pointer_expression "*ht->hash_function" * (field_expression "ht->hash_function" identifier -> field_identifier)) )) (argument_list "(key)" ( identifier )))) ;) (if_statement "if (uVar13 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(uVar13 == 0)" ( (binary_expression "uVar13 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "p_Var14 = ht->test_function;" (assignment_expression "p_Var14 = ht->test_function" identifier = (field_expression "ht->test_function" identifier -> field_identifier)) ;) (expression_statement "pcVar12 = pcVar15 + uVar5 % uVar13;" (assignment_expression "pcVar12 = pcVar15 + uVar5 % uVar13" identifier = (binary_expression "pcVar15 + uVar5 % uVar13" identifier + (binary_expression "uVar5 % uVar13" identifier % identifier))) ;) (while_statement "while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n    while( true ) {\n      iVar6 = (*p_Var14)(key,pvVar11);\n      if (iVar6 != 0) {\n        if (pcVar8->key != (void *)0xffffffff) {\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      pcVar12 = pcVar15;\n      if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n      pcVar8 = pcVar8 + 1;\n      pvVar11 = pcVar8->key;\n      if (pvVar11 == (void *)0xffffffff) goto LAB_0002ec48;\n    }\n  }" while (parenthesized_expression "(pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff)" ( (comma_expression "pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff" (assignment_expression "pvVar11 = pcVar12->key" identifier = (field_expression "pcVar12->key" identifier -> field_identifier)) , (comma_expression "pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff" (assignment_expression "pcVar8 = pcVar12" identifier = identifier) , (binary_expression "pvVar11 != (void *)0xffffffff" identifier != (cast_expression "(void *)0xffffffff" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)))) )) (compound_statement "{\n    while( true ) {\n      iVar6 = (*p_Var14)(key,pvVar11);\n      if (iVar6 != 0) {\n        if (pcVar8->key != (void *)0xffffffff) {\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      pcVar12 = pcVar15;\n      if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n      pcVar8 = pcVar8 + 1;\n      pvVar11 = pcVar8->key;\n      if (pvVar11 == (void *)0xffffffff) goto LAB_0002ec48;\n    }\n  }" { (while_statement "while( true ) {\n      iVar6 = (*p_Var14)(key,pvVar11);\n      if (iVar6 != 0) {\n        if (pcVar8->key != (void *)0xffffffff) {\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      pcVar12 = pcVar15;\n      if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n      pcVar8 = pcVar8 + 1;\n      pvVar11 = pcVar8->key;\n      if (pvVar11 == (void *)0xffffffff) goto LAB_0002ec48;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar6 = (*p_Var14)(key,pvVar11);\n      if (iVar6 != 0) {\n        if (pcVar8->key != (void *)0xffffffff) {\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      pcVar12 = pcVar15;\n      if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n      pcVar8 = pcVar8 + 1;\n      pvVar11 = pcVar8->key;\n      if (pvVar11 == (void *)0xffffffff) goto LAB_0002ec48;\n    }" { (expression_statement "iVar6 = (*p_Var14)(key,pvVar11);" (assignment_expression "iVar6 = (*p_Var14)(key,pvVar11)" identifier = (call_expression "(*p_Var14)(key,pvVar11)" (parenthesized_expression "(*p_Var14)" ( (pointer_expression "*p_Var14" * identifier) )) (argument_list "(key,pvVar11)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) {\n        if (pcVar8->key != (void *)0xffffffff) {\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }\n        goto LAB_0002ec48;\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        if (pcVar8->key != (void *)0xffffffff) {\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }\n        goto LAB_0002ec48;\n      }" { (if_statement "if (pcVar8->key != (void *)0xffffffff) {\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }" if (parenthesized_expression "(pcVar8->key != (void *)0xffffffff)" ( (binary_expression "pcVar8->key != (void *)0xffffffff" (field_expression "pcVar8->key" identifier -> field_identifier) != (cast_expression "(void *)0xffffffff" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar8->key = key;\n          pcVar8->value = value;\n          return;\n        }" { (expression_statement "pcVar8->key = key;" (assignment_expression "pcVar8->key = key" (field_expression "pcVar8->key" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar8->value = value;" (assignment_expression "pcVar8->value = value" (field_expression "pcVar8->value" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (goto_statement "goto LAB_0002ec48;" goto statement_identifier ;) })) (expression_statement "pcVar12 = pcVar15;" (assignment_expression "pcVar12 = pcVar15" identifier = identifier) ;) (if_statement "if (pcVar15 + (uVar13 - 1) == pcVar8) break;" if (parenthesized_expression "(pcVar15 + (uVar13 - 1) == pcVar8)" ( (binary_expression "pcVar15 + (uVar13 - 1) == pcVar8" (binary_expression "pcVar15 + (uVar13 - 1)" identifier + (parenthesized_expression "(uVar13 - 1)" ( (binary_expression "uVar13 - 1" identifier - number_literal) ))) == identifier) )) (break_statement "break;" break ;)) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "pvVar11 = pcVar8->key;" (assignment_expression "pvVar11 = pcVar8->key" identifier = (field_expression "pcVar8->key" identifier -> field_identifier)) ;) (if_statement "if (pvVar11 == (void *)0xffffffff) goto LAB_0002ec48;" if (parenthesized_expression "(pvVar11 == (void *)0xffffffff)" ( (binary_expression "pvVar11 == (void *)0xffffffff" identifier == (cast_expression "(void *)0xffffffff" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002ec48;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;" statement_identifier : (expression_statement "puVar3 = PTR_xmalloc_000af5c4;" (assignment_expression "puVar3 = PTR_xmalloc_000af5c4" identifier = identifier) ;)) (expression_statement "puVar2 = PTR_s_hallenge__000af46c;" (assignment_expression "puVar2 = PTR_s_hallenge__000af46c" identifier = identifier) ;) (if_statement "if (ht->count < ht->resize_threshold) {\n    ht->count = ht->count + 1;\n  }\n  else {\n    p_Var7 = ht->hash_function;\n    uVar13 = ht->prime_offset;\n    pcVar15 = ht->cells;\n    iVar6 = ht->size << 1;\n    pcVar12 = pcVar15 + ht->size;\n    if (0x46 < uVar13) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar18 = *(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0);\n    if ((int)uVar18 < iVar6) {\n      uVar4 = uVar13 + 1;\n      puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0);\n      do {\n        uVar13 = uVar4;\n        if (uVar13 == 0x47) goto LAB_0002eedc;\n        uVar18 = *puVar10;\n        uVar4 = uVar13 + 1;\n        puVar10 = puVar10 + 1;\n      } while ((int)uVar18 < iVar6);\n    }\n    ht->prime_offset = uVar13 + 1;\n    dVar19 = *(double *)(puVar2 + -0xdb0);\n    ht->size = uVar18;\n    ht->resize_threshold = (int)((double)(int)uVar18 * dVar19);\n    pcVar8 = (cell *)(*(code *)puVar3)(uVar18 * 8);\n    (*(code *)PTR_memset_000afd94)(pcVar8,0xff,uVar18 * 8);\n    ht->cells = pcVar8;\n    if (pcVar15 < pcVar12) {\n      pcVar16 = pcVar15;\n      do {\n        while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }\n        pcVar16 = pcVar16 + 1;\n      } while (pcVar16 < pcVar12);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(pcVar15);\n    uVar13 = ht->size;\n    pcVar15 = ht->cells;\n    uVar5 = (*ht->hash_function)(key);\n    if (uVar13 == 0) {\n      trap(7);\n    }\n    p_Var14 = ht->test_function;\n    pcVar12 = pcVar15 + uVar5 % uVar13;\n    while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n      while( true ) {\n        iVar6 = (*p_Var14)(key,pvVar11);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        pcVar12 = pcVar15;\n        if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n        pcVar8 = pcVar8 + 1;\n        pvVar11 = pcVar8->key;\n        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    ht->count = ht->count + 1;\n  }" if (parenthesized_expression "(ht->count < ht->resize_threshold)" ( (binary_expression "ht->count < ht->resize_threshold" (field_expression "ht->count" identifier -> field_identifier) < (field_expression "ht->resize_threshold" identifier -> field_identifier)) )) (compound_statement "{\n    ht->count = ht->count + 1;\n  }" { (expression_statement "ht->count = ht->count + 1;" (assignment_expression "ht->count = ht->count + 1" (field_expression "ht->count" identifier -> field_identifier) = (binary_expression "ht->count + 1" (field_expression "ht->count" identifier -> field_identifier) + number_literal)) ;) }) (else_clause "else {\n    p_Var7 = ht->hash_function;\n    uVar13 = ht->prime_offset;\n    pcVar15 = ht->cells;\n    iVar6 = ht->size << 1;\n    pcVar12 = pcVar15 + ht->size;\n    if (0x46 < uVar13) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar18 = *(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0);\n    if ((int)uVar18 < iVar6) {\n      uVar4 = uVar13 + 1;\n      puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0);\n      do {\n        uVar13 = uVar4;\n        if (uVar13 == 0x47) goto LAB_0002eedc;\n        uVar18 = *puVar10;\n        uVar4 = uVar13 + 1;\n        puVar10 = puVar10 + 1;\n      } while ((int)uVar18 < iVar6);\n    }\n    ht->prime_offset = uVar13 + 1;\n    dVar19 = *(double *)(puVar2 + -0xdb0);\n    ht->size = uVar18;\n    ht->resize_threshold = (int)((double)(int)uVar18 * dVar19);\n    pcVar8 = (cell *)(*(code *)puVar3)(uVar18 * 8);\n    (*(code *)PTR_memset_000afd94)(pcVar8,0xff,uVar18 * 8);\n    ht->cells = pcVar8;\n    if (pcVar15 < pcVar12) {\n      pcVar16 = pcVar15;\n      do {\n        while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }\n        pcVar16 = pcVar16 + 1;\n      } while (pcVar16 < pcVar12);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(pcVar15);\n    uVar13 = ht->size;\n    pcVar15 = ht->cells;\n    uVar5 = (*ht->hash_function)(key);\n    if (uVar13 == 0) {\n      trap(7);\n    }\n    p_Var14 = ht->test_function;\n    pcVar12 = pcVar15 + uVar5 % uVar13;\n    while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n      while( true ) {\n        iVar6 = (*p_Var14)(key,pvVar11);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        pcVar12 = pcVar15;\n        if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n        pcVar8 = pcVar8 + 1;\n        pvVar11 = pcVar8->key;\n        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    ht->count = ht->count + 1;\n  }" else (compound_statement "{\n    p_Var7 = ht->hash_function;\n    uVar13 = ht->prime_offset;\n    pcVar15 = ht->cells;\n    iVar6 = ht->size << 1;\n    pcVar12 = pcVar15 + ht->size;\n    if (0x46 < uVar13) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar18 = *(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0);\n    if ((int)uVar18 < iVar6) {\n      uVar4 = uVar13 + 1;\n      puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0);\n      do {\n        uVar13 = uVar4;\n        if (uVar13 == 0x47) goto LAB_0002eedc;\n        uVar18 = *puVar10;\n        uVar4 = uVar13 + 1;\n        puVar10 = puVar10 + 1;\n      } while ((int)uVar18 < iVar6);\n    }\n    ht->prime_offset = uVar13 + 1;\n    dVar19 = *(double *)(puVar2 + -0xdb0);\n    ht->size = uVar18;\n    ht->resize_threshold = (int)((double)(int)uVar18 * dVar19);\n    pcVar8 = (cell *)(*(code *)puVar3)(uVar18 * 8);\n    (*(code *)PTR_memset_000afd94)(pcVar8,0xff,uVar18 * 8);\n    ht->cells = pcVar8;\n    if (pcVar15 < pcVar12) {\n      pcVar16 = pcVar15;\n      do {\n        while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }\n        pcVar16 = pcVar16 + 1;\n      } while (pcVar16 < pcVar12);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(pcVar15);\n    uVar13 = ht->size;\n    pcVar15 = ht->cells;\n    uVar5 = (*ht->hash_function)(key);\n    if (uVar13 == 0) {\n      trap(7);\n    }\n    p_Var14 = ht->test_function;\n    pcVar12 = pcVar15 + uVar5 % uVar13;\n    while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n      while( true ) {\n        iVar6 = (*p_Var14)(key,pvVar11);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        pcVar12 = pcVar15;\n        if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n        pcVar8 = pcVar8 + 1;\n        pvVar11 = pcVar8->key;\n        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    ht->count = ht->count + 1;\n  }" { (expression_statement "p_Var7 = ht->hash_function;" (assignment_expression "p_Var7 = ht->hash_function" identifier = (field_expression "ht->hash_function" identifier -> field_identifier)) ;) (expression_statement "uVar13 = ht->prime_offset;" (assignment_expression "uVar13 = ht->prime_offset" identifier = (field_expression "ht->prime_offset" identifier -> field_identifier)) ;) (expression_statement "pcVar15 = ht->cells;" (assignment_expression "pcVar15 = ht->cells" identifier = (field_expression "ht->cells" identifier -> field_identifier)) ;) (expression_statement "iVar6 = ht->size << 1;" (assignment_expression "iVar6 = ht->size << 1" identifier = (binary_expression "ht->size << 1" (field_expression "ht->size" identifier -> field_identifier) << number_literal)) ;) (expression_statement "pcVar12 = pcVar15 + ht->size;" (assignment_expression "pcVar12 = pcVar15 + ht->size" identifier = (binary_expression "pcVar15 + ht->size" identifier + (field_expression "ht->size" identifier -> field_identifier))) ;) (if_statement "if (0x46 < uVar13) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }" if (parenthesized_expression "(0x46 < uVar13)" ( (binary_expression "0x46 < uVar13" number_literal < identifier) )) (compound_statement "{\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }" { (labeled_statement "LAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();" statement_identifier : (expression_statement "(*(code *)PTR_abort_000afe98)();" (call_expression "(*(code *)PTR_abort_000afe98)()" (parenthesized_expression "(*(code *)PTR_abort_000afe98)" ( (pointer_expression "*(code *)PTR_abort_000afe98" * (cast_expression "(code *)PTR_abort_000afe98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar18 = *(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0);" (assignment_expression "uVar18 = *(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0)" identifier = (pointer_expression "*(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0)" * (cast_expression "(uint *)(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0)" ( (binary_expression "PTR_s_hallenge__000af46c + uVar13 * 4 + -0xed0" (binary_expression "PTR_s_hallenge__000af46c + uVar13 * 4" identifier + (binary_expression "uVar13 * 4" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if ((int)uVar18 < iVar6) {\n      uVar4 = uVar13 + 1;\n      puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0);\n      do {\n        uVar13 = uVar4;\n        if (uVar13 == 0x47) goto LAB_0002eedc;\n        uVar18 = *puVar10;\n        uVar4 = uVar13 + 1;\n        puVar10 = puVar10 + 1;\n      } while ((int)uVar18 < iVar6);\n    }" if (parenthesized_expression "((int)uVar18 < iVar6)" ( (binary_expression "(int)uVar18 < iVar6" (cast_expression "(int)uVar18" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n      uVar4 = uVar13 + 1;\n      puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0);\n      do {\n        uVar13 = uVar4;\n        if (uVar13 == 0x47) goto LAB_0002eedc;\n        uVar18 = *puVar10;\n        uVar4 = uVar13 + 1;\n        puVar10 = puVar10 + 1;\n      } while ((int)uVar18 < iVar6);\n    }" { (expression_statement "uVar4 = uVar13 + 1;" (assignment_expression "uVar4 = uVar13 + 1" identifier = (binary_expression "uVar13 + 1" identifier + number_literal)) ;) (expression_statement "puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0);" (assignment_expression "puVar10 = (uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0)" identifier = (cast_expression "(uint *)(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0)" ( (binary_expression "PTR_s_hallenge__000af46c + (uVar13 + 1) * 4 + -0xed0" (binary_expression "PTR_s_hallenge__000af46c + (uVar13 + 1) * 4" identifier + (binary_expression "(uVar13 + 1) * 4" (parenthesized_expression "(uVar13 + 1)" ( (binary_expression "uVar13 + 1" identifier + number_literal) )) * number_literal)) + number_literal) )))) ;) (do_statement "do {\n        uVar13 = uVar4;\n        if (uVar13 == 0x47) goto LAB_0002eedc;\n        uVar18 = *puVar10;\n        uVar4 = uVar13 + 1;\n        puVar10 = puVar10 + 1;\n      } while ((int)uVar18 < iVar6);" do (compound_statement "{\n        uVar13 = uVar4;\n        if (uVar13 == 0x47) goto LAB_0002eedc;\n        uVar18 = *puVar10;\n        uVar4 = uVar13 + 1;\n        puVar10 = puVar10 + 1;\n      }" { (expression_statement "uVar13 = uVar4;" (assignment_expression "uVar13 = uVar4" identifier = identifier) ;) (if_statement "if (uVar13 == 0x47) goto LAB_0002eedc;" if (parenthesized_expression "(uVar13 == 0x47)" ( (binary_expression "uVar13 == 0x47" identifier == number_literal) )) (goto_statement "goto LAB_0002eedc;" goto statement_identifier ;)) (expression_statement "uVar18 = *puVar10;" (assignment_expression "uVar18 = *puVar10" identifier = (pointer_expression "*puVar10" * identifier)) ;) (expression_statement "uVar4 = uVar13 + 1;" (assignment_expression "uVar4 = uVar13 + 1" identifier = (binary_expression "uVar13 + 1" identifier + number_literal)) ;) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)uVar18 < iVar6)" ( (binary_expression "(int)uVar18 < iVar6" (cast_expression "(int)uVar18" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) (expression_statement "ht->prime_offset = uVar13 + 1;" (assignment_expression "ht->prime_offset = uVar13 + 1" (field_expression "ht->prime_offset" identifier -> field_identifier) = (binary_expression "uVar13 + 1" identifier + number_literal)) ;) (expression_statement "dVar19 = *(double *)(puVar2 + -0xdb0);" (assignment_expression "dVar19 = *(double *)(puVar2 + -0xdb0)" identifier = (pointer_expression "*(double *)(puVar2 + -0xdb0)" * (cast_expression "(double *)(puVar2 + -0xdb0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xdb0)" ( (binary_expression "puVar2 + -0xdb0" identifier + number_literal) ))))) ;) (expression_statement "ht->size = uVar18;" (assignment_expression "ht->size = uVar18" (field_expression "ht->size" identifier -> field_identifier) = identifier) ;) (expression_statement "ht->resize_threshold = (int)((double)(int)uVar18 * dVar19);" (assignment_expression "ht->resize_threshold = (int)((double)(int)uVar18 * dVar19)" (field_expression "ht->resize_threshold" identifier -> field_identifier) = (cast_expression "(int)((double)(int)uVar18 * dVar19)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((double)(int)uVar18 * dVar19)" ( (binary_expression "(double)(int)uVar18 * dVar19" (cast_expression "(double)(int)uVar18" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)uVar18" ( (type_descriptor "int" primitive_type) ) identifier)) * identifier) )))) ;) (expression_statement "pcVar8 = (cell *)(*(code *)puVar3)(uVar18 * 8);" (assignment_expression "pcVar8 = (cell *)(*(code *)puVar3)(uVar18 * 8)" identifier = (cast_expression "(cell *)(*(code *)puVar3)(uVar18 * 8)" ( (type_descriptor "cell *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(uVar18 * 8)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar18 * 8)" ( (binary_expression "uVar18 * 8" identifier * number_literal) ))))) ;) (expression_statement "(*(code *)PTR_memset_000afd94)(pcVar8,0xff,uVar18 * 8);" (call_expression "(*(code *)PTR_memset_000afd94)(pcVar8,0xff,uVar18 * 8)" (parenthesized_expression "(*(code *)PTR_memset_000afd94)" ( (pointer_expression "*(code *)PTR_memset_000afd94" * (cast_expression "(code *)PTR_memset_000afd94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar8,0xff,uVar18 * 8)" ( identifier , number_literal , (binary_expression "uVar18 * 8" identifier * number_literal) ))) ;) (expression_statement "ht->cells = pcVar8;" (assignment_expression "ht->cells = pcVar8" (field_expression "ht->cells" identifier -> field_identifier) = identifier) ;) (if_statement "if (pcVar15 < pcVar12) {\n      pcVar16 = pcVar15;\n      do {\n        while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }\n        pcVar16 = pcVar16 + 1;\n      } while (pcVar16 < pcVar12);\n    }" if (parenthesized_expression "(pcVar15 < pcVar12)" ( (binary_expression "pcVar15 < pcVar12" identifier < identifier) )) (compound_statement "{\n      pcVar16 = pcVar15;\n      do {\n        while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }\n        pcVar16 = pcVar16 + 1;\n      } while (pcVar16 < pcVar12);\n    }" { (expression_statement "pcVar16 = pcVar15;" (assignment_expression "pcVar16 = pcVar15" identifier = identifier) ;) (do_statement "do {\n        while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }\n        pcVar16 = pcVar16 + 1;\n      } while (pcVar16 < pcVar12);" do (compound_statement "{\n        while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }\n        pcVar16 = pcVar16 + 1;\n      }" { (while_statement "while (pcVar16->key != (void *)0xffffffff) {\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }" while (parenthesized_expression "(pcVar16->key != (void *)0xffffffff)" ( (binary_expression "pcVar16->key != (void *)0xffffffff" (field_expression "pcVar16->key" identifier -> field_identifier) != (cast_expression "(void *)0xffffffff" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar5 = (*p_Var7)(pcVar16->key);\n          if (uVar18 == 0) {\n            trap(7);\n          }\n          pcVar9 = pcVar8 + uVar5 % uVar18;\n          while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }\n          pcVar17 = pcVar16 + 1;\n          pvVar11 = pcVar16->value;\n          pcVar9->key = pcVar16->key;\n          pcVar9->value = pvVar11;\n          pcVar16 = pcVar17;\n          if (pcVar12 <= pcVar17) goto LAB_0002ee4c;\n        }" { (expression_statement "uVar5 = (*p_Var7)(pcVar16->key);" (assignment_expression "uVar5 = (*p_Var7)(pcVar16->key)" identifier = (call_expression "(*p_Var7)(pcVar16->key)" (parenthesized_expression "(*p_Var7)" ( (pointer_expression "*p_Var7" * identifier) )) (argument_list "(pcVar16->key)" ( (field_expression "pcVar16->key" identifier -> field_identifier) )))) ;) (if_statement "if (uVar18 == 0) {\n            trap(7);\n          }" if (parenthesized_expression "(uVar18 == 0)" ( (binary_expression "uVar18 == 0" identifier == number_literal) )) (compound_statement "{\n            trap(7);\n          }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "pcVar9 = pcVar8 + uVar5 % uVar18;" (assignment_expression "pcVar9 = pcVar8 + uVar5 % uVar18" identifier = (binary_expression "pcVar8 + uVar5 % uVar18" identifier + (binary_expression "uVar5 % uVar18" identifier % identifier))) ;) (while_statement "while (pcVar9->key != (void *)0xffffffff) {\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }" while (parenthesized_expression "(pcVar9->key != (void *)0xffffffff)" ( (binary_expression "pcVar9->key != (void *)0xffffffff" (field_expression "pcVar9->key" identifier -> field_identifier) != (cast_expression "(void *)0xffffffff" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;\n            pcVar9 = pcVar9 + 1;\n            if (bVar1) {\n              pcVar9 = pcVar8;\n            }\n          }" { (expression_statement "bVar1 = pcVar8 + (uVar18 - 1) == pcVar9;" (assignment_expression "bVar1 = pcVar8 + (uVar18 - 1) == pcVar9" identifier = (binary_expression "pcVar8 + (uVar18 - 1) == pcVar9" (binary_expression "pcVar8 + (uVar18 - 1)" identifier + (parenthesized_expression "(uVar18 - 1)" ( (binary_expression "uVar18 - 1" identifier - number_literal) ))) == identifier)) ;) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n              pcVar9 = pcVar8;\n            }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n              pcVar9 = pcVar8;\n            }" { (expression_statement "pcVar9 = pcVar8;" (assignment_expression "pcVar9 = pcVar8" identifier = identifier) ;) })) })) (expression_statement "pcVar17 = pcVar16 + 1;" (assignment_expression "pcVar17 = pcVar16 + 1" identifier = (binary_expression "pcVar16 + 1" identifier + number_literal)) ;) (expression_statement "pvVar11 = pcVar16->value;" (assignment_expression "pvVar11 = pcVar16->value" identifier = (field_expression "pcVar16->value" identifier -> field_identifier)) ;) (expression_statement "pcVar9->key = pcVar16->key;" (assignment_expression "pcVar9->key = pcVar16->key" (field_expression "pcVar9->key" identifier -> field_identifier) = (field_expression "pcVar16->key" identifier -> field_identifier)) ;) (expression_statement "pcVar9->value = pvVar11;" (assignment_expression "pcVar9->value = pvVar11" (field_expression "pcVar9->value" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar16 = pcVar17;" (assignment_expression "pcVar16 = pcVar17" identifier = identifier) ;) (if_statement "if (pcVar12 <= pcVar17) goto LAB_0002ee4c;" if (parenthesized_expression "(pcVar12 <= pcVar17)" ( (binary_expression "pcVar12 <= pcVar17" identifier <= identifier) )) (goto_statement "goto LAB_0002ee4c;" goto statement_identifier ;)) })) (expression_statement "pcVar16 = pcVar16 + 1;" (assignment_expression "pcVar16 = pcVar16 + 1" identifier = (binary_expression "pcVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar16 < pcVar12)" ( (binary_expression "pcVar16 < pcVar12" identifier < identifier) )) ;) })) (labeled_statement "LAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(pcVar15);" statement_identifier : (expression_statement "(*(code *)PTR_free_000afd08)(pcVar15);" (call_expression "(*(code *)PTR_free_000afd08)(pcVar15)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar15)" ( identifier ))) ;)) (expression_statement "uVar13 = ht->size;" (assignment_expression "uVar13 = ht->size" identifier = (field_expression "ht->size" identifier -> field_identifier)) ;) (expression_statement "pcVar15 = ht->cells;" (assignment_expression "pcVar15 = ht->cells" identifier = (field_expression "ht->cells" identifier -> field_identifier)) ;) (expression_statement "uVar5 = (*ht->hash_function)(key);" (assignment_expression "uVar5 = (*ht->hash_function)(key)" identifier = (call_expression "(*ht->hash_function)(key)" (parenthesized_expression "(*ht->hash_function)" ( (pointer_expression "*ht->hash_function" * (field_expression "ht->hash_function" identifier -> field_identifier)) )) (argument_list "(key)" ( identifier )))) ;) (if_statement "if (uVar13 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar13 == 0)" ( (binary_expression "uVar13 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "p_Var14 = ht->test_function;" (assignment_expression "p_Var14 = ht->test_function" identifier = (field_expression "ht->test_function" identifier -> field_identifier)) ;) (expression_statement "pcVar12 = pcVar15 + uVar5 % uVar13;" (assignment_expression "pcVar12 = pcVar15 + uVar5 % uVar13" identifier = (binary_expression "pcVar15 + uVar5 % uVar13" identifier + (binary_expression "uVar5 % uVar13" identifier % identifier))) ;) (while_statement "while (pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff) {\n      while( true ) {\n        iVar6 = (*p_Var14)(key,pvVar11);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        pcVar12 = pcVar15;\n        if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n        pcVar8 = pcVar8 + 1;\n        pvVar11 = pcVar8->key;\n        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;\n      }\n    }" while (parenthesized_expression "(pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff)" ( (comma_expression "pvVar11 = pcVar12->key, pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff" (assignment_expression "pvVar11 = pcVar12->key" identifier = (field_expression "pcVar12->key" identifier -> field_identifier)) , (comma_expression "pcVar8 = pcVar12, pvVar11 != (void *)0xffffffff" (assignment_expression "pcVar8 = pcVar12" identifier = identifier) , (binary_expression "pvVar11 != (void *)0xffffffff" identifier != (cast_expression "(void *)0xffffffff" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)))) )) (compound_statement "{\n      while( true ) {\n        iVar6 = (*p_Var14)(key,pvVar11);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        pcVar12 = pcVar15;\n        if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n        pcVar8 = pcVar8 + 1;\n        pvVar11 = pcVar8->key;\n        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;\n      }\n    }" { (while_statement "while( true ) {\n        iVar6 = (*p_Var14)(key,pvVar11);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        pcVar12 = pcVar15;\n        if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n        pcVar8 = pcVar8 + 1;\n        pvVar11 = pcVar8->key;\n        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar6 = (*p_Var14)(key,pvVar11);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        pcVar12 = pcVar15;\n        if (pcVar15 + (uVar13 - 1) == pcVar8) break;\n        pcVar8 = pcVar8 + 1;\n        pvVar11 = pcVar8->key;\n        if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;\n      }" { (expression_statement "iVar6 = (*p_Var14)(key,pvVar11);" (assignment_expression "iVar6 = (*p_Var14)(key,pvVar11)" identifier = (call_expression "(*p_Var14)(key,pvVar11)" (parenthesized_expression "(*p_Var14)" ( (pointer_expression "*p_Var14" * identifier) )) (argument_list "(key,pvVar11)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_0002eec4;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002eec4;" goto statement_identifier ;)) (expression_statement "pcVar12 = pcVar15;" (assignment_expression "pcVar12 = pcVar15" identifier = identifier) ;) (if_statement "if (pcVar15 + (uVar13 - 1) == pcVar8) break;" if (parenthesized_expression "(pcVar15 + (uVar13 - 1) == pcVar8)" ( (binary_expression "pcVar15 + (uVar13 - 1) == pcVar8" (binary_expression "pcVar15 + (uVar13 - 1)" identifier + (parenthesized_expression "(uVar13 - 1)" ( (binary_expression "uVar13 - 1" identifier - number_literal) ))) == identifier) )) (break_statement "break;" break ;)) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "pvVar11 = pcVar8->key;" (assignment_expression "pvVar11 = pcVar8->key" identifier = (field_expression "pcVar8->key" identifier -> field_identifier)) ;) (if_statement "if (pvVar11 == (void *)0xffffffff) goto LAB_0002eec4;" if (parenthesized_expression "(pvVar11 == (void *)0xffffffff)" ( (binary_expression "pvVar11 == (void *)0xffffffff" identifier == (cast_expression "(void *)0xffffffff" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0002eec4;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0002eec4:\n    ht->count = ht->count + 1;" statement_identifier : (expression_statement "ht->count = ht->count + 1;" (assignment_expression "ht->count = ht->count + 1" (field_expression "ht->count" identifier -> field_identifier) = (binary_expression "ht->count + 1" (field_expression "ht->count" identifier -> field_identifier) + number_literal)) ;)) }))) (expression_statement "pcVar8->key = key;" (assignment_expression "pcVar8->key = key" (field_expression "pcVar8->key" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar8->value = value;" (assignment_expression "pcVar8->value = value" (field_expression "pcVar8->value" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void hash_table_put(undefined4 *param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  uint *puVar9;\n  int *piVar10;\n  uint uVar11;\n  code *pcVar12;\n  int *piVar13;\n  int *piVar14;\n  int *piVar15;\n  double dVar16;\n  \n  uVar11 = param_1[3];\n  piVar13 = (int *)param_1[2];\n  uVar5 = (*(code *)*param_1)(param_2);\n  if (uVar11 == 0) {\n    trap(7);\n  }\n  pcVar12 = (code *)param_1[1];\n  piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n  while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }\n  *piVar7 = param_2;\n  piVar7[1] = param_3;\n  return;\n}\n\n" (function_definition "void hash_table_put(undefined4 *param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  uint *puVar9;\n  int *piVar10;\n  uint uVar11;\n  code *pcVar12;\n  int *piVar13;\n  int *piVar14;\n  int *piVar15;\n  double dVar16;\n  \n  uVar11 = param_1[3];\n  piVar13 = (int *)param_1[2];\n  uVar5 = (*(code *)*param_1)(param_2);\n  if (uVar11 == 0) {\n    trap(7);\n  }\n  pcVar12 = (code *)param_1[1];\n  piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n  while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }\n  *piVar7 = param_2;\n  piVar7[1] = param_3;\n  return;\n}" primitive_type (function_declarator "hash_table_put(undefined4 *param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  uint *puVar9;\n  int *piVar10;\n  uint uVar11;\n  code *pcVar12;\n  int *piVar13;\n  int *piVar14;\n  int *piVar15;\n  double dVar16;\n  \n  uVar11 = param_1[3];\n  piVar13 = (int *)param_1[2];\n  uVar5 = (*(code *)*param_1)(param_2);\n  if (uVar11 == 0) {\n    trap(7);\n  }\n  pcVar12 = (code *)param_1[1];\n  piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n  while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }\n  *piVar7 = param_2;\n  piVar7[1] = param_3;\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "code *pcVar12;" type_identifier (pointer_declarator "*pcVar12" * identifier) ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "double dVar16;" primitive_type identifier ;) (expression_statement "uVar11 = param_1[3];" (assignment_expression "uVar11 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "piVar13 = (int *)param_1[2];" (assignment_expression "piVar13 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar5 = (*(code *)*param_1)(param_2);" (assignment_expression "uVar5 = (*(code *)*param_1)(param_2)" identifier = (call_expression "(*(code *)*param_1)(param_2)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (uVar11 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "pcVar12 = (code *)param_1[1];" (assignment_expression "pcVar12 = (code *)param_1[1]" identifier = (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar10 = piVar13 + (uVar5 % uVar11) * 2;" (assignment_expression "piVar10 = piVar13 + (uVar5 % uVar11) * 2" identifier = (binary_expression "piVar13 + (uVar5 % uVar11) * 2" identifier + (binary_expression "(uVar5 % uVar11) * 2" (parenthesized_expression "(uVar5 % uVar11)" ( (binary_expression "uVar5 % uVar11" identifier % identifier) )) * number_literal))) ;) (while_statement "while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }" while (parenthesized_expression "(piVar7 = piVar10, *piVar10 != -1)" ( (comma_expression "piVar7 = piVar10, *piVar10 != -1" (assignment_expression "piVar7 = piVar10" identifier = identifier) , (binary_expression "*piVar10 != -1" (pointer_expression "*piVar10" * identifier) != number_literal)) )) (compound_statement "{\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }" { (while_statement "while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }" { (expression_statement "iVar6 = (*pcVar12)(param_2);" (assignment_expression "iVar6 = (*pcVar12)(param_2)" identifier = (call_expression "(*pcVar12)(param_2)" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }" { (if_statement "if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }" if (parenthesized_expression "(*piVar7 != -1)" ( (binary_expression "*piVar7 != -1" (pointer_expression "*piVar7" * identifier) != number_literal) )) (compound_statement "{\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }" { (expression_statement "*piVar7 = param_2;" (assignment_expression "*piVar7 = param_2" (pointer_expression "*piVar7" * identifier) = identifier) ;) (expression_statement "piVar7[1] = param_3;" (assignment_expression "piVar7[1] = param_3" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (goto_statement "goto LAB_0002ec48;" goto statement_identifier ;) })) (expression_statement "piVar10 = piVar13;" (assignment_expression "piVar10 = piVar13" identifier = identifier) ;) (if_statement "if (piVar13 + uVar11 * 2 + -2 == piVar7) break;" if (parenthesized_expression "(piVar13 + uVar11 * 2 + -2 == piVar7)" ( (binary_expression "piVar13 + uVar11 * 2 + -2 == piVar7" (binary_expression "piVar13 + uVar11 * 2 + -2" (binary_expression "piVar13 + uVar11 * 2" identifier + (binary_expression "uVar11 * 2" identifier * number_literal)) + number_literal) == identifier) )) (break_statement "break;" break ;)) (expression_statement "piVar7 = piVar7 + 2;" (assignment_expression "piVar7 = piVar7 + 2" identifier = (binary_expression "piVar7 + 2" identifier + number_literal)) ;) (if_statement "if (*piVar7 == -1) goto LAB_0002ec48;" if (parenthesized_expression "(*piVar7 == -1)" ( (binary_expression "*piVar7 == -1" (pointer_expression "*piVar7" * identifier) == number_literal) )) (goto_statement "goto LAB_0002ec48;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;" statement_identifier : (expression_statement "puVar3 = PTR_xmalloc_000af5c4;" (assignment_expression "puVar3 = PTR_xmalloc_000af5c4" identifier = identifier) ;)) (expression_statement "puVar2 = PTR_s_hallenge__000af46c;" (assignment_expression "puVar2 = PTR_s_hallenge__000af46c" identifier = identifier) ;) (if_statement "if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }" if (parenthesized_expression "((int)param_1[4] < (int)param_1[5])" ( (binary_expression "(int)param_1[4] < (int)param_1[5]" (cast_expression "(int)param_1[4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[4]" identifier [ number_literal ])) < (cast_expression "(int)param_1[5]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) )) (compound_statement "{\n    param_1[4] = param_1[4] + 1;\n  }" { (expression_statement "param_1[4] = param_1[4] + 1;" (assignment_expression "param_1[4] = param_1[4] + 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "param_1[4] + 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) + number_literal)) ;) }) (else_clause "else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }" else (compound_statement "{\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }" { (expression_statement "pcVar12 = (code *)*param_1;" (assignment_expression "pcVar12 = (code *)*param_1" identifier = (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar5 = param_1[6];" (assignment_expression "uVar5 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "piVar13 = (int *)param_1[2];" (assignment_expression "piVar13 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = param_1[3] << 1;" (assignment_expression "iVar6 = param_1[3] << 1" identifier = (binary_expression "param_1[3] << 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) << number_literal)) ;) (expression_statement "piVar10 = piVar13 + param_1[3] * 2;" (assignment_expression "piVar10 = piVar13 + param_1[3] * 2" identifier = (binary_expression "piVar13 + param_1[3] * 2" identifier + (binary_expression "param_1[3] * 2" (subscript_expression "param_1[3]" identifier [ number_literal ]) * number_literal))) ;) (if_statement "if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }" if (parenthesized_expression "(0x46 < uVar5)" ( (binary_expression "0x46 < uVar5" number_literal < identifier) )) (compound_statement "{\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }" { (labeled_statement "LAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();" statement_identifier : (expression_statement "(*(code *)PTR_abort_000afe98)();" (call_expression "(*(code *)PTR_abort_000afe98)()" (parenthesized_expression "(*(code *)PTR_abort_000afe98)" ( (pointer_expression "*(code *)PTR_abort_000afe98" * (cast_expression "(code *)PTR_abort_000afe98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);" (assignment_expression "uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" identifier = (pointer_expression "*(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" * (cast_expression "(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" ( (binary_expression "PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0" (binary_expression "PTR_s_hallenge__000af46c + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }" if (parenthesized_expression "((int)uVar11 < iVar6)" ( (binary_expression "(int)uVar11 < iVar6" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }" { (expression_statement "uVar4 = uVar5 + 1;" (assignment_expression "uVar4 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);" (assignment_expression "puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0)" identifier = (cast_expression "(uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0)" ( (binary_expression "PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0" (binary_expression "PTR_s_hallenge__000af46c + (uVar5 + 1) * 4" identifier + (binary_expression "(uVar5 + 1) * 4" (parenthesized_expression "(uVar5 + 1)" ( (binary_expression "uVar5 + 1" identifier + number_literal) )) * number_literal)) + number_literal) )))) ;) (do_statement "do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);" do (compound_statement "{\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      }" { (expression_statement "uVar5 = uVar4;" (assignment_expression "uVar5 = uVar4" identifier = identifier) ;) (if_statement "if (uVar5 == 0x47) goto LAB_0002eedc;" if (parenthesized_expression "(uVar5 == 0x47)" ( (binary_expression "uVar5 == 0x47" identifier == number_literal) )) (goto_statement "goto LAB_0002eedc;" goto statement_identifier ;)) (expression_statement "uVar11 = *puVar9;" (assignment_expression "uVar11 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "uVar4 = uVar5 + 1;" (assignment_expression "uVar4 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)uVar11 < iVar6)" ( (binary_expression "(int)uVar11 < iVar6" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) (expression_statement "param_1[6] = uVar5 + 1;" (assignment_expression "param_1[6] = uVar5 + 1" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "dVar16 = *(double *)(puVar2 + -0xdb0);" (assignment_expression "dVar16 = *(double *)(puVar2 + -0xdb0)" identifier = (pointer_expression "*(double *)(puVar2 + -0xdb0)" * (cast_expression "(double *)(puVar2 + -0xdb0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xdb0)" ( (binary_expression "puVar2 + -0xdb0" identifier + number_literal) ))))) ;) (expression_statement "param_1[3] = uVar11;" (assignment_expression "param_1[3] = uVar11" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = (int)((double)(int)uVar11 * dVar16);" (assignment_expression "param_1[5] = (int)((double)(int)uVar11 * dVar16)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (cast_expression "(int)((double)(int)uVar11 * dVar16)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((double)(int)uVar11 * dVar16)" ( (binary_expression "(double)(int)uVar11 * dVar16" (cast_expression "(double)(int)uVar11" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) * identifier) )))) ;) (expression_statement "piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);" (assignment_expression "piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8)" identifier = (cast_expression "(int *)(*(code *)puVar3)(uVar11 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar3)(uVar11 * 8)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar11 * 8)" ( (binary_expression "uVar11 * 8" identifier * number_literal) ))))) ;) (expression_statement "(*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);" (call_expression "(*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8)" (parenthesized_expression "(*(code *)PTR_memset_000afd94)" ( (pointer_expression "*(code *)PTR_memset_000afd94" * (cast_expression "(code *)PTR_memset_000afd94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7,0xff,uVar11 * 8)" ( identifier , number_literal , (binary_expression "uVar11 * 8" identifier * number_literal) ))) ;) (expression_statement "param_1[2] = piVar7;" (assignment_expression "param_1[2] = piVar7" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }" if (parenthesized_expression "(piVar13 < piVar10)" ( (binary_expression "piVar13 < piVar10" identifier < identifier) )) (compound_statement "{\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }" { (expression_statement "piVar14 = piVar13;" (assignment_expression "piVar14 = piVar13" identifier = identifier) ;) (do_statement "do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);" do (compound_statement "{\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      }" { (while_statement "while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }" while (parenthesized_expression "(*piVar14 != -1)" ( (binary_expression "*piVar14 != -1" (pointer_expression "*piVar14" * identifier) != number_literal) )) (compound_statement "{\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }" { (expression_statement "uVar5 = (*pcVar12)();" (assignment_expression "uVar5 = (*pcVar12)()" identifier = (call_expression "(*pcVar12)()" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (uVar11 == 0) {\n            trap(7);\n          }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n            trap(7);\n          }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "piVar8 = piVar7 + (uVar5 % uVar11) * 2;" (assignment_expression "piVar8 = piVar7 + (uVar5 % uVar11) * 2" identifier = (binary_expression "piVar7 + (uVar5 % uVar11) * 2" identifier + (binary_expression "(uVar5 % uVar11) * 2" (parenthesized_expression "(uVar5 % uVar11)" ( (binary_expression "uVar5 % uVar11" identifier % identifier) )) * number_literal))) ;) (while_statement "while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }" while (parenthesized_expression "(*piVar8 != -1)" ( (binary_expression "*piVar8 != -1" (pointer_expression "*piVar8" * identifier) != number_literal) )) (compound_statement "{\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }" { (expression_statement "bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;" (assignment_expression "bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8" identifier = (binary_expression "piVar7 + uVar11 * 2 + -2 == piVar8" (binary_expression "piVar7 + uVar11 * 2 + -2" (binary_expression "piVar7 + uVar11 * 2" identifier + (binary_expression "uVar11 * 2" identifier * number_literal)) + number_literal) == identifier)) ;) (expression_statement "piVar8 = piVar8 + 2;" (assignment_expression "piVar8 = piVar8 + 2" identifier = (binary_expression "piVar8 + 2" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n              piVar8 = piVar7;\n            }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n              piVar8 = piVar7;\n            }" { (expression_statement "piVar8 = piVar7;" (assignment_expression "piVar8 = piVar7" identifier = identifier) ;) })) })) (expression_statement "piVar15 = piVar14 + 2;" (assignment_expression "piVar15 = piVar14 + 2" identifier = (binary_expression "piVar14 + 2" identifier + number_literal)) ;) (expression_statement "iVar6 = piVar14[1];" (assignment_expression "iVar6 = piVar14[1]" identifier = (subscript_expression "piVar14[1]" identifier [ number_literal ])) ;) (expression_statement "*piVar8 = *piVar14;" (assignment_expression "*piVar8 = *piVar14" (pointer_expression "*piVar8" * identifier) = (pointer_expression "*piVar14" * identifier)) ;) (expression_statement "piVar8[1] = iVar6;" (assignment_expression "piVar8[1] = iVar6" (subscript_expression "piVar8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar14 = piVar15;" (assignment_expression "piVar14 = piVar15" identifier = identifier) ;) (if_statement "if (piVar10 <= piVar15) goto LAB_0002ee4c;" if (parenthesized_expression "(piVar10 <= piVar15)" ( (binary_expression "piVar10 <= piVar15" identifier <= identifier) )) (goto_statement "goto LAB_0002ee4c;" goto statement_identifier ;)) })) (expression_statement "piVar14 = piVar14 + 2;" (assignment_expression "piVar14 = piVar14 + 2" identifier = (binary_expression "piVar14 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar14 < piVar10)" ( (binary_expression "piVar14 < piVar10" identifier < identifier) )) ;) })) (labeled_statement "LAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);" statement_identifier : (expression_statement "(*(code *)PTR_free_000afd08)(piVar13);" (call_expression "(*(code *)PTR_free_000afd08)(piVar13)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar13)" ( identifier ))) ;)) (expression_statement "uVar11 = param_1[3];" (assignment_expression "uVar11 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "piVar13 = (int *)param_1[2];" (assignment_expression "piVar13 = (int *)param_1[2]" identifier = (cast_expression "(int *)param_1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar5 = (*(code *)*param_1)(param_2);" (assignment_expression "uVar5 = (*(code *)*param_1)(param_2)" identifier = (call_expression "(*(code *)*param_1)(param_2)" (parenthesized_expression "(*(code *)*param_1)" ( (pointer_expression "*(code *)*param_1" * (cast_expression "(code *)*param_1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (uVar11 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "pcVar12 = (code *)param_1[1];" (assignment_expression "pcVar12 = (code *)param_1[1]" identifier = (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar10 = piVar13 + (uVar5 % uVar11) * 2;" (assignment_expression "piVar10 = piVar13 + (uVar5 % uVar11) * 2" identifier = (binary_expression "piVar13 + (uVar5 % uVar11) * 2" identifier + (binary_expression "(uVar5 % uVar11) * 2" (parenthesized_expression "(uVar5 % uVar11)" ( (binary_expression "uVar5 % uVar11" identifier % identifier) )) * number_literal))) ;) (while_statement "while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }" while (parenthesized_expression "(piVar7 = piVar10, *piVar10 != -1)" ( (comma_expression "piVar7 = piVar10, *piVar10 != -1" (assignment_expression "piVar7 = piVar10" identifier = identifier) , (binary_expression "*piVar10 != -1" (pointer_expression "*piVar10" * identifier) != number_literal)) )) (compound_statement "{\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }" { (while_statement "while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }" { (expression_statement "iVar6 = (*pcVar12)(param_2);" (assignment_expression "iVar6 = (*pcVar12)(param_2)" identifier = (call_expression "(*pcVar12)(param_2)" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_0002eec4;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0002eec4;" goto statement_identifier ;)) (expression_statement "piVar10 = piVar13;" (assignment_expression "piVar10 = piVar13" identifier = identifier) ;) (if_statement "if (piVar13 + uVar11 * 2 + -2 == piVar7) break;" if (parenthesized_expression "(piVar13 + uVar11 * 2 + -2 == piVar7)" ( (binary_expression "piVar13 + uVar11 * 2 + -2 == piVar7" (binary_expression "piVar13 + uVar11 * 2 + -2" (binary_expression "piVar13 + uVar11 * 2" identifier + (binary_expression "uVar11 * 2" identifier * number_literal)) + number_literal) == identifier) )) (break_statement "break;" break ;)) (expression_statement "piVar7 = piVar7 + 2;" (assignment_expression "piVar7 = piVar7 + 2" identifier = (binary_expression "piVar7 + 2" identifier + number_literal)) ;) (if_statement "if (*piVar7 == -1) goto LAB_0002eec4;" if (parenthesized_expression "(*piVar7 == -1)" ( (binary_expression "*piVar7 == -1" (pointer_expression "*piVar7" * identifier) == number_literal) )) (goto_statement "goto LAB_0002eec4;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0002eec4:\n    param_1[4] = param_1[4] + 1;" statement_identifier : (expression_statement "param_1[4] = param_1[4] + 1;" (assignment_expression "param_1[4] = param_1[4] + 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "param_1[4] + 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) + number_literal)) ;)) }))) (expression_statement "*piVar7 = param_2;" (assignment_expression "*piVar7 = param_2" (pointer_expression "*piVar7" * identifier) = identifier) ;) (expression_statement "piVar7[1] = param_3;" (assignment_expression "piVar7[1] = param_3" (subscript_expression "piVar7[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT % IDENT) )) * LIT))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (pointer_expression * IDENT) != LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;)) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (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)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) * IDENT) )))) ;) (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 ( (binary_expression IDENT * LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression IDENT * LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT % IDENT) )) * LIT))) ;) (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) == IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT % IDENT) )) * LIT))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (pointer_expression * IDENT) != LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;)) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void hash_table_put(undefined4 *param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  uint *puVar9;\n  int *piVar10;\n  uint uVar11;\n  code *pcVar12;\n  int *piVar13;\n  int *piVar14;\n  int *piVar15;\n  double dVar16;\n  \n  uVar11 = param_1[3];\n  piVar13 = (int *)param_1[2];\n  uVar5 = (*(code *)*param_1)(param_2);\n  if (uVar11 == 0) {\n    trap(7);\n  }\n  pcVar12 = (code *)param_1[1];\n  piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n  while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }\n  *piVar7 = param_2;\n  piVar7[1] = param_3;\n  return;\n}" (primitive_type "void") (function_declarator "hash_table_put(undefined4 *param_1,int param_2,int param_3)" (identifier "hash_table_put") (parameter_list "(undefined4 *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  uint uVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  uint *puVar9;\n  int *piVar10;\n  uint uVar11;\n  code *pcVar12;\n  int *piVar13;\n  int *piVar14;\n  int *piVar15;\n  double dVar16;\n  \n  uVar11 = param_1[3];\n  piVar13 = (int *)param_1[2];\n  uVar5 = (*(code *)*param_1)(param_2);\n  if (uVar11 == 0) {\n    trap(7);\n  }\n  pcVar12 = (code *)param_1[1];\n  piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n  while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }\nLAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;\n  puVar2 = PTR_s_hallenge__000af46c;\n  if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }\n  *piVar7 = param_2;\n  piVar7[1] = param_3;\n  return;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "uint *puVar9;" (type_identifier "uint") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "code *pcVar12;" (type_identifier "code") (pointer_declarator "*pcVar12" (* "*") (identifier "pcVar12")) (; ";")) (declaration "int *piVar13;" (primitive_type "int") (pointer_declarator "*piVar13" (* "*") (identifier "piVar13")) (; ";")) (declaration "int *piVar14;" (primitive_type "int") (pointer_declarator "*piVar14" (* "*") (identifier "piVar14")) (; ";")) (declaration "int *piVar15;" (primitive_type "int") (pointer_declarator "*piVar15" (* "*") (identifier "piVar15")) (; ";")) (declaration "double dVar16;" (primitive_type "double") (identifier "dVar16") (; ";")) (expression_statement "uVar11 = param_1[3];" (assignment_expression "uVar11 = param_1[3]" (identifier "uVar11") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "piVar13 = (int *)param_1[2];" (assignment_expression "piVar13 = (int *)param_1[2]" (identifier "piVar13") (= "=") (cast_expression "(int *)param_1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "uVar5 = (*(code *)*param_1)(param_2);" (assignment_expression "uVar5 = (*(code *)*param_1)(param_2)" (identifier "uVar5") (= "=") (call_expression "(*(code *)*param_1)(param_2)" (parenthesized_expression "(*(code *)*param_1)" (( "(") (pointer_expression "*(code *)*param_1" (* "*") (cast_expression "(code *)*param_1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (uVar11 == 0) {\n    trap(7);\n  }" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    trap(7);\n  }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar12 = (code *)param_1[1];" (assignment_expression "pcVar12 = (code *)param_1[1]" (identifier "pcVar12") (= "=") (cast_expression "(code *)param_1[1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "piVar10 = piVar13 + (uVar5 % uVar11) * 2;" (assignment_expression "piVar10 = piVar13 + (uVar5 % uVar11) * 2" (identifier "piVar10") (= "=") (binary_expression "piVar13 + (uVar5 % uVar11) * 2" (identifier "piVar13") (+ "+") (binary_expression "(uVar5 % uVar11) * 2" (parenthesized_expression "(uVar5 % uVar11)" (( "(") (binary_expression "uVar5 % uVar11" (identifier "uVar5") (% "%") (identifier "uVar11")) () ")")) (* "*") (number_literal "2")))) (; ";")) (while_statement "while (piVar7 = piVar10, *piVar10 != -1) {\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }" (while "while") (parenthesized_expression "(piVar7 = piVar10, *piVar10 != -1)" (( "(") (comma_expression "piVar7 = piVar10, *piVar10 != -1" (assignment_expression "piVar7 = piVar10" (identifier "piVar7") (= "=") (identifier "piVar10")) (, ",") (binary_expression "*piVar10 != -1" (pointer_expression "*piVar10" (* "*") (identifier "piVar10")) (!= "!=") (number_literal "-1"))) () ")")) (compound_statement "{\n    while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar6 = (*pcVar12)(param_2);\n      if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }\n      piVar10 = piVar13;\n      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n      piVar7 = piVar7 + 2;\n      if (*piVar7 == -1) goto LAB_0002ec48;\n    }" ({ "{") (expression_statement "iVar6 = (*pcVar12)(param_2);" (assignment_expression "iVar6 = (*pcVar12)(param_2)" (identifier "iVar6") (= "=") (call_expression "(*pcVar12)(param_2)" (parenthesized_expression "(*pcVar12)" (( "(") (pointer_expression "*pcVar12" (* "*") (identifier "pcVar12")) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }\n        goto LAB_0002ec48;\n      }" ({ "{") (if_statement "if (*piVar7 != -1) {\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }" (if "if") (parenthesized_expression "(*piVar7 != -1)" (( "(") (binary_expression "*piVar7 != -1" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          *piVar7 = param_2;\n          piVar7[1] = param_3;\n          return;\n        }" ({ "{") (expression_statement "*piVar7 = param_2;" (assignment_expression "*piVar7 = param_2" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "piVar7[1] = param_3;" (assignment_expression "piVar7[1] = param_3" (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (goto_statement "goto LAB_0002ec48;" (goto "goto") (statement_identifier "LAB_0002ec48") (; ";")) (} "}"))) (expression_statement "piVar10 = piVar13;" (assignment_expression "piVar10 = piVar13" (identifier "piVar10") (= "=") (identifier "piVar13")) (; ";")) (if_statement "if (piVar13 + uVar11 * 2 + -2 == piVar7) break;" (if "if") (parenthesized_expression "(piVar13 + uVar11 * 2 + -2 == piVar7)" (( "(") (binary_expression "piVar13 + uVar11 * 2 + -2 == piVar7" (binary_expression "piVar13 + uVar11 * 2 + -2" (binary_expression "piVar13 + uVar11 * 2" (identifier "piVar13") (+ "+") (binary_expression "uVar11 * 2" (identifier "uVar11") (* "*") (number_literal "2"))) (+ "+") (number_literal "-2")) (== "==") (identifier "piVar7")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar7 = piVar7 + 2;" (assignment_expression "piVar7 = piVar7 + 2" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (*piVar7 == -1) goto LAB_0002ec48;" (if "if") (parenthesized_expression "(*piVar7 == -1)" (( "(") (binary_expression "*piVar7 == -1" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0002ec48;" (goto "goto") (statement_identifier "LAB_0002ec48") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_0002ec48:\n  puVar3 = PTR_xmalloc_000af5c4;" (statement_identifier "LAB_0002ec48") (: ":") (expression_statement "puVar3 = PTR_xmalloc_000af5c4;" (assignment_expression "puVar3 = PTR_xmalloc_000af5c4" (identifier "puVar3") (= "=") (identifier "PTR_xmalloc_000af5c4")) (; ";"))) (expression_statement "puVar2 = PTR_s_hallenge__000af46c;" (assignment_expression "puVar2 = PTR_s_hallenge__000af46c" (identifier "puVar2") (= "=") (identifier "PTR_s_hallenge__000af46c")) (; ";")) (if_statement "if ((int)param_1[4] < (int)param_1[5]) {\n    param_1[4] = param_1[4] + 1;\n  }\n  else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }" (if "if") (parenthesized_expression "((int)param_1[4] < (int)param_1[5])" (( "(") (binary_expression "(int)param_1[4] < (int)param_1[5]" (cast_expression "(int)param_1[4]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (< "<") (cast_expression "(int)param_1[5]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) () ")")) (compound_statement "{\n    param_1[4] = param_1[4] + 1;\n  }" ({ "{") (expression_statement "param_1[4] = param_1[4] + 1;" (assignment_expression "param_1[4] = param_1[4] + 1" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "param_1[4] + 1" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }" (else "else") (compound_statement "{\n    pcVar12 = (code *)*param_1;\n    uVar5 = param_1[6];\n    piVar13 = (int *)param_1[2];\n    iVar6 = param_1[3] << 1;\n    piVar10 = piVar13 + param_1[3] * 2;\n    if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }\n    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);\n    if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }\n    param_1[6] = uVar5 + 1;\n    dVar16 = *(double *)(puVar2 + -0xdb0);\n    param_1[3] = uVar11;\n    param_1[5] = (int)((double)(int)uVar11 * dVar16);\n    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);\n    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);\n    param_1[2] = piVar7;\n    if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }\nLAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);\n    uVar11 = param_1[3];\n    piVar13 = (int *)param_1[2];\n    uVar5 = (*(code *)*param_1)(param_2);\n    if (uVar11 == 0) {\n      trap(7);\n    }\n    pcVar12 = (code *)param_1[1];\n    piVar10 = piVar13 + (uVar5 % uVar11) * 2;\n    while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }\nLAB_0002eec4:\n    param_1[4] = param_1[4] + 1;\n  }" ({ "{") (expression_statement "pcVar12 = (code *)*param_1;" (assignment_expression "pcVar12 = (code *)*param_1" (identifier "pcVar12") (= "=") (cast_expression "(code *)*param_1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "uVar5 = param_1[6];" (assignment_expression "uVar5 = param_1[6]" (identifier "uVar5") (= "=") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "piVar13 = (int *)param_1[2];" (assignment_expression "piVar13 = (int *)param_1[2]" (identifier "piVar13") (= "=") (cast_expression "(int *)param_1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar6 = param_1[3] << 1;" (assignment_expression "iVar6 = param_1[3] << 1" (identifier "iVar6") (= "=") (binary_expression "param_1[3] << 1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (<< "<<") (number_literal "1"))) (; ";")) (expression_statement "piVar10 = piVar13 + param_1[3] * 2;" (assignment_expression "piVar10 = piVar13 + param_1[3] * 2" (identifier "piVar10") (= "=") (binary_expression "piVar13 + param_1[3] * 2" (identifier "piVar13") (+ "+") (binary_expression "param_1[3] * 2" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (* "*") (number_literal "2")))) (; ";")) (if_statement "if (0x46 < uVar5) {\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }" (if "if") (parenthesized_expression "(0x46 < uVar5)" (( "(") (binary_expression "0x46 < uVar5" (number_literal "0x46") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\nLAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();\n      return;\n    }" ({ "{") (labeled_statement "LAB_0002eedc:\n      (*(code *)PTR_abort_000afe98)();" (statement_identifier "LAB_0002eedc") (: ":") (expression_statement "(*(code *)PTR_abort_000afe98)();" (call_expression "(*(code *)PTR_abort_000afe98)()" (parenthesized_expression "(*(code *)PTR_abort_000afe98)" (( "(") (pointer_expression "*(code *)PTR_abort_000afe98" (* "*") (cast_expression "(code *)PTR_abort_000afe98" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_abort_000afe98"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);" (assignment_expression "uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" (identifier "uVar11") (= "=") (pointer_expression "*(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" (* "*") (cast_expression "(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0)" (( "(") (binary_expression "PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0" (binary_expression "PTR_s_hallenge__000af46c + uVar5 * 4" (identifier "PTR_s_hallenge__000af46c") (+ "+") (binary_expression "uVar5 * 4" (identifier "uVar5") (* "*") (number_literal "4"))) (+ "+") (number_literal "-0xed0")) () ")"))))) (; ";")) (if_statement "if ((int)uVar11 < iVar6) {\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }" (if "if") (parenthesized_expression "((int)uVar11 < iVar6)" (( "(") (binary_expression "(int)uVar11 < iVar6" (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11")) (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n      uVar4 = uVar5 + 1;\n      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);\n      do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);\n    }" ({ "{") (expression_statement "uVar4 = uVar5 + 1;" (assignment_expression "uVar4 = uVar5 + 1" (identifier "uVar4") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);" (assignment_expression "puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0)" (identifier "puVar9") (= "=") (cast_expression "(uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0)" (( "(") (binary_expression "PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0" (binary_expression "PTR_s_hallenge__000af46c + (uVar5 + 1) * 4" (identifier "PTR_s_hallenge__000af46c") (+ "+") (binary_expression "(uVar5 + 1) * 4" (parenthesized_expression "(uVar5 + 1)" (( "(") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) (+ "+") (number_literal "-0xed0")) () ")")))) (; ";")) (do_statement "do {\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      } while ((int)uVar11 < iVar6);" (do "do") (compound_statement "{\n        uVar5 = uVar4;\n        if (uVar5 == 0x47) goto LAB_0002eedc;\n        uVar11 = *puVar9;\n        uVar4 = uVar5 + 1;\n        puVar9 = puVar9 + 1;\n      }" ({ "{") (expression_statement "uVar5 = uVar4;" (assignment_expression "uVar5 = uVar4" (identifier "uVar5") (= "=") (identifier "uVar4")) (; ";")) (if_statement "if (uVar5 == 0x47) goto LAB_0002eedc;" (if "if") (parenthesized_expression "(uVar5 == 0x47)" (( "(") (binary_expression "uVar5 == 0x47" (identifier "uVar5") (== "==") (number_literal "0x47")) () ")")) (goto_statement "goto LAB_0002eedc;" (goto "goto") (statement_identifier "LAB_0002eedc") (; ";"))) (expression_statement "uVar11 = *puVar9;" (assignment_expression "uVar11 = *puVar9" (identifier "uVar11") (= "=") (pointer_expression "*puVar9" (* "*") (identifier "puVar9"))) (; ";")) (expression_statement "uVar4 = uVar5 + 1;" (assignment_expression "uVar4 = uVar5 + 1" (identifier "uVar4") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (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 "((int)uVar11 < iVar6)" (( "(") (binary_expression "(int)uVar11 < iVar6" (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11")) (< "<") (identifier "iVar6")) () ")")) (; ";")) (} "}"))) (expression_statement "param_1[6] = uVar5 + 1;" (assignment_expression "param_1[6] = uVar5 + 1" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "dVar16 = *(double *)(puVar2 + -0xdb0);" (assignment_expression "dVar16 = *(double *)(puVar2 + -0xdb0)" (identifier "dVar16") (= "=") (pointer_expression "*(double *)(puVar2 + -0xdb0)" (* "*") (cast_expression "(double *)(puVar2 + -0xdb0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0xdb0)" (( "(") (binary_expression "puVar2 + -0xdb0" (identifier "puVar2") (+ "+") (number_literal "-0xdb0")) () ")"))))) (; ";")) (expression_statement "param_1[3] = uVar11;" (assignment_expression "param_1[3] = uVar11" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "param_1[5] = (int)((double)(int)uVar11 * dVar16);" (assignment_expression "param_1[5] = (int)((double)(int)uVar11 * dVar16)" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(int)((double)(int)uVar11 * dVar16)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((double)(int)uVar11 * dVar16)" (( "(") (binary_expression "(double)(int)uVar11 * dVar16" (cast_expression "(double)(int)uVar11" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11"))) (* "*") (identifier "dVar16")) () ")")))) (; ";")) (expression_statement "piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);" (assignment_expression "piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8)" (identifier "piVar7") (= "=") (cast_expression "(int *)(*(code *)puVar3)(uVar11 * 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar3)(uVar11 * 8)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(uVar11 * 8)" (( "(") (binary_expression "uVar11 * 8" (identifier "uVar11") (* "*") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);" (call_expression "(*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8)" (parenthesized_expression "(*(code *)PTR_memset_000afd94)" (( "(") (pointer_expression "*(code *)PTR_memset_000afd94" (* "*") (cast_expression "(code *)PTR_memset_000afd94" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_000afd94"))) () ")")) (argument_list "(piVar7,0xff,uVar11 * 8)" (( "(") (identifier "piVar7") (, ",") (number_literal "0xff") (, ",") (binary_expression "uVar11 * 8" (identifier "uVar11") (* "*") (number_literal "8")) () ")"))) (; ";")) (expression_statement "param_1[2] = piVar7;" (assignment_expression "param_1[2] = piVar7" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "piVar7")) (; ";")) (if_statement "if (piVar13 < piVar10) {\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }" (if "if") (parenthesized_expression "(piVar13 < piVar10)" (( "(") (binary_expression "piVar13 < piVar10" (identifier "piVar13") (< "<") (identifier "piVar10")) () ")")) (compound_statement "{\n      piVar14 = piVar13;\n      do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);\n    }" ({ "{") (expression_statement "piVar14 = piVar13;" (assignment_expression "piVar14 = piVar13" (identifier "piVar14") (= "=") (identifier "piVar13")) (; ";")) (do_statement "do {\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      } while (piVar14 < piVar10);" (do "do") (compound_statement "{\n        while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }\n        piVar14 = piVar14 + 2;\n      }" ({ "{") (while_statement "while (*piVar14 != -1) {\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }" (while "while") (parenthesized_expression "(*piVar14 != -1)" (( "(") (binary_expression "*piVar14 != -1" (pointer_expression "*piVar14" (* "*") (identifier "piVar14")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          uVar5 = (*pcVar12)();\n          if (uVar11 == 0) {\n            trap(7);\n          }\n          piVar8 = piVar7 + (uVar5 % uVar11) * 2;\n          while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }\n          piVar15 = piVar14 + 2;\n          iVar6 = piVar14[1];\n          *piVar8 = *piVar14;\n          piVar8[1] = iVar6;\n          piVar14 = piVar15;\n          if (piVar10 <= piVar15) goto LAB_0002ee4c;\n        }" ({ "{") (expression_statement "uVar5 = (*pcVar12)();" (assignment_expression "uVar5 = (*pcVar12)()" (identifier "uVar5") (= "=") (call_expression "(*pcVar12)()" (parenthesized_expression "(*pcVar12)" (( "(") (pointer_expression "*pcVar12" (* "*") (identifier "pcVar12")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (uVar11 == 0) {\n            trap(7);\n          }" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            trap(7);\n          }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar8 = piVar7 + (uVar5 % uVar11) * 2;" (assignment_expression "piVar8 = piVar7 + (uVar5 % uVar11) * 2" (identifier "piVar8") (= "=") (binary_expression "piVar7 + (uVar5 % uVar11) * 2" (identifier "piVar7") (+ "+") (binary_expression "(uVar5 % uVar11) * 2" (parenthesized_expression "(uVar5 % uVar11)" (( "(") (binary_expression "uVar5 % uVar11" (identifier "uVar5") (% "%") (identifier "uVar11")) () ")")) (* "*") (number_literal "2")))) (; ";")) (while_statement "while (*piVar8 != -1) {\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }" (while "while") (parenthesized_expression "(*piVar8 != -1)" (( "(") (binary_expression "*piVar8 != -1" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;\n            piVar8 = piVar8 + 2;\n            if (bVar1) {\n              piVar8 = piVar7;\n            }\n          }" ({ "{") (expression_statement "bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;" (assignment_expression "bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8" (identifier "bVar1") (= "=") (binary_expression "piVar7 + uVar11 * 2 + -2 == piVar8" (binary_expression "piVar7 + uVar11 * 2 + -2" (binary_expression "piVar7 + uVar11 * 2" (identifier "piVar7") (+ "+") (binary_expression "uVar11 * 2" (identifier "uVar11") (* "*") (number_literal "2"))) (+ "+") (number_literal "-2")) (== "==") (identifier "piVar8"))) (; ";")) (expression_statement "piVar8 = piVar8 + 2;" (assignment_expression "piVar8 = piVar8 + 2" (identifier "piVar8") (= "=") (binary_expression "piVar8 + 2" (identifier "piVar8") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (bVar1) {\n              piVar8 = piVar7;\n            }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n              piVar8 = piVar7;\n            }" ({ "{") (expression_statement "piVar8 = piVar7;" (assignment_expression "piVar8 = piVar7" (identifier "piVar8") (= "=") (identifier "piVar7")) (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar15 = piVar14 + 2;" (assignment_expression "piVar15 = piVar14 + 2" (identifier "piVar15") (= "=") (binary_expression "piVar14 + 2" (identifier "piVar14") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar6 = piVar14[1];" (assignment_expression "iVar6 = piVar14[1]" (identifier "iVar6") (= "=") (subscript_expression "piVar14[1]" (identifier "piVar14") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*piVar8 = *piVar14;" (assignment_expression "*piVar8 = *piVar14" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) (; ";")) (expression_statement "piVar8[1] = iVar6;" (assignment_expression "piVar8[1] = iVar6" (subscript_expression "piVar8[1]" (identifier "piVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "piVar14 = piVar15;" (assignment_expression "piVar14 = piVar15" (identifier "piVar14") (= "=") (identifier "piVar15")) (; ";")) (if_statement "if (piVar10 <= piVar15) goto LAB_0002ee4c;" (if "if") (parenthesized_expression "(piVar10 <= piVar15)" (( "(") (binary_expression "piVar10 <= piVar15" (identifier "piVar10") (<= "<=") (identifier "piVar15")) () ")")) (goto_statement "goto LAB_0002ee4c;" (goto "goto") (statement_identifier "LAB_0002ee4c") (; ";"))) (} "}"))) (expression_statement "piVar14 = piVar14 + 2;" (assignment_expression "piVar14 = piVar14 + 2" (identifier "piVar14") (= "=") (binary_expression "piVar14 + 2" (identifier "piVar14") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar14 < piVar10)" (( "(") (binary_expression "piVar14 < piVar10" (identifier "piVar14") (< "<") (identifier "piVar10")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0002ee4c:\n    (*(code *)PTR_free_000afd08)(piVar13);" (statement_identifier "LAB_0002ee4c") (: ":") (expression_statement "(*(code *)PTR_free_000afd08)(piVar13);" (call_expression "(*(code *)PTR_free_000afd08)(piVar13)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" (( "(") (pointer_expression "*(code *)PTR_free_000afd08" (* "*") (cast_expression "(code *)PTR_free_000afd08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000afd08"))) () ")")) (argument_list "(piVar13)" (( "(") (identifier "piVar13") () ")"))) (; ";"))) (expression_statement "uVar11 = param_1[3];" (assignment_expression "uVar11 = param_1[3]" (identifier "uVar11") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "piVar13 = (int *)param_1[2];" (assignment_expression "piVar13 = (int *)param_1[2]" (identifier "piVar13") (= "=") (cast_expression "(int *)param_1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "uVar5 = (*(code *)*param_1)(param_2);" (assignment_expression "uVar5 = (*(code *)*param_1)(param_2)" (identifier "uVar5") (= "=") (call_expression "(*(code *)*param_1)(param_2)" (parenthesized_expression "(*(code *)*param_1)" (( "(") (pointer_expression "*(code *)*param_1" (* "*") (cast_expression "(code *)*param_1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (uVar11 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar12 = (code *)param_1[1];" (assignment_expression "pcVar12 = (code *)param_1[1]" (identifier "pcVar12") (= "=") (cast_expression "(code *)param_1[1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "piVar10 = piVar13 + (uVar5 % uVar11) * 2;" (assignment_expression "piVar10 = piVar13 + (uVar5 % uVar11) * 2" (identifier "piVar10") (= "=") (binary_expression "piVar13 + (uVar5 % uVar11) * 2" (identifier "piVar13") (+ "+") (binary_expression "(uVar5 % uVar11) * 2" (parenthesized_expression "(uVar5 % uVar11)" (( "(") (binary_expression "uVar5 % uVar11" (identifier "uVar5") (% "%") (identifier "uVar11")) () ")")) (* "*") (number_literal "2")))) (; ";")) (while_statement "while (piVar7 = piVar10, *piVar10 != -1) {\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }" (while "while") (parenthesized_expression "(piVar7 = piVar10, *piVar10 != -1)" (( "(") (comma_expression "piVar7 = piVar10, *piVar10 != -1" (assignment_expression "piVar7 = piVar10" (identifier "piVar7") (= "=") (identifier "piVar10")) (, ",") (binary_expression "*piVar10 != -1" (pointer_expression "*piVar10" (* "*") (identifier "piVar10")) (!= "!=") (number_literal "-1"))) () ")")) (compound_statement "{\n      while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar6 = (*pcVar12)(param_2);\n        if (iVar6 != 0) goto LAB_0002eec4;\n        piVar10 = piVar13;\n        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;\n        piVar7 = piVar7 + 2;\n        if (*piVar7 == -1) goto LAB_0002eec4;\n      }" ({ "{") (expression_statement "iVar6 = (*pcVar12)(param_2);" (assignment_expression "iVar6 = (*pcVar12)(param_2)" (identifier "iVar6") (= "=") (call_expression "(*pcVar12)(param_2)" (parenthesized_expression "(*pcVar12)" (( "(") (pointer_expression "*pcVar12" (* "*") (identifier "pcVar12")) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_0002eec4;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0002eec4;" (goto "goto") (statement_identifier "LAB_0002eec4") (; ";"))) (expression_statement "piVar10 = piVar13;" (assignment_expression "piVar10 = piVar13" (identifier "piVar10") (= "=") (identifier "piVar13")) (; ";")) (if_statement "if (piVar13 + uVar11 * 2 + -2 == piVar7) break;" (if "if") (parenthesized_expression "(piVar13 + uVar11 * 2 + -2 == piVar7)" (( "(") (binary_expression "piVar13 + uVar11 * 2 + -2 == piVar7" (binary_expression "piVar13 + uVar11 * 2 + -2" (binary_expression "piVar13 + uVar11 * 2" (identifier "piVar13") (+ "+") (binary_expression "uVar11 * 2" (identifier "uVar11") (* "*") (number_literal "2"))) (+ "+") (number_literal "-2")) (== "==") (identifier "piVar7")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar7 = piVar7 + 2;" (assignment_expression "piVar7 = piVar7 + 2" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 2" (identifier "piVar7") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (*piVar7 == -1) goto LAB_0002eec4;" (if "if") (parenthesized_expression "(*piVar7 == -1)" (( "(") (binary_expression "*piVar7 == -1" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0002eec4;" (goto "goto") (statement_identifier "LAB_0002eec4") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_0002eec4:\n    param_1[4] = param_1[4] + 1;" (statement_identifier "LAB_0002eec4") (: ":") (expression_statement "param_1[4] = param_1[4] + 1;" (assignment_expression "param_1[4] = param_1[4] + 1" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "param_1[4] + 1" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (number_literal "1"))) (; ";"))) (} "}")))) (expression_statement "*piVar7 = param_2;" (assignment_expression "*piVar7 = param_2" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "piVar7[1] = param_3;" (assignment_expression "piVar7[1] = param_3" (subscript_expression "piVar7[1]" (identifier "piVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (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: (identifier) arguments: (argument_list (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))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal)))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (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))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) 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 (binary_expression left: (identifier) right: (number_literal))))))) (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) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))))) (while_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_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: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (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: (identifier) arguments: (argument_list (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))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

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

{
  bool bVar1;
  undefined *puVar2;
  undefined *puVar3;
  uint uVar4;
  uint uVar5;
  int iVar6;
  int *piVar7;
  int *piVar8;
  uint *puVar9;
  int *piVar10;
  uint uVar11;
  code *pcVar12;
  int *piVar13;
  int *piVar14;
  int *piVar15;
  double dVar16;
  
  uVar11 = param_1[3];
  piVar13 = (int *)param_1[2];
  uVar5 = (*(code *)*param_1)(param_2);
  if (uVar11 == 0) {
    trap(7);
  }
  pcVar12 = (code *)param_1[1];
  piVar10 = piVar13 + (uVar5 % uVar11) * 2;
  while (piVar7 = piVar10, *piVar10 != -1) {
    while( true ) {
      iVar6 = (*pcVar12)(param_2);
      if (iVar6 != 0) {
        if (*piVar7 != -1) {
          *piVar7 = param_2;
          piVar7[1] = param_3;
          return;
        }
        goto LAB_0002ec48;
      }
      piVar10 = piVar13;
      if (piVar13 + uVar11 * 2 + -2 == piVar7) break;
      piVar7 = piVar7 + 2;
      if (*piVar7 == -1) goto LAB_0002ec48;
    }
  }
LAB_0002ec48:
  puVar3 = PTR_xmalloc_000af5c4;
  puVar2 = PTR_s_hallenge__000af46c;
  if ((int)param_1[4] < (int)param_1[5]) {
    param_1[4] = param_1[4] + 1;
  }
  else {
    pcVar12 = (code *)*param_1;
    uVar5 = param_1[6];
    piVar13 = (int *)param_1[2];
    iVar6 = param_1[3] << 1;
    piVar10 = piVar13 + param_1[3] * 2;
    if (0x46 < uVar5) {
LAB_0002eedc:
      (*(code *)PTR_abort_000afe98)();
      return;
    }
    uVar11 = *(uint *)(PTR_s_hallenge__000af46c + uVar5 * 4 + -0xed0);
    if ((int)uVar11 < iVar6) {
      uVar4 = uVar5 + 1;
      puVar9 = (uint *)(PTR_s_hallenge__000af46c + (uVar5 + 1) * 4 + -0xed0);
      do {
        uVar5 = uVar4;
        if (uVar5 == 0x47) goto LAB_0002eedc;
        uVar11 = *puVar9;
        uVar4 = uVar5 + 1;
        puVar9 = puVar9 + 1;
      } while ((int)uVar11 < iVar6);
    }
    param_1[6] = uVar5 + 1;
    dVar16 = *(double *)(puVar2 + -0xdb0);
    param_1[3] = uVar11;
    param_1[5] = (int)((double)(int)uVar11 * dVar16);
    piVar7 = (int *)(*(code *)puVar3)(uVar11 * 8);
    (*(code *)PTR_memset_000afd94)(piVar7,0xff,uVar11 * 8);
    param_1[2] = piVar7;
    if (piVar13 < piVar10) {
      piVar14 = piVar13;
      do {
        while (*piVar14 != -1) {
          uVar5 = (*pcVar12)();
          if (uVar11 == 0) {
            trap(7);
          }
          piVar8 = piVar7 + (uVar5 % uVar11) * 2;
          while (*piVar8 != -1) {
            bVar1 = piVar7 + uVar11 * 2 + -2 == piVar8;
            piVar8 = piVar8 + 2;
            if (bVar1) {
              piVar8 = piVar7;
            }
          }
          piVar15 = piVar14 + 2;
          iVar6 = piVar14[1];
          *piVar8 = *piVar14;
          piVar8[1] = iVar6;
          piVar14 = piVar15;
          if (piVar10 <= piVar15) goto LAB_0002ee4c;
        }
        piVar14 = piVar14 + 2;
      } while (piVar14 < piVar10);
    }
LAB_0002ee4c:
    (*(code *)PTR_free_000afd08)(piVar13);
    uVar11 = param_1[3];
    piVar13 = (int *)param_1[2];
    uVar5 = (*(code *)*param_1)(param_2);
    if (uVar11 == 0) {
      trap(7);
    }
    pcVar12 = (code *)param_1[1];
    piVar10 = piVar13 + (uVar5 % uVar11) * 2;
    while (piVar7 = piVar10, *piVar10 != -1) {
      while( true ) {
        iVar6 = (*pcVar12)(param_2);
        if (iVar6 != 0) goto LAB_0002eec4;
        piVar10 = piVar13;
        if (piVar13 + uVar11 * 2 + -2 == piVar7) break;
        piVar7 = piVar7 + 2;
        if (*piVar7 == -1) goto LAB_0002eec4;
      }
    }
LAB_0002eec4:
    param_1[4] = param_1[4] + 1;
  }
  *piVar7 = param_2;
  piVar7[1] = param_3;
  return;
}

