
int _obstack_begin_1(obstack *h,size_t size,size_t alignment,
                    _func_void_ptr_void_ptr_size_t *chunkfun,_func_void_void_ptr_void_ptr *freefun,
                    void *arg)

{
  byte bVar1;
  _obstack_chunk *p_Var2;
  undefined4 *puVar3;
  uint uVar4;
  uint uVar5;
  undefined4 *puVar6;
  undefined4 *puVar7;
  char *pcVar8;
  undefined4 *puVar9;
  undefined4 uVar10;
  char *pcVar11;
  undefined4 *puVar12;
  size_t sVar13;
  int iVar14;
  code *pcVar15;
  
  (h->freefun).extra = freefun;
  (h->chunkfun).extra = chunkfun;
  h->extra_arg = arg;
  h->field_0x28 = h->field_0x28 & 0x7f | 0x80;
  if (alignment == 0) {
    sVar13 = 7;
    alignment = 8;
  }
  else {
    sVar13 = alignment - 1;
  }
  if (size == 0) {
    size = (size_t)&DAT_00000fe8;
  }
  h->chunk_size = size;
  h->alignment_mask = sVar13;
  if ((char)h->field_0x28 < '\0') {
    p_Var2 = (_obstack_chunk *)(*chunkfun)(arg,size);
  }
  else {
    puVar6 = (undefined4 *)size;
    p_Var2 = (_obstack_chunk *)(*chunkfun)((void *)size,size);
    arg = (void *)size;
    size = (size_t)puVar6;
  }
  h->chunk = p_Var2;
  if (p_Var2 != (_obstack_chunk *)0x0) {
    bVar1 = h->field_0x28;
    pcVar8 = (char *)((int)&p_Var2->limit + h->chunk_size);
    pcVar11 = (char *)((int)&p_Var2[1].limit + sVar13 & -alignment);
    h->object_base = pcVar11;
    h->next_free = pcVar11;
    p_Var2->limit = pcVar8;
    h->chunk_limit = pcVar8;
    p_Var2->prev = (_obstack_chunk *)0x0;
    h->field_0x28 = bVar1 & 0x9f;
    return 1;
  }
  pcVar15 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;
  (*pcVar15)();
  puVar12 = (undefined4 *)(*(int *)((int)arg + 0xc) - *(int *)((int)arg + 8));
                    /* WARNING: Load size is inaccurate */
  puVar9 = (undefined4 *)((int)puVar12 + size);
  puVar7 = (undefined4 *)((int)puVar9 + *(int *)((int)arg + 0x18));
  iVar14 = *(int *)((int)arg + 4);
  puVar6 = *arg;
  if (*arg < puVar7) {
    puVar6 = puVar7;
  }
  puVar3 = (undefined4 *)(((uint)puVar12 >> 3) + 100 + (int)puVar7);
  if (puVar3 <= puVar6) {
    puVar3 = puVar6;
  }
  if ((puVar12 <= puVar9) &&
     (puVar9 = (undefined4 *)(uint)(puVar7 < puVar9), puVar9 == (undefined4 *)0x0)) {
    if (*(char *)((int)arg + 0x28) < '\0') {
      puVar6 = *(undefined4 **)((int)arg + 0x24);
      puVar9 = puVar3;
      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();
    }
    else {
      puVar6 = puVar3;
      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();
    }
    if (puVar7 != (undefined4 *)0x0) {
      uVar4 = *(uint *)((int)arg + 0x18);
      uVar10 = *(undefined4 *)((int)arg + 8);
      pcVar15 = *(code **)(pcVar15 + 0x18a40);
      *(undefined4 **)((int)arg + 4) = puVar7;
      puVar7[1] = iVar14;
      uVar4 = (int)puVar7 + uVar4 + 8 & ~uVar4;
      *(undefined1 **)((int)arg + 0x10) = (undefined1 *)((int)puVar7 + (int)puVar3);
      *puVar7 = (undefined1 *)((int)puVar7 + (int)puVar3);
      (*pcVar15)(uVar4,uVar10,puVar12);
      bVar1 = *(byte *)((int)arg + 0x28);
      if (((bVar1 & 0x40) == 0) &&
         (*(uint *)((int)arg + 8) ==
          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))) {
        pcVar15 = *(code **)((int)arg + 0x20);
        puVar7[1] = *(undefined4 *)(iVar14 + 4);
        if ((char)bVar1 < '\0') {
          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);
          uVar5 = (uint)*(byte *)((int)arg + 0x28);
        }
        else {
          (*pcVar15)(iVar14);
          uVar5 = (uint)*(byte *)((int)arg + 0x28);
        }
      }
      else {
        uVar5 = (uint)*(byte *)((int)arg + 0x28);
      }
      *(uint *)((int)arg + 8) = uVar4;
      *(uint *)((int)arg + 0xc) = uVar4 + (int)puVar12;
      *(char *)((int)arg + 0x28) = (char)(uVar5 & 0xffffffbf);
      return uVar5 & 0xffffffbf;
    }
  }
  (*(code *)**(undefined4 **)(pcVar15 + 0x18894))();
  puVar6 = (undefined4 *)puVar6[1];
  if (puVar6 == (undefined4 *)0x0) {
    return 0;
  }
  while ((puVar9 <= puVar6 || ((undefined4 *)*puVar6 < puVar9))) {
    puVar6 = (undefined4 *)puVar6[1];
    if (puVar6 == (undefined4 *)0x0) {
      return 0;
    }
  }
  return 1;
}



byte _obstack_begin_1(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,
                     undefined4 *param_6)

{
  int *piVar1;
  undefined4 *puVar2;
  byte bVar4;
  undefined4 *puVar3;
  undefined4 *puVar5;
  int iVar6;
  undefined4 uVar7;
  uint uVar8;
  undefined4 *puVar9;
  int iVar10;
  code *pcVar11;
  
  param_1[8] = param_5;
  param_1[7] = (int)param_4;
  param_1[9] = (int)param_6;
  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;
  if (param_3 == 0) {
    iVar10 = 7;
    param_3 = 8;
  }
  else {
    iVar10 = param_3 + -1;
  }
  if (param_2 == (undefined4 *)0x0) {
    param_2 = (undefined4 *)&DAT_00000fe8;
  }
  *param_1 = (int)param_2;
  param_1[6] = iVar10;
  if (*(char *)(param_1 + 10) < '\0') {
    piVar1 = (int *)(*param_4)();
  }
  else {
    puVar3 = param_2;
    piVar1 = (int *)(*param_4)();
    param_6 = param_2;
    param_2 = puVar3;
  }
  param_1[1] = (int)piVar1;
  if (piVar1 != (int *)0x0) {
    iVar6 = *param_1;
    bVar4 = *(byte *)(param_1 + 10);
    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;
    param_1[2] = uVar8;
    param_1[3] = uVar8;
    *piVar1 = (int)piVar1 + iVar6;
    param_1[4] = (int)piVar1 + iVar6;
    piVar1[1] = 0;
    *(byte *)(param_1 + 10) = bVar4 & 0x9f;
    return 1;
  }
  pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;
  (*pcVar11)();
  puVar9 = (undefined4 *)(param_6[3] - param_6[2]);
  param_2 = (undefined4 *)((int)puVar9 + (int)param_2);
  puVar5 = (undefined4 *)((int)param_2 + param_6[6]);
  iVar10 = param_6[1];
  puVar3 = (undefined4 *)*param_6;
  if ((undefined4 *)*param_6 < puVar5) {
    puVar3 = puVar5;
  }
  puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);
  if (puVar2 <= puVar3) {
    puVar2 = puVar3;
  }
  if ((puVar9 <= param_2) &&
     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {
    if (*(char *)(param_6 + 10) < '\0') {
      puVar3 = (undefined4 *)param_6[9];
      param_2 = puVar2;
      puVar5 = (undefined4 *)(*(code *)param_6[7])();
    }
    else {
      puVar3 = puVar2;
      puVar5 = (undefined4 *)(*(code *)param_6[7])();
    }
    if (puVar5 != (undefined4 *)0x0) {
      uVar8 = param_6[6];
      uVar7 = param_6[2];
      pcVar11 = *(code **)(pcVar11 + 0x18a40);
      param_6[1] = puVar5;
      puVar5[1] = iVar10;
      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;
      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);
      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);
      (*pcVar11)(uVar8,uVar7,puVar9);
      bVar4 = *(byte *)(param_6 + 10);
      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {
        pcVar11 = (code *)param_6[8];
        puVar5[1] = *(undefined4 *)(iVar10 + 4);
        if ((char)bVar4 < '\0') {
          (*pcVar11)(param_6[9],iVar10);
          bVar4 = *(byte *)(param_6 + 10);
        }
        else {
          (*pcVar11)(iVar10);
          bVar4 = *(byte *)(param_6 + 10);
        }
      }
      else {
        bVar4 = *(byte *)(param_6 + 10);
      }
      param_6[2] = uVar8;
      param_6[3] = uVar8 + (int)puVar9;
      *(byte *)(param_6 + 10) = bVar4 & 0xbf;
      return bVar4 & 0xbf;
    }
  }
  (*(code *)**(undefined4 **)(pcVar11 + 0x18894))();
  puVar3 = (undefined4 *)puVar3[1];
  if (puVar3 == (undefined4 *)0x0) {
    return 0;
  }
  while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {
    puVar3 = (undefined4 *)puVar3[1];
    if (puVar3 == (undefined4 *)0x0) {
      return 0;
    }
  }
  return 1;
}


