
debug_type_conflict * coff_get_slot(coff_types *types,long indx)

{
  coff_slots *pcVar1;
  char *format;
  ulong uVar2;
  long lVar3;
  coff_slots **pps;
  undefined8 *puVar4;
  coff_types *pcVar5;
  byte bVar6;
  
  bVar6 = 0;
  if (0x3e8f < indx) {
    format = (char *)dcgettext(0,"Excessively large slot index: %lx",5);
                    /* WARNING: Subroutine does not return */
    fatal(format,indx);
  }
  lVar3 = indx;
  pcVar5 = types;
  if (0xf < indx) {
    do {
      while (types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0) {
        lVar3 = lVar3 + -0x10;
        pcVar5 = types;
        if (lVar3 < 0x10) goto LAB_00134fa8;
      }
      lVar3 = lVar3 + -0x10;
      pcVar1 = (coff_slots *)xmalloc(0x88);
      pcVar5->slots = pcVar1;
      puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);
      pcVar1->next = (coff_slots *)0x0;
      pcVar1->slots[0xf] = (debug_type)0x0;
      uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);
      for (; uVar2 != 0; uVar2 = uVar2 - 1) {
        *puVar4 = 0;
        puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;
      }
      types = (coff_types *)pcVar5->slots;
      pcVar5 = types;
    } while (0xf < lVar3);
LAB_00134fa8:
    indx = (long)((uint)indx & 0xf);
  }
  if (types->slots == (coff_slots *)0x0) {
    pcVar1 = (coff_slots *)xmalloc(0x88);
    types->slots = pcVar1;
    puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);
    pcVar1->next = (coff_slots *)0x0;
    pcVar1->slots[0xf] = (debug_type)0x0;
    uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);
    for (; uVar2 != 0; uVar2 = uVar2 - 1) {
      *puVar4 = 0;
      puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;
    }
    return types->slots->slots + indx;
  }
  return types->slots->slots + indx;
}



long FUN_00134f10(long *param_1,ulong param_2)

{
  undefined8 *puVar1;
  undefined8 uVar2;
  ulong uVar3;
  ulong uVar4;
  long *plVar5;
  byte bVar6;
  
  bVar6 = 0;
  if (0x3e8f < (long)param_2) {
    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);
                    /* WARNING: Subroutine does not return */
    FUN_00136590(uVar2,param_2);
  }
  uVar4 = param_2;
  plVar5 = param_1;
  if (0xf < (long)param_2) {
    do {
      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {
        uVar4 = uVar4 - 0x10;
        plVar5 = param_1;
        if ((long)uVar4 < 0x10) goto LAB_00134fa8;
      }
      uVar4 = uVar4 - 0x10;
      puVar1 = (undefined8 *)xmalloc(0x88);
      *plVar5 = (long)puVar1;
      *puVar1 = 0;
      puVar1[0x10] = 0;
      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))
                      + 0x88U >> 3);
      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);
      for (; uVar3 != 0; uVar3 = uVar3 - 1) {
        *puVar1 = 0;
        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;
      }
      param_1 = (long *)*plVar5;
      plVar5 = param_1;
    } while (0xf < (long)uVar4);
LAB_00134fa8:
    param_2 = (ulong)((uint)param_2 & 0xf);
  }
  if (*param_1 == 0) {
    puVar1 = (undefined8 *)xmalloc(0x88);
    *param_1 = (long)puVar1;
    *puVar1 = 0;
    puVar1[0x10] = 0;
    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +
                    0x88U >> 3);
    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);
    for (; uVar4 != 0; uVar4 = uVar4 - 1) {
      *puVar1 = 0;
      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;
    }
    return *param_1 + 8 + param_2 * 8;
  }
  return *param_1 + 8 + param_2 * 8;
}