lui gp,0x2
addiu gp,gp,0x780
addu gp,gp,t9
addiu sp,sp,-0x28
lw v1,0x38(sp)
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw v1,0x20(s0)
li v1,0x1
lbu v0,0x28(s0)
lw a0,0x3c(sp)
sw a3,0x1c(s0)
ins v0,v1,0x7,0x1
sw a0,0x24(s0)
beq a2,zero,0x0003da44
_sb v0,0x28(s0)
addiu s2,a2,-0x1
or s1,a2,zero
bne a1,zero,0x0003d9c4
_nop
li a1,0xfe8
lb v0,0x28(s0)
sw a1,0x0(s0)
bltz v0,0x0003da50
_sw s2,0x18(s0)
or t9,a3,zero
jalr t9
_or a0,a1,zero
lw gp,0x10(sp)
or v1,v0,zero
beq v1,zero,0x0003da68
_sw v1,0x4(s0)
lw a0,0x0(s0)
addiu v0,v1,0x8
lbu a1,0x28(s0)
subu a2,zero,s1
addu v0,v0,s2
lw ra,0x24(sp)
addu a0,v1,a0
lw s2,0x20(sp)
and a2,v0,a2
lw s1,0x1c(sp)
andi a1,a1,0x9f
sw a2,0x8(s0)
sw a2,0xc(s0)
li v0,0x1
sw a0,0x0(v1)
sw a0,0x10(s0)
sw zero,0x4(v1)
sb a1,0x28(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
li s2,0x7
b 0x0003d9b8
_li s1,0x8
or t9,a3,zero
jalr t9
_nop
lw gp,0x10(sp)
b 0x0003d9e8
_or v1,v0,zero
lw v0,-0x7dd4(gp)
lw t9,0x0(v0)
jalr t9
_nop
(translation_unit "byte _obstack_begin_1(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  byte bVar4;\n  undefined4 *puVar3;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  int iVar10;\n  code *pcVar11;\n  \n  param_1[8] = param_5;\n  param_1[7] = (int)param_4;\n  param_1[9] = (int)param_6;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;\n  if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }\n  *param_1 = (int)param_2;\n  param_1[6] = iVar10;\n  if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }\n  param_1[1] = (int)piVar1;\n  if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }\n  pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar11)();\n  puVar9 = (undefined4 *)(param_6[3] - param_6[2]);\n  param_2 = (undefined4 *)((int)puVar9 + (int)param_2);\n  puVar5 = (undefined4 *)((int)param_2 + param_6[6]);\n  iVar10 = param_6[1];\n  puVar3 = (undefined4 *)*param_6;\n  if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }\n  puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);\n  if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }\n  if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar11 + 0x18894))();\n  puVar3 = (undefined4 *)puVar3[1];\n  if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "byte _obstack_begin_1(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  byte bVar4;\n  undefined4 *puVar3;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  int iVar10;\n  code *pcVar11;\n  \n  param_1[8] = param_5;\n  param_1[7] = (int)param_4;\n  param_1[9] = (int)param_6;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;\n  if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }\n  *param_1 = (int)param_2;\n  param_1[6] = iVar10;\n  if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }\n  param_1[1] = (int)piVar1;\n  if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }\n  pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar11)();\n  puVar9 = (undefined4 *)(param_6[3] - param_6[2]);\n  param_2 = (undefined4 *)((int)puVar9 + (int)param_2);\n  puVar5 = (undefined4 *)((int)param_2 + param_6[6]);\n  iVar10 = param_6[1];\n  puVar3 = (undefined4 *)*param_6;\n  if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }\n  puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);\n  if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }\n  if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar11 + 0x18894))();\n  puVar3 = (undefined4 *)puVar3[1];\n  if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "_obstack_begin_1(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)" identifier (parameter_list "(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "code *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  byte bVar4;\n  undefined4 *puVar3;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  int iVar10;\n  code *pcVar11;\n  \n  param_1[8] = param_5;\n  param_1[7] = (int)param_4;\n  param_1[9] = (int)param_6;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;\n  if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }\n  *param_1 = (int)param_2;\n  param_1[6] = iVar10;\n  if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }\n  param_1[1] = (int)piVar1;\n  if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }\n  pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar11)();\n  puVar9 = (undefined4 *)(param_6[3] - param_6[2]);\n  param_2 = (undefined4 *)((int)puVar9 + (int)param_2);\n  puVar5 = (undefined4 *)((int)param_2 + param_6[6]);\n  iVar10 = param_6[1];\n  puVar3 = (undefined4 *)*param_6;\n  if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }\n  puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);\n  if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }\n  if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar11 + 0x18894))();\n  puVar3 = (undefined4 *)puVar3[1];\n  if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (expression_statement "param_1[8] = param_5;" (assignment_expression "param_1[8] = param_5" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[7] = (int)param_4;" (assignment_expression "param_1[7] = (int)param_4" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[9] = (int)param_6;" (assignment_expression "param_1[9] = (int)param_6" (subscript_expression "param_1[9]" identifier [ number_literal ]) = (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;" (assignment_expression "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80" (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 10) & 0x7f | 0x80" (binary_expression "*(byte *)(param_1 + 10) & 0x7f" (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (if_statement "if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar10 = 7;\n    param_3 = 8;\n  }" { (expression_statement "iVar10 = 7;" (assignment_expression "iVar10 = 7" identifier = number_literal) ;) (expression_statement "param_3 = 8;" (assignment_expression "param_3 = 8" identifier = number_literal) ;) }) (else_clause "else {\n    iVar10 = param_3 + -1;\n  }" else (compound_statement "{\n    iVar10 = param_3 + -1;\n  }" { (expression_statement "iVar10 = param_3 + -1;" (assignment_expression "iVar10 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) }))) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }" { (expression_statement "param_2 = (undefined4 *)&DAT_00000fe8;" (assignment_expression "param_2 = (undefined4 *)&DAT_00000fe8" identifier = (cast_expression "(undefined4 *)&DAT_00000fe8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000fe8" & identifier))) ;) })) (expression_statement "*param_1 = (int)param_2;" (assignment_expression "*param_1 = (int)param_2" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[6] = iVar10;" (assignment_expression "param_1[6] = iVar10" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 10) < '\0')" ( (binary_expression "*(char *)(param_1 + 10) < '\0'" (pointer_expression "*(char *)(param_1 + 10)" * (cast_expression "(char *)(param_1 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar1 = (int *)(*param_4)();\n  }" { (expression_statement "piVar1 = (int *)(*param_4)();" (assignment_expression "piVar1 = (int *)(*param_4)()" identifier = (cast_expression "(int *)(*param_4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*param_4)()" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "()" ( ))))) ;) }) (else_clause "else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }" else (compound_statement "{\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }" { (expression_statement "puVar3 = param_2;" (assignment_expression "puVar3 = param_2" identifier = identifier) ;) (expression_statement "piVar1 = (int *)(*param_4)();" (assignment_expression "piVar1 = (int *)(*param_4)()" identifier = (cast_expression "(int *)(*param_4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*param_4)()" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "()" ( ))))) ;) (expression_statement "param_6 = param_2;" (assignment_expression "param_6 = param_2" identifier = identifier) ;) (expression_statement "param_2 = puVar3;" (assignment_expression "param_2 = puVar3" identifier = identifier) ;) }))) (expression_statement "param_1[1] = (int)piVar1;" (assignment_expression "param_1[1] = (int)piVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }" { (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "bVar4 = *(byte *)(param_1 + 10);" (assignment_expression "bVar4 = *(byte *)(param_1 + 10)" identifier = (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;" (assignment_expression "uVar8 = (int)piVar1 + iVar10 + 8 & -param_3" identifier = (binary_expression "(int)piVar1 + iVar10 + 8 & -param_3" (binary_expression "(int)piVar1 + iVar10 + 8" (binary_expression "(int)piVar1 + iVar10" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) & (unary_expression "-param_3" - identifier))) ;) (expression_statement "param_1[2] = uVar8;" (assignment_expression "param_1[2] = uVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = uVar8;" (assignment_expression "param_1[3] = uVar8" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = (int)piVar1 + iVar6;" (assignment_expression "*piVar1 = (int)piVar1 + iVar6" (pointer_expression "*piVar1" * identifier) = (binary_expression "(int)piVar1 + iVar6" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "param_1[4] = (int)piVar1 + iVar6;" (assignment_expression "param_1[4] = (int)piVar1 + iVar6" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "(int)piVar1 + iVar6" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 10) = bVar4 & 0x9f;" (assignment_expression "*(byte *)(param_1 + 10) = bVar4 & 0x9f" (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = (binary_expression "bVar4 & 0x9f" identifier & number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;" (assignment_expression "pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c" identifier = (pointer_expression "*(code **)PTR_obstack_alloc_failed_handler_0005630c" * (cast_expression "(code **)PTR_obstack_alloc_failed_handler_0005630c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*pcVar11)();" (call_expression "(*pcVar11)()" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "puVar9 = (undefined4 *)(param_6[3] - param_6[2]);" (assignment_expression "puVar9 = (undefined4 *)(param_6[3] - param_6[2])" identifier = (cast_expression "(undefined4 *)(param_6[3] - param_6[2])" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6[3] - param_6[2])" ( (binary_expression "param_6[3] - param_6[2]" (subscript_expression "param_6[3]" identifier [ number_literal ]) - (subscript_expression "param_6[2]" identifier [ number_literal ])) )))) ;) (expression_statement "param_2 = (undefined4 *)((int)puVar9 + (int)param_2);" (assignment_expression "param_2 = (undefined4 *)((int)puVar9 + (int)param_2)" identifier = (cast_expression "(undefined4 *)((int)puVar9 + (int)param_2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 + (int)param_2)" ( (binary_expression "(int)puVar9 + (int)param_2" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "puVar5 = (undefined4 *)((int)param_2 + param_6[6]);" (assignment_expression "puVar5 = (undefined4 *)((int)param_2 + param_6[6])" identifier = (cast_expression "(undefined4 *)((int)param_2 + param_6[6])" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + param_6[6])" ( (binary_expression "(int)param_2 + param_6[6]" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (subscript_expression "param_6[6]" identifier [ number_literal ])) )))) ;) (expression_statement "iVar10 = param_6[1];" (assignment_expression "iVar10 = param_6[1]" identifier = (subscript_expression "param_6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = (undefined4 *)*param_6;" (assignment_expression "puVar3 = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) (if_statement "if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }" if (parenthesized_expression "((undefined4 *)*param_6 < puVar5)" ( (binary_expression "(undefined4 *)*param_6 < puVar5" (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier)) < identifier) )) (compound_statement "{\n    puVar3 = puVar5;\n  }" { (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" identifier = identifier) ;) })) (expression_statement "puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);" (assignment_expression "puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5)" identifier = (cast_expression "(undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uint)puVar9 >> 3) + 100 + (int)puVar5)" ( (binary_expression "((uint)puVar9 >> 3) + 100 + (int)puVar5" (binary_expression "((uint)puVar9 >> 3) + 100" (parenthesized_expression "((uint)puVar9 >> 3)" ( (binary_expression "(uint)puVar9 >> 3" (cast_expression "(uint)puVar9" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )) + number_literal) + (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }" if (parenthesized_expression "(puVar2 <= puVar3)" ( (binary_expression "puVar2 <= puVar3" identifier <= identifier) )) (compound_statement "{\n    puVar2 = puVar3;\n  }" { (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" identifier = identifier) ;) })) (if_statement "if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }" if (parenthesized_expression "((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0))" ( (binary_expression "(puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)" (parenthesized_expression "(puVar9 <= param_2)" ( (binary_expression "puVar9 <= param_2" identifier <= identifier) )) && (parenthesized_expression "(param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)" ( (comma_expression "param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0" (assignment_expression "param_2 = (undefined4 *)(uint)(puVar5 < param_2)" identifier = (cast_expression "(undefined4 *)(uint)(puVar5 < param_2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(puVar5 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar5 < param_2)" ( (binary_expression "puVar5 < param_2" identifier < identifier) ))))) , (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }" { (if_statement "if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" if (parenthesized_expression "(*(char *)(param_6 + 10) < '\0')" ( (binary_expression "*(char *)(param_6 + 10) < '\0'" (pointer_expression "*(char *)(param_6 + 10)" * (cast_expression "(char *)(param_6 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) )))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" { (expression_statement "puVar3 = (undefined4 *)param_6[9];" (assignment_expression "puVar3 = (undefined4 *)param_6[9]" identifier = (cast_expression "(undefined4 *)param_6[9]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_6[9]" identifier [ number_literal ]))) ;) (expression_statement "param_2 = puVar2;" (assignment_expression "param_2 = puVar2" identifier = identifier) ;) (expression_statement "puVar5 = (undefined4 *)(*(code *)param_6[7])();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)param_6[7])()" identifier = (cast_expression "(undefined4 *)(*(code *)param_6[7])()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)param_6[7])()" (parenthesized_expression "(*(code *)param_6[7])" ( (pointer_expression "*(code *)param_6[7]" * (cast_expression "(code *)param_6[7]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_6[7]" identifier [ number_literal ]))) )) (argument_list "()" ( ))))) ;) }) (else_clause "else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" else (compound_statement "{\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" { (expression_statement "puVar3 = puVar2;" (assignment_expression "puVar3 = puVar2" identifier = identifier) ;) (expression_statement "puVar5 = (undefined4 *)(*(code *)param_6[7])();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)param_6[7])()" identifier = (cast_expression "(undefined4 *)(*(code *)param_6[7])()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)param_6[7])()" (parenthesized_expression "(*(code *)param_6[7])" ( (pointer_expression "*(code *)param_6[7]" * (cast_expression "(code *)param_6[7]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_6[7]" identifier [ number_literal ]))) )) (argument_list "()" ( ))))) ;) }))) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }" if (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }" { (expression_statement "uVar8 = param_6[6];" (assignment_expression "uVar8 = param_6[6]" identifier = (subscript_expression "param_6[6]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = param_6[2];" (assignment_expression "uVar7 = param_6[2]" identifier = (subscript_expression "param_6[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar11 = *(code **)(pcVar11 + 0x18a40);" (assignment_expression "pcVar11 = *(code **)(pcVar11 + 0x18a40)" identifier = (pointer_expression "*(code **)(pcVar11 + 0x18a40)" * (cast_expression "(code **)(pcVar11 + 0x18a40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar11 + 0x18a40)" ( (binary_expression "pcVar11 + 0x18a40" identifier + number_literal) ))))) ;) (expression_statement "param_6[1] = puVar5;" (assignment_expression "param_6[1] = puVar5" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[1] = iVar10;" (assignment_expression "puVar5[1] = iVar10" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;" (assignment_expression "uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8" identifier = (binary_expression "(int)puVar5 + uVar8 + 8 & ~uVar8" (binary_expression "(int)puVar5 + uVar8 + 8" (binary_expression "(int)puVar5 + uVar8" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) & (unary_expression "~uVar8" ~ identifier))) ;) (expression_statement "param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);" (assignment_expression "param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2)" (subscript_expression "param_6[4]" identifier [ number_literal ]) = (cast_expression "(undefined1 *)((int)puVar5 + (int)puVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + (int)puVar2)" ( (binary_expression "(int)puVar5 + (int)puVar2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "*puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);" (assignment_expression "*puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2)" (pointer_expression "*puVar5" * identifier) = (cast_expression "(undefined1 *)((int)puVar5 + (int)puVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + (int)puVar2)" ( (binary_expression "(int)puVar5 + (int)puVar2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*pcVar11)(uVar8,uVar7,puVar9);" (call_expression "(*pcVar11)(uVar8,uVar7,puVar9)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(uVar8,uVar7,puVar9)" ( identifier , identifier , identifier ))) ;) (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" identifier = (pointer_expression "*(byte *)(param_6 + 10)" * (cast_expression "(byte *)(param_6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) ))))) ;) (if_statement "if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }" if (parenthesized_expression "(((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6])))" ( (binary_expression "((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))" (parenthesized_expression "((bVar4 & 0x40) == 0)" ( (binary_expression "(bVar4 & 0x40) == 0" (parenthesized_expression "(bVar4 & 0x40)" ( (binary_expression "bVar4 & 0x40" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))" ( (binary_expression "param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6])" (subscript_expression "param_6[2]" identifier [ number_literal ]) == (parenthesized_expression "(iVar10 + 8 + param_6[6] & ~param_6[6])" ( (binary_expression "iVar10 + 8 + param_6[6] & ~param_6[6]" (binary_expression "iVar10 + 8 + param_6[6]" (binary_expression "iVar10 + 8" identifier + number_literal) + (subscript_expression "param_6[6]" identifier [ number_literal ])) & (unary_expression "~param_6[6]" ~ (subscript_expression "param_6[6]" identifier [ number_literal ]))) ))) ))) )) (compound_statement "{\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }" { (expression_statement "pcVar11 = (code *)param_6[8];" (assignment_expression "pcVar11 = (code *)param_6[8]" identifier = (cast_expression "(code *)param_6[8]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_6[8]" identifier [ number_literal ]))) ;) (expression_statement "puVar5[1] = *(undefined4 *)(iVar10 + 4);" (assignment_expression "puVar5[1] = *(undefined4 *)(iVar10 + 4)" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar10 + 4)" * (cast_expression "(undefined4 *)(iVar10 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" if (parenthesized_expression "((char)bVar4 < '\0')" ( (binary_expression "(char)bVar4 < '\0'" (cast_expression "(char)bVar4" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" { (expression_statement "(*pcVar11)(param_6[9],iVar10);" (call_expression "(*pcVar11)(param_6[9],iVar10)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(param_6[9],iVar10)" ( (subscript_expression "param_6[9]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" identifier = (pointer_expression "*(byte *)(param_6 + 10)" * (cast_expression "(byte *)(param_6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" else (compound_statement "{\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" { (expression_statement "(*pcVar11)(iVar10);" (call_expression "(*pcVar11)(iVar10)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(iVar10)" ( identifier ))) ;) (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" identifier = (pointer_expression "*(byte *)(param_6 + 10)" * (cast_expression "(byte *)(param_6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) ))))) ;) }))) }) (else_clause "else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }" else (compound_statement "{\n        bVar4 = *(byte *)(param_6 + 10);\n      }" { (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" identifier = (pointer_expression "*(byte *)(param_6 + 10)" * (cast_expression "(byte *)(param_6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) ))))) ;) }))) (expression_statement "param_6[2] = uVar8;" (assignment_expression "param_6[2] = uVar8" (subscript_expression "param_6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_6[3] = uVar8 + (int)puVar9;" (assignment_expression "param_6[3] = uVar8 + (int)puVar9" (subscript_expression "param_6[3]" identifier [ number_literal ]) = (binary_expression "uVar8 + (int)puVar9" identifier + (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(byte *)(param_6 + 10) = bVar4 & 0xbf;" (assignment_expression "*(byte *)(param_6 + 10) = bVar4 & 0xbf" (pointer_expression "*(byte *)(param_6 + 10)" * (cast_expression "(byte *)(param_6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) )))) = (binary_expression "bVar4 & 0xbf" identifier & number_literal)) ;) (return_statement "return bVar4 & 0xbf;" return (binary_expression "bVar4 & 0xbf" identifier & number_literal) ;) })) })) (expression_statement "(*(code *)**(undefined4 **)(pcVar11 + 0x18894))();" (call_expression "(*(code *)**(undefined4 **)(pcVar11 + 0x18894))()" (parenthesized_expression "(*(code *)**(undefined4 **)(pcVar11 + 0x18894))" ( (pointer_expression "*(code *)**(undefined4 **)(pcVar11 + 0x18894)" * (cast_expression "(code *)**(undefined4 **)(pcVar11 + 0x18894)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(pcVar11 + 0x18894)" * (pointer_expression "*(undefined4 **)(pcVar11 + 0x18894)" * (cast_expression "(undefined4 **)(pcVar11 + 0x18894)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar11 + 0x18894)" ( (binary_expression "pcVar11 + 0x18894" identifier + number_literal) ))))))) )) (argument_list "()" ( ))) ;) (expression_statement "puVar3 = (undefined4 *)puVar3[1];" (assignment_expression "puVar3 = (undefined4 *)puVar3[1]" identifier = (cast_expression "(undefined4 *)puVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (while_statement "while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }" while (parenthesized_expression "((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2)))" ( (parenthesized_expression "(param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))" ( (binary_expression "param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2)" (binary_expression "param_2 <= puVar3" identifier <= identifier) || (parenthesized_expression "((undefined4 *)*puVar3 < param_2)" ( (binary_expression "(undefined4 *)*puVar3 < param_2" (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) < identifier) ))) )) )) (compound_statement "{\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }" { (expression_statement "puVar3 = (undefined4 *)puVar3[1];" (assignment_expression "puVar3 = (undefined4 *)puVar3[1]" identifier = (cast_expression "(undefined4 *)puVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int _obstack_begin_1(obstack *h,size_t size,size_t alignment,\n                    _func_void_ptr_void_ptr_size_t *chunkfun,_func_void_void_ptr_void_ptr *freefun,\n                    void *arg)\n\n{\n  byte bVar1;\n  _obstack_chunk *p_Var2;\n  undefined4 *puVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  size_t sVar13;\n  int iVar14;\n  code *pcVar15;\n  \n  (h->freefun).extra = freefun;\n  (h->chunkfun).extra = chunkfun;\n  h->extra_arg = arg;\n  h->field_0x28 = h->field_0x28 & 0x7f | 0x80;\n  if (alignment == 0) {\n    sVar13 = 7;\n    alignment = 8;\n  }\n  else {\n    sVar13 = alignment - 1;\n  }\n  if (size == 0) {\n    size = (size_t)&DAT_00000fe8;\n  }\n  h->chunk_size = size;\n  h->alignment_mask = sVar13;\n  if ((char)h->field_0x28 < '\0') {\n    p_Var2 = (_obstack_chunk *)(*chunkfun)(arg,size);\n  }\n  else {\n    puVar6 = (undefined4 *)size;\n    p_Var2 = (_obstack_chunk *)(*chunkfun)((void *)size,size);\n    arg = (void *)size;\n    size = (size_t)puVar6;\n  }\n  h->chunk = p_Var2;\n  if (p_Var2 != (_obstack_chunk *)0x0) {\n    bVar1 = h->field_0x28;\n    pcVar8 = (char *)((int)&p_Var2->limit + h->chunk_size);\n    pcVar11 = (char *)((int)&p_Var2[1].limit + sVar13 & -alignment);\n    h->object_base = pcVar11;\n    h->next_free = pcVar11;\n    p_Var2->limit = pcVar8;\n    h->chunk_limit = pcVar8;\n    p_Var2->prev = (_obstack_chunk *)0x0;\n    h->field_0x28 = bVar1 & 0x9f;\n    return 1;\n  }\n  pcVar15 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar15)();\n  puVar12 = (undefined4 *)(*(int *)((int)arg + 0xc) - *(int *)((int)arg + 8));\n                    /* WARNING: Load size is inaccurate */\n  puVar9 = (undefined4 *)((int)puVar12 + size);\n  puVar7 = (undefined4 *)((int)puVar9 + *(int *)((int)arg + 0x18));\n  iVar14 = *(int *)((int)arg + 4);\n  puVar6 = *arg;\n  if (*arg < puVar7) {\n    puVar6 = puVar7;\n  }\n  puVar3 = (undefined4 *)(((uint)puVar12 >> 3) + 100 + (int)puVar7);\n  if (puVar3 <= puVar6) {\n    puVar3 = puVar6;\n  }\n  if ((puVar12 <= puVar9) &&\n     (puVar9 = (undefined4 *)(uint)(puVar7 < puVar9), puVar9 == (undefined4 *)0x0)) {\n    if (*(char *)((int)arg + 0x28) < '\0') {\n      puVar6 = *(undefined4 **)((int)arg + 0x24);\n      puVar9 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    else {\n      puVar6 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    if (puVar7 != (undefined4 *)0x0) {\n      uVar4 = *(uint *)((int)arg + 0x18);\n      uVar10 = *(undefined4 *)((int)arg + 8);\n      pcVar15 = *(code **)(pcVar15 + 0x18a40);\n      *(undefined4 **)((int)arg + 4) = puVar7;\n      puVar7[1] = iVar14;\n      uVar4 = (int)puVar7 + uVar4 + 8 & ~uVar4;\n      *(undefined1 **)((int)arg + 0x10) = (undefined1 *)((int)puVar7 + (int)puVar3);\n      *puVar7 = (undefined1 *)((int)puVar7 + (int)puVar3);\n      (*pcVar15)(uVar4,uVar10,puVar12);\n      bVar1 = *(byte *)((int)arg + 0x28);\n      if (((bVar1 & 0x40) == 0) &&\n         (*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))) {\n        pcVar15 = *(code **)((int)arg + 0x20);\n        puVar7[1] = *(undefined4 *)(iVar14 + 4);\n        if ((char)bVar1 < '\0') {\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n        else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n      }\n      else {\n        uVar5 = (uint)*(byte *)((int)arg + 0x28);\n      }\n      *(uint *)((int)arg + 8) = uVar4;\n      *(uint *)((int)arg + 0xc) = uVar4 + (int)puVar12;\n      *(char *)((int)arg + 0x28) = (char)(uVar5 & 0xffffffbf);\n      return uVar5 & 0xffffffbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar15 + 0x18894))();\n  puVar6 = (undefined4 *)puVar6[1];\n  if (puVar6 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((puVar9 <= puVar6 || ((undefined4 *)*puVar6 < puVar9))) {\n    puVar6 = (undefined4 *)puVar6[1];\n    if (puVar6 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "int _obstack_begin_1(obstack *h,size_t size,size_t alignment,\n                    _func_void_ptr_void_ptr_size_t *chunkfun,_func_void_void_ptr_void_ptr *freefun,\n                    void *arg)\n\n{\n  byte bVar1;\n  _obstack_chunk *p_Var2;\n  undefined4 *puVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  size_t sVar13;\n  int iVar14;\n  code *pcVar15;\n  \n  (h->freefun).extra = freefun;\n  (h->chunkfun).extra = chunkfun;\n  h->extra_arg = arg;\n  h->field_0x28 = h->field_0x28 & 0x7f | 0x80;\n  if (alignment == 0) {\n    sVar13 = 7;\n    alignment = 8;\n  }\n  else {\n    sVar13 = alignment - 1;\n  }\n  if (size == 0) {\n    size = (size_t)&DAT_00000fe8;\n  }\n  h->chunk_size = size;\n  h->alignment_mask = sVar13;\n  if ((char)h->field_0x28 < '\0') {\n    p_Var2 = (_obstack_chunk *)(*chunkfun)(arg,size);\n  }\n  else {\n    puVar6 = (undefined4 *)size;\n    p_Var2 = (_obstack_chunk *)(*chunkfun)((void *)size,size);\n    arg = (void *)size;\n    size = (size_t)puVar6;\n  }\n  h->chunk = p_Var2;\n  if (p_Var2 != (_obstack_chunk *)0x0) {\n    bVar1 = h->field_0x28;\n    pcVar8 = (char *)((int)&p_Var2->limit + h->chunk_size);\n    pcVar11 = (char *)((int)&p_Var2[1].limit + sVar13 & -alignment);\n    h->object_base = pcVar11;\n    h->next_free = pcVar11;\n    p_Var2->limit = pcVar8;\n    h->chunk_limit = pcVar8;\n    p_Var2->prev = (_obstack_chunk *)0x0;\n    h->field_0x28 = bVar1 & 0x9f;\n    return 1;\n  }\n  pcVar15 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar15)();\n  puVar12 = (undefined4 *)(*(int *)((int)arg + 0xc) - *(int *)((int)arg + 8));\n                    /* WARNING: Load size is inaccurate */\n  puVar9 = (undefined4 *)((int)puVar12 + size);\n  puVar7 = (undefined4 *)((int)puVar9 + *(int *)((int)arg + 0x18));\n  iVar14 = *(int *)((int)arg + 4);\n  puVar6 = *arg;\n  if (*arg < puVar7) {\n    puVar6 = puVar7;\n  }\n  puVar3 = (undefined4 *)(((uint)puVar12 >> 3) + 100 + (int)puVar7);\n  if (puVar3 <= puVar6) {\n    puVar3 = puVar6;\n  }\n  if ((puVar12 <= puVar9) &&\n     (puVar9 = (undefined4 *)(uint)(puVar7 < puVar9), puVar9 == (undefined4 *)0x0)) {\n    if (*(char *)((int)arg + 0x28) < '\0') {\n      puVar6 = *(undefined4 **)((int)arg + 0x24);\n      puVar9 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    else {\n      puVar6 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    if (puVar7 != (undefined4 *)0x0) {\n      uVar4 = *(uint *)((int)arg + 0x18);\n      uVar10 = *(undefined4 *)((int)arg + 8);\n      pcVar15 = *(code **)(pcVar15 + 0x18a40);\n      *(undefined4 **)((int)arg + 4) = puVar7;\n      puVar7[1] = iVar14;\n      uVar4 = (int)puVar7 + uVar4 + 8 & ~uVar4;\n      *(undefined1 **)((int)arg + 0x10) = (undefined1 *)((int)puVar7 + (int)puVar3);\n      *puVar7 = (undefined1 *)((int)puVar7 + (int)puVar3);\n      (*pcVar15)(uVar4,uVar10,puVar12);\n      bVar1 = *(byte *)((int)arg + 0x28);\n      if (((bVar1 & 0x40) == 0) &&\n         (*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))) {\n        pcVar15 = *(code **)((int)arg + 0x20);\n        puVar7[1] = *(undefined4 *)(iVar14 + 4);\n        if ((char)bVar1 < '\0') {\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n        else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n      }\n      else {\n        uVar5 = (uint)*(byte *)((int)arg + 0x28);\n      }\n      *(uint *)((int)arg + 8) = uVar4;\n      *(uint *)((int)arg + 0xc) = uVar4 + (int)puVar12;\n      *(char *)((int)arg + 0x28) = (char)(uVar5 & 0xffffffbf);\n      return uVar5 & 0xffffffbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar15 + 0x18894))();\n  puVar6 = (undefined4 *)puVar6[1];\n  if (puVar6 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((puVar9 <= puVar6 || ((undefined4 *)*puVar6 < puVar9))) {\n    puVar6 = (undefined4 *)puVar6[1];\n    if (puVar6 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}" primitive_type (function_declarator "_obstack_begin_1(obstack *h,size_t size,size_t alignment,\n                    _func_void_ptr_void_ptr_size_t *chunkfun,_func_void_void_ptr_void_ptr *freefun,\n                    void *arg)" identifier (parameter_list "(obstack *h,size_t size,size_t alignment,\n                    _func_void_ptr_void_ptr_size_t *chunkfun,_func_void_void_ptr_void_ptr *freefun,\n                    void *arg)" ( (parameter_declaration "obstack *h" type_identifier (pointer_declarator "*h" * identifier)) , (parameter_declaration "size_t size" primitive_type identifier) , (parameter_declaration "size_t alignment" primitive_type identifier) , (parameter_declaration "_func_void_ptr_void_ptr_size_t *chunkfun" type_identifier (pointer_declarator "*chunkfun" * identifier)) , (parameter_declaration "_func_void_void_ptr_void_ptr *freefun" type_identifier (pointer_declarator "*freefun" * identifier)) , (parameter_declaration "void *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  _obstack_chunk *p_Var2;\n  undefined4 *puVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  char *pcVar8;\n  undefined4 *puVar9;\n  undefined4 uVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  size_t sVar13;\n  int iVar14;\n  code *pcVar15;\n  \n  (h->freefun).extra = freefun;\n  (h->chunkfun).extra = chunkfun;\n  h->extra_arg = arg;\n  h->field_0x28 = h->field_0x28 & 0x7f | 0x80;\n  if (alignment == 0) {\n    sVar13 = 7;\n    alignment = 8;\n  }\n  else {\n    sVar13 = alignment - 1;\n  }\n  if (size == 0) {\n    size = (size_t)&DAT_00000fe8;\n  }\n  h->chunk_size = size;\n  h->alignment_mask = sVar13;\n  if ((char)h->field_0x28 < '\0') {\n    p_Var2 = (_obstack_chunk *)(*chunkfun)(arg,size);\n  }\n  else {\n    puVar6 = (undefined4 *)size;\n    p_Var2 = (_obstack_chunk *)(*chunkfun)((void *)size,size);\n    arg = (void *)size;\n    size = (size_t)puVar6;\n  }\n  h->chunk = p_Var2;\n  if (p_Var2 != (_obstack_chunk *)0x0) {\n    bVar1 = h->field_0x28;\n    pcVar8 = (char *)((int)&p_Var2->limit + h->chunk_size);\n    pcVar11 = (char *)((int)&p_Var2[1].limit + sVar13 & -alignment);\n    h->object_base = pcVar11;\n    h->next_free = pcVar11;\n    p_Var2->limit = pcVar8;\n    h->chunk_limit = pcVar8;\n    p_Var2->prev = (_obstack_chunk *)0x0;\n    h->field_0x28 = bVar1 & 0x9f;\n    return 1;\n  }\n  pcVar15 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar15)();\n  puVar12 = (undefined4 *)(*(int *)((int)arg + 0xc) - *(int *)((int)arg + 8));\n                    /* WARNING: Load size is inaccurate */\n  puVar9 = (undefined4 *)((int)puVar12 + size);\n  puVar7 = (undefined4 *)((int)puVar9 + *(int *)((int)arg + 0x18));\n  iVar14 = *(int *)((int)arg + 4);\n  puVar6 = *arg;\n  if (*arg < puVar7) {\n    puVar6 = puVar7;\n  }\n  puVar3 = (undefined4 *)(((uint)puVar12 >> 3) + 100 + (int)puVar7);\n  if (puVar3 <= puVar6) {\n    puVar3 = puVar6;\n  }\n  if ((puVar12 <= puVar9) &&\n     (puVar9 = (undefined4 *)(uint)(puVar7 < puVar9), puVar9 == (undefined4 *)0x0)) {\n    if (*(char *)((int)arg + 0x28) < '\0') {\n      puVar6 = *(undefined4 **)((int)arg + 0x24);\n      puVar9 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    else {\n      puVar6 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    if (puVar7 != (undefined4 *)0x0) {\n      uVar4 = *(uint *)((int)arg + 0x18);\n      uVar10 = *(undefined4 *)((int)arg + 8);\n      pcVar15 = *(code **)(pcVar15 + 0x18a40);\n      *(undefined4 **)((int)arg + 4) = puVar7;\n      puVar7[1] = iVar14;\n      uVar4 = (int)puVar7 + uVar4 + 8 & ~uVar4;\n      *(undefined1 **)((int)arg + 0x10) = (undefined1 *)((int)puVar7 + (int)puVar3);\n      *puVar7 = (undefined1 *)((int)puVar7 + (int)puVar3);\n      (*pcVar15)(uVar4,uVar10,puVar12);\n      bVar1 = *(byte *)((int)arg + 0x28);\n      if (((bVar1 & 0x40) == 0) &&\n         (*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))) {\n        pcVar15 = *(code **)((int)arg + 0x20);\n        puVar7[1] = *(undefined4 *)(iVar14 + 4);\n        if ((char)bVar1 < '\0') {\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n        else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n      }\n      else {\n        uVar5 = (uint)*(byte *)((int)arg + 0x28);\n      }\n      *(uint *)((int)arg + 8) = uVar4;\n      *(uint *)((int)arg + 0xc) = uVar4 + (int)puVar12;\n      *(char *)((int)arg + 0x28) = (char)(uVar5 & 0xffffffbf);\n      return uVar5 & 0xffffffbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar15 + 0x18894))();\n  puVar6 = (undefined4 *)puVar6[1];\n  if (puVar6 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((puVar9 <= puVar6 || ((undefined4 *)*puVar6 < puVar9))) {\n    puVar6 = (undefined4 *)puVar6[1];\n    if (puVar6 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "_obstack_chunk *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "size_t sVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (expression_statement "(h->freefun).extra = freefun;" (assignment_expression "(h->freefun).extra = freefun" (field_expression "(h->freefun).extra" (parenthesized_expression "(h->freefun)" ( (field_expression "h->freefun" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(h->chunkfun).extra = chunkfun;" (assignment_expression "(h->chunkfun).extra = chunkfun" (field_expression "(h->chunkfun).extra" (parenthesized_expression "(h->chunkfun)" ( (field_expression "h->chunkfun" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "h->extra_arg = arg;" (assignment_expression "h->extra_arg = arg" (field_expression "h->extra_arg" identifier -> field_identifier) = identifier) ;) (expression_statement "h->field_0x28 = h->field_0x28 & 0x7f | 0x80;" (assignment_expression "h->field_0x28 = h->field_0x28 & 0x7f | 0x80" (field_expression "h->field_0x28" identifier -> field_identifier) = (binary_expression "h->field_0x28 & 0x7f | 0x80" (binary_expression "h->field_0x28 & 0x7f" (field_expression "h->field_0x28" identifier -> field_identifier) & number_literal) | number_literal)) ;) (if_statement "if (alignment == 0) {\n    sVar13 = 7;\n    alignment = 8;\n  }\n  else {\n    sVar13 = alignment - 1;\n  }" if (parenthesized_expression "(alignment == 0)" ( (binary_expression "alignment == 0" identifier == number_literal) )) (compound_statement "{\n    sVar13 = 7;\n    alignment = 8;\n  }" { (expression_statement "sVar13 = 7;" (assignment_expression "sVar13 = 7" identifier = number_literal) ;) (expression_statement "alignment = 8;" (assignment_expression "alignment = 8" identifier = number_literal) ;) }) (else_clause "else {\n    sVar13 = alignment - 1;\n  }" else (compound_statement "{\n    sVar13 = alignment - 1;\n  }" { (expression_statement "sVar13 = alignment - 1;" (assignment_expression "sVar13 = alignment - 1" identifier = (binary_expression "alignment - 1" identifier - number_literal)) ;) }))) (if_statement "if (size == 0) {\n    size = (size_t)&DAT_00000fe8;\n  }" if (parenthesized_expression "(size == 0)" ( (binary_expression "size == 0" identifier == number_literal) )) (compound_statement "{\n    size = (size_t)&DAT_00000fe8;\n  }" { (expression_statement "size = (size_t)&DAT_00000fe8;" (assignment_expression "size = (size_t)&DAT_00000fe8" identifier = (cast_expression "(size_t)&DAT_00000fe8" ( (type_descriptor "size_t" primitive_type) ) (pointer_expression "&DAT_00000fe8" & identifier))) ;) })) (expression_statement "h->chunk_size = size;" (assignment_expression "h->chunk_size = size" (field_expression "h->chunk_size" identifier -> field_identifier) = identifier) ;) (expression_statement "h->alignment_mask = sVar13;" (assignment_expression "h->alignment_mask = sVar13" (field_expression "h->alignment_mask" identifier -> field_identifier) = identifier) ;) (if_statement "if ((char)h->field_0x28 < '\0') {\n    p_Var2 = (_obstack_chunk *)(*chunkfun)(arg,size);\n  }\n  else {\n    puVar6 = (undefined4 *)size;\n    p_Var2 = (_obstack_chunk *)(*chunkfun)((void *)size,size);\n    arg = (void *)size;\n    size = (size_t)puVar6;\n  }" if (parenthesized_expression "((char)h->field_0x28 < '\0')" ( (binary_expression "(char)h->field_0x28 < '\0'" (cast_expression "(char)h->field_0x28" ( (type_descriptor "char" primitive_type) ) (field_expression "h->field_0x28" identifier -> field_identifier)) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    p_Var2 = (_obstack_chunk *)(*chunkfun)(arg,size);\n  }" { (expression_statement "p_Var2 = (_obstack_chunk *)(*chunkfun)(arg,size);" (assignment_expression "p_Var2 = (_obstack_chunk *)(*chunkfun)(arg,size)" identifier = (cast_expression "(_obstack_chunk *)(*chunkfun)(arg,size)" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*chunkfun)(arg,size)" (parenthesized_expression "(*chunkfun)" ( (pointer_expression "*chunkfun" * identifier) )) (argument_list "(arg,size)" ( identifier , identifier ))))) ;) }) (else_clause "else {\n    puVar6 = (undefined4 *)size;\n    p_Var2 = (_obstack_chunk *)(*chunkfun)((void *)size,size);\n    arg = (void *)size;\n    size = (size_t)puVar6;\n  }" else (compound_statement "{\n    puVar6 = (undefined4 *)size;\n    p_Var2 = (_obstack_chunk *)(*chunkfun)((void *)size,size);\n    arg = (void *)size;\n    size = (size_t)puVar6;\n  }" { (expression_statement "puVar6 = (undefined4 *)size;" (assignment_expression "puVar6 = (undefined4 *)size" identifier = (cast_expression "(undefined4 *)size" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "p_Var2 = (_obstack_chunk *)(*chunkfun)((void *)size,size);" (assignment_expression "p_Var2 = (_obstack_chunk *)(*chunkfun)((void *)size,size)" identifier = (cast_expression "(_obstack_chunk *)(*chunkfun)((void *)size,size)" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*chunkfun)((void *)size,size)" (parenthesized_expression "(*chunkfun)" ( (pointer_expression "*chunkfun" * identifier) )) (argument_list "((void *)size,size)" ( (cast_expression "(void *)size" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))))) ;) (expression_statement "arg = (void *)size;" (assignment_expression "arg = (void *)size" identifier = (cast_expression "(void *)size" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "size = (size_t)puVar6;" (assignment_expression "size = (size_t)puVar6" identifier = (cast_expression "(size_t)puVar6" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) }))) (expression_statement "h->chunk = p_Var2;" (assignment_expression "h->chunk = p_Var2" (field_expression "h->chunk" identifier -> field_identifier) = identifier) ;) (if_statement "if (p_Var2 != (_obstack_chunk *)0x0) {\n    bVar1 = h->field_0x28;\n    pcVar8 = (char *)((int)&p_Var2->limit + h->chunk_size);\n    pcVar11 = (char *)((int)&p_Var2[1].limit + sVar13 & -alignment);\n    h->object_base = pcVar11;\n    h->next_free = pcVar11;\n    p_Var2->limit = pcVar8;\n    h->chunk_limit = pcVar8;\n    p_Var2->prev = (_obstack_chunk *)0x0;\n    h->field_0x28 = bVar1 & 0x9f;\n    return 1;\n  }" if (parenthesized_expression "(p_Var2 != (_obstack_chunk *)0x0)" ( (binary_expression "p_Var2 != (_obstack_chunk *)0x0" identifier != (cast_expression "(_obstack_chunk *)0x0" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bVar1 = h->field_0x28;\n    pcVar8 = (char *)((int)&p_Var2->limit + h->chunk_size);\n    pcVar11 = (char *)((int)&p_Var2[1].limit + sVar13 & -alignment);\n    h->object_base = pcVar11;\n    h->next_free = pcVar11;\n    p_Var2->limit = pcVar8;\n    h->chunk_limit = pcVar8;\n    p_Var2->prev = (_obstack_chunk *)0x0;\n    h->field_0x28 = bVar1 & 0x9f;\n    return 1;\n  }" { (expression_statement "bVar1 = h->field_0x28;" (assignment_expression "bVar1 = h->field_0x28" identifier = (field_expression "h->field_0x28" identifier -> field_identifier)) ;) (expression_statement "pcVar8 = (char *)((int)&p_Var2->limit + h->chunk_size);" (assignment_expression "pcVar8 = (char *)((int)&p_Var2->limit + h->chunk_size)" identifier = (cast_expression "(char *)((int)&p_Var2->limit + h->chunk_size)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&p_Var2->limit + h->chunk_size)" ( (binary_expression "(int)&p_Var2->limit + h->chunk_size" (cast_expression "(int)&p_Var2->limit" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p_Var2->limit" & (field_expression "p_Var2->limit" identifier -> field_identifier))) + (field_expression "h->chunk_size" identifier -> field_identifier)) )))) ;) (expression_statement "pcVar11 = (char *)((int)&p_Var2[1].limit + sVar13 & -alignment);" (assignment_expression "pcVar11 = (char *)((int)&p_Var2[1].limit + sVar13 & -alignment)" identifier = (cast_expression "(char *)((int)&p_Var2[1].limit + sVar13 & -alignment)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&p_Var2[1].limit + sVar13 & -alignment)" ( (binary_expression "(int)&p_Var2[1].limit + sVar13 & -alignment" (binary_expression "(int)&p_Var2[1].limit + sVar13" (cast_expression "(int)&p_Var2[1].limit" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p_Var2[1].limit" & (field_expression "p_Var2[1].limit" (subscript_expression "p_Var2[1]" identifier [ number_literal ]) . field_identifier))) + identifier) & (unary_expression "-alignment" - identifier)) )))) ;) (expression_statement "h->object_base = pcVar11;" (assignment_expression "h->object_base = pcVar11" (field_expression "h->object_base" identifier -> field_identifier) = identifier) ;) (expression_statement "h->next_free = pcVar11;" (assignment_expression "h->next_free = pcVar11" (field_expression "h->next_free" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->limit = pcVar8;" (assignment_expression "p_Var2->limit = pcVar8" (field_expression "p_Var2->limit" identifier -> field_identifier) = identifier) ;) (expression_statement "h->chunk_limit = pcVar8;" (assignment_expression "h->chunk_limit = pcVar8" (field_expression "h->chunk_limit" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->prev = (_obstack_chunk *)0x0;" (assignment_expression "p_Var2->prev = (_obstack_chunk *)0x0" (field_expression "p_Var2->prev" identifier -> field_identifier) = (cast_expression "(_obstack_chunk *)0x0" ( (type_descriptor "_obstack_chunk *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "h->field_0x28 = bVar1 & 0x9f;" (assignment_expression "h->field_0x28 = bVar1 & 0x9f" (field_expression "h->field_0x28" identifier -> field_identifier) = (binary_expression "bVar1 & 0x9f" identifier & number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "pcVar15 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;" (assignment_expression "pcVar15 = *(code **)PTR_obstack_alloc_failed_handler_0005630c" identifier = (pointer_expression "*(code **)PTR_obstack_alloc_failed_handler_0005630c" * (cast_expression "(code **)PTR_obstack_alloc_failed_handler_0005630c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*pcVar15)();" (call_expression "(*pcVar15)()" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "puVar12 = (undefined4 *)(*(int *)((int)arg + 0xc) - *(int *)((int)arg + 8));" (assignment_expression "puVar12 = (undefined4 *)(*(int *)((int)arg + 0xc) - *(int *)((int)arg + 8))" identifier = (cast_expression "(undefined4 *)(*(int *)((int)arg + 0xc) - *(int *)((int)arg + 8))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)arg + 0xc) - *(int *)((int)arg + 8))" ( (binary_expression "*(int *)((int)arg + 0xc) - *(int *)((int)arg + 8)" (pointer_expression "*(int *)((int)arg + 0xc)" * (cast_expression "(int *)((int)arg + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0xc)" ( (binary_expression "(int)arg + 0xc" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - (pointer_expression "*(int *)((int)arg + 8)" * (cast_expression "(int *)((int)arg + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 8)" ( (binary_expression "(int)arg + 8" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )))) ;) comment (expression_statement "puVar9 = (undefined4 *)((int)puVar12 + size);" (assignment_expression "puVar9 = (undefined4 *)((int)puVar12 + size)" identifier = (cast_expression "(undefined4 *)((int)puVar12 + size)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + size)" ( (binary_expression "(int)puVar12 + size" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "puVar7 = (undefined4 *)((int)puVar9 + *(int *)((int)arg + 0x18));" (assignment_expression "puVar7 = (undefined4 *)((int)puVar9 + *(int *)((int)arg + 0x18))" identifier = (cast_expression "(undefined4 *)((int)puVar9 + *(int *)((int)arg + 0x18))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 + *(int *)((int)arg + 0x18))" ( (binary_expression "(int)puVar9 + *(int *)((int)arg + 0x18)" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)((int)arg + 0x18)" * (cast_expression "(int *)((int)arg + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x18)" ( (binary_expression "(int)arg + 0x18" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )))) ;) (expression_statement "iVar14 = *(int *)((int)arg + 4);" (assignment_expression "iVar14 = *(int *)((int)arg + 4)" identifier = (pointer_expression "*(int *)((int)arg + 4)" * (cast_expression "(int *)((int)arg + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 4)" ( (binary_expression "(int)arg + 4" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "puVar6 = *arg;" (assignment_expression "puVar6 = *arg" identifier = (pointer_expression "*arg" * identifier)) ;) (if_statement "if (*arg < puVar7) {\n    puVar6 = puVar7;\n  }" if (parenthesized_expression "(*arg < puVar7)" ( (binary_expression "*arg < puVar7" (pointer_expression "*arg" * identifier) < identifier) )) (compound_statement "{\n    puVar6 = puVar7;\n  }" { (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" identifier = identifier) ;) })) (expression_statement "puVar3 = (undefined4 *)(((uint)puVar12 >> 3) + 100 + (int)puVar7);" (assignment_expression "puVar3 = (undefined4 *)(((uint)puVar12 >> 3) + 100 + (int)puVar7)" identifier = (cast_expression "(undefined4 *)(((uint)puVar12 >> 3) + 100 + (int)puVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uint)puVar12 >> 3) + 100 + (int)puVar7)" ( (binary_expression "((uint)puVar12 >> 3) + 100 + (int)puVar7" (binary_expression "((uint)puVar12 >> 3) + 100" (parenthesized_expression "((uint)puVar12 >> 3)" ( (binary_expression "(uint)puVar12 >> 3" (cast_expression "(uint)puVar12" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )) + number_literal) + (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (puVar3 <= puVar6) {\n    puVar3 = puVar6;\n  }" if (parenthesized_expression "(puVar3 <= puVar6)" ( (binary_expression "puVar3 <= puVar6" identifier <= identifier) )) (compound_statement "{\n    puVar3 = puVar6;\n  }" { (expression_statement "puVar3 = puVar6;" (assignment_expression "puVar3 = puVar6" identifier = identifier) ;) })) (if_statement "if ((puVar12 <= puVar9) &&\n     (puVar9 = (undefined4 *)(uint)(puVar7 < puVar9), puVar9 == (undefined4 *)0x0)) {\n    if (*(char *)((int)arg + 0x28) < '\0') {\n      puVar6 = *(undefined4 **)((int)arg + 0x24);\n      puVar9 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    else {\n      puVar6 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    if (puVar7 != (undefined4 *)0x0) {\n      uVar4 = *(uint *)((int)arg + 0x18);\n      uVar10 = *(undefined4 *)((int)arg + 8);\n      pcVar15 = *(code **)(pcVar15 + 0x18a40);\n      *(undefined4 **)((int)arg + 4) = puVar7;\n      puVar7[1] = iVar14;\n      uVar4 = (int)puVar7 + uVar4 + 8 & ~uVar4;\n      *(undefined1 **)((int)arg + 0x10) = (undefined1 *)((int)puVar7 + (int)puVar3);\n      *puVar7 = (undefined1 *)((int)puVar7 + (int)puVar3);\n      (*pcVar15)(uVar4,uVar10,puVar12);\n      bVar1 = *(byte *)((int)arg + 0x28);\n      if (((bVar1 & 0x40) == 0) &&\n         (*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))) {\n        pcVar15 = *(code **)((int)arg + 0x20);\n        puVar7[1] = *(undefined4 *)(iVar14 + 4);\n        if ((char)bVar1 < '\0') {\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n        else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n      }\n      else {\n        uVar5 = (uint)*(byte *)((int)arg + 0x28);\n      }\n      *(uint *)((int)arg + 8) = uVar4;\n      *(uint *)((int)arg + 0xc) = uVar4 + (int)puVar12;\n      *(char *)((int)arg + 0x28) = (char)(uVar5 & 0xffffffbf);\n      return uVar5 & 0xffffffbf;\n    }\n  }" if (parenthesized_expression "((puVar12 <= puVar9) &&\n     (puVar9 = (undefined4 *)(uint)(puVar7 < puVar9), puVar9 == (undefined4 *)0x0))" ( (binary_expression "(puVar12 <= puVar9) &&\n     (puVar9 = (undefined4 *)(uint)(puVar7 < puVar9), puVar9 == (undefined4 *)0x0)" (parenthesized_expression "(puVar12 <= puVar9)" ( (binary_expression "puVar12 <= puVar9" identifier <= identifier) )) && (parenthesized_expression "(puVar9 = (undefined4 *)(uint)(puVar7 < puVar9), puVar9 == (undefined4 *)0x0)" ( (comma_expression "puVar9 = (undefined4 *)(uint)(puVar7 < puVar9), puVar9 == (undefined4 *)0x0" (assignment_expression "puVar9 = (undefined4 *)(uint)(puVar7 < puVar9)" identifier = (cast_expression "(undefined4 *)(uint)(puVar7 < puVar9)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(puVar7 < puVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 < puVar9)" ( (binary_expression "puVar7 < puVar9" identifier < identifier) ))))) , (binary_expression "puVar9 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    if (*(char *)((int)arg + 0x28) < '\0') {\n      puVar6 = *(undefined4 **)((int)arg + 0x24);\n      puVar9 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    else {\n      puVar6 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    if (puVar7 != (undefined4 *)0x0) {\n      uVar4 = *(uint *)((int)arg + 0x18);\n      uVar10 = *(undefined4 *)((int)arg + 8);\n      pcVar15 = *(code **)(pcVar15 + 0x18a40);\n      *(undefined4 **)((int)arg + 4) = puVar7;\n      puVar7[1] = iVar14;\n      uVar4 = (int)puVar7 + uVar4 + 8 & ~uVar4;\n      *(undefined1 **)((int)arg + 0x10) = (undefined1 *)((int)puVar7 + (int)puVar3);\n      *puVar7 = (undefined1 *)((int)puVar7 + (int)puVar3);\n      (*pcVar15)(uVar4,uVar10,puVar12);\n      bVar1 = *(byte *)((int)arg + 0x28);\n      if (((bVar1 & 0x40) == 0) &&\n         (*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))) {\n        pcVar15 = *(code **)((int)arg + 0x20);\n        puVar7[1] = *(undefined4 *)(iVar14 + 4);\n        if ((char)bVar1 < '\0') {\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n        else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n      }\n      else {\n        uVar5 = (uint)*(byte *)((int)arg + 0x28);\n      }\n      *(uint *)((int)arg + 8) = uVar4;\n      *(uint *)((int)arg + 0xc) = uVar4 + (int)puVar12;\n      *(char *)((int)arg + 0x28) = (char)(uVar5 & 0xffffffbf);\n      return uVar5 & 0xffffffbf;\n    }\n  }" { (if_statement "if (*(char *)((int)arg + 0x28) < '\0') {\n      puVar6 = *(undefined4 **)((int)arg + 0x24);\n      puVar9 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }\n    else {\n      puVar6 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }" if (parenthesized_expression "(*(char *)((int)arg + 0x28) < '\0')" ( (binary_expression "*(char *)((int)arg + 0x28) < '\0'" (pointer_expression "*(char *)((int)arg + 0x28)" * (cast_expression "(char *)((int)arg + 0x28)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x28)" ( (binary_expression "(int)arg + 0x28" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      puVar6 = *(undefined4 **)((int)arg + 0x24);\n      puVar9 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }" { (expression_statement "puVar6 = *(undefined4 **)((int)arg + 0x24);" (assignment_expression "puVar6 = *(undefined4 **)((int)arg + 0x24)" identifier = (pointer_expression "*(undefined4 **)((int)arg + 0x24)" * (cast_expression "(undefined4 **)((int)arg + 0x24)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)arg + 0x24)" ( (binary_expression "(int)arg + 0x24" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "puVar9 = puVar3;" (assignment_expression "puVar9 = puVar3" identifier = identifier) ;) (expression_statement "puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))()" identifier = (cast_expression "(undefined4 *)(**(code **)((int)arg + 0x1c))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)((int)arg + 0x1c))()" (parenthesized_expression "(**(code **)((int)arg + 0x1c))" ( (pointer_expression "**(code **)((int)arg + 0x1c)" * (pointer_expression "*(code **)((int)arg + 0x1c)" * (cast_expression "(code **)((int)arg + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)arg + 0x1c)" ( (binary_expression "(int)arg + 0x1c" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (argument_list "()" ( ))))) ;) }) (else_clause "else {\n      puVar6 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }" else (compound_statement "{\n      puVar6 = puVar3;\n      puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();\n    }" { (expression_statement "puVar6 = puVar3;" (assignment_expression "puVar6 = puVar3" identifier = identifier) ;) (expression_statement "puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))();" (assignment_expression "puVar7 = (undefined4 *)(**(code **)((int)arg + 0x1c))()" identifier = (cast_expression "(undefined4 *)(**(code **)((int)arg + 0x1c))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)((int)arg + 0x1c))()" (parenthesized_expression "(**(code **)((int)arg + 0x1c))" ( (pointer_expression "**(code **)((int)arg + 0x1c)" * (pointer_expression "*(code **)((int)arg + 0x1c)" * (cast_expression "(code **)((int)arg + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)arg + 0x1c)" ( (binary_expression "(int)arg + 0x1c" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (argument_list "()" ( ))))) ;) }))) (if_statement "if (puVar7 != (undefined4 *)0x0) {\n      uVar4 = *(uint *)((int)arg + 0x18);\n      uVar10 = *(undefined4 *)((int)arg + 8);\n      pcVar15 = *(code **)(pcVar15 + 0x18a40);\n      *(undefined4 **)((int)arg + 4) = puVar7;\n      puVar7[1] = iVar14;\n      uVar4 = (int)puVar7 + uVar4 + 8 & ~uVar4;\n      *(undefined1 **)((int)arg + 0x10) = (undefined1 *)((int)puVar7 + (int)puVar3);\n      *puVar7 = (undefined1 *)((int)puVar7 + (int)puVar3);\n      (*pcVar15)(uVar4,uVar10,puVar12);\n      bVar1 = *(byte *)((int)arg + 0x28);\n      if (((bVar1 & 0x40) == 0) &&\n         (*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))) {\n        pcVar15 = *(code **)((int)arg + 0x20);\n        puVar7[1] = *(undefined4 *)(iVar14 + 4);\n        if ((char)bVar1 < '\0') {\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n        else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n      }\n      else {\n        uVar5 = (uint)*(byte *)((int)arg + 0x28);\n      }\n      *(uint *)((int)arg + 8) = uVar4;\n      *(uint *)((int)arg + 0xc) = uVar4 + (int)puVar12;\n      *(char *)((int)arg + 0x28) = (char)(uVar5 & 0xffffffbf);\n      return uVar5 & 0xffffffbf;\n    }" if (parenthesized_expression "(puVar7 != (undefined4 *)0x0)" ( (binary_expression "puVar7 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar4 = *(uint *)((int)arg + 0x18);\n      uVar10 = *(undefined4 *)((int)arg + 8);\n      pcVar15 = *(code **)(pcVar15 + 0x18a40);\n      *(undefined4 **)((int)arg + 4) = puVar7;\n      puVar7[1] = iVar14;\n      uVar4 = (int)puVar7 + uVar4 + 8 & ~uVar4;\n      *(undefined1 **)((int)arg + 0x10) = (undefined1 *)((int)puVar7 + (int)puVar3);\n      *puVar7 = (undefined1 *)((int)puVar7 + (int)puVar3);\n      (*pcVar15)(uVar4,uVar10,puVar12);\n      bVar1 = *(byte *)((int)arg + 0x28);\n      if (((bVar1 & 0x40) == 0) &&\n         (*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))) {\n        pcVar15 = *(code **)((int)arg + 0x20);\n        puVar7[1] = *(undefined4 *)(iVar14 + 4);\n        if ((char)bVar1 < '\0') {\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n        else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n      }\n      else {\n        uVar5 = (uint)*(byte *)((int)arg + 0x28);\n      }\n      *(uint *)((int)arg + 8) = uVar4;\n      *(uint *)((int)arg + 0xc) = uVar4 + (int)puVar12;\n      *(char *)((int)arg + 0x28) = (char)(uVar5 & 0xffffffbf);\n      return uVar5 & 0xffffffbf;\n    }" { (expression_statement "uVar4 = *(uint *)((int)arg + 0x18);" (assignment_expression "uVar4 = *(uint *)((int)arg + 0x18)" identifier = (pointer_expression "*(uint *)((int)arg + 0x18)" * (cast_expression "(uint *)((int)arg + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x18)" ( (binary_expression "(int)arg + 0x18" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar10 = *(undefined4 *)((int)arg + 8);" (assignment_expression "uVar10 = *(undefined4 *)((int)arg + 8)" identifier = (pointer_expression "*(undefined4 *)((int)arg + 8)" * (cast_expression "(undefined4 *)((int)arg + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 8)" ( (binary_expression "(int)arg + 8" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "pcVar15 = *(code **)(pcVar15 + 0x18a40);" (assignment_expression "pcVar15 = *(code **)(pcVar15 + 0x18a40)" identifier = (pointer_expression "*(code **)(pcVar15 + 0x18a40)" * (cast_expression "(code **)(pcVar15 + 0x18a40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x18a40)" ( (binary_expression "pcVar15 + 0x18a40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)((int)arg + 4) = puVar7;" (assignment_expression "*(undefined4 **)((int)arg + 4) = puVar7" (pointer_expression "*(undefined4 **)((int)arg + 4)" * (cast_expression "(undefined4 **)((int)arg + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)arg + 4)" ( (binary_expression "(int)arg + 4" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar7[1] = iVar14;" (assignment_expression "puVar7[1] = iVar14" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar4 = (int)puVar7 + uVar4 + 8 & ~uVar4;" (assignment_expression "uVar4 = (int)puVar7 + uVar4 + 8 & ~uVar4" identifier = (binary_expression "(int)puVar7 + uVar4 + 8 & ~uVar4" (binary_expression "(int)puVar7 + uVar4 + 8" (binary_expression "(int)puVar7 + uVar4" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) & (unary_expression "~uVar4" ~ identifier))) ;) (expression_statement "*(undefined1 **)((int)arg + 0x10) = (undefined1 *)((int)puVar7 + (int)puVar3);" (assignment_expression "*(undefined1 **)((int)arg + 0x10) = (undefined1 *)((int)puVar7 + (int)puVar3)" (pointer_expression "*(undefined1 **)((int)arg + 0x10)" * (cast_expression "(undefined1 **)((int)arg + 0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)arg + 0x10)" ( (binary_expression "(int)arg + 0x10" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(undefined1 *)((int)puVar7 + (int)puVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (int)puVar3)" ( (binary_expression "(int)puVar7 + (int)puVar3" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "*puVar7 = (undefined1 *)((int)puVar7 + (int)puVar3);" (assignment_expression "*puVar7 = (undefined1 *)((int)puVar7 + (int)puVar3)" (pointer_expression "*puVar7" * identifier) = (cast_expression "(undefined1 *)((int)puVar7 + (int)puVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (int)puVar3)" ( (binary_expression "(int)puVar7 + (int)puVar3" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*pcVar15)(uVar4,uVar10,puVar12);" (call_expression "(*pcVar15)(uVar4,uVar10,puVar12)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(uVar4,uVar10,puVar12)" ( identifier , identifier , identifier ))) ;) (expression_statement "bVar1 = *(byte *)((int)arg + 0x28);" (assignment_expression "bVar1 = *(byte *)((int)arg + 0x28)" identifier = (pointer_expression "*(byte *)((int)arg + 0x28)" * (cast_expression "(byte *)((int)arg + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x28)" ( (binary_expression "(int)arg + 0x28" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (if_statement "if (((bVar1 & 0x40) == 0) &&\n         (*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))) {\n        pcVar15 = *(code **)((int)arg + 0x20);\n        puVar7[1] = *(undefined4 *)(iVar14 + 4);\n        if ((char)bVar1 < '\0') {\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n        else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n      }\n      else {\n        uVar5 = (uint)*(byte *)((int)arg + 0x28);\n      }" if (parenthesized_expression "(((bVar1 & 0x40) == 0) &&\n         (*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18))))" ( (binary_expression "((bVar1 & 0x40) == 0) &&\n         (*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))" (parenthesized_expression "((bVar1 & 0x40) == 0)" ( (binary_expression "(bVar1 & 0x40) == 0" (parenthesized_expression "(bVar1 & 0x40)" ( (binary_expression "bVar1 & 0x40" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)))" ( (binary_expression "*(uint *)((int)arg + 8) ==\n          (iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18))" (pointer_expression "*(uint *)((int)arg + 8)" * (cast_expression "(uint *)((int)arg + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 8)" ( (binary_expression "(int)arg + 8" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (parenthesized_expression "(iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18))" ( (binary_expression "iVar14 + 8 + *(uint *)((int)arg + 0x18) & ~*(uint *)((int)arg + 0x18)" (binary_expression "iVar14 + 8 + *(uint *)((int)arg + 0x18)" (binary_expression "iVar14 + 8" identifier + number_literal) + (pointer_expression "*(uint *)((int)arg + 0x18)" * (cast_expression "(uint *)((int)arg + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x18)" ( (binary_expression "(int)arg + 0x18" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) & (unary_expression "~*(uint *)((int)arg + 0x18)" ~ (pointer_expression "*(uint *)((int)arg + 0x18)" * (cast_expression "(uint *)((int)arg + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x18)" ( (binary_expression "(int)arg + 0x18" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) ))) ))) )) (compound_statement "{\n        pcVar15 = *(code **)((int)arg + 0x20);\n        puVar7[1] = *(undefined4 *)(iVar14 + 4);\n        if ((char)bVar1 < '\0') {\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n        else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n      }" { (expression_statement "pcVar15 = *(code **)((int)arg + 0x20);" (assignment_expression "pcVar15 = *(code **)((int)arg + 0x20)" identifier = (pointer_expression "*(code **)((int)arg + 0x20)" * (cast_expression "(code **)((int)arg + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)arg + 0x20)" ( (binary_expression "(int)arg + 0x20" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "puVar7[1] = *(undefined4 *)(iVar14 + 4);" (assignment_expression "puVar7[1] = *(undefined4 *)(iVar14 + 4)" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar14 + 4)" * (cast_expression "(undefined4 *)(iVar14 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + 4)" ( (binary_expression "iVar14 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((char)bVar1 < '\0') {\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }\n        else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }" if (parenthesized_expression "((char)bVar1 < '\0')" ( (binary_expression "(char)bVar1 < '\0'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }" { (expression_statement "(*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14);" (call_expression "(*pcVar15)(*(undefined4 *)((int)arg + 0x24),iVar14)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(*(undefined4 *)((int)arg + 0x24),iVar14)" ( (pointer_expression "*(undefined4 *)((int)arg + 0x24)" * (cast_expression "(undefined4 *)((int)arg + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x24)" ( (binary_expression "(int)arg + 0x24" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier ))) ;) (expression_statement "uVar5 = (uint)*(byte *)((int)arg + 0x28);" (assignment_expression "uVar5 = (uint)*(byte *)((int)arg + 0x28)" identifier = (binary_expression "(uint)*(byte *)((int)arg + 0x28)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)arg + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x28)" ( (binary_expression "(int)arg + 0x28" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }) (else_clause "else {\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }" else (compound_statement "{\n          (*pcVar15)(iVar14);\n          uVar5 = (uint)*(byte *)((int)arg + 0x28);\n        }" { (expression_statement "(*pcVar15)(iVar14);" (call_expression "(*pcVar15)(iVar14)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(iVar14)" ( identifier ))) ;) (expression_statement "uVar5 = (uint)*(byte *)((int)arg + 0x28);" (assignment_expression "uVar5 = (uint)*(byte *)((int)arg + 0x28)" identifier = (binary_expression "(uint)*(byte *)((int)arg + 0x28)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)arg + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x28)" ( (binary_expression "(int)arg + 0x28" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }))) }) (else_clause "else {\n        uVar5 = (uint)*(byte *)((int)arg + 0x28);\n      }" else (compound_statement "{\n        uVar5 = (uint)*(byte *)((int)arg + 0x28);\n      }" { (expression_statement "uVar5 = (uint)*(byte *)((int)arg + 0x28);" (assignment_expression "uVar5 = (uint)*(byte *)((int)arg + 0x28)" identifier = (binary_expression "(uint)*(byte *)((int)arg + 0x28)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)arg + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x28)" ( (binary_expression "(int)arg + 0x28" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }))) (expression_statement "*(uint *)((int)arg + 8) = uVar4;" (assignment_expression "*(uint *)((int)arg + 8) = uVar4" (pointer_expression "*(uint *)((int)arg + 8)" * (cast_expression "(uint *)((int)arg + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 8)" ( (binary_expression "(int)arg + 8" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)((int)arg + 0xc) = uVar4 + (int)puVar12;" (assignment_expression "*(uint *)((int)arg + 0xc) = uVar4 + (int)puVar12" (pointer_expression "*(uint *)((int)arg + 0xc)" * (cast_expression "(uint *)((int)arg + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0xc)" ( (binary_expression "(int)arg + 0xc" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "uVar4 + (int)puVar12" identifier + (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(char *)((int)arg + 0x28) = (char)(uVar5 & 0xffffffbf);" (assignment_expression "*(char *)((int)arg + 0x28) = (char)(uVar5 & 0xffffffbf)" (pointer_expression "*(char *)((int)arg + 0x28)" * (cast_expression "(char *)((int)arg + 0x28)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 0x28)" ( (binary_expression "(int)arg + 0x28" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(char)(uVar5 & 0xffffffbf)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 & 0xffffffbf)" ( (binary_expression "uVar5 & 0xffffffbf" identifier & number_literal) )))) ;) (return_statement "return uVar5 & 0xffffffbf;" return (binary_expression "uVar5 & 0xffffffbf" identifier & number_literal) ;) })) })) (expression_statement "(*(code *)**(undefined4 **)(pcVar15 + 0x18894))();" (call_expression "(*(code *)**(undefined4 **)(pcVar15 + 0x18894))()" (parenthesized_expression "(*(code *)**(undefined4 **)(pcVar15 + 0x18894))" ( (pointer_expression "*(code *)**(undefined4 **)(pcVar15 + 0x18894)" * (cast_expression "(code *)**(undefined4 **)(pcVar15 + 0x18894)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(pcVar15 + 0x18894)" * (pointer_expression "*(undefined4 **)(pcVar15 + 0x18894)" * (cast_expression "(undefined4 **)(pcVar15 + 0x18894)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar15 + 0x18894)" ( (binary_expression "pcVar15 + 0x18894" identifier + number_literal) ))))))) )) (argument_list "()" ( ))) ;) (expression_statement "puVar6 = (undefined4 *)puVar6[1];" (assignment_expression "puVar6 = (undefined4 *)puVar6[1]" identifier = (cast_expression "(undefined4 *)puVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar6 == (undefined4 *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(puVar6 == (undefined4 *)0x0)" ( (binary_expression "puVar6 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (while_statement "while ((puVar9 <= puVar6 || ((undefined4 *)*puVar6 < puVar9))) {\n    puVar6 = (undefined4 *)puVar6[1];\n    if (puVar6 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }" while (parenthesized_expression "((puVar9 <= puVar6 || ((undefined4 *)*puVar6 < puVar9)))" ( (parenthesized_expression "(puVar9 <= puVar6 || ((undefined4 *)*puVar6 < puVar9))" ( (binary_expression "puVar9 <= puVar6 || ((undefined4 *)*puVar6 < puVar9)" (binary_expression "puVar9 <= puVar6" identifier <= identifier) || (parenthesized_expression "((undefined4 *)*puVar6 < puVar9)" ( (binary_expression "(undefined4 *)*puVar6 < puVar9" (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier)) < identifier) ))) )) )) (compound_statement "{\n    puVar6 = (undefined4 *)puVar6[1];\n    if (puVar6 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }" { (expression_statement "puVar6 = (undefined4 *)puVar6[1];" (assignment_expression "puVar6 = (undefined4 *)puVar6[1]" identifier = (cast_expression "(undefined4 *)puVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar6 == (undefined4 *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(puVar6 == (undefined4 *)0x0)" ( (binary_expression "puVar6 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "byte _obstack_begin_1(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  byte bVar4;\n  undefined4 *puVar3;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  int iVar10;\n  code *pcVar11;\n  \n  param_1[8] = param_5;\n  param_1[7] = (int)param_4;\n  param_1[9] = (int)param_6;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;\n  if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }\n  *param_1 = (int)param_2;\n  param_1[6] = iVar10;\n  if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }\n  param_1[1] = (int)piVar1;\n  if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }\n  pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar11)();\n  puVar9 = (undefined4 *)(param_6[3] - param_6[2]);\n  param_2 = (undefined4 *)((int)puVar9 + (int)param_2);\n  puVar5 = (undefined4 *)((int)param_2 + param_6[6]);\n  iVar10 = param_6[1];\n  puVar3 = (undefined4 *)*param_6;\n  if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }\n  puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);\n  if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }\n  if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar11 + 0x18894))();\n  puVar3 = (undefined4 *)puVar3[1];\n  if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "byte _obstack_begin_1(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  byte bVar4;\n  undefined4 *puVar3;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  int iVar10;\n  code *pcVar11;\n  \n  param_1[8] = param_5;\n  param_1[7] = (int)param_4;\n  param_1[9] = (int)param_6;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;\n  if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }\n  *param_1 = (int)param_2;\n  param_1[6] = iVar10;\n  if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }\n  param_1[1] = (int)piVar1;\n  if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }\n  pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar11)();\n  puVar9 = (undefined4 *)(param_6[3] - param_6[2]);\n  param_2 = (undefined4 *)((int)puVar9 + (int)param_2);\n  puVar5 = (undefined4 *)((int)param_2 + param_6[6]);\n  iVar10 = param_6[1];\n  puVar3 = (undefined4 *)*param_6;\n  if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }\n  puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);\n  if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }\n  if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar11 + 0x18894))();\n  puVar3 = (undefined4 *)puVar3[1];\n  if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "_obstack_begin_1(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)" identifier (parameter_list "(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "code *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  byte bVar4;\n  undefined4 *puVar3;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  int iVar10;\n  code *pcVar11;\n  \n  param_1[8] = param_5;\n  param_1[7] = (int)param_4;\n  param_1[9] = (int)param_6;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;\n  if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }\n  *param_1 = (int)param_2;\n  param_1[6] = iVar10;\n  if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }\n  param_1[1] = (int)piVar1;\n  if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }\n  pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar11)();\n  puVar9 = (undefined4 *)(param_6[3] - param_6[2]);\n  param_2 = (undefined4 *)((int)puVar9 + (int)param_2);\n  puVar5 = (undefined4 *)((int)param_2 + param_6[6]);\n  iVar10 = param_6[1];\n  puVar3 = (undefined4 *)*param_6;\n  if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }\n  puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);\n  if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }\n  if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar11 + 0x18894))();\n  puVar3 = (undefined4 *)puVar3[1];\n  if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (expression_statement "param_1[8] = param_5;" (assignment_expression "param_1[8] = param_5" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[7] = (int)param_4;" (assignment_expression "param_1[7] = (int)param_4" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[9] = (int)param_6;" (assignment_expression "param_1[9] = (int)param_6" (subscript_expression "param_1[9]" identifier [ number_literal ]) = (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;" (assignment_expression "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80" (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = (binary_expression "*(byte *)(param_1 + 10) & 0x7f | 0x80" (binary_expression "*(byte *)(param_1 + 10) & 0x7f" (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) & number_literal) | number_literal)) ;) (if_statement "if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar10 = 7;\n    param_3 = 8;\n  }" { (expression_statement "iVar10 = 7;" (assignment_expression "iVar10 = 7" identifier = number_literal) ;) (expression_statement "param_3 = 8;" (assignment_expression "param_3 = 8" identifier = number_literal) ;) }) (else_clause "else {\n    iVar10 = param_3 + -1;\n  }" else (compound_statement "{\n    iVar10 = param_3 + -1;\n  }" { (expression_statement "iVar10 = param_3 + -1;" (assignment_expression "iVar10 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) }))) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }" if (parenthesized_expression "(param_2 == (undefined4 *)0x0)" ( (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }" { (expression_statement "param_2 = (undefined4 *)&DAT_00000fe8;" (assignment_expression "param_2 = (undefined4 *)&DAT_00000fe8" identifier = (cast_expression "(undefined4 *)&DAT_00000fe8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000fe8" & identifier))) ;) })) (expression_statement "*param_1 = (int)param_2;" (assignment_expression "*param_1 = (int)param_2" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[6] = iVar10;" (assignment_expression "param_1[6] = iVar10" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 10) < '\0')" ( (binary_expression "*(char *)(param_1 + 10) < '\0'" (pointer_expression "*(char *)(param_1 + 10)" * (cast_expression "(char *)(param_1 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar1 = (int *)(*param_4)();\n  }" { (expression_statement "piVar1 = (int *)(*param_4)();" (assignment_expression "piVar1 = (int *)(*param_4)()" identifier = (cast_expression "(int *)(*param_4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*param_4)()" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "()" ( ))))) ;) }) (else_clause "else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }" else (compound_statement "{\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }" { (expression_statement "puVar3 = param_2;" (assignment_expression "puVar3 = param_2" identifier = identifier) ;) (expression_statement "piVar1 = (int *)(*param_4)();" (assignment_expression "piVar1 = (int *)(*param_4)()" identifier = (cast_expression "(int *)(*param_4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*param_4)()" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "()" ( ))))) ;) (expression_statement "param_6 = param_2;" (assignment_expression "param_6 = param_2" identifier = identifier) ;) (expression_statement "param_2 = puVar3;" (assignment_expression "param_2 = puVar3" identifier = identifier) ;) }))) (expression_statement "param_1[1] = (int)piVar1;" (assignment_expression "param_1[1] = (int)piVar1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }" { (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "bVar4 = *(byte *)(param_1 + 10);" (assignment_expression "bVar4 = *(byte *)(param_1 + 10)" identifier = (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;" (assignment_expression "uVar8 = (int)piVar1 + iVar10 + 8 & -param_3" identifier = (binary_expression "(int)piVar1 + iVar10 + 8 & -param_3" (binary_expression "(int)piVar1 + iVar10 + 8" (binary_expression "(int)piVar1 + iVar10" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) & (unary_expression "-param_3" - identifier))) ;) (expression_statement "param_1[2] = uVar8;" (assignment_expression "param_1[2] = uVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = uVar8;" (assignment_expression "param_1[3] = uVar8" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = (int)piVar1 + iVar6;" (assignment_expression "*piVar1 = (int)piVar1 + iVar6" (pointer_expression "*piVar1" * identifier) = (binary_expression "(int)piVar1 + iVar6" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "param_1[4] = (int)piVar1 + iVar6;" (assignment_expression "param_1[4] = (int)piVar1 + iVar6" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "(int)piVar1 + iVar6" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 10) = bVar4 & 0x9f;" (assignment_expression "*(byte *)(param_1 + 10) = bVar4 & 0x9f" (pointer_expression "*(byte *)(param_1 + 10)" * (cast_expression "(byte *)(param_1 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) = (binary_expression "bVar4 & 0x9f" identifier & number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;" (assignment_expression "pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c" identifier = (pointer_expression "*(code **)PTR_obstack_alloc_failed_handler_0005630c" * (cast_expression "(code **)PTR_obstack_alloc_failed_handler_0005630c" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*pcVar11)();" (call_expression "(*pcVar11)()" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "puVar9 = (undefined4 *)(param_6[3] - param_6[2]);" (assignment_expression "puVar9 = (undefined4 *)(param_6[3] - param_6[2])" identifier = (cast_expression "(undefined4 *)(param_6[3] - param_6[2])" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6[3] - param_6[2])" ( (binary_expression "param_6[3] - param_6[2]" (subscript_expression "param_6[3]" identifier [ number_literal ]) - (subscript_expression "param_6[2]" identifier [ number_literal ])) )))) ;) (expression_statement "param_2 = (undefined4 *)((int)puVar9 + (int)param_2);" (assignment_expression "param_2 = (undefined4 *)((int)puVar9 + (int)param_2)" identifier = (cast_expression "(undefined4 *)((int)puVar9 + (int)param_2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar9 + (int)param_2)" ( (binary_expression "(int)puVar9 + (int)param_2" (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "puVar5 = (undefined4 *)((int)param_2 + param_6[6]);" (assignment_expression "puVar5 = (undefined4 *)((int)param_2 + param_6[6])" identifier = (cast_expression "(undefined4 *)((int)param_2 + param_6[6])" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + param_6[6])" ( (binary_expression "(int)param_2 + param_6[6]" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (subscript_expression "param_6[6]" identifier [ number_literal ])) )))) ;) (expression_statement "iVar10 = param_6[1];" (assignment_expression "iVar10 = param_6[1]" identifier = (subscript_expression "param_6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar3 = (undefined4 *)*param_6;" (assignment_expression "puVar3 = (undefined4 *)*param_6" identifier = (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier))) ;) (if_statement "if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }" if (parenthesized_expression "((undefined4 *)*param_6 < puVar5)" ( (binary_expression "(undefined4 *)*param_6 < puVar5" (cast_expression "(undefined4 *)*param_6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_6" * identifier)) < identifier) )) (compound_statement "{\n    puVar3 = puVar5;\n  }" { (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" identifier = identifier) ;) })) (expression_statement "puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);" (assignment_expression "puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5)" identifier = (cast_expression "(undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((uint)puVar9 >> 3) + 100 + (int)puVar5)" ( (binary_expression "((uint)puVar9 >> 3) + 100 + (int)puVar5" (binary_expression "((uint)puVar9 >> 3) + 100" (parenthesized_expression "((uint)puVar9 >> 3)" ( (binary_expression "(uint)puVar9 >> 3" (cast_expression "(uint)puVar9" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )) + number_literal) + (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }" if (parenthesized_expression "(puVar2 <= puVar3)" ( (binary_expression "puVar2 <= puVar3" identifier <= identifier) )) (compound_statement "{\n    puVar2 = puVar3;\n  }" { (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" identifier = identifier) ;) })) (if_statement "if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }" if (parenthesized_expression "((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0))" ( (binary_expression "(puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)" (parenthesized_expression "(puVar9 <= param_2)" ( (binary_expression "puVar9 <= param_2" identifier <= identifier) )) && (parenthesized_expression "(param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)" ( (comma_expression "param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0" (assignment_expression "param_2 = (undefined4 *)(uint)(puVar5 < param_2)" identifier = (cast_expression "(undefined4 *)(uint)(puVar5 < param_2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(puVar5 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar5 < param_2)" ( (binary_expression "puVar5 < param_2" identifier < identifier) ))))) , (binary_expression "param_2 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }" { (if_statement "if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" if (parenthesized_expression "(*(char *)(param_6 + 10) < '\0')" ( (binary_expression "*(char *)(param_6 + 10) < '\0'" (pointer_expression "*(char *)(param_6 + 10)" * (cast_expression "(char *)(param_6 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) )))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" { (expression_statement "puVar3 = (undefined4 *)param_6[9];" (assignment_expression "puVar3 = (undefined4 *)param_6[9]" identifier = (cast_expression "(undefined4 *)param_6[9]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_6[9]" identifier [ number_literal ]))) ;) (expression_statement "param_2 = puVar2;" (assignment_expression "param_2 = puVar2" identifier = identifier) ;) (expression_statement "puVar5 = (undefined4 *)(*(code *)param_6[7])();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)param_6[7])()" identifier = (cast_expression "(undefined4 *)(*(code *)param_6[7])()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)param_6[7])()" (parenthesized_expression "(*(code *)param_6[7])" ( (pointer_expression "*(code *)param_6[7]" * (cast_expression "(code *)param_6[7]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_6[7]" identifier [ number_literal ]))) )) (argument_list "()" ( ))))) ;) }) (else_clause "else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" else (compound_statement "{\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" { (expression_statement "puVar3 = puVar2;" (assignment_expression "puVar3 = puVar2" identifier = identifier) ;) (expression_statement "puVar5 = (undefined4 *)(*(code *)param_6[7])();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)param_6[7])()" identifier = (cast_expression "(undefined4 *)(*(code *)param_6[7])()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)param_6[7])()" (parenthesized_expression "(*(code *)param_6[7])" ( (pointer_expression "*(code *)param_6[7]" * (cast_expression "(code *)param_6[7]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_6[7]" identifier [ number_literal ]))) )) (argument_list "()" ( ))))) ;) }))) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }" if (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }" { (expression_statement "uVar8 = param_6[6];" (assignment_expression "uVar8 = param_6[6]" identifier = (subscript_expression "param_6[6]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = param_6[2];" (assignment_expression "uVar7 = param_6[2]" identifier = (subscript_expression "param_6[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar11 = *(code **)(pcVar11 + 0x18a40);" (assignment_expression "pcVar11 = *(code **)(pcVar11 + 0x18a40)" identifier = (pointer_expression "*(code **)(pcVar11 + 0x18a40)" * (cast_expression "(code **)(pcVar11 + 0x18a40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar11 + 0x18a40)" ( (binary_expression "pcVar11 + 0x18a40" identifier + number_literal) ))))) ;) (expression_statement "param_6[1] = puVar5;" (assignment_expression "param_6[1] = puVar5" (subscript_expression "param_6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[1] = iVar10;" (assignment_expression "puVar5[1] = iVar10" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;" (assignment_expression "uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8" identifier = (binary_expression "(int)puVar5 + uVar8 + 8 & ~uVar8" (binary_expression "(int)puVar5 + uVar8 + 8" (binary_expression "(int)puVar5 + uVar8" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) & (unary_expression "~uVar8" ~ identifier))) ;) (expression_statement "param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);" (assignment_expression "param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2)" (subscript_expression "param_6[4]" identifier [ number_literal ]) = (cast_expression "(undefined1 *)((int)puVar5 + (int)puVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + (int)puVar2)" ( (binary_expression "(int)puVar5 + (int)puVar2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "*puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);" (assignment_expression "*puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2)" (pointer_expression "*puVar5" * identifier) = (cast_expression "(undefined1 *)((int)puVar5 + (int)puVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + (int)puVar2)" ( (binary_expression "(int)puVar5 + (int)puVar2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "(*pcVar11)(uVar8,uVar7,puVar9);" (call_expression "(*pcVar11)(uVar8,uVar7,puVar9)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(uVar8,uVar7,puVar9)" ( identifier , identifier , identifier ))) ;) (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" identifier = (pointer_expression "*(byte *)(param_6 + 10)" * (cast_expression "(byte *)(param_6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) ))))) ;) (if_statement "if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }" if (parenthesized_expression "(((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6])))" ( (binary_expression "((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))" (parenthesized_expression "((bVar4 & 0x40) == 0)" ( (binary_expression "(bVar4 & 0x40) == 0" (parenthesized_expression "(bVar4 & 0x40)" ( (binary_expression "bVar4 & 0x40" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))" ( (binary_expression "param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6])" (subscript_expression "param_6[2]" identifier [ number_literal ]) == (parenthesized_expression "(iVar10 + 8 + param_6[6] & ~param_6[6])" ( (binary_expression "iVar10 + 8 + param_6[6] & ~param_6[6]" (binary_expression "iVar10 + 8 + param_6[6]" (binary_expression "iVar10 + 8" identifier + number_literal) + (subscript_expression "param_6[6]" identifier [ number_literal ])) & (unary_expression "~param_6[6]" ~ (subscript_expression "param_6[6]" identifier [ number_literal ]))) ))) ))) )) (compound_statement "{\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }" { (expression_statement "pcVar11 = (code *)param_6[8];" (assignment_expression "pcVar11 = (code *)param_6[8]" identifier = (cast_expression "(code *)param_6[8]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_6[8]" identifier [ number_literal ]))) ;) (expression_statement "puVar5[1] = *(undefined4 *)(iVar10 + 4);" (assignment_expression "puVar5[1] = *(undefined4 *)(iVar10 + 4)" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar10 + 4)" * (cast_expression "(undefined4 *)(iVar10 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" if (parenthesized_expression "((char)bVar4 < '\0')" ( (binary_expression "(char)bVar4 < '\0'" (cast_expression "(char)bVar4" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" { (expression_statement "(*pcVar11)(param_6[9],iVar10);" (call_expression "(*pcVar11)(param_6[9],iVar10)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(param_6[9],iVar10)" ( (subscript_expression "param_6[9]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" identifier = (pointer_expression "*(byte *)(param_6 + 10)" * (cast_expression "(byte *)(param_6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" else (compound_statement "{\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" { (expression_statement "(*pcVar11)(iVar10);" (call_expression "(*pcVar11)(iVar10)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(iVar10)" ( identifier ))) ;) (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" identifier = (pointer_expression "*(byte *)(param_6 + 10)" * (cast_expression "(byte *)(param_6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) ))))) ;) }))) }) (else_clause "else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }" else (compound_statement "{\n        bVar4 = *(byte *)(param_6 + 10);\n      }" { (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" identifier = (pointer_expression "*(byte *)(param_6 + 10)" * (cast_expression "(byte *)(param_6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) ))))) ;) }))) (expression_statement "param_6[2] = uVar8;" (assignment_expression "param_6[2] = uVar8" (subscript_expression "param_6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_6[3] = uVar8 + (int)puVar9;" (assignment_expression "param_6[3] = uVar8 + (int)puVar9" (subscript_expression "param_6[3]" identifier [ number_literal ]) = (binary_expression "uVar8 + (int)puVar9" identifier + (cast_expression "(int)puVar9" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(byte *)(param_6 + 10) = bVar4 & 0xbf;" (assignment_expression "*(byte *)(param_6 + 10) = bVar4 & 0xbf" (pointer_expression "*(byte *)(param_6 + 10)" * (cast_expression "(byte *)(param_6 + 10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_6 + 10)" ( (binary_expression "param_6 + 10" identifier + number_literal) )))) = (binary_expression "bVar4 & 0xbf" identifier & number_literal)) ;) (return_statement "return bVar4 & 0xbf;" return (binary_expression "bVar4 & 0xbf" identifier & number_literal) ;) })) })) (expression_statement "(*(code *)**(undefined4 **)(pcVar11 + 0x18894))();" (call_expression "(*(code *)**(undefined4 **)(pcVar11 + 0x18894))()" (parenthesized_expression "(*(code *)**(undefined4 **)(pcVar11 + 0x18894))" ( (pointer_expression "*(code *)**(undefined4 **)(pcVar11 + 0x18894)" * (cast_expression "(code *)**(undefined4 **)(pcVar11 + 0x18894)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(pcVar11 + 0x18894)" * (pointer_expression "*(undefined4 **)(pcVar11 + 0x18894)" * (cast_expression "(undefined4 **)(pcVar11 + 0x18894)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar11 + 0x18894)" ( (binary_expression "pcVar11 + 0x18894" identifier + number_literal) ))))))) )) (argument_list "()" ( ))) ;) (expression_statement "puVar3 = (undefined4 *)puVar3[1];" (assignment_expression "puVar3 = (undefined4 *)puVar3[1]" identifier = (cast_expression "(undefined4 *)puVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (while_statement "while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }" while (parenthesized_expression "((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2)))" ( (parenthesized_expression "(param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))" ( (binary_expression "param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2)" (binary_expression "param_2 <= puVar3" identifier <= identifier) || (parenthesized_expression "((undefined4 *)*puVar3 < param_2)" ( (binary_expression "(undefined4 *)*puVar3 < param_2" (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) < identifier) ))) )) )) (compound_statement "{\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }" { (expression_statement "puVar3 = (undefined4 *)puVar3[1];" (assignment_expression "puVar3 = (undefined4 *)puVar3[1]" identifier = (cast_expression "(undefined4 *)puVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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 IDENT = (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) & (unary_expression - IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT & LIT)) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ])) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (subscript_expression IDENT [ LIT ])) )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )) + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression 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 *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression 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 *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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 ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) & (unary_expression ~ IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + LIT) + (subscript_expression IDENT [ LIT ])) & (unary_expression ~ (subscript_expression IDENT [ LIT ]))) ))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT & LIT)) ;) (return_statement return (binary_expression IDENT & LIT) ;) })) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) < IDENT) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) })) (return_statement return LIT ;) })))
(function_definition "byte _obstack_begin_1(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  byte bVar4;\n  undefined4 *puVar3;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  int iVar10;\n  code *pcVar11;\n  \n  param_1[8] = param_5;\n  param_1[7] = (int)param_4;\n  param_1[9] = (int)param_6;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;\n  if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }\n  *param_1 = (int)param_2;\n  param_1[6] = iVar10;\n  if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }\n  param_1[1] = (int)piVar1;\n  if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }\n  pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar11)();\n  puVar9 = (undefined4 *)(param_6[3] - param_6[2]);\n  param_2 = (undefined4 *)((int)puVar9 + (int)param_2);\n  puVar5 = (undefined4 *)((int)param_2 + param_6[6]);\n  iVar10 = param_6[1];\n  puVar3 = (undefined4 *)*param_6;\n  if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }\n  puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);\n  if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }\n  if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar11 + 0x18894))();\n  puVar3 = (undefined4 *)puVar3[1];\n  if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}" (type_identifier "byte") (function_declarator "_obstack_begin_1(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)" (identifier "_obstack_begin_1") (parameter_list "(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,\n                     undefined4 *param_6)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "code *param_4" (type_identifier "code") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 *param_6" (type_identifier "undefined4") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  byte bVar4;\n  undefined4 *puVar3;\n  undefined4 *puVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  undefined4 *puVar9;\n  int iVar10;\n  code *pcVar11;\n  \n  param_1[8] = param_5;\n  param_1[7] = (int)param_4;\n  param_1[9] = (int)param_6;\n  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;\n  if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }\n  if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }\n  *param_1 = (int)param_2;\n  param_1[6] = iVar10;\n  if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }\n  param_1[1] = (int)piVar1;\n  if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }\n  pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;\n  (*pcVar11)();\n  puVar9 = (undefined4 *)(param_6[3] - param_6[2]);\n  param_2 = (undefined4 *)((int)puVar9 + (int)param_2);\n  puVar5 = (undefined4 *)((int)param_2 + param_6[6]);\n  iVar10 = param_6[1];\n  puVar3 = (undefined4 *)*param_6;\n  if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }\n  puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);\n  if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }\n  if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }\n  (*(code *)**(undefined4 **)(pcVar11 + 0x18894))();\n  puVar3 = (undefined4 *)puVar3[1];\n  if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }\n  while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }\n  return 1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "code *pcVar11;" (type_identifier "code") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (expression_statement "param_1[8] = param_5;" (assignment_expression "param_1[8] = param_5" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "param_1[7] = (int)param_4;" (assignment_expression "param_1[7] = (int)param_4" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4"))) (; ";")) (expression_statement "param_1[9] = (int)param_6;" (assignment_expression "param_1[9] = (int)param_6" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6"))) (; ";")) (expression_statement "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;" (assignment_expression "*(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80" (pointer_expression "*(byte *)(param_1 + 10)" (* "*") (cast_expression "(byte *)(param_1 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (= "=") (binary_expression "*(byte *)(param_1 + 10) & 0x7f | 0x80" (binary_expression "*(byte *)(param_1 + 10) & 0x7f" (pointer_expression "*(byte *)(param_1 + 10)" (* "*") (cast_expression "(byte *)(param_1 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (& "&") (number_literal "0x7f")) (| "|") (number_literal "0x80"))) (; ";")) (if_statement "if (param_3 == 0) {\n    iVar10 = 7;\n    param_3 = 8;\n  }\n  else {\n    iVar10 = param_3 + -1;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar10 = 7;\n    param_3 = 8;\n  }" ({ "{") (expression_statement "iVar10 = 7;" (assignment_expression "iVar10 = 7" (identifier "iVar10") (= "=") (number_literal "7")) (; ";")) (expression_statement "param_3 = 8;" (assignment_expression "param_3 = 8" (identifier "param_3") (= "=") (number_literal "8")) (; ";")) (} "}")) (else_clause "else {\n    iVar10 = param_3 + -1;\n  }" (else "else") (compound_statement "{\n    iVar10 = param_3 + -1;\n  }" ({ "{") (expression_statement "iVar10 = param_3 + -1;" (assignment_expression "iVar10 = param_3 + -1" (identifier "iVar10") (= "=") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")))) (if_statement "if (param_2 == (undefined4 *)0x0) {\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }" (if "if") (parenthesized_expression "(param_2 == (undefined4 *)0x0)" (( "(") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_2 = (undefined4 *)&DAT_00000fe8;\n  }" ({ "{") (expression_statement "param_2 = (undefined4 *)&DAT_00000fe8;" (assignment_expression "param_2 = (undefined4 *)&DAT_00000fe8" (identifier "param_2") (= "=") (cast_expression "(undefined4 *)&DAT_00000fe8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_00000fe8" (& "&") (identifier "DAT_00000fe8")))) (; ";")) (} "}"))) (expression_statement "*param_1 = (int)param_2;" (assignment_expression "*param_1 = (int)param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) (; ";")) (expression_statement "param_1[6] = iVar10;" (assignment_expression "param_1[6] = iVar10" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (if_statement "if (*(char *)(param_1 + 10) < '\0') {\n    piVar1 = (int *)(*param_4)();\n  }\n  else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 10) < '\0')" (( "(") (binary_expression "*(char *)(param_1 + 10) < '\0'" (pointer_expression "*(char *)(param_1 + 10)" (* "*") (cast_expression "(char *)(param_1 + 10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    piVar1 = (int *)(*param_4)();\n  }" ({ "{") (expression_statement "piVar1 = (int *)(*param_4)();" (assignment_expression "piVar1 = (int *)(*param_4)()" (identifier "piVar1") (= "=") (cast_expression "(int *)(*param_4)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*param_4)()" (parenthesized_expression "(*param_4)" (( "(") (pointer_expression "*param_4" (* "*") (identifier "param_4")) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }" (else "else") (compound_statement "{\n    puVar3 = param_2;\n    piVar1 = (int *)(*param_4)();\n    param_6 = param_2;\n    param_2 = puVar3;\n  }" ({ "{") (expression_statement "puVar3 = param_2;" (assignment_expression "puVar3 = param_2" (identifier "puVar3") (= "=") (identifier "param_2")) (; ";")) (expression_statement "piVar1 = (int *)(*param_4)();" (assignment_expression "piVar1 = (int *)(*param_4)()" (identifier "piVar1") (= "=") (cast_expression "(int *)(*param_4)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*param_4)()" (parenthesized_expression "(*param_4)" (( "(") (pointer_expression "*param_4" (* "*") (identifier "param_4")) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "param_6 = param_2;" (assignment_expression "param_6 = param_2" (identifier "param_6") (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_2 = puVar3;" (assignment_expression "param_2 = puVar3" (identifier "param_2") (= "=") (identifier "puVar3")) (; ";")) (} "}")))) (expression_statement "param_1[1] = (int)piVar1;" (assignment_expression "param_1[1] = (int)piVar1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar6 = *param_1;\n    bVar4 = *(byte *)(param_1 + 10);\n    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;\n    param_1[2] = uVar8;\n    param_1[3] = uVar8;\n    *piVar1 = (int)piVar1 + iVar6;\n    param_1[4] = (int)piVar1 + iVar6;\n    piVar1[1] = 0;\n    *(byte *)(param_1 + 10) = bVar4 & 0x9f;\n    return 1;\n  }" ({ "{") (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" (identifier "iVar6") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "bVar4 = *(byte *)(param_1 + 10);" (assignment_expression "bVar4 = *(byte *)(param_1 + 10)" (identifier "bVar4") (= "=") (pointer_expression "*(byte *)(param_1 + 10)" (* "*") (cast_expression "(byte *)(param_1 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")"))))) (; ";")) (expression_statement "uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;" (assignment_expression "uVar8 = (int)piVar1 + iVar10 + 8 & -param_3" (identifier "uVar8") (= "=") (binary_expression "(int)piVar1 + iVar10 + 8 & -param_3" (binary_expression "(int)piVar1 + iVar10 + 8" (binary_expression "(int)piVar1 + iVar10" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar10")) (+ "+") (number_literal "8")) (& "&") (unary_expression "-param_3" (- "-") (identifier "param_3")))) (; ";")) (expression_statement "param_1[2] = uVar8;" (assignment_expression "param_1[2] = uVar8" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "param_1[3] = uVar8;" (assignment_expression "param_1[3] = uVar8" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "*piVar1 = (int)piVar1 + iVar6;" (assignment_expression "*piVar1 = (int)piVar1 + iVar6" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "(int)piVar1 + iVar6" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "param_1[4] = (int)piVar1 + iVar6;" (assignment_expression "param_1[4] = (int)piVar1 + iVar6" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "(int)piVar1 + iVar6" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(byte *)(param_1 + 10) = bVar4 & 0x9f;" (assignment_expression "*(byte *)(param_1 + 10) = bVar4 & 0x9f" (pointer_expression "*(byte *)(param_1 + 10)" (* "*") (cast_expression "(byte *)(param_1 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (= "=") (binary_expression "bVar4 & 0x9f" (identifier "bVar4") (& "&") (number_literal "0x9f"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;" (assignment_expression "pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c" (identifier "pcVar11") (= "=") (pointer_expression "*(code **)PTR_obstack_alloc_failed_handler_0005630c" (* "*") (cast_expression "(code **)PTR_obstack_alloc_failed_handler_0005630c" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_obstack_alloc_failed_handler_0005630c")))) (; ";")) (expression_statement "(*pcVar11)();" (call_expression "(*pcVar11)()" (parenthesized_expression "(*pcVar11)" (( "(") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar9 = (undefined4 *)(param_6[3] - param_6[2]);" (assignment_expression "puVar9 = (undefined4 *)(param_6[3] - param_6[2])" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)(param_6[3] - param_6[2])" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_6[3] - param_6[2])" (( "(") (binary_expression "param_6[3] - param_6[2]" (subscript_expression "param_6[3]" (identifier "param_6") ([ "[") (number_literal "3") (] "]")) (- "-") (subscript_expression "param_6[2]" (identifier "param_6") ([ "[") (number_literal "2") (] "]"))) () ")")))) (; ";")) (expression_statement "param_2 = (undefined4 *)((int)puVar9 + (int)param_2);" (assignment_expression "param_2 = (undefined4 *)((int)puVar9 + (int)param_2)" (identifier "param_2") (= "=") (cast_expression "(undefined4 *)((int)puVar9 + (int)param_2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar9 + (int)param_2)" (( "(") (binary_expression "(int)puVar9 + (int)param_2" (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")) (+ "+") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) () ")")))) (; ";")) (expression_statement "puVar5 = (undefined4 *)((int)param_2 + param_6[6]);" (assignment_expression "puVar5 = (undefined4 *)((int)param_2 + param_6[6])" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)((int)param_2 + param_6[6])" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + param_6[6])" (( "(") (binary_expression "(int)param_2 + param_6[6]" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (subscript_expression "param_6[6]" (identifier "param_6") ([ "[") (number_literal "6") (] "]"))) () ")")))) (; ";")) (expression_statement "iVar10 = param_6[1];" (assignment_expression "iVar10 = param_6[1]" (identifier "iVar10") (= "=") (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)*param_6;" (assignment_expression "puVar3 = (undefined4 *)*param_6" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)*param_6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_6" (* "*") (identifier "param_6")))) (; ";")) (if_statement "if ((undefined4 *)*param_6 < puVar5) {\n    puVar3 = puVar5;\n  }" (if "if") (parenthesized_expression "((undefined4 *)*param_6 < puVar5)" (( "(") (binary_expression "(undefined4 *)*param_6 < puVar5" (cast_expression "(undefined4 *)*param_6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_6" (* "*") (identifier "param_6"))) (< "<") (identifier "puVar5")) () ")")) (compound_statement "{\n    puVar3 = puVar5;\n  }" ({ "{") (expression_statement "puVar3 = puVar5;" (assignment_expression "puVar3 = puVar5" (identifier "puVar3") (= "=") (identifier "puVar5")) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);" (assignment_expression "puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(((uint)puVar9 >> 3) + 100 + (int)puVar5)" (( "(") (binary_expression "((uint)puVar9 >> 3) + 100 + (int)puVar5" (binary_expression "((uint)puVar9 >> 3) + 100" (parenthesized_expression "((uint)puVar9 >> 3)" (( "(") (binary_expression "(uint)puVar9 >> 3" (cast_expression "(uint)puVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar9")) (>> ">>") (number_literal "3")) () ")")) (+ "+") (number_literal "100")) (+ "+") (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5"))) () ")")))) (; ";")) (if_statement "if (puVar2 <= puVar3) {\n    puVar2 = puVar3;\n  }" (if "if") (parenthesized_expression "(puVar2 <= puVar3)" (( "(") (binary_expression "puVar2 <= puVar3" (identifier "puVar2") (<= "<=") (identifier "puVar3")) () ")")) (compound_statement "{\n    puVar2 = puVar3;\n  }" ({ "{") (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" (identifier "puVar2") (= "=") (identifier "puVar3")) (; ";")) (} "}"))) (if_statement "if ((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }" (if "if") (parenthesized_expression "((puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0))" (( "(") (binary_expression "(puVar9 <= param_2) &&\n     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)" (parenthesized_expression "(puVar9 <= param_2)" (( "(") (binary_expression "puVar9 <= param_2" (identifier "puVar9") (<= "<=") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "(param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)" (( "(") (comma_expression "param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0" (assignment_expression "param_2 = (undefined4 *)(uint)(puVar5 < param_2)" (identifier "param_2") (= "=") (cast_expression "(undefined4 *)(uint)(puVar5 < param_2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(uint)(puVar5 < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar5 < param_2)" (( "(") (binary_expression "puVar5 < param_2" (identifier "puVar5") (< "<") (identifier "param_2")) () ")"))))) (, ",") (binary_expression "param_2 == (undefined4 *)0x0" (identifier "param_2") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }\n  }" ({ "{") (if_statement "if (*(char *)(param_6 + 10) < '\0') {\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }\n    else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" (if "if") (parenthesized_expression "(*(char *)(param_6 + 10) < '\0')" (( "(") (binary_expression "*(char *)(param_6 + 10) < '\0'" (pointer_expression "*(char *)(param_6 + 10)" (* "*") (cast_expression "(char *)(param_6 + 10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_6 + 10)" (( "(") (binary_expression "param_6 + 10" (identifier "param_6") (+ "+") (number_literal "10")) () ")")))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      puVar3 = (undefined4 *)param_6[9];\n      param_2 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" ({ "{") (expression_statement "puVar3 = (undefined4 *)param_6[9];" (assignment_expression "puVar3 = (undefined4 *)param_6[9]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)param_6[9]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_6[9]" (identifier "param_6") ([ "[") (number_literal "9") (] "]")))) (; ";")) (expression_statement "param_2 = puVar2;" (assignment_expression "param_2 = puVar2" (identifier "param_2") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar5 = (undefined4 *)(*(code *)param_6[7])();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)param_6[7])()" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(*(code *)param_6[7])()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)param_6[7])()" (parenthesized_expression "(*(code *)param_6[7])" (( "(") (pointer_expression "*(code *)param_6[7]" (* "*") (cast_expression "(code *)param_6[7]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_6[7]" (identifier "param_6") ([ "[") (number_literal "7") (] "]")))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" (else "else") (compound_statement "{\n      puVar3 = puVar2;\n      puVar5 = (undefined4 *)(*(code *)param_6[7])();\n    }" ({ "{") (expression_statement "puVar3 = puVar2;" (assignment_expression "puVar3 = puVar2" (identifier "puVar3") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar5 = (undefined4 *)(*(code *)param_6[7])();" (assignment_expression "puVar5 = (undefined4 *)(*(code *)param_6[7])()" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(*(code *)param_6[7])()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)param_6[7])()" (parenthesized_expression "(*(code *)param_6[7])" (( "(") (pointer_expression "*(code *)param_6[7]" (* "*") (cast_expression "(code *)param_6[7]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_6[7]" (identifier "param_6") ([ "[") (number_literal "7") (] "]")))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}")))) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }" (if "if") (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 != (undefined4 *)0x0" (identifier "puVar5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar8 = param_6[6];\n      uVar7 = param_6[2];\n      pcVar11 = *(code **)(pcVar11 + 0x18a40);\n      param_6[1] = puVar5;\n      puVar5[1] = iVar10;\n      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;\n      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);\n      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);\n      (*pcVar11)(uVar8,uVar7,puVar9);\n      bVar4 = *(byte *)(param_6 + 10);\n      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }\n      param_6[2] = uVar8;\n      param_6[3] = uVar8 + (int)puVar9;\n      *(byte *)(param_6 + 10) = bVar4 & 0xbf;\n      return bVar4 & 0xbf;\n    }" ({ "{") (expression_statement "uVar8 = param_6[6];" (assignment_expression "uVar8 = param_6[6]" (identifier "uVar8") (= "=") (subscript_expression "param_6[6]" (identifier "param_6") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "uVar7 = param_6[2];" (assignment_expression "uVar7 = param_6[2]" (identifier "uVar7") (= "=") (subscript_expression "param_6[2]" (identifier "param_6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "pcVar11 = *(code **)(pcVar11 + 0x18a40);" (assignment_expression "pcVar11 = *(code **)(pcVar11 + 0x18a40)" (identifier "pcVar11") (= "=") (pointer_expression "*(code **)(pcVar11 + 0x18a40)" (* "*") (cast_expression "(code **)(pcVar11 + 0x18a40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar11 + 0x18a40)" (( "(") (binary_expression "pcVar11 + 0x18a40" (identifier "pcVar11") (+ "+") (number_literal "0x18a40")) () ")"))))) (; ";")) (expression_statement "param_6[1] = puVar5;" (assignment_expression "param_6[1] = puVar5" (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "puVar5[1] = iVar10;" (assignment_expression "puVar5[1] = iVar10" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;" (assignment_expression "uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8" (identifier "uVar8") (= "=") (binary_expression "(int)puVar5 + uVar8 + 8 & ~uVar8" (binary_expression "(int)puVar5 + uVar8 + 8" (binary_expression "(int)puVar5 + uVar8" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (identifier "uVar8")) (+ "+") (number_literal "8")) (& "&") (unary_expression "~uVar8" (~ "~") (identifier "uVar8")))) (; ";")) (expression_statement "param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);" (assignment_expression "param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2)" (subscript_expression "param_6[4]" (identifier "param_6") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(undefined1 *)((int)puVar5 + (int)puVar2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + (int)puVar2)" (( "(") (binary_expression "(int)puVar5 + (int)puVar2" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) () ")")))) (; ";")) (expression_statement "*puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);" (assignment_expression "*puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2)" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (cast_expression "(undefined1 *)((int)puVar5 + (int)puVar2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + (int)puVar2)" (( "(") (binary_expression "(int)puVar5 + (int)puVar2" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2"))) () ")")))) (; ";")) (expression_statement "(*pcVar11)(uVar8,uVar7,puVar9);" (call_expression "(*pcVar11)(uVar8,uVar7,puVar9)" (parenthesized_expression "(*pcVar11)" (( "(") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) () ")")) (argument_list "(uVar8,uVar7,puVar9)" (( "(") (identifier "uVar8") (, ",") (identifier "uVar7") (, ",") (identifier "puVar9") () ")"))) (; ";")) (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" (identifier "bVar4") (= "=") (pointer_expression "*(byte *)(param_6 + 10)" (* "*") (cast_expression "(byte *)(param_6 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_6 + 10)" (( "(") (binary_expression "param_6 + 10" (identifier "param_6") (+ "+") (number_literal "10")) () ")"))))) (; ";")) (if_statement "if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }\n      else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }" (if "if") (parenthesized_expression "(((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6])))" (( "(") (binary_expression "((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))" (parenthesized_expression "((bVar4 & 0x40) == 0)" (( "(") (binary_expression "(bVar4 & 0x40) == 0" (parenthesized_expression "(bVar4 & 0x40)" (( "(") (binary_expression "bVar4 & 0x40" (identifier "bVar4") (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))" (( "(") (binary_expression "param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6])" (subscript_expression "param_6[2]" (identifier "param_6") ([ "[") (number_literal "2") (] "]")) (== "==") (parenthesized_expression "(iVar10 + 8 + param_6[6] & ~param_6[6])" (( "(") (binary_expression "iVar10 + 8 + param_6[6] & ~param_6[6]" (binary_expression "iVar10 + 8 + param_6[6]" (binary_expression "iVar10 + 8" (identifier "iVar10") (+ "+") (number_literal "8")) (+ "+") (subscript_expression "param_6[6]" (identifier "param_6") ([ "[") (number_literal "6") (] "]"))) (& "&") (unary_expression "~param_6[6]" (~ "~") (subscript_expression "param_6[6]" (identifier "param_6") ([ "[") (number_literal "6") (] "]")))) () ")"))) () ")"))) () ")")) (compound_statement "{\n        pcVar11 = (code *)param_6[8];\n        puVar5[1] = *(undefined4 *)(iVar10 + 4);\n        if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n      }" ({ "{") (expression_statement "pcVar11 = (code *)param_6[8];" (assignment_expression "pcVar11 = (code *)param_6[8]" (identifier "pcVar11") (= "=") (cast_expression "(code *)param_6[8]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_6[8]" (identifier "param_6") ([ "[") (number_literal "8") (] "]")))) (; ";")) (expression_statement "puVar5[1] = *(undefined4 *)(iVar10 + 4);" (assignment_expression "puVar5[1] = *(undefined4 *)(iVar10 + 4)" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(iVar10 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if ((char)bVar4 < '\0') {\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }\n        else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" (if "if") (parenthesized_expression "((char)bVar4 < '\0')" (( "(") (binary_expression "(char)bVar4 < '\0'" (cast_expression "(char)bVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar4")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          (*pcVar11)(param_6[9],iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" ({ "{") (expression_statement "(*pcVar11)(param_6[9],iVar10);" (call_expression "(*pcVar11)(param_6[9],iVar10)" (parenthesized_expression "(*pcVar11)" (( "(") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) () ")")) (argument_list "(param_6[9],iVar10)" (( "(") (subscript_expression "param_6[9]" (identifier "param_6") ([ "[") (number_literal "9") (] "]")) (, ",") (identifier "iVar10") () ")"))) (; ";")) (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" (identifier "bVar4") (= "=") (pointer_expression "*(byte *)(param_6 + 10)" (* "*") (cast_expression "(byte *)(param_6 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_6 + 10)" (( "(") (binary_expression "param_6 + 10" (identifier "param_6") (+ "+") (number_literal "10")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" (else "else") (compound_statement "{\n          (*pcVar11)(iVar10);\n          bVar4 = *(byte *)(param_6 + 10);\n        }" ({ "{") (expression_statement "(*pcVar11)(iVar10);" (call_expression "(*pcVar11)(iVar10)" (parenthesized_expression "(*pcVar11)" (( "(") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) () ")")) (argument_list "(iVar10)" (( "(") (identifier "iVar10") () ")"))) (; ";")) (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" (identifier "bVar4") (= "=") (pointer_expression "*(byte *)(param_6 + 10)" (* "*") (cast_expression "(byte *)(param_6 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_6 + 10)" (( "(") (binary_expression "param_6 + 10" (identifier "param_6") (+ "+") (number_literal "10")) () ")"))))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        bVar4 = *(byte *)(param_6 + 10);\n      }" (else "else") (compound_statement "{\n        bVar4 = *(byte *)(param_6 + 10);\n      }" ({ "{") (expression_statement "bVar4 = *(byte *)(param_6 + 10);" (assignment_expression "bVar4 = *(byte *)(param_6 + 10)" (identifier "bVar4") (= "=") (pointer_expression "*(byte *)(param_6 + 10)" (* "*") (cast_expression "(byte *)(param_6 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_6 + 10)" (( "(") (binary_expression "param_6 + 10" (identifier "param_6") (+ "+") (number_literal "10")) () ")"))))) (; ";")) (} "}")))) (expression_statement "param_6[2] = uVar8;" (assignment_expression "param_6[2] = uVar8" (subscript_expression "param_6[2]" (identifier "param_6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "param_6[3] = uVar8 + (int)puVar9;" (assignment_expression "param_6[3] = uVar8 + (int)puVar9" (subscript_expression "param_6[3]" (identifier "param_6") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "uVar8 + (int)puVar9" (identifier "uVar8") (+ "+") (cast_expression "(int)puVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar9")))) (; ";")) (expression_statement "*(byte *)(param_6 + 10) = bVar4 & 0xbf;" (assignment_expression "*(byte *)(param_6 + 10) = bVar4 & 0xbf" (pointer_expression "*(byte *)(param_6 + 10)" (* "*") (cast_expression "(byte *)(param_6 + 10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_6 + 10)" (( "(") (binary_expression "param_6 + 10" (identifier "param_6") (+ "+") (number_literal "10")) () ")")))) (= "=") (binary_expression "bVar4 & 0xbf" (identifier "bVar4") (& "&") (number_literal "0xbf"))) (; ";")) (return_statement "return bVar4 & 0xbf;" (return "return") (binary_expression "bVar4 & 0xbf" (identifier "bVar4") (& "&") (number_literal "0xbf")) (; ";")) (} "}"))) (} "}"))) (expression_statement "(*(code *)**(undefined4 **)(pcVar11 + 0x18894))();" (call_expression "(*(code *)**(undefined4 **)(pcVar11 + 0x18894))()" (parenthesized_expression "(*(code *)**(undefined4 **)(pcVar11 + 0x18894))" (( "(") (pointer_expression "*(code *)**(undefined4 **)(pcVar11 + 0x18894)" (* "*") (cast_expression "(code *)**(undefined4 **)(pcVar11 + 0x18894)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)(pcVar11 + 0x18894)" (* "*") (pointer_expression "*(undefined4 **)(pcVar11 + 0x18894)" (* "*") (cast_expression "(undefined4 **)(pcVar11 + 0x18894)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar11 + 0x18894)" (( "(") (binary_expression "pcVar11 + 0x18894" (identifier "pcVar11") (+ "+") (number_literal "0x18894")) () ")"))))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)puVar3[1];" (assignment_expression "puVar3 = (undefined4 *)puVar3[1]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)puVar3[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 == (undefined4 *)0x0" (identifier "puVar3") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (while_statement "while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }" (while "while") (parenthesized_expression "((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2)))" (( "(") (parenthesized_expression "(param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))" (( "(") (binary_expression "param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2)" (binary_expression "param_2 <= puVar3" (identifier "param_2") (<= "<=") (identifier "puVar3")) (|| "||") (parenthesized_expression "((undefined4 *)*puVar3 < param_2)" (( "(") (binary_expression "(undefined4 *)*puVar3 < param_2" (cast_expression "(undefined4 *)*puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (< "<") (identifier "param_2")) () ")"))) () ")")) () ")")) (compound_statement "{\n    puVar3 = (undefined4 *)puVar3[1];\n    if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }\n  }" ({ "{") (expression_statement "puVar3 = (undefined4 *)puVar3[1];" (assignment_expression "puVar3 = (undefined4 *)puVar3[1]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)puVar3[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 == (undefined4 *)0x0" (identifier "puVar3") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(type_1 *h,size_t var_2,size_t var_1,
                    type_2 *chunkfun,type_3 *freefun,
                    void *arg)

{
  type_4 var_5;
  type_5 *var_3;
  type_6 *var_7;
  type_7 var_12;
  type_7 var_14;
  type_6 *var_8;
  type_6 *var_6;
  char *pcVar8;
  type_6 *var_10;
  type_6 uVar10;
  char *pcVar11;
  type_6 *var_9;
  size_t var_4;
  int var_13;
  type_8 *var_11;
  
  (h->freefun).extra = freefun;
  (h->chunkfun).extra = chunkfun;
  h->extra_arg = arg;
  h->field_0x28 = h->field_0x28 & 0x7f | 0x80;
  if (var_1 == 0) {
    var_4 = 7;
    var_1 = 8;
  }
  else {
    var_4 = var_1 - 1;
  }
  if (var_2 == 0) {
    var_2 = (size_t)&DAT_00000fe8;
  }
  h->chunk_size = var_2;
  h->alignment_mask = var_4;
  if ((char)h->field_0x28 < '\0') {
    var_3 = (type_5 *)(*chunkfun)(arg,var_2);
  }
  else {
    var_8 = (type_6 *)var_2;
    var_3 = (type_5 *)(*chunkfun)((void *)var_2,var_2);
    arg = (void *)var_2;
    var_2 = (size_t)var_8;
  }
  h->chunk = var_3;
  if (var_3 != (type_5 *)0x0) {
    var_5 = h->field_0x28;
    pcVar8 = (char *)((int)&var_3->limit + h->chunk_size);
    pcVar11 = (char *)((int)&var_3[1].limit + var_4 & -var_1);
    h->object_base = pcVar11;
    h->next_free = pcVar11;
    var_3->limit = pcVar8;
    h->chunk_limit = pcVar8;
    var_3->prev = (type_5 *)0x0;
    h->field_0x28 = var_5 & 0x9f;
    return 1;
  }
  var_11 = *(type_8 **)PTR_obstack_alloc_failed_handler_0005630c;
  (*var_11)();
  var_9 = (type_6 *)(*(int *)((int)arg + 0xc) - *(int *)((int)arg + 8));
                    /* WARNING: Load size is inaccurate */
  var_10 = (type_6 *)((int)var_9 + var_2);
  var_6 = (type_6 *)((int)var_10 + *(int *)((int)arg + 0x18));
  var_13 = *(int *)((int)arg + 4);
  var_8 = *arg;
  if (*arg < var_6) {
    var_8 = var_6;
  }
  var_7 = (type_6 *)(((type_7)var_9 >> 3) + 100 + (int)var_6);
  if (var_7 <= var_8) {
    var_7 = var_8;
  }
  if ((var_9 <= var_10) &&
     (var_10 = (type_6 *)(type_7)(var_6 < var_10), var_10 == (type_6 *)0x0)) {
    if (*(char *)((int)arg + 0x28) < '\0') {
      var_8 = *(type_6 **)((int)arg + 0x24);
      var_10 = var_7;
      var_6 = (type_6 *)(**(type_8 **)((int)arg + 0x1c))();
    }
    else {
      var_8 = var_7;
      var_6 = (type_6 *)(**(type_8 **)((int)arg + 0x1c))();
    }
    if (var_6 != (type_6 *)0x0) {
      var_12 = *(type_7 *)((int)arg + 0x18);
      uVar10 = *(type_6 *)((int)arg + 8);
      var_11 = *(type_8 **)(var_11 + 0x18a40);
      *(type_6 **)((int)arg + 4) = var_6;
      var_6[1] = var_13;
      var_12 = (int)var_6 + var_12 + 8 & ~var_12;
      *(type_9 **)((int)arg + 0x10) = (type_9 *)((int)var_6 + (int)var_7);
      *var_6 = (type_9 *)((int)var_6 + (int)var_7);
      (*var_11)(var_12,uVar10,var_9);
      var_5 = *(type_4 *)((int)arg + 0x28);
      if (((var_5 & 0x40) == 0) &&
         (*(type_7 *)((int)arg + 8) ==
          (var_13 + 8 + *(type_7 *)((int)arg + 0x18) & ~*(type_7 *)((int)arg + 0x18)))) {
        var_11 = *(type_8 **)((int)arg + 0x20);
        var_6[1] = *(type_6 *)(var_13 + 4);
        if ((char)var_5 < '\0') {
          (*var_11)(*(type_6 *)((int)arg + 0x24),var_13);
          var_14 = (type_7)*(type_4 *)((int)arg + 0x28);
        }
        else {
          (*var_11)(var_13);
          var_14 = (type_7)*(type_4 *)((int)arg + 0x28);
        }
      }
      else {
        var_14 = (type_7)*(type_4 *)((int)arg + 0x28);
      }
      *(type_7 *)((int)arg + 8) = var_12;
      *(type_7 *)((int)arg + 0xc) = var_12 + (int)var_9;
      *(char *)((int)arg + 0x28) = (char)(var_14 & 0xffffffbf);
      return var_14 & 0xffffffbf;
    }
  }
  (*(type_8 *)**(type_6 **)(var_11 + 0x18894))();
  var_8 = (type_6 *)var_8[1];
  if (var_8 == (type_6 *)0x0) {
    return 0;
  }
  while ((var_10 <= var_8 || ((type_6 *)*var_8 < var_10))) {
    var_8 = (type_6 *)var_8[1];
    if (var_8 == (type_6 *)0x0) {
      return 0;
    }
  }
  return 1;
}


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

byte MASKED(int *param_1,undefined4 *param_2,int param_3,code *param_4,int param_5,
                     undefined4 *param_6)

{
  int *piVar1;
  undefined4 *puVar2;
  byte bVar4;
  undefined4 *puVar3;
  undefined4 *puVar5;
  int iVar6;
  undefined4 uVar7;
  uint uVar8;
  undefined4 *puVar9;
  int iVar10;
  code *pcVar11;
  
  param_1[8] = param_5;
  param_1[7] = (int)param_4;
  param_1[9] = (int)param_6;
  *(byte *)(param_1 + 10) = *(byte *)(param_1 + 10) & 0x7f | 0x80;
  if (param_3 == 0) {
    iVar10 = 7;
    param_3 = 8;
  }
  else {
    iVar10 = param_3 + -1;
  }
  if (param_2 == (undefined4 *)0x0) {
    param_2 = (undefined4 *)&DAT_00000fe8;
  }
  *param_1 = (int)param_2;
  param_1[6] = iVar10;
  if (*(char *)(param_1 + 10) < '\0') {
    piVar1 = (int *)(*param_4)();
  }
  else {
    puVar3 = param_2;
    piVar1 = (int *)(*param_4)();
    param_6 = param_2;
    param_2 = puVar3;
  }
  param_1[1] = (int)piVar1;
  if (piVar1 != (int *)0x0) {
    iVar6 = *param_1;
    bVar4 = *(byte *)(param_1 + 10);
    uVar8 = (int)piVar1 + iVar10 + 8 & -param_3;
    param_1[2] = uVar8;
    param_1[3] = uVar8;
    *piVar1 = (int)piVar1 + iVar6;
    param_1[4] = (int)piVar1 + iVar6;
    piVar1[1] = 0;
    *(byte *)(param_1 + 10) = bVar4 & 0x9f;
    return 1;
  }
  pcVar11 = *(code **)PTR_obstack_alloc_failed_handler_0005630c;
  (*pcVar11)();
  puVar9 = (undefined4 *)(param_6[3] - param_6[2]);
  param_2 = (undefined4 *)((int)puVar9 + (int)param_2);
  puVar5 = (undefined4 *)((int)param_2 + param_6[6]);
  iVar10 = param_6[1];
  puVar3 = (undefined4 *)*param_6;
  if ((undefined4 *)*param_6 < puVar5) {
    puVar3 = puVar5;
  }
  puVar2 = (undefined4 *)(((uint)puVar9 >> 3) + 100 + (int)puVar5);
  if (puVar2 <= puVar3) {
    puVar2 = puVar3;
  }
  if ((puVar9 <= param_2) &&
     (param_2 = (undefined4 *)(uint)(puVar5 < param_2), param_2 == (undefined4 *)0x0)) {
    if (*(char *)(param_6 + 10) < '\0') {
      puVar3 = (undefined4 *)param_6[9];
      param_2 = puVar2;
      puVar5 = (undefined4 *)(*(code *)param_6[7])();
    }
    else {
      puVar3 = puVar2;
      puVar5 = (undefined4 *)(*(code *)param_6[7])();
    }
    if (puVar5 != (undefined4 *)0x0) {
      uVar8 = param_6[6];
      uVar7 = param_6[2];
      pcVar11 = *(code **)(pcVar11 + 0x18a40);
      param_6[1] = puVar5;
      puVar5[1] = iVar10;
      uVar8 = (int)puVar5 + uVar8 + 8 & ~uVar8;
      param_6[4] = (undefined1 *)((int)puVar5 + (int)puVar2);
      *puVar5 = (undefined1 *)((int)puVar5 + (int)puVar2);
      (*pcVar11)(uVar8,uVar7,puVar9);
      bVar4 = *(byte *)(param_6 + 10);
      if (((bVar4 & 0x40) == 0) && (param_6[2] == (iVar10 + 8 + param_6[6] & ~param_6[6]))) {
        pcVar11 = (code *)param_6[8];
        puVar5[1] = *(undefined4 *)(iVar10 + 4);
        if ((char)bVar4 < '\0') {
          (*pcVar11)(param_6[9],iVar10);
          bVar4 = *(byte *)(param_6 + 10);
        }
        else {
          (*pcVar11)(iVar10);
          bVar4 = *(byte *)(param_6 + 10);
        }
      }
      else {
        bVar4 = *(byte *)(param_6 + 10);
      }
      param_6[2] = uVar8;
      param_6[3] = uVar8 + (int)puVar9;
      *(byte *)(param_6 + 10) = bVar4 & 0xbf;
      return bVar4 & 0xbf;
    }
  }
  (*(code *)**(undefined4 **)(pcVar11 + 0x18894))();
  puVar3 = (undefined4 *)puVar3[1];
  if (puVar3 == (undefined4 *)0x0) {
    return 0;
  }
  while ((param_2 <= puVar3 || ((undefined4 *)*puVar3 < param_2))) {
    puVar3 = (undefined4 *)puVar3[1];
    if (puVar3 == (undefined4 *)0x0) {
      return 0;
    }
  }
  return 1;
}