PUSH R13
MOV R13,RSI
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
CMP RSI,0x3e8f
JG 0x00135016
MOV R12,RDI
MOV RBP,RSI
CMP RSI,0xf
JG 0x00134f4d
JMP 0x00134fac
SUB RBP,0x10
MOV R12,RBX
CMP RBP,0xf
JLE 0x00134fa8
MOV RBX,qword ptr [R12]
TEST RBX,RBX
JNZ 0x00134f40
MOV EDI,0x88
SUB RBP,0x10
CALL 0x00107350
LEA RDI,[RAX + 0x8]
MOV qword ptr [R12],RAX
AND RDI,-0x8
MOV qword ptr [RAX],0x0
MOV qword ptr [RAX + 0x80],0x0
SUB RAX,RDI
LEA ECX,[RAX + 0x88]
MOV RAX,RBX
SHR ECX,0x3
STOSQ.REP RDI
MOV RBX,qword ptr [R12]
MOV R12,RBX
CMP RBP,0xf
JG 0x00134f4d
NOP dword ptr [RAX]
AND R13D,0xf
MOV RBX,qword ptr [R12]
TEST RBX,RBX
JZ 0x00134fc8
ADD RSP,0x8
LEA RAX,[RBX + R13*0x8 + 0x8]
POP RBX
POP RBP
POP R12
POP R13
RET
MOV EDI,0x88
CALL 0x00107350
LEA RDI,[RAX + 0x8]
MOV qword ptr [R12],RAX
AND RDI,-0x8
MOV qword ptr [RAX],0x0
MOV qword ptr [RAX + 0x80],0x0
SUB RAX,RDI
LEA ECX,[RAX + 0x88]
MOV RAX,RBX
SHR ECX,0x3
STOSQ.REP RDI
MOV RBX,qword ptr [R12]
ADD RSP,0x8
LEA RAX,[RBX + R13*0x8 + 0x8]
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RSI,[0x147638]
XOR EDI,EDI
MOV EDX,0x5
CALL 0x00107230
MOV RSI,R13
MOV RDI,RAX
XOR EAX,EAX
CALL 0x00136590
(translation_unit "long FUN_00134f10(long *param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long *plVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    /* WARNING: Subroutine does not return */\n    FUN_00136590(uVar2,param_2);\n  }\n  uVar4 = param_2;\n  plVar5 = param_1;\n  if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }\n  if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }\n  return *param_1 + 8 + param_2 * 8;\n}\n\n" (function_definition "long FUN_00134f10(long *param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long *plVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    /* WARNING: Subroutine does not return */\n    FUN_00136590(uVar2,param_2);\n  }\n  uVar4 = param_2;\n  plVar5 = param_1;\n  if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }\n  if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }\n  return *param_1 + 8 + param_2 * 8;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00134f10(long *param_1,ulong param_2)" identifier (parameter_list "(long *param_1,ulong param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long *plVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    /* WARNING: Subroutine does not return */\n    FUN_00136590(uVar2,param_2);\n  }\n  uVar4 = param_2;\n  plVar5 = param_1;\n  if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }\n  if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }\n  return *param_1 + 8 + param_2 * 8;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (if_statement "if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    /* WARNING: Subroutine does not return */\n    FUN_00136590(uVar2,param_2);\n  }" if (parenthesized_expression "(0x3e8f < (long)param_2)" ( (binary_expression "0x3e8f < (long)param_2" number_literal < (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    /* WARNING: Subroutine does not return */\n    FUN_00136590(uVar2,param_2);\n  }" { (expression_statement "uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);" (assignment_expression "uVar2 = dcgettext(0,"Excessively large slot index: %lx",5)" identifier = (call_expression "dcgettext(0,"Excessively large slot index: %lx",5)" identifier (argument_list "(0,"Excessively large slot index: %lx",5)" ( number_literal , (string_literal ""Excessively large slot index: %lx"" " string_content ") , number_literal )))) ;) comment (expression_statement "FUN_00136590(uVar2,param_2);" (call_expression "FUN_00136590(uVar2,param_2)" identifier (argument_list "(uVar2,param_2)" ( identifier , identifier ))) ;) })) (expression_statement "uVar4 = param_2;" (assignment_expression "uVar4 = param_2" identifier = identifier) ;) (expression_statement "plVar5 = param_1;" (assignment_expression "plVar5 = param_1" identifier = identifier) ;) (if_statement "if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }" if (parenthesized_expression "(0xf < (long)param_2)" ( (binary_expression "0xf < (long)param_2" number_literal < (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }" { (do_statement "do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);" do (compound_statement "{\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    }" { (while_statement "while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }" while (parenthesized_expression "(param_1 = (long *)*plVar5, param_1 != (long *)0x0)" ( (comma_expression "param_1 = (long *)*plVar5, param_1 != (long *)0x0" (assignment_expression "param_1 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) , (binary_expression "param_1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }" { (expression_statement "uVar4 = uVar4 - 0x10;" (assignment_expression "uVar4 = uVar4 - 0x10" identifier = (binary_expression "uVar4 - 0x10" identifier - number_literal)) ;) (expression_statement "plVar5 = param_1;" (assignment_expression "plVar5 = param_1" identifier = identifier) ;) (if_statement "if ((long)uVar4 < 0x10) goto LAB_00134fa8;" if (parenthesized_expression "((long)uVar4 < 0x10)" ( (binary_expression "(long)uVar4 < 0x10" (cast_expression "(long)uVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (goto_statement "goto LAB_00134fa8;" goto statement_identifier ;)) })) (expression_statement "uVar4 = uVar4 - 0x10;" (assignment_expression "uVar4 = uVar4 - 0x10" identifier = (binary_expression "uVar4 - 0x10" identifier - number_literal)) ;) (expression_statement "puVar1 = (undefined8 *)xmalloc(0x88);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x88)" identifier = (cast_expression "(undefined8 *)xmalloc(0x88)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x88)" identifier (argument_list "(0x88)" ( number_literal ))))) ;) (expression_statement "*plVar5 = (long)puVar1;" (assignment_expression "*plVar5 = (long)puVar1" (pointer_expression "*plVar5" * identifier) = (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[0x10] = 0;" (assignment_expression "puVar1[0x10] = 0" (subscript_expression "puVar1[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);" (assignment_expression "uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3)" identifier = (call_expression "(ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3)" ( (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3" (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U" (parenthesized_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))" ( (binary_expression "(int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ;) (expression_statement "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);" (assignment_expression "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }" for ( ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }" { (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1" identifier = (binary_expression "puVar1 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar1 + (ulong)bVar6 * -2" identifier + (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "param_1 = (long *)*plVar5;" (assignment_expression "param_1 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) (expression_statement "plVar5 = param_1;" (assignment_expression "plVar5 = param_1" identifier = identifier) ;) }) while (parenthesized_expression "(0xf < (long)uVar4)" ( (binary_expression "0xf < (long)uVar4" number_literal < (cast_expression "(long)uVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) ;) (labeled_statement "LAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);" statement_identifier : (expression_statement "param_2 = (ulong)((uint)param_2 & 0xf);" (assignment_expression "param_2 = (ulong)((uint)param_2 & 0xf)" identifier = (call_expression "(ulong)((uint)param_2 & 0xf)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uint)param_2 & 0xf)" ( (binary_expression "(uint)param_2 & 0xf" (cast_expression "(uint)param_2" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;)) })) (if_statement "if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }" { (expression_statement "puVar1 = (undefined8 *)xmalloc(0x88);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x88)" identifier = (cast_expression "(undefined8 *)xmalloc(0x88)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x88)" identifier (argument_list "(0x88)" ( number_literal ))))) ;) (expression_statement "*param_1 = (long)puVar1;" (assignment_expression "*param_1 = (long)puVar1" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[0x10] = 0;" (assignment_expression "puVar1[0x10] = 0" (subscript_expression "puVar1[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);" (assignment_expression "uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3)" identifier = (call_expression "(ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3)" ( (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3" (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U" (parenthesized_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))" ( (binary_expression "(int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ;) (expression_statement "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);" (assignment_expression "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }" for ( ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }" { (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1" identifier = (binary_expression "puVar1 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar1 + (ulong)bVar6 * -2" identifier + (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (return_statement "return *param_1 + 8 + param_2 * 8;" return (binary_expression "*param_1 + 8 + param_2 * 8" (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) + (binary_expression "param_2 * 8" identifier * number_literal)) ;) })) (return_statement "return *param_1 + 8 + param_2 * 8;" return (binary_expression "*param_1 + 8 + param_2 * 8" (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) + (binary_expression "param_2 * 8" identifier * number_literal)) ;) })))
(translation_unit "debug_type_conflict * coff_get_slot(coff_types *types,long indx)\n\n{\n  coff_slots *pcVar1;\n  char *format;\n  ulong uVar2;\n  long lVar3;\n  coff_slots **pps;\n  undefined8 *puVar4;\n  coff_types *pcVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < indx) {\n    format = (char *)dcgettext(0,"Excessively large slot index: %lx",5);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,indx);\n  }\n  lVar3 = indx;\n  pcVar5 = types;\n  if (0xf < indx) {\n    do {\n      while (types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0) {\n        lVar3 = lVar3 + -0x10;\n        pcVar5 = types;\n        if (lVar3 < 0x10) goto LAB_00134fa8;\n      }\n      lVar3 = lVar3 + -0x10;\n      pcVar1 = (coff_slots *)xmalloc(0x88);\n      pcVar5->slots = pcVar1;\n      puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n      pcVar1->next = (coff_slots *)0x0;\n      pcVar1->slots[0xf] = (debug_type)0x0;\n      uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n      }\n      types = (coff_types *)pcVar5->slots;\n      pcVar5 = types;\n    } while (0xf < lVar3);\nLAB_00134fa8:\n    indx = (long)((uint)indx & 0xf);\n  }\n  if (types->slots == (coff_slots *)0x0) {\n    pcVar1 = (coff_slots *)xmalloc(0x88);\n    types->slots = pcVar1;\n    puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n    pcVar1->next = (coff_slots *)0x0;\n    pcVar1->slots[0xf] = (debug_type)0x0;\n    uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n    for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n      *puVar4 = 0;\n      puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n    }\n    return types->slots->slots + indx;\n  }\n  return types->slots->slots + indx;\n}\n\n" (function_definition "debug_type_conflict * coff_get_slot(coff_types *types,long indx)\n\n{\n  coff_slots *pcVar1;\n  char *format;\n  ulong uVar2;\n  long lVar3;\n  coff_slots **pps;\n  undefined8 *puVar4;\n  coff_types *pcVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < indx) {\n    format = (char *)dcgettext(0,"Excessively large slot index: %lx",5);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,indx);\n  }\n  lVar3 = indx;\n  pcVar5 = types;\n  if (0xf < indx) {\n    do {\n      while (types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0) {\n        lVar3 = lVar3 + -0x10;\n        pcVar5 = types;\n        if (lVar3 < 0x10) goto LAB_00134fa8;\n      }\n      lVar3 = lVar3 + -0x10;\n      pcVar1 = (coff_slots *)xmalloc(0x88);\n      pcVar5->slots = pcVar1;\n      puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n      pcVar1->next = (coff_slots *)0x0;\n      pcVar1->slots[0xf] = (debug_type)0x0;\n      uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n      }\n      types = (coff_types *)pcVar5->slots;\n      pcVar5 = types;\n    } while (0xf < lVar3);\nLAB_00134fa8:\n    indx = (long)((uint)indx & 0xf);\n  }\n  if (types->slots == (coff_slots *)0x0) {\n    pcVar1 = (coff_slots *)xmalloc(0x88);\n    types->slots = pcVar1;\n    puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n    pcVar1->next = (coff_slots *)0x0;\n    pcVar1->slots[0xf] = (debug_type)0x0;\n    uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n    for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n      *puVar4 = 0;\n      puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n    }\n    return types->slots->slots + indx;\n  }\n  return types->slots->slots + indx;\n}" type_identifier (pointer_declarator "* coff_get_slot(coff_types *types,long indx)" * (function_declarator "coff_get_slot(coff_types *types,long indx)" identifier (parameter_list "(coff_types *types,long indx)" ( (parameter_declaration "coff_types *types" type_identifier (pointer_declarator "*types" * identifier)) , (parameter_declaration "long indx" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  coff_slots *pcVar1;\n  char *format;\n  ulong uVar2;\n  long lVar3;\n  coff_slots **pps;\n  undefined8 *puVar4;\n  coff_types *pcVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < indx) {\n    format = (char *)dcgettext(0,"Excessively large slot index: %lx",5);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,indx);\n  }\n  lVar3 = indx;\n  pcVar5 = types;\n  if (0xf < indx) {\n    do {\n      while (types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0) {\n        lVar3 = lVar3 + -0x10;\n        pcVar5 = types;\n        if (lVar3 < 0x10) goto LAB_00134fa8;\n      }\n      lVar3 = lVar3 + -0x10;\n      pcVar1 = (coff_slots *)xmalloc(0x88);\n      pcVar5->slots = pcVar1;\n      puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n      pcVar1->next = (coff_slots *)0x0;\n      pcVar1->slots[0xf] = (debug_type)0x0;\n      uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n      }\n      types = (coff_types *)pcVar5->slots;\n      pcVar5 = types;\n    } while (0xf < lVar3);\nLAB_00134fa8:\n    indx = (long)((uint)indx & 0xf);\n  }\n  if (types->slots == (coff_slots *)0x0) {\n    pcVar1 = (coff_slots *)xmalloc(0x88);\n    types->slots = pcVar1;\n    puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n    pcVar1->next = (coff_slots *)0x0;\n    pcVar1->slots[0xf] = (debug_type)0x0;\n    uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n    for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n      *puVar4 = 0;\n      puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n    }\n    return types->slots->slots + indx;\n  }\n  return types->slots->slots + indx;\n}" { (declaration "coff_slots *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "coff_slots **pps;" type_identifier (pointer_declarator "**pps" * (pointer_declarator "*pps" * identifier)) ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "coff_types *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (if_statement "if (0x3e8f < indx) {\n    format = (char *)dcgettext(0,"Excessively large slot index: %lx",5);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,indx);\n  }" if (parenthesized_expression "(0x3e8f < indx)" ( (binary_expression "0x3e8f < indx" number_literal < identifier) )) (compound_statement "{\n    format = (char *)dcgettext(0,"Excessively large slot index: %lx",5);\n                    /* WARNING: Subroutine does not return */\n    fatal(format,indx);\n  }" { (expression_statement "format = (char *)dcgettext(0,"Excessively large slot index: %lx",5);" (assignment_expression "format = (char *)dcgettext(0,"Excessively large slot index: %lx",5)" identifier = (cast_expression "(char *)dcgettext(0,"Excessively large slot index: %lx",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Excessively large slot index: %lx",5)" identifier (argument_list "(0,"Excessively large slot index: %lx",5)" ( number_literal , (string_literal ""Excessively large slot index: %lx"" " string_content ") , number_literal ))))) ;) comment (expression_statement "fatal(format,indx);" (call_expression "fatal(format,indx)" identifier (argument_list "(format,indx)" ( identifier , identifier ))) ;) })) (expression_statement "lVar3 = indx;" (assignment_expression "lVar3 = indx" identifier = identifier) ;) (expression_statement "pcVar5 = types;" (assignment_expression "pcVar5 = types" identifier = identifier) ;) (if_statement "if (0xf < indx) {\n    do {\n      while (types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0) {\n        lVar3 = lVar3 + -0x10;\n        pcVar5 = types;\n        if (lVar3 < 0x10) goto LAB_00134fa8;\n      }\n      lVar3 = lVar3 + -0x10;\n      pcVar1 = (coff_slots *)xmalloc(0x88);\n      pcVar5->slots = pcVar1;\n      puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n      pcVar1->next = (coff_slots *)0x0;\n      pcVar1->slots[0xf] = (debug_type)0x0;\n      uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n      }\n      types = (coff_types *)pcVar5->slots;\n      pcVar5 = types;\n    } while (0xf < lVar3);\nLAB_00134fa8:\n    indx = (long)((uint)indx & 0xf);\n  }" if (parenthesized_expression "(0xf < indx)" ( (binary_expression "0xf < indx" number_literal < identifier) )) (compound_statement "{\n    do {\n      while (types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0) {\n        lVar3 = lVar3 + -0x10;\n        pcVar5 = types;\n        if (lVar3 < 0x10) goto LAB_00134fa8;\n      }\n      lVar3 = lVar3 + -0x10;\n      pcVar1 = (coff_slots *)xmalloc(0x88);\n      pcVar5->slots = pcVar1;\n      puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n      pcVar1->next = (coff_slots *)0x0;\n      pcVar1->slots[0xf] = (debug_type)0x0;\n      uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n      }\n      types = (coff_types *)pcVar5->slots;\n      pcVar5 = types;\n    } while (0xf < lVar3);\nLAB_00134fa8:\n    indx = (long)((uint)indx & 0xf);\n  }" { (do_statement "do {\n      while (types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0) {\n        lVar3 = lVar3 + -0x10;\n        pcVar5 = types;\n        if (lVar3 < 0x10) goto LAB_00134fa8;\n      }\n      lVar3 = lVar3 + -0x10;\n      pcVar1 = (coff_slots *)xmalloc(0x88);\n      pcVar5->slots = pcVar1;\n      puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n      pcVar1->next = (coff_slots *)0x0;\n      pcVar1->slots[0xf] = (debug_type)0x0;\n      uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n      }\n      types = (coff_types *)pcVar5->slots;\n      pcVar5 = types;\n    } while (0xf < lVar3);" do (compound_statement "{\n      while (types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0) {\n        lVar3 = lVar3 + -0x10;\n        pcVar5 = types;\n        if (lVar3 < 0x10) goto LAB_00134fa8;\n      }\n      lVar3 = lVar3 + -0x10;\n      pcVar1 = (coff_slots *)xmalloc(0x88);\n      pcVar5->slots = pcVar1;\n      puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n      pcVar1->next = (coff_slots *)0x0;\n      pcVar1->slots[0xf] = (debug_type)0x0;\n      uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n      for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n      }\n      types = (coff_types *)pcVar5->slots;\n      pcVar5 = types;\n    }" { (while_statement "while (types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0) {\n        lVar3 = lVar3 + -0x10;\n        pcVar5 = types;\n        if (lVar3 < 0x10) goto LAB_00134fa8;\n      }" while (parenthesized_expression "(types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0)" ( (comma_expression "types = (coff_types *)pcVar5->slots, types != (coff_types *)0x0" (assignment_expression "types = (coff_types *)pcVar5->slots" identifier = (cast_expression "(coff_types *)pcVar5->slots" ( (type_descriptor "coff_types *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pcVar5->slots" identifier -> field_identifier))) , (binary_expression "types != (coff_types *)0x0" identifier != (cast_expression "(coff_types *)0x0" ( (type_descriptor "coff_types *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n        lVar3 = lVar3 + -0x10;\n        pcVar5 = types;\n        if (lVar3 < 0x10) goto LAB_00134fa8;\n      }" { (expression_statement "lVar3 = lVar3 + -0x10;" (assignment_expression "lVar3 = lVar3 + -0x10" identifier = (binary_expression "lVar3 + -0x10" identifier + number_literal)) ;) (expression_statement "pcVar5 = types;" (assignment_expression "pcVar5 = types" identifier = identifier) ;) (if_statement "if (lVar3 < 0x10) goto LAB_00134fa8;" if (parenthesized_expression "(lVar3 < 0x10)" ( (binary_expression "lVar3 < 0x10" identifier < number_literal) )) (goto_statement "goto LAB_00134fa8;" goto statement_identifier ;)) })) (expression_statement "lVar3 = lVar3 + -0x10;" (assignment_expression "lVar3 = lVar3 + -0x10" identifier = (binary_expression "lVar3 + -0x10" identifier + number_literal)) ;) (expression_statement "pcVar1 = (coff_slots *)xmalloc(0x88);" (assignment_expression "pcVar1 = (coff_slots *)xmalloc(0x88)" identifier = (cast_expression "(coff_slots *)xmalloc(0x88)" ( (type_descriptor "coff_slots *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x88)" identifier (argument_list "(0x88)" ( number_literal ))))) ;) (expression_statement "pcVar5->slots = pcVar1;" (assignment_expression "pcVar5->slots = pcVar1" (field_expression "pcVar5->slots" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);" (assignment_expression "puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)pcVar1->slots & 0xfffffffffffffff8)" ( (binary_expression "(ulong)pcVar1->slots & 0xfffffffffffffff8" (cast_expression "(ulong)pcVar1->slots" ( (type_descriptor "ulong" type_identifier) ) (field_expression "pcVar1->slots" identifier -> field_identifier)) & number_literal) )))) ;) (expression_statement "pcVar1->next = (coff_slots *)0x0;" (assignment_expression "pcVar1->next = (coff_slots *)0x0" (field_expression "pcVar1->next" identifier -> field_identifier) = (cast_expression "(coff_slots *)0x0" ( (type_descriptor "coff_slots *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar1->slots[0xf] = (debug_type)0x0;" (assignment_expression "pcVar1->slots[0xf] = (debug_type)0x0" (subscript_expression "pcVar1->slots[0xf]" (field_expression "pcVar1->slots" identifier -> field_identifier) [ number_literal ]) = (cast_expression "(debug_type)0x0" ( (type_descriptor "debug_type" type_identifier) ) number_literal)) ;) (expression_statement "uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);" (assignment_expression "uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3)" identifier = (call_expression "(ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)pcVar1 - (int)puVar4) + 0x88U >> 3)" ( (binary_expression "((int)pcVar1 - (int)puVar4) + 0x88U >> 3" (binary_expression "((int)pcVar1 - (int)puVar4) + 0x88U" (parenthesized_expression "((int)pcVar1 - (int)puVar4)" ( (binary_expression "(int)pcVar1 - (int)puVar4" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal) >> number_literal) )))) ;) (for_statement "for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n      }" for ( ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n        *puVar4 = 0;\n        puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n      }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (ulong)bVar6 * -2 + 1" identifier = (binary_expression "puVar4 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar4 + (ulong)bVar6 * -2" identifier + (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "types = (coff_types *)pcVar5->slots;" (assignment_expression "types = (coff_types *)pcVar5->slots" identifier = (cast_expression "(coff_types *)pcVar5->slots" ( (type_descriptor "coff_types *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pcVar5->slots" identifier -> field_identifier))) ;) (expression_statement "pcVar5 = types;" (assignment_expression "pcVar5 = types" identifier = identifier) ;) }) while (parenthesized_expression "(0xf < lVar3)" ( (binary_expression "0xf < lVar3" number_literal < identifier) )) ;) (labeled_statement "LAB_00134fa8:\n    indx = (long)((uint)indx & 0xf);" statement_identifier : (expression_statement "indx = (long)((uint)indx & 0xf);" (assignment_expression "indx = (long)((uint)indx & 0xf)" identifier = (cast_expression "(long)((uint)indx & 0xf)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "((uint)indx & 0xf)" ( (binary_expression "(uint)indx & 0xf" (cast_expression "(uint)indx" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;)) })) (if_statement "if (types->slots == (coff_slots *)0x0) {\n    pcVar1 = (coff_slots *)xmalloc(0x88);\n    types->slots = pcVar1;\n    puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n    pcVar1->next = (coff_slots *)0x0;\n    pcVar1->slots[0xf] = (debug_type)0x0;\n    uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n    for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n      *puVar4 = 0;\n      puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n    }\n    return types->slots->slots + indx;\n  }" if (parenthesized_expression "(types->slots == (coff_slots *)0x0)" ( (binary_expression "types->slots == (coff_slots *)0x0" (field_expression "types->slots" identifier -> field_identifier) == (cast_expression "(coff_slots *)0x0" ( (type_descriptor "coff_slots *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar1 = (coff_slots *)xmalloc(0x88);\n    types->slots = pcVar1;\n    puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);\n    pcVar1->next = (coff_slots *)0x0;\n    pcVar1->slots[0xf] = (debug_type)0x0;\n    uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);\n    for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n      *puVar4 = 0;\n      puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n    }\n    return types->slots->slots + indx;\n  }" { (expression_statement "pcVar1 = (coff_slots *)xmalloc(0x88);" (assignment_expression "pcVar1 = (coff_slots *)xmalloc(0x88)" identifier = (cast_expression "(coff_slots *)xmalloc(0x88)" ( (type_descriptor "coff_slots *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x88)" identifier (argument_list "(0x88)" ( number_literal ))))) ;) (expression_statement "types->slots = pcVar1;" (assignment_expression "types->slots = pcVar1" (field_expression "types->slots" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8);" (assignment_expression "puVar4 = (undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)pcVar1->slots & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)pcVar1->slots & 0xfffffffffffffff8)" ( (binary_expression "(ulong)pcVar1->slots & 0xfffffffffffffff8" (cast_expression "(ulong)pcVar1->slots" ( (type_descriptor "ulong" type_identifier) ) (field_expression "pcVar1->slots" identifier -> field_identifier)) & number_literal) )))) ;) (expression_statement "pcVar1->next = (coff_slots *)0x0;" (assignment_expression "pcVar1->next = (coff_slots *)0x0" (field_expression "pcVar1->next" identifier -> field_identifier) = (cast_expression "(coff_slots *)0x0" ( (type_descriptor "coff_slots *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar1->slots[0xf] = (debug_type)0x0;" (assignment_expression "pcVar1->slots[0xf] = (debug_type)0x0" (subscript_expression "pcVar1->slots[0xf]" (field_expression "pcVar1->slots" identifier -> field_identifier) [ number_literal ]) = (cast_expression "(debug_type)0x0" ( (type_descriptor "debug_type" type_identifier) ) number_literal)) ;) (expression_statement "uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3);" (assignment_expression "uVar2 = (ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3)" identifier = (call_expression "(ulong)(((int)pcVar1 - (int)puVar4) + 0x88U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)pcVar1 - (int)puVar4) + 0x88U >> 3)" ( (binary_expression "((int)pcVar1 - (int)puVar4) + 0x88U >> 3" (binary_expression "((int)pcVar1 - (int)puVar4) + 0x88U" (parenthesized_expression "((int)pcVar1 - (int)puVar4)" ( (binary_expression "(int)pcVar1 - (int)puVar4" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal) >> number_literal) )))) ;) (for_statement "for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n      *puVar4 = 0;\n      puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n    }" for ( ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar4 = 0;\n      puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;\n    }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (ulong)bVar6 * -2 + 1" identifier = (binary_expression "puVar4 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar4 + (ulong)bVar6 * -2" identifier + (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (return_statement "return types->slots->slots + indx;" return (binary_expression "types->slots->slots + indx" (field_expression "types->slots->slots" (field_expression "types->slots" identifier -> field_identifier) -> field_identifier) + identifier) ;) })) (return_statement "return types->slots->slots + indx;" return (binary_expression "types->slots->slots + indx" (field_expression "types->slots->slots" (field_expression "types->slots" identifier -> field_identifier) -> field_identifier) + identifier) ;) })))
(translation_unit "long FUN_00134f10(long *param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long *plVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    \n    FUN_00136590(uVar2,param_2);\n  }\n  uVar4 = param_2;\n  plVar5 = param_1;\n  if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }\n  if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }\n  return *param_1 + 8 + param_2 * 8;\n}\n\n" (function_definition "long FUN_00134f10(long *param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long *plVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    \n    FUN_00136590(uVar2,param_2);\n  }\n  uVar4 = param_2;\n  plVar5 = param_1;\n  if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }\n  if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }\n  return *param_1 + 8 + param_2 * 8;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00134f10(long *param_1,ulong param_2)" identifier (parameter_list "(long *param_1,ulong param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long *plVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    \n    FUN_00136590(uVar2,param_2);\n  }\n  uVar4 = param_2;\n  plVar5 = param_1;\n  if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }\n  if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }\n  return *param_1 + 8 + param_2 * 8;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" identifier = number_literal) ;) (if_statement "if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    \n    FUN_00136590(uVar2,param_2);\n  }" if (parenthesized_expression "(0x3e8f < (long)param_2)" ( (binary_expression "0x3e8f < (long)param_2" number_literal < (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    \n    FUN_00136590(uVar2,param_2);\n  }" { (expression_statement "uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);" (assignment_expression "uVar2 = dcgettext(0,"Excessively large slot index: %lx",5)" identifier = (call_expression "dcgettext(0,"Excessively large slot index: %lx",5)" identifier (argument_list "(0,"Excessively large slot index: %lx",5)" ( number_literal , (string_literal ""Excessively large slot index: %lx"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_00136590(uVar2,param_2);" (call_expression "FUN_00136590(uVar2,param_2)" identifier (argument_list "(uVar2,param_2)" ( identifier , identifier ))) ;) })) (expression_statement "uVar4 = param_2;" (assignment_expression "uVar4 = param_2" identifier = identifier) ;) (expression_statement "plVar5 = param_1;" (assignment_expression "plVar5 = param_1" identifier = identifier) ;) (if_statement "if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }" if (parenthesized_expression "(0xf < (long)param_2)" ( (binary_expression "0xf < (long)param_2" number_literal < (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }" { (do_statement "do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);" do (compound_statement "{\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    }" { (while_statement "while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }" while (parenthesized_expression "(param_1 = (long *)*plVar5, param_1 != (long *)0x0)" ( (comma_expression "param_1 = (long *)*plVar5, param_1 != (long *)0x0" (assignment_expression "param_1 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) , (binary_expression "param_1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }" { (expression_statement "uVar4 = uVar4 - 0x10;" (assignment_expression "uVar4 = uVar4 - 0x10" identifier = (binary_expression "uVar4 - 0x10" identifier - number_literal)) ;) (expression_statement "plVar5 = param_1;" (assignment_expression "plVar5 = param_1" identifier = identifier) ;) (if_statement "if ((long)uVar4 < 0x10) goto LAB_00134fa8;" if (parenthesized_expression "((long)uVar4 < 0x10)" ( (binary_expression "(long)uVar4 < 0x10" (cast_expression "(long)uVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (goto_statement "goto LAB_00134fa8;" goto statement_identifier ;)) })) (expression_statement "uVar4 = uVar4 - 0x10;" (assignment_expression "uVar4 = uVar4 - 0x10" identifier = (binary_expression "uVar4 - 0x10" identifier - number_literal)) ;) (expression_statement "puVar1 = (undefined8 *)xmalloc(0x88);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x88)" identifier = (cast_expression "(undefined8 *)xmalloc(0x88)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x88)" identifier (argument_list "(0x88)" ( number_literal ))))) ;) (expression_statement "*plVar5 = (long)puVar1;" (assignment_expression "*plVar5 = (long)puVar1" (pointer_expression "*plVar5" * identifier) = (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[0x10] = 0;" (assignment_expression "puVar1[0x10] = 0" (subscript_expression "puVar1[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);" (assignment_expression "uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3)" identifier = (call_expression "(ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3)" ( (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3" (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U" (parenthesized_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))" ( (binary_expression "(int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ;) (expression_statement "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);" (assignment_expression "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }" for ( ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }" { (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1" identifier = (binary_expression "puVar1 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar1 + (ulong)bVar6 * -2" identifier + (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "param_1 = (long *)*plVar5;" (assignment_expression "param_1 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) (expression_statement "plVar5 = param_1;" (assignment_expression "plVar5 = param_1" identifier = identifier) ;) }) while (parenthesized_expression "(0xf < (long)uVar4)" ( (binary_expression "0xf < (long)uVar4" number_literal < (cast_expression "(long)uVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) ;) (labeled_statement "LAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);" statement_identifier : (expression_statement "param_2 = (ulong)((uint)param_2 & 0xf);" (assignment_expression "param_2 = (ulong)((uint)param_2 & 0xf)" identifier = (call_expression "(ulong)((uint)param_2 & 0xf)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uint)param_2 & 0xf)" ( (binary_expression "(uint)param_2 & 0xf" (cast_expression "(uint)param_2" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;)) })) (if_statement "if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }" { (expression_statement "puVar1 = (undefined8 *)xmalloc(0x88);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x88)" identifier = (cast_expression "(undefined8 *)xmalloc(0x88)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x88)" identifier (argument_list "(0x88)" ( number_literal ))))) ;) (expression_statement "*param_1 = (long)puVar1;" (assignment_expression "*param_1 = (long)puVar1" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)puVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[0x10] = 0;" (assignment_expression "puVar1[0x10] = 0" (subscript_expression "puVar1[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);" (assignment_expression "uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3)" identifier = (call_expression "(ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3)" ( (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3" (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U" (parenthesized_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))" ( (binary_expression "(int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ;) (expression_statement "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);" (assignment_expression "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }" for ( ; (binary_expression "uVar4 != 0" identifier != number_literal) ; (assignment_expression "uVar4 = uVar4 - 1" identifier = (binary_expression "uVar4 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }" { (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1" identifier = (binary_expression "puVar1 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar1 + (ulong)bVar6 * -2" identifier + (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (return_statement "return *param_1 + 8 + param_2 * 8;" return (binary_expression "*param_1 + 8 + param_2 * 8" (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) + (binary_expression "param_2 * 8" identifier * number_literal)) ;) })) (return_statement "return *param_1 + 8 + param_2 * 8;" return (binary_expression "*param_1 + 8 + param_2 * 8" (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) + (binary_expression "param_2 * 8" identifier * number_literal)) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) ))))) )) + LIT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) ))))) )) + LIT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (return_statement return (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) + (binary_expression IDENT * LIT)) ;) })) (return_statement return (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) + (binary_expression IDENT * LIT)) ;) })))
(function_definition "long FUN_00134f10(long *param_1,ulong param_2)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long *plVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    \n    FUN_00136590(uVar2,param_2);\n  }\n  uVar4 = param_2;\n  plVar5 = param_1;\n  if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }\n  if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }\n  return *param_1 + 8 + param_2 * 8;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_00134f10(long *param_1,ulong param_2)" (identifier "FUN_00134f10") (parameter_list "(long *param_1,ulong param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  long *plVar5;\n  byte bVar6;\n  \n  bVar6 = 0;\n  if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    \n    FUN_00136590(uVar2,param_2);\n  }\n  uVar4 = param_2;\n  plVar5 = param_1;\n  if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }\n  if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }\n  return *param_1 + 8 + param_2 * 8;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "long *plVar5;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar5" (* "*") (identifier "plVar5")) (; ";")) (declaration "byte bVar6;" (type_identifier "byte") (identifier "bVar6") (; ";")) (expression_statement "bVar6 = 0;" (assignment_expression "bVar6 = 0" (identifier "bVar6") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0x3e8f < (long)param_2) {\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    \n    FUN_00136590(uVar2,param_2);\n  }" (if "if") (parenthesized_expression "(0x3e8f < (long)param_2)" (( "(") (binary_expression "0x3e8f < (long)param_2" (number_literal "0x3e8f") (< "<") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2"))) () ")")) (compound_statement "{\n    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);\n                    \n    FUN_00136590(uVar2,param_2);\n  }" ({ "{") (expression_statement "uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);" (assignment_expression "uVar2 = dcgettext(0,"Excessively large slot index: %lx",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"Excessively large slot index: %lx",5)" (identifier "dcgettext") (argument_list "(0,"Excessively large slot index: %lx",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Excessively large slot index: %lx"" (" """) (string_content "Excessively large slot index: %lx") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00136590(uVar2,param_2);" (call_expression "FUN_00136590(uVar2,param_2)" (identifier "FUN_00136590") (argument_list "(uVar2,param_2)" (( "(") (identifier "uVar2") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = param_2;" (assignment_expression "uVar4 = param_2" (identifier "uVar4") (= "=") (identifier "param_2")) (; ";")) (expression_statement "plVar5 = param_1;" (assignment_expression "plVar5 = param_1" (identifier "plVar5") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (0xf < (long)param_2) {\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }" (if "if") (parenthesized_expression "(0xf < (long)param_2)" (( "(") (binary_expression "0xf < (long)param_2" (number_literal "0xf") (< "<") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2"))) () ")")) (compound_statement "{\n    do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);\nLAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);\n  }" ({ "{") (do_statement "do {\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    } while (0xf < (long)uVar4);" (do "do") (compound_statement "{\n      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }\n      uVar4 = uVar4 - 0x10;\n      puVar1 = (undefined8 *)xmalloc(0x88);\n      *plVar5 = (long)puVar1;\n      *puVar1 = 0;\n      puVar1[0x10] = 0;\n      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);\n      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n      for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }\n      param_1 = (long *)*plVar5;\n      plVar5 = param_1;\n    }" ({ "{") (while_statement "while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }" (while "while") (parenthesized_expression "(param_1 = (long *)*plVar5, param_1 != (long *)0x0)" (( "(") (comma_expression "param_1 = (long *)*plVar5, param_1 != (long *)0x0" (assignment_expression "param_1 = (long *)*plVar5" (identifier "param_1") (= "=") (cast_expression "(long *)*plVar5" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5")))) (, ",") (binary_expression "param_1 != (long *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n        uVar4 = uVar4 - 0x10;\n        plVar5 = param_1;\n        if ((long)uVar4 < 0x10) goto LAB_00134fa8;\n      }" ({ "{") (expression_statement "uVar4 = uVar4 - 0x10;" (assignment_expression "uVar4 = uVar4 - 0x10" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 0x10" (identifier "uVar4") (- "-") (number_literal "0x10"))) (; ";")) (expression_statement "plVar5 = param_1;" (assignment_expression "plVar5 = param_1" (identifier "plVar5") (= "=") (identifier "param_1")) (; ";")) (if_statement "if ((long)uVar4 < 0x10) goto LAB_00134fa8;" (if "if") (parenthesized_expression "((long)uVar4 < 0x10)" (( "(") (binary_expression "(long)uVar4 < 0x10" (cast_expression "(long)uVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar4")) (< "<") (number_literal "0x10")) () ")")) (goto_statement "goto LAB_00134fa8;" (goto "goto") (statement_identifier "LAB_00134fa8") (; ";"))) (} "}"))) (expression_statement "uVar4 = uVar4 - 0x10;" (assignment_expression "uVar4 = uVar4 - 0x10" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 0x10" (identifier "uVar4") (- "-") (number_literal "0x10"))) (; ";")) (expression_statement "puVar1 = (undefined8 *)xmalloc(0x88);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x88)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)xmalloc(0x88)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x88)" (identifier "xmalloc") (argument_list "(0x88)" (( "(") (number_literal "0x88") () ")"))))) (; ";")) (expression_statement "*plVar5 = (long)puVar1;" (assignment_expression "*plVar5 = (long)puVar1" (pointer_expression "*plVar5" (* "*") (identifier "plVar5")) (= "=") (cast_expression "(long)puVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar1"))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[0x10] = 0;" (assignment_expression "puVar1[0x10] = 0" (subscript_expression "puVar1[0x10]" (identifier "puVar1") ([ "[") (number_literal "0x10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3);" (assignment_expression "uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3)" (identifier "uVar3") (= "=") (call_expression "(ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3)" (( "(") (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U >> 3" (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))\n                      + 0x88U" (parenthesized_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))" (( "(") (binary_expression "(int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (- "-") (cast_expression "(int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffffffffff8")) () ")"))))) () ")")) (+ "+") (number_literal "0x88U")) (>> ">>") (number_literal "3")) () ")")))) (; ";")) (expression_statement "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);" (assignment_expression "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffffffffff8")) () ")")))) (; ";")) (for_statement "for (; uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }" (for "for") (( "(") (; ";") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar3 = uVar3 - 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n        *puVar1 = 0;\n        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n      }" ({ "{") (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar1 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar1 + (ulong)bVar6 * -2" (identifier "puVar1") (+ "+") (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar6")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "param_1 = (long *)*plVar5;" (assignment_expression "param_1 = (long *)*plVar5" (identifier "param_1") (= "=") (cast_expression "(long *)*plVar5" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5")))) (; ";")) (expression_statement "plVar5 = param_1;" (assignment_expression "plVar5 = param_1" (identifier "plVar5") (= "=") (identifier "param_1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0xf < (long)uVar4)" (( "(") (binary_expression "0xf < (long)uVar4" (number_literal "0xf") (< "<") (cast_expression "(long)uVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar4"))) () ")")) (; ";")) (labeled_statement "LAB_00134fa8:\n    param_2 = (ulong)((uint)param_2 & 0xf);" (statement_identifier "LAB_00134fa8") (: ":") (expression_statement "param_2 = (ulong)((uint)param_2 & 0xf);" (assignment_expression "param_2 = (ulong)((uint)param_2 & 0xf)" (identifier "param_2") (= "=") (call_expression "(ulong)((uint)param_2 & 0xf)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((uint)param_2 & 0xf)" (( "(") (binary_expression "(uint)param_2 & 0xf" (cast_expression "(uint)param_2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_2")) (& "&") (number_literal "0xf")) () ")")))) (; ";"))) (} "}"))) (if_statement "if (*param_1 == 0) {\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar1 = (undefined8 *)xmalloc(0x88);\n    *param_1 = (long)puVar1;\n    *puVar1 = 0;\n    puVar1[0x10] = 0;\n    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);\n    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);\n    for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }\n    return *param_1 + 8 + param_2 * 8;\n  }" ({ "{") (expression_statement "puVar1 = (undefined8 *)xmalloc(0x88);" (assignment_expression "puVar1 = (undefined8 *)xmalloc(0x88)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)xmalloc(0x88)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x88)" (identifier "xmalloc") (argument_list "(0x88)" (( "(") (number_literal "0x88") () ")"))))) (; ";")) (expression_statement "*param_1 = (long)puVar1;" (assignment_expression "*param_1 = (long)puVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)puVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar1"))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[0x10] = 0;" (assignment_expression "puVar1[0x10] = 0" (subscript_expression "puVar1[0x10]" (identifier "puVar1") ([ "[") (number_literal "0x10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3);" (assignment_expression "uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3)" (identifier "uVar4") (= "=") (call_expression "(ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3)" (( "(") (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U >> 3" (binary_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +\n                    0x88U" (parenthesized_expression "((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))" (( "(") (binary_expression "(int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (- "-") (cast_expression "(int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffffffffff8")) () ")"))))) () ")")) (+ "+") (number_literal "0x88U")) (>> ">>") (number_literal "3")) () ")")))) (; ";")) (expression_statement "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);" (assignment_expression "puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(puVar1 + 1) & 0xfffffffffffffff8)" (( "(") (binary_expression "(ulong)(puVar1 + 1) & 0xfffffffffffffff8" (call_expression "(ulong)(puVar1 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffffffffff8")) () ")")))) (; ";")) (for_statement "for (; uVar4 != 0; uVar4 = uVar4 - 1) {\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }" (for "for") (( "(") (; ";") (binary_expression "uVar4 != 0" (identifier "uVar4") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar4 = uVar4 - 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 - 1" (identifier "uVar4") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n      *puVar1 = 0;\n      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;\n    }" ({ "{") (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;" (assignment_expression "puVar1 = puVar1 + (ulong)bVar6 * -2 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar1 + (ulong)bVar6 * -2 + 1" (binary_expression "puVar1 + (ulong)bVar6 * -2" (identifier "puVar1") (+ "+") (binary_expression "(ulong)bVar6 * -2" (cast_expression "(ulong)bVar6" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar6")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return *param_1 + 8 + param_2 * 8;" (return "return") (binary_expression "*param_1 + 8 + param_2 * 8" (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) (+ "+") (binary_expression "param_2 * 8" (identifier "param_2") (* "*") (number_literal "8"))) (; ";")) (} "}"))) (return_statement "return *param_1 + 8 + param_2 * 8;" (return "return") (binary_expression "*param_1 + 8 + param_2 * 8" (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) (+ "+") (binary_expression "param_2 * 8" (identifier "param_2") (* "*") (number_literal "8"))) (; ";")) (} "}")))

type_1 * function_1(type_2 *var_4,long var_1)

{
  type_3 *pcVar1;
  char *format;
  type_4 var_7;
  long var_5;
  type_3 **pps;
  type_5 *var_8;
  type_2 *pcVar5;
  type_6 bVar6;
  
  bVar6 = 0;
  if (0x3e8f < var_1) {
    format = (char *)var_2(0,"Excessively large slot index: %lx",5);
                    /* WARNING: Subroutine does not return */
    var_3(format,var_1);
  }
  var_5 = var_1;
  pcVar5 = var_4;
  if (0xf < var_1) {
    do {
      while (var_4 = (type_2 *)pcVar5->slots, var_4 != (type_2 *)0x0) {
        var_5 = var_5 + -0x10;
        pcVar5 = var_4;
        if (var_5 < 0x10) goto LAB_00134fa8;
      }
      var_5 = var_5 + -0x10;
      pcVar1 = (type_3 *)var_6(0x88);
      pcVar5->slots = pcVar1;
      var_8 = (type_5 *)((type_4)pcVar1->slots & 0xfffffffffffffff8);
      pcVar1->next = (type_3 *)0x0;
      pcVar1->slots[0xf] = (type_7)0x0;
      var_7 = (type_4)(((int)pcVar1 - (int)var_8) + 0x88U >> 3);
      for (; var_7 != 0; var_7 = var_7 - 1) {
        *var_8 = 0;
        var_8 = var_8 + (type_4)bVar6 * -2 + 1;
      }
      var_4 = (type_2 *)pcVar5->slots;
      pcVar5 = var_4;
    } while (0xf < var_5);
LAB_00134fa8:
    var_1 = (long)((type_8)var_1 & 0xf);
  }
  if (var_4->slots == (type_3 *)0x0) {
    pcVar1 = (type_3 *)var_6(0x88);
    var_4->slots = pcVar1;
    var_8 = (type_5 *)((type_4)pcVar1->slots & 0xfffffffffffffff8);
    pcVar1->next = (type_3 *)0x0;
    pcVar1->slots[0xf] = (type_7)0x0;
    var_7 = (type_4)(((int)pcVar1 - (int)var_8) + 0x88U >> 3);
    for (; var_7 != 0; var_7 = var_7 - 1) {
      *var_8 = 0;
      var_8 = var_8 + (type_4)bVar6 * -2 + 1;
    }
    return var_4->slots->slots + var_1;
  }
  return var_4->slots->slots + var_1;
}


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

long MASKED(long *param_1,ulong param_2)

{
  undefined8 *puVar1;
  undefined8 uVar2;
  ulong uVar3;
  ulong uVar4;
  long *plVar5;
  byte bVar6;
  
  bVar6 = 0;
  if (0x3e8f < (long)param_2) {
    uVar2 = dcgettext(0,"Excessively large slot index: %lx",5);
                    /* WARNING: Subroutine does not return */
    FUN_00136590(uVar2,param_2);
  }
  uVar4 = param_2;
  plVar5 = param_1;
  if (0xf < (long)param_2) {
    do {
      while (param_1 = (long *)*plVar5, param_1 != (long *)0x0) {
        uVar4 = uVar4 - 0x10;
        plVar5 = param_1;
        if ((long)uVar4 < 0x10) goto LAB_00134fa8;
      }
      uVar4 = uVar4 - 0x10;
      puVar1 = (undefined8 *)xmalloc(0x88);
      *plVar5 = (long)puVar1;
      *puVar1 = 0;
      puVar1[0x10] = 0;
      uVar3 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8))
                      + 0x88U >> 3);
      puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);
      for (; uVar3 != 0; uVar3 = uVar3 - 1) {
        *puVar1 = 0;
        puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;
      }
      param_1 = (long *)*plVar5;
      plVar5 = param_1;
    } while (0xf < (long)uVar4);
LAB_00134fa8:
    param_2 = (ulong)((uint)param_2 & 0xf);
  }
  if (*param_1 == 0) {
    puVar1 = (undefined8 *)xmalloc(0x88);
    *param_1 = (long)puVar1;
    *puVar1 = 0;
    puVar1[0x10] = 0;
    uVar4 = (ulong)(((int)puVar1 - (int)(undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8)) +
                    0x88U >> 3);
    puVar1 = (undefined8 *)((ulong)(puVar1 + 1) & 0xfffffffffffffff8);
    for (; uVar4 != 0; uVar4 = uVar4 - 1) {
      *puVar1 = 0;
      puVar1 = puVar1 + (ulong)bVar6 * -2 + 1;
    }
    return *param_1 + 8 + param_2 * 8;
  }
  return *param_1 + 8 + param_2 * 8;
}

