
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void def_file_add_directive(def_file *my_def,char *param,int len)

{
  def_pool_str *pdVar1;
  def_pool_str *__ptr;
  undefined *puVar2;
  def_file *pdVar3;
  byte bVar4;
  size_t __n;
  int iVar5;
  char *pcVar6;
  byte *pbVar7;
  uint uVar8;
  byte *__s1;
  byte *pbVar9;
  int iVar10;
  
  pdVar3 = def;
  puVar2 = PTR__sch_istable_001cefa0;
  pbVar7 = (byte *)(param + len);
  def = my_def;
  __ptr = pool_strs;
  if (pbVar7 <= param) {
joined_r0x0005a79a:
    while (def = pdVar3, __ptr != (def_pool_str *)0x0) {
      pdVar1 = __ptr->next;
      pool_strs = pdVar1;
      free(__ptr);
      __ptr = pdVar1;
      pdVar3 = def;
    }
    return;
  }
LAB_0005a5d0:
  bVar4 = *param;
  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = (byte *)param, bVar4 == 0 || bVar4 == 10))
  {
    param = (char *)((byte *)param + 1);
    __s1 = (byte *)param;
    if (param < pbVar7) goto LAB_0005a5d0;
  }
  __ptr = pool_strs;
  if (__s1 == pbVar7) goto joined_r0x0005a79a;
  pbVar9 = __s1 + 1;
  param = (char *)pbVar9;
  if (pbVar9 < pbVar7) {
    bVar4 = *__s1;
    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,
            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)) && (bVar4 != 10))) {
      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)) break;
    }
  }
  iVar10 = 0;
  pcVar6 = diropts[0].param;
  while (pcVar6 != (char *)0x0) {
    __n = strlen(pcVar6);
    if ((((int)__n <= (int)param - (int)__s1) &&
        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)) &&
       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {
      lex_parse_string = (char *)(__s1 + __n + 1);
      saw_newline = 0;
      lex_forced_token = diropts[iVar10].token;
      lex_parse_string_end = param;
      iVar5 = def_parse();
      if (iVar5 == 0) {
        if (diropts[iVar10].param != (char *)0x0) {
          lex_parse_string = (char *)0x0;
          __ptr = pool_strs;
          if (param < pbVar7) goto LAB_0005a5d0;
          goto joined_r0x0005a79a;
        }
        break;
      }
    }
    iVar10 = iVar10 + 1;
    pcVar6 = diropts[iVar10].param;
  }
  if (pbVar7 <= param) {
    pcVar6 = (char *)dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);
    einfo(pcVar6);
    lex_parse_string = (char *)0x0;
    __ptr = pool_strs;
    goto joined_r0x0005a79a;
  }
  bVar4 = *param;
  *param = 0;
  pcVar6 = (char *)dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);
  einfo(pcVar6,__s1);
  lex_parse_string = (char *)0x0;
  *param = bVar4;
  goto LAB_0005a5d0;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0005a570(undefined4 param_1,byte *param_2,int param_3)

{
  char *__s;
  undefined4 *puVar1;
  undefined4 *__ptr;
  undefined *puVar2;
  undefined4 uVar3;
  byte bVar4;
  size_t __n;
  int iVar5;
  undefined4 uVar6;
  byte *pbVar7;
  uint uVar8;
  byte *__s1;
  byte *pbVar9;
  int iVar10;
  
  uVar3 = DAT_001d111c;
  puVar2 = PTR__sch_istable_001cefa0;
  pbVar7 = param_2 + param_3;
  DAT_001d111c = param_1;
  __ptr = DAT_001d1138;
  if (pbVar7 <= param_2) {
joined_r0x0005a79a:
    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {
      puVar1 = (undefined4 *)*__ptr;
      DAT_001d1138 = puVar1;
      free(__ptr);
      __ptr = puVar1;
      uVar3 = DAT_001d111c;
    }
    return;
  }
LAB_0005a5d0:
  bVar4 = *param_2;
  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {
    param_2 = param_2 + 1;
    __s1 = param_2;
    if (param_2 < pbVar7) goto LAB_0005a5d0;
  }
  __ptr = DAT_001d1138;
  if (__s1 == pbVar7) goto joined_r0x0005a79a;
  pbVar9 = __s1 + 1;
  param_2 = pbVar9;
  if (pbVar9 < pbVar7) {
    bVar4 = *__s1;
    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0
            || (bVar4 != 0x2d)) && (bVar4 != 10))) {
      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;
    }
  }
  iVar10 = 0;
  __s = PTR_s__heap_001d0280;
  while (__s != (char *)0x0) {
    __n = strlen(__s);
    if ((((int)__n <= (int)param_2 - (int)__s1) &&
        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&
       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {
      DAT_001d1130 = __s1 + __n + 1;
      DAT_001d1118 = 0;
      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];
      DAT_001d112c = param_2;
      iVar5 = FUN_00059220();
      if (iVar5 == 0) {
        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {
          DAT_001d1130 = (byte *)0x0;
          __ptr = DAT_001d1138;
          if (param_2 < pbVar7) goto LAB_0005a5d0;
          goto joined_r0x0005a79a;
        }
        break;
      }
    }
    iVar10 = iVar10 + 1;
    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];
  }
  if (pbVar7 <= param_2) {
    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);
    FUN_00034d20(uVar6);
    DAT_001d1130 = (byte *)0x0;
    __ptr = DAT_001d1138;
    goto joined_r0x0005a79a;
  }
  bVar4 = *param_2;
  *param_2 = 0;
  uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);
  FUN_00034d20(uVar6,__s1);
  DAT_001d1130 = (byte *)0x0;
  *param_2 = bVar4;
  goto LAB_0005a5d0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x174a87
SUB ESP,0x2c
MOV EBP,dword ptr [ESP + 0x44]
MOV ECX,dword ptr [ESP + 0x48]
ADD ECX,EBP
MOV EAX,dword ptr [EBX + 0x211c]
MOV dword ptr [ESP + 0x4],ECX
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EBX + 0x211c],EAX
MOV EAX,dword ptr [EBX + 0xffffffa0]
MOV dword ptr [ESP],EAX
LEA EAX,[EBX + 0x1280]
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[EBX + 0xfffde164]
MOV dword ptr [ESP + 0x18],EAX
CMP EBP,ECX
JNC 0x0005a788
LEA ESI,[ESI]
MOVZX EDX,byte ptr [EBP]
MOV EDI,dword ptr [ESP]
MOV EAX,EDX
TEST byte ptr [EDI + EDX*0x2],0x40
JNZ 0x0005a5ed
TEST DL,DL
SETZ DL
CMP AL,0xa
SETZ AL
OR DL,AL
JZ 0x0005a5f6
ADD EBP,0x1
CMP dword ptr [ESP + 0x4],EBP
JA 0x0005a5d0
MOV ECX,dword ptr [ESP + 0x4]
CMP EBP,ECX
JZ 0x0005a788
LEA ESI,[EBP + 0x1]
CMP ECX,ESI
JBE 0x0005a636
MOVZX EAX,byte ptr [EBP]
JMP 0x0005a61f
TEST AL,AL
JZ 0x0005a636
ADD ESI,0x1
CMP ECX,ESI
JZ 0x0005a750
MOV EDI,dword ptr [ESP]
MOVZX EDX,AL
MOVZX EAX,byte ptr [ESI]
TEST byte ptr [EDI + EDX*0x2],0x40
JZ 0x0005a632
CMP AL,0x2d
JZ 0x0005a636
CMP AL,0xa
JNZ 0x0005a610
MOV EAX,ESI
MOV EDX,dword ptr [EBX + 0x1280]
XOR EDI,EDI
SUB EAX,EBP
MOV dword ptr [ESP + 0x8],EAX
TEST EDX,EDX
JZ 0x0005a6a2
MOV dword ptr [ESP + 0x10],ESI
MOV ESI,EDX
SUB ESP,0xc
PUSH ESI
CALL 0x00016760
ADD ESP,0x10
CMP EAX,dword ptr [ESP + 0x8]
JG 0x0005a690
SUB ESP,0x4
PUSH EAX
MOV dword ptr [ESP + 0x14],EAX
PUSH ESI
PUSH EBP
CALL 0x00016c00
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0005a690
MOV ECX,dword ptr [ESP + 0xc]
MOVZX EAX,byte ptr [EBP + ECX*0x1]
CMP AL,0x3a
JZ 0x0005a6e8
CMP AL,0x20
JZ 0x0005a6e8
LEA ESI,[ESI]
ADD EDI,0x1
MOV ESI,dword ptr [EBX + EDI*0x8 + 0x1280]
TEST ESI,ESI
JNZ 0x0005a650
MOV ESI,dword ptr [ESP + 0x10]
CMP dword ptr [ESP + 0x4],ESI
JBE 0x0005a760
SUB ESP,0x4
MOVZX EDI,byte ptr [ESI]
MOV byte ptr [ESI],0x0
PUSH 0x5
PUSH dword ptr [ESP + 0x20]
PUSH 0x0
CALL 0x00016310
POP EDX
POP ECX
PUSH EBP
PUSH EAX
MOV EBP,ESI
CALL 0x00034d20
MOV EAX,EDI
ADD ESP,0x10
MOV dword ptr [EBX + 0x2130],0x0
MOV byte ptr [ESI],AL
JMP 0x0005a5d0
LEA EAX,[EBP + ECX*0x1 + 0x1]
MOV ESI,dword ptr [ESP + 0x10]
MOV dword ptr [EBX + 0x2118],0x0
MOV dword ptr [EBX + 0x2130],EAX
MOV EAX,dword ptr [EBX + EDI*0x8 + 0x1284]
MOV dword ptr [EBX + 0x212c],ESI
MOV dword ptr [EBX + 0x2134],EAX
CALL 0x00059220
TEST EAX,EAX
JNZ 0x0005a690
MOV EAX,dword ptr [ESP + 0x14]
MOV EDI,dword ptr [EAX + EDI*0x8]
TEST EDI,EDI
JZ 0x0005a6a2
MOV dword ptr [EBX + 0x2130],0x0
CMP dword ptr [ESP + 0x4],ESI
JBE 0x0005a788
MOV EBP,ESI
JMP 0x0005a5d0
MOV ESI,dword ptr [ESP + 0x4]
JMP 0x0005a636
SUB ESP,0x4
LEA EAX,[EBX + 0xfffde18c]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
MOV dword ptr [ESP],EAX
CALL 0x00034d20
ADD ESP,0x10
MOV dword ptr [EBX + 0x2130],0x0
MOV EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [EBX + 0x211c],EAX
MOV EAX,dword ptr [EBX + 0x2138]
TEST EAX,EAX
JZ 0x0005a7ba
LEA ESI,[ESI]
SUB ESP,0xc
MOV ESI,dword ptr [EAX]
PUSH EAX
MOV dword ptr [EBX + 0x2138],ESI
CALL 0x00016db0
MOV EAX,ESI
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x0005a7a0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0005a570(undefined4 param_1,byte *param_2,int param_3)\n\n{\n  char *__s;\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  undefined *puVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  undefined4 uVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  uVar3 = DAT_001d111c;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = param_2 + param_3;\n  DAT_001d111c = param_1;\n  __ptr = DAT_001d1138;\n  if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param_2;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = DAT_001d1138;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param_2 = pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  __s = PTR_s__heap_001d0280;\n  while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }\n  if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param_2;\n  *param_2 = 0;\n  uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  FUN_00034d20(uVar6,__s1);\n  DAT_001d1130 = (byte *)0x0;\n  *param_2 = bVar4;\n  goto LAB_0005a5d0;\n}\n\n" comment (function_definition "void FUN_0005a570(undefined4 param_1,byte *param_2,int param_3)\n\n{\n  char *__s;\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  undefined *puVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  undefined4 uVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  uVar3 = DAT_001d111c;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = param_2 + param_3;\n  DAT_001d111c = param_1;\n  __ptr = DAT_001d1138;\n  if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param_2;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = DAT_001d1138;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param_2 = pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  __s = PTR_s__heap_001d0280;\n  while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }\n  if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param_2;\n  *param_2 = 0;\n  uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  FUN_00034d20(uVar6,__s1);\n  DAT_001d1130 = (byte *)0x0;\n  *param_2 = bVar4;\n  goto LAB_0005a5d0;\n}" primitive_type (function_declarator "FUN_0005a570(undefined4 param_1,byte *param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,byte *param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  char *__s;\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  undefined *puVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  undefined4 uVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  uVar3 = DAT_001d111c;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = param_2 + param_3;\n  DAT_001d111c = param_1;\n  __ptr = DAT_001d1138;\n  if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param_2;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = DAT_001d1138;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param_2 = pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  __s = PTR_s__heap_001d0280;\n  while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }\n  if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param_2;\n  *param_2 = 0;\n  uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  FUN_00034d20(uVar6,__s1);\n  DAT_001d1130 = (byte *)0x0;\n  *param_2 = bVar4;\n  goto LAB_0005a5d0;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "uVar3 = DAT_001d111c;" (assignment_expression "uVar3 = DAT_001d111c" identifier = identifier) ;) (expression_statement "puVar2 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar2 = PTR__sch_istable_001cefa0" identifier = identifier) ;) (expression_statement "pbVar7 = param_2 + param_3;" (assignment_expression "pbVar7 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (expression_statement "DAT_001d111c = param_1;" (assignment_expression "DAT_001d111c = param_1" identifier = identifier) ;) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" identifier = identifier) ;) (if_statement "if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }" if (parenthesized_expression "(pbVar7 <= param_2)" ( (binary_expression "pbVar7 <= param_2" identifier <= identifier) )) (compound_statement "{\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }" { (labeled_statement "joined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }" statement_identifier : (while_statement "while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }" while (parenthesized_expression "(DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0)" ( (comma_expression "DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0" (assignment_expression "DAT_001d111c = uVar3" identifier = identifier) , (binary_expression "__ptr != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }" { (expression_statement "puVar1 = (undefined4 *)*__ptr;" (assignment_expression "puVar1 = (undefined4 *)*__ptr" identifier = (cast_expression "(undefined4 *)*__ptr" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr" * identifier))) ;) (expression_statement "DAT_001d1138 = puVar1;" (assignment_expression "DAT_001d1138 = puVar1" identifier = identifier) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = puVar1;" (assignment_expression "__ptr = puVar1" identifier = identifier) ;) (expression_statement "uVar3 = DAT_001d111c;" (assignment_expression "uVar3 = DAT_001d111c" identifier = identifier) ;) }))) (return_statement "return;" return ;) })) (labeled_statement "LAB_0005a5d0:\n  bVar4 = *param_2;" statement_identifier : (expression_statement "bVar4 = *param_2;" (assignment_expression "bVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;)) (if_statement "if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }" if (parenthesized_expression "(((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10))" ( (binary_expression "((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)" (parenthesized_expression "((puVar2[(uint)bVar4 * 2] & 0x40) != 0)" ( (binary_expression "(puVar2[(uint)bVar4 * 2] & 0x40) != 0" (parenthesized_expression "(puVar2[(uint)bVar4 * 2] & 0x40)" ( (binary_expression "puVar2[(uint)bVar4 * 2] & 0x40" (subscript_expression "puVar2[(uint)bVar4 * 2]" identifier [ (binary_expression "(uint)bVar4 * 2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) || (parenthesized_expression "(__s1 = param_2, bVar4 == 0 || bVar4 == 10)" ( (comma_expression "__s1 = param_2, bVar4 == 0 || bVar4 == 10" (assignment_expression "__s1 = param_2" identifier = identifier) , (binary_expression "bVar4 == 0 || bVar4 == 10" (binary_expression "bVar4 == 0" identifier == number_literal) || (binary_expression "bVar4 == 10" identifier == number_literal))) ))) )) (compound_statement "{\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "__s1 = param_2;" (assignment_expression "__s1 = param_2" identifier = identifier) ;) (if_statement "if (param_2 < pbVar7) goto LAB_0005a5d0;" if (parenthesized_expression "(param_2 < pbVar7)" ( (binary_expression "param_2 < pbVar7" identifier < identifier) )) (goto_statement "goto LAB_0005a5d0;" goto statement_identifier ;)) })) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" identifier = identifier) ;) (if_statement "if (__s1 == pbVar7) goto joined_r0x0005a79a;" if (parenthesized_expression "(__s1 == pbVar7)" ( (binary_expression "__s1 == pbVar7" identifier == identifier) )) (goto_statement "goto joined_r0x0005a79a;" goto statement_identifier ;)) (expression_statement "pbVar9 = __s1 + 1;" (assignment_expression "pbVar9 = __s1 + 1" identifier = (binary_expression "__s1 + 1" identifier + number_literal)) ;) (expression_statement "param_2 = pbVar9;" (assignment_expression "param_2 = pbVar9" identifier = identifier) ;) (if_statement "if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }" if (parenthesized_expression "(pbVar9 < pbVar7)" ( (binary_expression "pbVar9 < pbVar7" identifier < identifier) )) (compound_statement "{\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }" { (expression_statement "bVar4 = *__s1;" (assignment_expression "bVar4 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (while_statement "while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }" while (parenthesized_expression "(((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10)))" ( (parenthesized_expression "((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))" ( (binary_expression "(uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10)" (parenthesized_expression "(uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d))" ( (comma_expression "uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (assignment_expression "uVar8 = (uint)bVar4" identifier = (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) , (comma_expression "bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (assignment_expression "bVar4 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) , (comma_expression "param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (assignment_expression "param_2 = pbVar9" identifier = identifier) , (binary_expression "(puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (binary_expression "(puVar2[uVar8 * 2] & 0x40) == 0" (parenthesized_expression "(puVar2[uVar8 * 2] & 0x40)" ( (binary_expression "puVar2[uVar8 * 2] & 0x40" (subscript_expression "puVar2[uVar8 * 2]" identifier [ (binary_expression "uVar8 * 2" identifier * number_literal) ]) & number_literal) )) == number_literal) || (parenthesized_expression "(bVar4 != 0x2d)" ( (binary_expression "bVar4 != 0x2d" identifier != number_literal) )))))) )) && (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) ))) )) )) (compound_statement "{\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }" { (if_statement "if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;" if (parenthesized_expression "((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9))" ( (binary_expression "(bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)" (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)" ( (comma_expression "pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) , (comma_expression "param_2 = pbVar7, pbVar7 == pbVar9" (assignment_expression "param_2 = pbVar7" identifier = identifier) , (binary_expression "pbVar7 == pbVar9" identifier == identifier))) ))) )) (break_statement "break;" break ;)) })) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "__s = PTR_s__heap_001d0280;" (assignment_expression "__s = PTR_s__heap_001d0280" identifier = identifier) ;) (while_statement "while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }" while (parenthesized_expression "(__s != (char *)0x0)" ( (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }" { (expression_statement "__n = strlen(__s);" (assignment_expression "__n = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }" if (parenthesized_expression "((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20))))" ( (binary_expression "(((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))" (parenthesized_expression "(((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0))" ( (binary_expression "((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)" (parenthesized_expression "((int)__n <= (int)param_2 - (int)__s1)" ( (binary_expression "(int)__n <= (int)param_2 - (int)__s1" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) <= (binary_expression "(int)param_2 - (int)__s1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__s1" ( (type_descriptor "int" primitive_type) ) identifier))) )) && (parenthesized_expression "(iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)" ( (comma_expression "iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0" (assignment_expression "iVar5 = strncmp((char *)__s1,__s,__n)" identifier = (call_expression "strncmp((char *)__s1,__s,__n)" identifier (argument_list "((char *)__s1,__s,__n)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) , (binary_expression "iVar5 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))" ( (parenthesized_expression "(__s1[__n] == 0x3a || (__s1[__n] == 0x20))" ( (binary_expression "__s1[__n] == 0x3a || (__s1[__n] == 0x20)" (binary_expression "__s1[__n] == 0x3a" (subscript_expression "__s1[__n]" identifier [ identifier ]) == number_literal) || (parenthesized_expression "(__s1[__n] == 0x20)" ( (binary_expression "__s1[__n] == 0x20" (subscript_expression "__s1[__n]" identifier [ identifier ]) == number_literal) ))) )) ))) )) (compound_statement "{\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }" { (expression_statement "DAT_001d1130 = __s1 + __n + 1;" (assignment_expression "DAT_001d1130 = __s1 + __n + 1" identifier = (binary_expression "__s1 + __n + 1" (binary_expression "__s1 + __n" identifier + identifier) + number_literal)) ;) (expression_statement "DAT_001d1118 = 0;" (assignment_expression "DAT_001d1118 = 0" identifier = number_literal) ;) (expression_statement "DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];" (assignment_expression "DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2]" identifier = (subscript_expression "(&DAT_001d0284)[iVar10 * 2]" (parenthesized_expression "(&DAT_001d0284)" ( (pointer_expression "&DAT_001d0284" & identifier) )) [ (binary_expression "iVar10 * 2" identifier * number_literal) ])) ;) (expression_statement "DAT_001d112c = param_2;" (assignment_expression "DAT_001d112c = param_2" identifier = identifier) ;) (expression_statement "iVar5 = FUN_00059220();" (assignment_expression "iVar5 = FUN_00059220()" identifier = (call_expression "FUN_00059220()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }" { (if_statement "if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }" if (parenthesized_expression "((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0)" ( (binary_expression "(&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0" (subscript_expression "(&PTR_s__heap_001d0280)[iVar10 * 2]" (parenthesized_expression "(&PTR_s__heap_001d0280)" ( (pointer_expression "&PTR_s__heap_001d0280" & identifier) )) [ (binary_expression "iVar10 * 2" identifier * number_literal) ]) != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }" { (expression_statement "DAT_001d1130 = (byte *)0x0;" (assignment_expression "DAT_001d1130 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" identifier = identifier) ;) (if_statement "if (param_2 < pbVar7) goto LAB_0005a5d0;" if (parenthesized_expression "(param_2 < pbVar7)" ( (binary_expression "param_2 < pbVar7" identifier < identifier) )) (goto_statement "goto LAB_0005a5d0;" goto statement_identifier ;)) (goto_statement "goto joined_r0x0005a79a;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) })) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "__s = (&PTR_s__heap_001d0280)[iVar10 * 2];" (assignment_expression "__s = (&PTR_s__heap_001d0280)[iVar10 * 2]" identifier = (subscript_expression "(&PTR_s__heap_001d0280)[iVar10 * 2]" (parenthesized_expression "(&PTR_s__heap_001d0280)" ( (pointer_expression "&PTR_s__heap_001d0280" & identifier) )) [ (binary_expression "iVar10 * 2" identifier * number_literal) ])) ;) })) (if_statement "if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }" if (parenthesized_expression "(pbVar7 <= param_2)" ( (binary_expression "pbVar7 <= param_2" identifier <= identifier) )) (compound_statement "{\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }" { (expression_statement "uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);" (assignment_expression "uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5)" identifier = (call_expression "dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5)" identifier (argument_list "(0,"Warning: corrupt .drectve at end of def file\n",5)" ( number_literal , (string_literal ""Warning: corrupt .drectve at end of def file\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar6);" (call_expression "FUN_00034d20(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "DAT_001d1130 = (byte *)0x0;" (assignment_expression "DAT_001d1130 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" identifier = identifier) ;) (goto_statement "goto joined_r0x0005a79a;" goto statement_identifier ;) })) (expression_statement "bVar4 = *param_2;" (assignment_expression "bVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);" (assignment_expression "uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5)" identifier = (call_expression "dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5)" identifier (argument_list "(0,"Warning: .drectve `%s\' unrecognized\n",5)" ( number_literal , (string_literal ""Warning: .drectve `%s\' unrecognized\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar6,__s1);" (call_expression "FUN_00034d20(uVar6,__s1)" identifier (argument_list "(uVar6,__s1)" ( identifier , identifier ))) ;) (expression_statement "DAT_001d1130 = (byte *)0x0;" (assignment_expression "DAT_001d1130 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*param_2 = bVar4;" (assignment_expression "*param_2 = bVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (goto_statement "goto LAB_0005a5d0;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid def_file_add_directive(def_file *my_def,char *param,int len)\n\n{\n  def_pool_str *pdVar1;\n  def_pool_str *__ptr;\n  undefined *puVar2;\n  def_file *pdVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  char *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  pdVar3 = def;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = (byte *)(param + len);\n  def = my_def;\n  __ptr = pool_strs;\n  if (pbVar7 <= param) {\njoined_r0x0005a79a:\n    while (def = pdVar3, __ptr != (def_pool_str *)0x0) {\n      pdVar1 = __ptr->next;\n      pool_strs = pdVar1;\n      free(__ptr);\n      __ptr = pdVar1;\n      pdVar3 = def;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = (byte *)param, bVar4 == 0 || bVar4 == 10))\n  {\n    param = (char *)((byte *)param + 1);\n    __s1 = (byte *)param;\n    if (param < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = pool_strs;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param = (char *)pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  pcVar6 = diropts[0].param;\n  while (pcVar6 != (char *)0x0) {\n    __n = strlen(pcVar6);\n    if ((((int)__n <= (int)param - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      lex_parse_string = (char *)(__s1 + __n + 1);\n      saw_newline = 0;\n      lex_forced_token = diropts[iVar10].token;\n      lex_parse_string_end = param;\n      iVar5 = def_parse();\n      if (iVar5 == 0) {\n        if (diropts[iVar10].param != (char *)0x0) {\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    pcVar6 = diropts[iVar10].param;\n  }\n  if (pbVar7 <= param) {\n    pcVar6 = (char *)dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    einfo(pcVar6);\n    lex_parse_string = (char *)0x0;\n    __ptr = pool_strs;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param;\n  *param = 0;\n  pcVar6 = (char *)dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  einfo(pcVar6,__s1);\n  lex_parse_string = (char *)0x0;\n  *param = bVar4;\n  goto LAB_0005a5d0;\n}\n\n" comment (function_definition "void def_file_add_directive(def_file *my_def,char *param,int len)\n\n{\n  def_pool_str *pdVar1;\n  def_pool_str *__ptr;\n  undefined *puVar2;\n  def_file *pdVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  char *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  pdVar3 = def;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = (byte *)(param + len);\n  def = my_def;\n  __ptr = pool_strs;\n  if (pbVar7 <= param) {\njoined_r0x0005a79a:\n    while (def = pdVar3, __ptr != (def_pool_str *)0x0) {\n      pdVar1 = __ptr->next;\n      pool_strs = pdVar1;\n      free(__ptr);\n      __ptr = pdVar1;\n      pdVar3 = def;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = (byte *)param, bVar4 == 0 || bVar4 == 10))\n  {\n    param = (char *)((byte *)param + 1);\n    __s1 = (byte *)param;\n    if (param < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = pool_strs;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param = (char *)pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  pcVar6 = diropts[0].param;\n  while (pcVar6 != (char *)0x0) {\n    __n = strlen(pcVar6);\n    if ((((int)__n <= (int)param - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      lex_parse_string = (char *)(__s1 + __n + 1);\n      saw_newline = 0;\n      lex_forced_token = diropts[iVar10].token;\n      lex_parse_string_end = param;\n      iVar5 = def_parse();\n      if (iVar5 == 0) {\n        if (diropts[iVar10].param != (char *)0x0) {\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    pcVar6 = diropts[iVar10].param;\n  }\n  if (pbVar7 <= param) {\n    pcVar6 = (char *)dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    einfo(pcVar6);\n    lex_parse_string = (char *)0x0;\n    __ptr = pool_strs;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param;\n  *param = 0;\n  pcVar6 = (char *)dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  einfo(pcVar6,__s1);\n  lex_parse_string = (char *)0x0;\n  *param = bVar4;\n  goto LAB_0005a5d0;\n}" primitive_type (function_declarator "def_file_add_directive(def_file *my_def,char *param,int len)" identifier (parameter_list "(def_file *my_def,char *param,int len)" ( (parameter_declaration "def_file *my_def" type_identifier (pointer_declarator "*my_def" * identifier)) , (parameter_declaration "char *param" primitive_type (pointer_declarator "*param" * identifier)) , (parameter_declaration "int len" primitive_type identifier) ))) (compound_statement "{\n  def_pool_str *pdVar1;\n  def_pool_str *__ptr;\n  undefined *puVar2;\n  def_file *pdVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  char *pcVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  pdVar3 = def;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = (byte *)(param + len);\n  def = my_def;\n  __ptr = pool_strs;\n  if (pbVar7 <= param) {\njoined_r0x0005a79a:\n    while (def = pdVar3, __ptr != (def_pool_str *)0x0) {\n      pdVar1 = __ptr->next;\n      pool_strs = pdVar1;\n      free(__ptr);\n      __ptr = pdVar1;\n      pdVar3 = def;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = (byte *)param, bVar4 == 0 || bVar4 == 10))\n  {\n    param = (char *)((byte *)param + 1);\n    __s1 = (byte *)param;\n    if (param < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = pool_strs;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param = (char *)pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  pcVar6 = diropts[0].param;\n  while (pcVar6 != (char *)0x0) {\n    __n = strlen(pcVar6);\n    if ((((int)__n <= (int)param - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      lex_parse_string = (char *)(__s1 + __n + 1);\n      saw_newline = 0;\n      lex_forced_token = diropts[iVar10].token;\n      lex_parse_string_end = param;\n      iVar5 = def_parse();\n      if (iVar5 == 0) {\n        if (diropts[iVar10].param != (char *)0x0) {\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    pcVar6 = diropts[iVar10].param;\n  }\n  if (pbVar7 <= param) {\n    pcVar6 = (char *)dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    einfo(pcVar6);\n    lex_parse_string = (char *)0x0;\n    __ptr = pool_strs;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param;\n  *param = 0;\n  pcVar6 = (char *)dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  einfo(pcVar6,__s1);\n  lex_parse_string = (char *)0x0;\n  *param = bVar4;\n  goto LAB_0005a5d0;\n}" { (declaration "def_pool_str *pdVar1;" type_identifier (pointer_declarator "*pdVar1" * identifier) ;) (declaration "def_pool_str *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "def_file *pdVar3;" type_identifier (pointer_declarator "*pdVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "pdVar3 = def;" (assignment_expression "pdVar3 = def" identifier = identifier) ;) (expression_statement "puVar2 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar2 = PTR__sch_istable_001cefa0" identifier = identifier) ;) (expression_statement "pbVar7 = (byte *)(param + len);" (assignment_expression "pbVar7 = (byte *)(param + len)" identifier = (cast_expression "(byte *)(param + len)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param + len)" ( (binary_expression "param + len" identifier + identifier) )))) ;) (expression_statement "def = my_def;" (assignment_expression "def = my_def" identifier = identifier) ;) (expression_statement "__ptr = pool_strs;" (assignment_expression "__ptr = pool_strs" identifier = identifier) ;) (if_statement "if (pbVar7 <= param) {\njoined_r0x0005a79a:\n    while (def = pdVar3, __ptr != (def_pool_str *)0x0) {\n      pdVar1 = __ptr->next;\n      pool_strs = pdVar1;\n      free(__ptr);\n      __ptr = pdVar1;\n      pdVar3 = def;\n    }\n    return;\n  }" if (parenthesized_expression "(pbVar7 <= param)" ( (binary_expression "pbVar7 <= param" identifier <= identifier) )) (compound_statement "{\njoined_r0x0005a79a:\n    while (def = pdVar3, __ptr != (def_pool_str *)0x0) {\n      pdVar1 = __ptr->next;\n      pool_strs = pdVar1;\n      free(__ptr);\n      __ptr = pdVar1;\n      pdVar3 = def;\n    }\n    return;\n  }" { (labeled_statement "joined_r0x0005a79a:\n    while (def = pdVar3, __ptr != (def_pool_str *)0x0) {\n      pdVar1 = __ptr->next;\n      pool_strs = pdVar1;\n      free(__ptr);\n      __ptr = pdVar1;\n      pdVar3 = def;\n    }" statement_identifier : (while_statement "while (def = pdVar3, __ptr != (def_pool_str *)0x0) {\n      pdVar1 = __ptr->next;\n      pool_strs = pdVar1;\n      free(__ptr);\n      __ptr = pdVar1;\n      pdVar3 = def;\n    }" while (parenthesized_expression "(def = pdVar3, __ptr != (def_pool_str *)0x0)" ( (comma_expression "def = pdVar3, __ptr != (def_pool_str *)0x0" (assignment_expression "def = pdVar3" identifier = identifier) , (binary_expression "__ptr != (def_pool_str *)0x0" identifier != (cast_expression "(def_pool_str *)0x0" ( (type_descriptor "def_pool_str *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      pdVar1 = __ptr->next;\n      pool_strs = pdVar1;\n      free(__ptr);\n      __ptr = pdVar1;\n      pdVar3 = def;\n    }" { (expression_statement "pdVar1 = __ptr->next;" (assignment_expression "pdVar1 = __ptr->next" identifier = (field_expression "__ptr->next" identifier -> field_identifier)) ;) (expression_statement "pool_strs = pdVar1;" (assignment_expression "pool_strs = pdVar1" identifier = identifier) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = pdVar1;" (assignment_expression "__ptr = pdVar1" identifier = identifier) ;) (expression_statement "pdVar3 = def;" (assignment_expression "pdVar3 = def" identifier = identifier) ;) }))) (return_statement "return;" return ;) })) (labeled_statement "LAB_0005a5d0:\n  bVar4 = *param;" statement_identifier : (expression_statement "bVar4 = *param;" (assignment_expression "bVar4 = *param" identifier = (pointer_expression "*param" * identifier)) ;)) (if_statement "if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = (byte *)param, bVar4 == 0 || bVar4 == 10))\n  {\n    param = (char *)((byte *)param + 1);\n    __s1 = (byte *)param;\n    if (param < pbVar7) goto LAB_0005a5d0;\n  }" if (parenthesized_expression "(((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = (byte *)param, bVar4 == 0 || bVar4 == 10))" ( (binary_expression "((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = (byte *)param, bVar4 == 0 || bVar4 == 10)" (parenthesized_expression "((puVar2[(uint)bVar4 * 2] & 0x40) != 0)" ( (binary_expression "(puVar2[(uint)bVar4 * 2] & 0x40) != 0" (parenthesized_expression "(puVar2[(uint)bVar4 * 2] & 0x40)" ( (binary_expression "puVar2[(uint)bVar4 * 2] & 0x40" (subscript_expression "puVar2[(uint)bVar4 * 2]" identifier [ (binary_expression "(uint)bVar4 * 2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) || (parenthesized_expression "(__s1 = (byte *)param, bVar4 == 0 || bVar4 == 10)" ( (comma_expression "__s1 = (byte *)param, bVar4 == 0 || bVar4 == 10" (assignment_expression "__s1 = (byte *)param" identifier = (cast_expression "(byte *)param" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "bVar4 == 0 || bVar4 == 10" (binary_expression "bVar4 == 0" identifier == number_literal) || (binary_expression "bVar4 == 10" identifier == number_literal))) ))) )) (compound_statement "{\n    param = (char *)((byte *)param + 1);\n    __s1 = (byte *)param;\n    if (param < pbVar7) goto LAB_0005a5d0;\n  }" { (expression_statement "param = (char *)((byte *)param + 1);" (assignment_expression "param = (char *)((byte *)param + 1)" identifier = (cast_expression "(char *)((byte *)param + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)param + 1)" ( (binary_expression "(byte *)param + 1" (cast_expression "(byte *)param" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) (expression_statement "__s1 = (byte *)param;" (assignment_expression "__s1 = (byte *)param" identifier = (cast_expression "(byte *)param" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (param < pbVar7) goto LAB_0005a5d0;" if (parenthesized_expression "(param < pbVar7)" ( (binary_expression "param < pbVar7" identifier < identifier) )) (goto_statement "goto LAB_0005a5d0;" goto statement_identifier ;)) })) (expression_statement "__ptr = pool_strs;" (assignment_expression "__ptr = pool_strs" identifier = identifier) ;) (if_statement "if (__s1 == pbVar7) goto joined_r0x0005a79a;" if (parenthesized_expression "(__s1 == pbVar7)" ( (binary_expression "__s1 == pbVar7" identifier == identifier) )) (goto_statement "goto joined_r0x0005a79a;" goto statement_identifier ;)) (expression_statement "pbVar9 = __s1 + 1;" (assignment_expression "pbVar9 = __s1 + 1" identifier = (binary_expression "__s1 + 1" identifier + number_literal)) ;) (expression_statement "param = (char *)pbVar9;" (assignment_expression "param = (char *)pbVar9" identifier = (cast_expression "(char *)pbVar9" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }" if (parenthesized_expression "(pbVar9 < pbVar7)" ( (binary_expression "pbVar9 < pbVar7" identifier < identifier) )) (compound_statement "{\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }" { (expression_statement "bVar4 = *__s1;" (assignment_expression "bVar4 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (while_statement "while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)) break;\n    }" while (parenthesized_expression "(((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)) && (bVar4 != 10)))" ( (parenthesized_expression "((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)) && (bVar4 != 10))" ( (binary_expression "(uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)) && (bVar4 != 10)" (parenthesized_expression "(uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d))" ( (comma_expression "uVar8 = (uint)bVar4, bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)" (assignment_expression "uVar8 = (uint)bVar4" identifier = (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) , (comma_expression "bVar4 = *pbVar9, param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)" (assignment_expression "bVar4 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) , (comma_expression "param = (char *)pbVar9,\n            (puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)" (assignment_expression "param = (char *)pbVar9" identifier = (cast_expression "(char *)pbVar9" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "(puVar2[uVar8 * 2] & 0x40) == 0 || (bVar4 != 0x2d)" (binary_expression "(puVar2[uVar8 * 2] & 0x40) == 0" (parenthesized_expression "(puVar2[uVar8 * 2] & 0x40)" ( (binary_expression "puVar2[uVar8 * 2] & 0x40" (subscript_expression "puVar2[uVar8 * 2]" identifier [ (binary_expression "uVar8 * 2" identifier * number_literal) ]) & number_literal) )) == number_literal) || (parenthesized_expression "(bVar4 != 0x2d)" ( (binary_expression "bVar4 != 0x2d" identifier != number_literal) )))))) )) && (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) ))) )) )) (compound_statement "{\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)) break;\n    }" { (if_statement "if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)) break;" if (parenthesized_expression "((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9))" ( (binary_expression "(bVar4 == 0) || (pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)" (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9)" ( (comma_expression "pbVar9 = pbVar9 + 1, param = (char *)pbVar7, pbVar7 == pbVar9" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) , (comma_expression "param = (char *)pbVar7, pbVar7 == pbVar9" (assignment_expression "param = (char *)pbVar7" identifier = (cast_expression "(char *)pbVar7" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "pbVar7 == pbVar9" identifier == identifier))) ))) )) (break_statement "break;" break ;)) })) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = diropts[0].param;" (assignment_expression "pcVar6 = diropts[0].param" identifier = (field_expression "diropts[0].param" (subscript_expression "diropts[0]" identifier [ number_literal ]) . field_identifier)) ;) (while_statement "while (pcVar6 != (char *)0x0) {\n    __n = strlen(pcVar6);\n    if ((((int)__n <= (int)param - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      lex_parse_string = (char *)(__s1 + __n + 1);\n      saw_newline = 0;\n      lex_forced_token = diropts[iVar10].token;\n      lex_parse_string_end = param;\n      iVar5 = def_parse();\n      if (iVar5 == 0) {\n        if (diropts[iVar10].param != (char *)0x0) {\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    pcVar6 = diropts[iVar10].param;\n  }" while (parenthesized_expression "(pcVar6 != (char *)0x0)" ( (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __n = strlen(pcVar6);\n    if ((((int)__n <= (int)param - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      lex_parse_string = (char *)(__s1 + __n + 1);\n      saw_newline = 0;\n      lex_forced_token = diropts[iVar10].token;\n      lex_parse_string_end = param;\n      iVar5 = def_parse();\n      if (iVar5 == 0) {\n        if (diropts[iVar10].param != (char *)0x0) {\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    pcVar6 = diropts[iVar10].param;\n  }" { (expression_statement "__n = strlen(pcVar6);" (assignment_expression "__n = strlen(pcVar6)" identifier = (call_expression "strlen(pcVar6)" identifier (argument_list "(pcVar6)" ( identifier )))) ;) (if_statement "if ((((int)__n <= (int)param - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      lex_parse_string = (char *)(__s1 + __n + 1);\n      saw_newline = 0;\n      lex_forced_token = diropts[iVar10].token;\n      lex_parse_string_end = param;\n      iVar5 = def_parse();\n      if (iVar5 == 0) {\n        if (diropts[iVar10].param != (char *)0x0) {\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }" if (parenthesized_expression "((((int)__n <= (int)param - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20))))" ( (binary_expression "(((int)__n <= (int)param - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))" (parenthesized_expression "(((int)__n <= (int)param - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0))" ( (binary_expression "((int)__n <= (int)param - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)" (parenthesized_expression "((int)__n <= (int)param - (int)__s1)" ( (binary_expression "(int)__n <= (int)param - (int)__s1" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) <= (binary_expression "(int)param - (int)__s1" (cast_expression "(int)param" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__s1" ( (type_descriptor "int" primitive_type) ) identifier))) )) && (parenthesized_expression "(iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0)" ( (comma_expression "iVar5 = strncmp((char *)__s1,pcVar6,__n), iVar5 == 0" (assignment_expression "iVar5 = strncmp((char *)__s1,pcVar6,__n)" identifier = (call_expression "strncmp((char *)__s1,pcVar6,__n)" identifier (argument_list "((char *)__s1,pcVar6,__n)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) , (binary_expression "iVar5 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))" ( (parenthesized_expression "(__s1[__n] == 0x3a || (__s1[__n] == 0x20))" ( (binary_expression "__s1[__n] == 0x3a || (__s1[__n] == 0x20)" (binary_expression "__s1[__n] == 0x3a" (subscript_expression "__s1[__n]" identifier [ identifier ]) == number_literal) || (parenthesized_expression "(__s1[__n] == 0x20)" ( (binary_expression "__s1[__n] == 0x20" (subscript_expression "__s1[__n]" identifier [ identifier ]) == number_literal) ))) )) ))) )) (compound_statement "{\n      lex_parse_string = (char *)(__s1 + __n + 1);\n      saw_newline = 0;\n      lex_forced_token = diropts[iVar10].token;\n      lex_parse_string_end = param;\n      iVar5 = def_parse();\n      if (iVar5 == 0) {\n        if (diropts[iVar10].param != (char *)0x0) {\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }" { (expression_statement "lex_parse_string = (char *)(__s1 + __n + 1);" (assignment_expression "lex_parse_string = (char *)(__s1 + __n + 1)" identifier = (cast_expression "(char *)(__s1 + __n + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__s1 + __n + 1)" ( (binary_expression "__s1 + __n + 1" (binary_expression "__s1 + __n" identifier + identifier) + number_literal) )))) ;) (expression_statement "saw_newline = 0;" (assignment_expression "saw_newline = 0" identifier = number_literal) ;) (expression_statement "lex_forced_token = diropts[iVar10].token;" (assignment_expression "lex_forced_token = diropts[iVar10].token" identifier = (field_expression "diropts[iVar10].token" (subscript_expression "diropts[iVar10]" identifier [ identifier ]) . field_identifier)) ;) (expression_statement "lex_parse_string_end = param;" (assignment_expression "lex_parse_string_end = param" identifier = identifier) ;) (expression_statement "iVar5 = def_parse();" (assignment_expression "iVar5 = def_parse()" identifier = (call_expression "def_parse()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 0) {\n        if (diropts[iVar10].param != (char *)0x0) {\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        if (diropts[iVar10].param != (char *)0x0) {\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }" { (if_statement "if (diropts[iVar10].param != (char *)0x0) {\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }" if (parenthesized_expression "(diropts[iVar10].param != (char *)0x0)" ( (binary_expression "diropts[iVar10].param != (char *)0x0" (field_expression "diropts[iVar10].param" (subscript_expression "diropts[iVar10]" identifier [ identifier ]) . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          lex_parse_string = (char *)0x0;\n          __ptr = pool_strs;\n          if (param < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }" { (expression_statement "lex_parse_string = (char *)0x0;" (assignment_expression "lex_parse_string = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = pool_strs;" (assignment_expression "__ptr = pool_strs" identifier = identifier) ;) (if_statement "if (param < pbVar7) goto LAB_0005a5d0;" if (parenthesized_expression "(param < pbVar7)" ( (binary_expression "param < pbVar7" identifier < identifier) )) (goto_statement "goto LAB_0005a5d0;" goto statement_identifier ;)) (goto_statement "goto joined_r0x0005a79a;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) })) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar6 = diropts[iVar10].param;" (assignment_expression "pcVar6 = diropts[iVar10].param" identifier = (field_expression "diropts[iVar10].param" (subscript_expression "diropts[iVar10]" identifier [ identifier ]) . field_identifier)) ;) })) (if_statement "if (pbVar7 <= param) {\n    pcVar6 = (char *)dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    einfo(pcVar6);\n    lex_parse_string = (char *)0x0;\n    __ptr = pool_strs;\n    goto joined_r0x0005a79a;\n  }" if (parenthesized_expression "(pbVar7 <= param)" ( (binary_expression "pbVar7 <= param" identifier <= identifier) )) (compound_statement "{\n    pcVar6 = (char *)dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    einfo(pcVar6);\n    lex_parse_string = (char *)0x0;\n    __ptr = pool_strs;\n    goto joined_r0x0005a79a;\n  }" { (expression_statement "pcVar6 = (char *)dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5)" identifier (argument_list "(0,"Warning: corrupt .drectve at end of def file\n",5)" ( number_literal , (string_literal ""Warning: corrupt .drectve at end of def file\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar6);" (call_expression "einfo(pcVar6)" identifier (argument_list "(pcVar6)" ( identifier ))) ;) (expression_statement "lex_parse_string = (char *)0x0;" (assignment_expression "lex_parse_string = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = pool_strs;" (assignment_expression "__ptr = pool_strs" identifier = identifier) ;) (goto_statement "goto joined_r0x0005a79a;" goto statement_identifier ;) })) (expression_statement "bVar4 = *param;" (assignment_expression "bVar4 = *param" identifier = (pointer_expression "*param" * identifier)) ;) (expression_statement "*param = 0;" (assignment_expression "*param = 0" (pointer_expression "*param" * identifier) = number_literal) ;) (expression_statement "pcVar6 = (char *)dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5)" identifier (argument_list "(0,"Warning: .drectve `%s\' unrecognized\n",5)" ( number_literal , (string_literal ""Warning: .drectve `%s\' unrecognized\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar6,__s1);" (call_expression "einfo(pcVar6,__s1)" identifier (argument_list "(pcVar6,__s1)" ( identifier , identifier ))) ;) (expression_statement "lex_parse_string = (char *)0x0;" (assignment_expression "lex_parse_string = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*param = bVar4;" (assignment_expression "*param = bVar4" (pointer_expression "*param" * identifier) = identifier) ;) (goto_statement "goto LAB_0005a5d0;" goto statement_identifier ;) })))
(translation_unit "void FUN_0005a570(undefined4 param_1,byte *param_2,int param_3)\n\n{\n  char *__s;\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  undefined *puVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  undefined4 uVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  uVar3 = DAT_001d111c;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = param_2 + param_3;\n  DAT_001d111c = param_1;\n  __ptr = DAT_001d1138;\n  if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param_2;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = DAT_001d1138;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param_2 = pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  __s = PTR_s__heap_001d0280;\n  while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }\n  if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param_2;\n  *param_2 = 0;\n  uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  FUN_00034d20(uVar6,__s1);\n  DAT_001d1130 = (byte *)0x0;\n  *param_2 = bVar4;\n  goto LAB_0005a5d0;\n}\n\n" (function_definition "void FUN_0005a570(undefined4 param_1,byte *param_2,int param_3)\n\n{\n  char *__s;\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  undefined *puVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  undefined4 uVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  uVar3 = DAT_001d111c;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = param_2 + param_3;\n  DAT_001d111c = param_1;\n  __ptr = DAT_001d1138;\n  if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param_2;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = DAT_001d1138;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param_2 = pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  __s = PTR_s__heap_001d0280;\n  while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }\n  if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param_2;\n  *param_2 = 0;\n  uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  FUN_00034d20(uVar6,__s1);\n  DAT_001d1130 = (byte *)0x0;\n  *param_2 = bVar4;\n  goto LAB_0005a5d0;\n}" primitive_type (function_declarator "FUN_0005a570(undefined4 param_1,byte *param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,byte *param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  char *__s;\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  undefined *puVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  undefined4 uVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  uVar3 = DAT_001d111c;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = param_2 + param_3;\n  DAT_001d111c = param_1;\n  __ptr = DAT_001d1138;\n  if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param_2;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = DAT_001d1138;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param_2 = pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  __s = PTR_s__heap_001d0280;\n  while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }\n  if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param_2;\n  *param_2 = 0;\n  uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  FUN_00034d20(uVar6,__s1);\n  DAT_001d1130 = (byte *)0x0;\n  *param_2 = bVar4;\n  goto LAB_0005a5d0;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (expression_statement "uVar3 = DAT_001d111c;" (assignment_expression "uVar3 = DAT_001d111c" identifier = identifier) ;) (expression_statement "puVar2 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar2 = PTR__sch_istable_001cefa0" identifier = identifier) ;) (expression_statement "pbVar7 = param_2 + param_3;" (assignment_expression "pbVar7 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (expression_statement "DAT_001d111c = param_1;" (assignment_expression "DAT_001d111c = param_1" identifier = identifier) ;) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" identifier = identifier) ;) (if_statement "if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }" if (parenthesized_expression "(pbVar7 <= param_2)" ( (binary_expression "pbVar7 <= param_2" identifier <= identifier) )) (compound_statement "{\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }" { (labeled_statement "joined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }" statement_identifier : (while_statement "while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }" while (parenthesized_expression "(DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0)" ( (comma_expression "DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0" (assignment_expression "DAT_001d111c = uVar3" identifier = identifier) , (binary_expression "__ptr != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }" { (expression_statement "puVar1 = (undefined4 *)*__ptr;" (assignment_expression "puVar1 = (undefined4 *)*__ptr" identifier = (cast_expression "(undefined4 *)*__ptr" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr" * identifier))) ;) (expression_statement "DAT_001d1138 = puVar1;" (assignment_expression "DAT_001d1138 = puVar1" identifier = identifier) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = puVar1;" (assignment_expression "__ptr = puVar1" identifier = identifier) ;) (expression_statement "uVar3 = DAT_001d111c;" (assignment_expression "uVar3 = DAT_001d111c" identifier = identifier) ;) }))) (return_statement "return;" return ;) })) (labeled_statement "LAB_0005a5d0:\n  bVar4 = *param_2;" statement_identifier : (expression_statement "bVar4 = *param_2;" (assignment_expression "bVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;)) (if_statement "if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }" if (parenthesized_expression "(((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10))" ( (binary_expression "((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)" (parenthesized_expression "((puVar2[(uint)bVar4 * 2] & 0x40) != 0)" ( (binary_expression "(puVar2[(uint)bVar4 * 2] & 0x40) != 0" (parenthesized_expression "(puVar2[(uint)bVar4 * 2] & 0x40)" ( (binary_expression "puVar2[(uint)bVar4 * 2] & 0x40" (subscript_expression "puVar2[(uint)bVar4 * 2]" identifier [ (binary_expression "(uint)bVar4 * 2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) ]) & number_literal) )) != number_literal) )) || (parenthesized_expression "(__s1 = param_2, bVar4 == 0 || bVar4 == 10)" ( (comma_expression "__s1 = param_2, bVar4 == 0 || bVar4 == 10" (assignment_expression "__s1 = param_2" identifier = identifier) , (binary_expression "bVar4 == 0 || bVar4 == 10" (binary_expression "bVar4 == 0" identifier == number_literal) || (binary_expression "bVar4 == 10" identifier == number_literal))) ))) )) (compound_statement "{\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "__s1 = param_2;" (assignment_expression "__s1 = param_2" identifier = identifier) ;) (if_statement "if (param_2 < pbVar7) goto LAB_0005a5d0;" if (parenthesized_expression "(param_2 < pbVar7)" ( (binary_expression "param_2 < pbVar7" identifier < identifier) )) (goto_statement "goto LAB_0005a5d0;" goto statement_identifier ;)) })) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" identifier = identifier) ;) (if_statement "if (__s1 == pbVar7) goto joined_r0x0005a79a;" if (parenthesized_expression "(__s1 == pbVar7)" ( (binary_expression "__s1 == pbVar7" identifier == identifier) )) (goto_statement "goto joined_r0x0005a79a;" goto statement_identifier ;)) (expression_statement "pbVar9 = __s1 + 1;" (assignment_expression "pbVar9 = __s1 + 1" identifier = (binary_expression "__s1 + 1" identifier + number_literal)) ;) (expression_statement "param_2 = pbVar9;" (assignment_expression "param_2 = pbVar9" identifier = identifier) ;) (if_statement "if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }" if (parenthesized_expression "(pbVar9 < pbVar7)" ( (binary_expression "pbVar9 < pbVar7" identifier < identifier) )) (compound_statement "{\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }" { (expression_statement "bVar4 = *__s1;" (assignment_expression "bVar4 = *__s1" identifier = (pointer_expression "*__s1" * identifier)) ;) (while_statement "while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }" while (parenthesized_expression "(((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10)))" ( (parenthesized_expression "((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))" ( (binary_expression "(uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10)" (parenthesized_expression "(uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d))" ( (comma_expression "uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (assignment_expression "uVar8 = (uint)bVar4" identifier = (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) , (comma_expression "bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (assignment_expression "bVar4 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) , (comma_expression "param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (assignment_expression "param_2 = pbVar9" identifier = identifier) , (binary_expression "(puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (binary_expression "(puVar2[uVar8 * 2] & 0x40) == 0" (parenthesized_expression "(puVar2[uVar8 * 2] & 0x40)" ( (binary_expression "puVar2[uVar8 * 2] & 0x40" (subscript_expression "puVar2[uVar8 * 2]" identifier [ (binary_expression "uVar8 * 2" identifier * number_literal) ]) & number_literal) )) == number_literal) || (parenthesized_expression "(bVar4 != 0x2d)" ( (binary_expression "bVar4 != 0x2d" identifier != number_literal) )))))) )) && (parenthesized_expression "(bVar4 != 10)" ( (binary_expression "bVar4 != 10" identifier != number_literal) ))) )) )) (compound_statement "{\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }" { (if_statement "if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;" if (parenthesized_expression "((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9))" ( (binary_expression "(bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)" (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)" ( (comma_expression "pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) , (comma_expression "param_2 = pbVar7, pbVar7 == pbVar9" (assignment_expression "param_2 = pbVar7" identifier = identifier) , (binary_expression "pbVar7 == pbVar9" identifier == identifier))) ))) )) (break_statement "break;" break ;)) })) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "__s = PTR_s__heap_001d0280;" (assignment_expression "__s = PTR_s__heap_001d0280" identifier = identifier) ;) (while_statement "while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }" while (parenthesized_expression "(__s != (char *)0x0)" ( (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }" { (expression_statement "__n = strlen(__s);" (assignment_expression "__n = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (if_statement "if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }" if (parenthesized_expression "((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20))))" ( (binary_expression "(((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))" (parenthesized_expression "(((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0))" ( (binary_expression "((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)" (parenthesized_expression "((int)__n <= (int)param_2 - (int)__s1)" ( (binary_expression "(int)__n <= (int)param_2 - (int)__s1" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) <= (binary_expression "(int)param_2 - (int)__s1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__s1" ( (type_descriptor "int" primitive_type) ) identifier))) )) && (parenthesized_expression "(iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)" ( (comma_expression "iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0" (assignment_expression "iVar5 = strncmp((char *)__s1,__s,__n)" identifier = (call_expression "strncmp((char *)__s1,__s,__n)" identifier (argument_list "((char *)__s1,__s,__n)" ( (cast_expression "(char *)__s1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) , (binary_expression "iVar5 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))" ( (parenthesized_expression "(__s1[__n] == 0x3a || (__s1[__n] == 0x20))" ( (binary_expression "__s1[__n] == 0x3a || (__s1[__n] == 0x20)" (binary_expression "__s1[__n] == 0x3a" (subscript_expression "__s1[__n]" identifier [ identifier ]) == number_literal) || (parenthesized_expression "(__s1[__n] == 0x20)" ( (binary_expression "__s1[__n] == 0x20" (subscript_expression "__s1[__n]" identifier [ identifier ]) == number_literal) ))) )) ))) )) (compound_statement "{\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }" { (expression_statement "DAT_001d1130 = __s1 + __n + 1;" (assignment_expression "DAT_001d1130 = __s1 + __n + 1" identifier = (binary_expression "__s1 + __n + 1" (binary_expression "__s1 + __n" identifier + identifier) + number_literal)) ;) (expression_statement "DAT_001d1118 = 0;" (assignment_expression "DAT_001d1118 = 0" identifier = number_literal) ;) (expression_statement "DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];" (assignment_expression "DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2]" identifier = (subscript_expression "(&DAT_001d0284)[iVar10 * 2]" (parenthesized_expression "(&DAT_001d0284)" ( (pointer_expression "&DAT_001d0284" & identifier) )) [ (binary_expression "iVar10 * 2" identifier * number_literal) ])) ;) (expression_statement "DAT_001d112c = param_2;" (assignment_expression "DAT_001d112c = param_2" identifier = identifier) ;) (expression_statement "iVar5 = FUN_00059220();" (assignment_expression "iVar5 = FUN_00059220()" identifier = (call_expression "FUN_00059220()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }" { (if_statement "if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }" if (parenthesized_expression "((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0)" ( (binary_expression "(&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0" (subscript_expression "(&PTR_s__heap_001d0280)[iVar10 * 2]" (parenthesized_expression "(&PTR_s__heap_001d0280)" ( (pointer_expression "&PTR_s__heap_001d0280" & identifier) )) [ (binary_expression "iVar10 * 2" identifier * number_literal) ]) != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }" { (expression_statement "DAT_001d1130 = (byte *)0x0;" (assignment_expression "DAT_001d1130 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" identifier = identifier) ;) (if_statement "if (param_2 < pbVar7) goto LAB_0005a5d0;" if (parenthesized_expression "(param_2 < pbVar7)" ( (binary_expression "param_2 < pbVar7" identifier < identifier) )) (goto_statement "goto LAB_0005a5d0;" goto statement_identifier ;)) (goto_statement "goto joined_r0x0005a79a;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) })) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "__s = (&PTR_s__heap_001d0280)[iVar10 * 2];" (assignment_expression "__s = (&PTR_s__heap_001d0280)[iVar10 * 2]" identifier = (subscript_expression "(&PTR_s__heap_001d0280)[iVar10 * 2]" (parenthesized_expression "(&PTR_s__heap_001d0280)" ( (pointer_expression "&PTR_s__heap_001d0280" & identifier) )) [ (binary_expression "iVar10 * 2" identifier * number_literal) ])) ;) })) (if_statement "if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }" if (parenthesized_expression "(pbVar7 <= param_2)" ( (binary_expression "pbVar7 <= param_2" identifier <= identifier) )) (compound_statement "{\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }" { (expression_statement "uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);" (assignment_expression "uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5)" identifier = (call_expression "dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5)" identifier (argument_list "(0,"Warning: corrupt .drectve at end of def file\n",5)" ( number_literal , (string_literal ""Warning: corrupt .drectve at end of def file\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar6);" (call_expression "FUN_00034d20(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (expression_statement "DAT_001d1130 = (byte *)0x0;" (assignment_expression "DAT_001d1130 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" identifier = identifier) ;) (goto_statement "goto joined_r0x0005a79a;" goto statement_identifier ;) })) (expression_statement "bVar4 = *param_2;" (assignment_expression "bVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);" (assignment_expression "uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5)" identifier = (call_expression "dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5)" identifier (argument_list "(0,"Warning: .drectve `%s\' unrecognized\n",5)" ( number_literal , (string_literal ""Warning: .drectve `%s\' unrecognized\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar6,__s1);" (call_expression "FUN_00034d20(uVar6,__s1)" identifier (argument_list "(uVar6,__s1)" ( identifier , identifier ))) ;) (expression_statement "DAT_001d1130 = (byte *)0x0;" (assignment_expression "DAT_001d1130 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*param_2 = bVar4;" (assignment_expression "*param_2 = bVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (goto_statement "goto LAB_0005a5d0;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (labeled_statement statement_identifier : (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ]) & LIT) )) != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (binary_expression IDENT == LIT) || (binary_expression IDENT == 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 IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) , (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) & LIT) )) == LIT) || (parenthesized_expression ( (binary_expression IDENT != LIT) )))))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == IDENT))) ))) )) (break_statement break ;)) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ IDENT ]) == LIT) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) == LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ]) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (break_statement break ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })))
(function_definition "void FUN_0005a570(undefined4 param_1,byte *param_2,int param_3)\n\n{\n  char *__s;\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  undefined *puVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  undefined4 uVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  uVar3 = DAT_001d111c;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = param_2 + param_3;\n  DAT_001d111c = param_1;\n  __ptr = DAT_001d1138;\n  if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param_2;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = DAT_001d1138;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param_2 = pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  __s = PTR_s__heap_001d0280;\n  while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }\n  if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param_2;\n  *param_2 = 0;\n  uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  FUN_00034d20(uVar6,__s1);\n  DAT_001d1130 = (byte *)0x0;\n  *param_2 = bVar4;\n  goto LAB_0005a5d0;\n}" (primitive_type "void") (function_declarator "FUN_0005a570(undefined4 param_1,byte *param_2,int param_3)" (identifier "FUN_0005a570") (parameter_list "(undefined4 param_1,byte *param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  char *__s;\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  undefined *puVar2;\n  undefined4 uVar3;\n  byte bVar4;\n  size_t __n;\n  int iVar5;\n  undefined4 uVar6;\n  byte *pbVar7;\n  uint uVar8;\n  byte *__s1;\n  byte *pbVar9;\n  int iVar10;\n  \n  uVar3 = DAT_001d111c;\n  puVar2 = PTR__sch_istable_001cefa0;\n  pbVar7 = param_2 + param_3;\n  DAT_001d111c = param_1;\n  __ptr = DAT_001d1138;\n  if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }\nLAB_0005a5d0:\n  bVar4 = *param_2;\n  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }\n  __ptr = DAT_001d1138;\n  if (__s1 == pbVar7) goto joined_r0x0005a79a;\n  pbVar9 = __s1 + 1;\n  param_2 = pbVar9;\n  if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }\n  iVar10 = 0;\n  __s = PTR_s__heap_001d0280;\n  while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }\n  if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }\n  bVar4 = *param_2;\n  *param_2 = 0;\n  uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);\n  FUN_00034d20(uVar6,__s1);\n  DAT_001d1130 = (byte *)0x0;\n  *param_2 = bVar4;\n  goto LAB_0005a5d0;\n}" ({ "{") (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *__ptr;" (type_identifier "undefined4") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "byte *__s1;" (type_identifier "byte") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (expression_statement "uVar3 = DAT_001d111c;" (assignment_expression "uVar3 = DAT_001d111c" (identifier "uVar3") (= "=") (identifier "DAT_001d111c")) (; ";")) (expression_statement "puVar2 = PTR__sch_istable_001cefa0;" (assignment_expression "puVar2 = PTR__sch_istable_001cefa0" (identifier "puVar2") (= "=") (identifier "PTR__sch_istable_001cefa0")) (; ";")) (expression_statement "pbVar7 = param_2 + param_3;" (assignment_expression "pbVar7 = param_2 + param_3" (identifier "pbVar7") (= "=") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3"))) (; ";")) (expression_statement "DAT_001d111c = param_1;" (assignment_expression "DAT_001d111c = param_1" (identifier "DAT_001d111c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" (identifier "__ptr") (= "=") (identifier "DAT_001d1138")) (; ";")) (if_statement "if (pbVar7 <= param_2) {\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(pbVar7 <= param_2)" (( "(") (binary_expression "pbVar7 <= param_2" (identifier "pbVar7") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\njoined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }\n    return;\n  }" ({ "{") (labeled_statement "joined_r0x0005a79a:\n    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }" (statement_identifier "joined_r0x0005a79a") (: ":") (while_statement "while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }" (while "while") (parenthesized_expression "(DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0)" (( "(") (comma_expression "DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0" (assignment_expression "DAT_001d111c = uVar3" (identifier "DAT_001d111c") (= "=") (identifier "uVar3")) (, ",") (binary_expression "__ptr != (undefined4 *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n      puVar1 = (undefined4 *)*__ptr;\n      DAT_001d1138 = puVar1;\n      free(__ptr);\n      __ptr = puVar1;\n      uVar3 = DAT_001d111c;\n    }" ({ "{") (expression_statement "puVar1 = (undefined4 *)*__ptr;" (assignment_expression "puVar1 = (undefined4 *)*__ptr" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*__ptr" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*__ptr" (* "*") (identifier "__ptr")))) (; ";")) (expression_statement "DAT_001d1138 = puVar1;" (assignment_expression "DAT_001d1138 = puVar1" (identifier "DAT_001d1138") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "__ptr = puVar1;" (assignment_expression "__ptr = puVar1" (identifier "__ptr") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "uVar3 = DAT_001d111c;" (assignment_expression "uVar3 = DAT_001d111c" (identifier "uVar3") (= "=") (identifier "DAT_001d111c")) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_0005a5d0:\n  bVar4 = *param_2;" (statement_identifier "LAB_0005a5d0") (: ":") (expression_statement "bVar4 = *param_2;" (assignment_expression "bVar4 = *param_2" (identifier "bVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";"))) (if_statement "if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }" (if "if") (parenthesized_expression "(((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10))" (( "(") (binary_expression "((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)" (parenthesized_expression "((puVar2[(uint)bVar4 * 2] & 0x40) != 0)" (( "(") (binary_expression "(puVar2[(uint)bVar4 * 2] & 0x40) != 0" (parenthesized_expression "(puVar2[(uint)bVar4 * 2] & 0x40)" (( "(") (binary_expression "puVar2[(uint)bVar4 * 2] & 0x40" (subscript_expression "puVar2[(uint)bVar4 * 2]" (identifier "puVar2") ([ "[") (binary_expression "(uint)bVar4 * 2" (cast_expression "(uint)bVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar4")) (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(__s1 = param_2, bVar4 == 0 || bVar4 == 10)" (( "(") (comma_expression "__s1 = param_2, bVar4 == 0 || bVar4 == 10" (assignment_expression "__s1 = param_2" (identifier "__s1") (= "=") (identifier "param_2")) (, ",") (binary_expression "bVar4 == 0 || bVar4 == 10" (binary_expression "bVar4 == 0" (identifier "bVar4") (== "==") (number_literal "0")) (|| "||") (binary_expression "bVar4 == 10" (identifier "bVar4") (== "==") (number_literal "10")))) () ")"))) () ")")) (compound_statement "{\n    param_2 = param_2 + 1;\n    __s1 = param_2;\n    if (param_2 < pbVar7) goto LAB_0005a5d0;\n  }" ({ "{") (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "__s1 = param_2;" (assignment_expression "__s1 = param_2" (identifier "__s1") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_2 < pbVar7) goto LAB_0005a5d0;" (if "if") (parenthesized_expression "(param_2 < pbVar7)" (( "(") (binary_expression "param_2 < pbVar7" (identifier "param_2") (< "<") (identifier "pbVar7")) () ")")) (goto_statement "goto LAB_0005a5d0;" (goto "goto") (statement_identifier "LAB_0005a5d0") (; ";"))) (} "}"))) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" (identifier "__ptr") (= "=") (identifier "DAT_001d1138")) (; ";")) (if_statement "if (__s1 == pbVar7) goto joined_r0x0005a79a;" (if "if") (parenthesized_expression "(__s1 == pbVar7)" (( "(") (binary_expression "__s1 == pbVar7" (identifier "__s1") (== "==") (identifier "pbVar7")) () ")")) (goto_statement "goto joined_r0x0005a79a;" (goto "goto") (statement_identifier "joined_r0x0005a79a") (; ";"))) (expression_statement "pbVar9 = __s1 + 1;" (assignment_expression "pbVar9 = __s1 + 1" (identifier "pbVar9") (= "=") (binary_expression "__s1 + 1" (identifier "__s1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_2 = pbVar9;" (assignment_expression "param_2 = pbVar9" (identifier "param_2") (= "=") (identifier "pbVar9")) (; ";")) (if_statement "if (pbVar9 < pbVar7) {\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }" (if "if") (parenthesized_expression "(pbVar9 < pbVar7)" (( "(") (binary_expression "pbVar9 < pbVar7" (identifier "pbVar9") (< "<") (identifier "pbVar7")) () ")")) (compound_statement "{\n    bVar4 = *__s1;\n    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }\n  }" ({ "{") (expression_statement "bVar4 = *__s1;" (assignment_expression "bVar4 = *__s1" (identifier "bVar4") (= "=") (pointer_expression "*__s1" (* "*") (identifier "__s1"))) (; ";")) (while_statement "while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))) {\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }" (while "while") (parenthesized_expression "(((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10)))" (( "(") (parenthesized_expression "((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10))" (( "(") (binary_expression "(uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)) && (bVar4 != 10)" (parenthesized_expression "(uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d))" (( "(") (comma_expression "uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (assignment_expression "uVar8 = (uint)bVar4" (identifier "uVar8") (= "=") (cast_expression "(uint)bVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar4"))) (, ",") (comma_expression "bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (assignment_expression "bVar4 = *pbVar9" (identifier "bVar4") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (, ",") (comma_expression "param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (assignment_expression "param_2 = pbVar9" (identifier "param_2") (= "=") (identifier "pbVar9")) (, ",") (binary_expression "(puVar2[uVar8 * 2] & 0x40) == 0\n            || (bVar4 != 0x2d)" (binary_expression "(puVar2[uVar8 * 2] & 0x40) == 0" (parenthesized_expression "(puVar2[uVar8 * 2] & 0x40)" (( "(") (binary_expression "puVar2[uVar8 * 2] & 0x40" (subscript_expression "puVar2[uVar8 * 2]" (identifier "puVar2") ([ "[") (binary_expression "uVar8 * 2" (identifier "uVar8") (* "*") (number_literal "2")) (] "]")) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(bVar4 != 0x2d)" (( "(") (binary_expression "bVar4 != 0x2d" (identifier "bVar4") (!= "!=") (number_literal "0x2d")) () ")")))))) () ")")) (&& "&&") (parenthesized_expression "(bVar4 != 10)" (( "(") (binary_expression "bVar4 != 10" (identifier "bVar4") (!= "!=") (number_literal "10")) () ")"))) () ")")) () ")")) (compound_statement "{\n      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;\n    }" ({ "{") (if_statement "if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;" (if "if") (parenthesized_expression "((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9))" (( "(") (binary_expression "(bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)" (parenthesized_expression "(bVar4 == 0)" (( "(") (binary_expression "bVar4 == 0" (identifier "bVar4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)" (( "(") (comma_expression "pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (, ",") (comma_expression "param_2 = pbVar7, pbVar7 == pbVar9" (assignment_expression "param_2 = pbVar7" (identifier "param_2") (= "=") (identifier "pbVar7")) (, ",") (binary_expression "pbVar7 == pbVar9" (identifier "pbVar7") (== "==") (identifier "pbVar9")))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (} "}"))) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "__s = PTR_s__heap_001d0280;" (assignment_expression "__s = PTR_s__heap_001d0280" (identifier "__s") (= "=") (identifier "PTR_s__heap_001d0280")) (; ";")) (while_statement "while (__s != (char *)0x0) {\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }" (while "while") (parenthesized_expression "(__s != (char *)0x0)" (( "(") (binary_expression "__s != (char *)0x0" (identifier "__s") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    __n = strlen(__s);\n    if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }\n    iVar10 = iVar10 + 1;\n    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];\n  }" ({ "{") (expression_statement "__n = strlen(__s);" (assignment_expression "__n = strlen(__s)" (identifier "__n") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (if_statement "if ((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }" (if "if") (parenthesized_expression "((((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20))))" (( "(") (binary_expression "(((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&\n       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))" (parenthesized_expression "(((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0))" (( "(") (binary_expression "((int)__n <= (int)param_2 - (int)__s1) &&\n        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)" (parenthesized_expression "((int)__n <= (int)param_2 - (int)__s1)" (( "(") (binary_expression "(int)__n <= (int)param_2 - (int)__s1" (cast_expression "(int)__n" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__n")) (<= "<=") (binary_expression "(int)param_2 - (int)__s1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)__s1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__s1")))) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)" (( "(") (comma_expression "iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0" (assignment_expression "iVar5 = strncmp((char *)__s1,__s,__n)" (identifier "iVar5") (= "=") (call_expression "strncmp((char *)__s1,__s,__n)" (identifier "strncmp") (argument_list "((char *)__s1,__s,__n)" (( "(") (cast_expression "(char *)__s1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s1")) (, ",") (identifier "__s") (, ",") (identifier "__n") () ")")))) (, ",") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))" (( "(") (parenthesized_expression "(__s1[__n] == 0x3a || (__s1[__n] == 0x20))" (( "(") (binary_expression "__s1[__n] == 0x3a || (__s1[__n] == 0x20)" (binary_expression "__s1[__n] == 0x3a" (subscript_expression "__s1[__n]" (identifier "__s1") ([ "[") (identifier "__n") (] "]")) (== "==") (number_literal "0x3a")) (|| "||") (parenthesized_expression "(__s1[__n] == 0x20)" (( "(") (binary_expression "__s1[__n] == 0x20" (subscript_expression "__s1[__n]" (identifier "__s1") ([ "[") (identifier "__n") (] "]")) (== "==") (number_literal "0x20")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      DAT_001d1130 = __s1 + __n + 1;\n      DAT_001d1118 = 0;\n      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];\n      DAT_001d112c = param_2;\n      iVar5 = FUN_00059220();\n      if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }\n    }" ({ "{") (expression_statement "DAT_001d1130 = __s1 + __n + 1;" (assignment_expression "DAT_001d1130 = __s1 + __n + 1" (identifier "DAT_001d1130") (= "=") (binary_expression "__s1 + __n + 1" (binary_expression "__s1 + __n" (identifier "__s1") (+ "+") (identifier "__n")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "DAT_001d1118 = 0;" (assignment_expression "DAT_001d1118 = 0" (identifier "DAT_001d1118") (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];" (assignment_expression "DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2]" (identifier "DAT_001d1134") (= "=") (subscript_expression "(&DAT_001d0284)[iVar10 * 2]" (parenthesized_expression "(&DAT_001d0284)" (( "(") (pointer_expression "&DAT_001d0284" (& "&") (identifier "DAT_001d0284")) () ")")) ([ "[") (binary_expression "iVar10 * 2" (identifier "iVar10") (* "*") (number_literal "2")) (] "]"))) (; ";")) (expression_statement "DAT_001d112c = param_2;" (assignment_expression "DAT_001d112c = param_2" (identifier "DAT_001d112c") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar5 = FUN_00059220();" (assignment_expression "iVar5 = FUN_00059220()" (identifier "iVar5") (= "=") (call_expression "FUN_00059220()" (identifier "FUN_00059220") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }\n        break;\n      }" ({ "{") (if_statement "if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }" (if "if") (parenthesized_expression "((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0)" (( "(") (binary_expression "(&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0" (subscript_expression "(&PTR_s__heap_001d0280)[iVar10 * 2]" (parenthesized_expression "(&PTR_s__heap_001d0280)" (( "(") (pointer_expression "&PTR_s__heap_001d0280" (& "&") (identifier "PTR_s__heap_001d0280")) () ")")) ([ "[") (binary_expression "iVar10 * 2" (identifier "iVar10") (* "*") (number_literal "2")) (] "]")) (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          DAT_001d1130 = (byte *)0x0;\n          __ptr = DAT_001d1138;\n          if (param_2 < pbVar7) goto LAB_0005a5d0;\n          goto joined_r0x0005a79a;\n        }" ({ "{") (expression_statement "DAT_001d1130 = (byte *)0x0;" (assignment_expression "DAT_001d1130 = (byte *)0x0" (identifier "DAT_001d1130") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" (identifier "__ptr") (= "=") (identifier "DAT_001d1138")) (; ";")) (if_statement "if (param_2 < pbVar7) goto LAB_0005a5d0;" (if "if") (parenthesized_expression "(param_2 < pbVar7)" (( "(") (binary_expression "param_2 < pbVar7" (identifier "param_2") (< "<") (identifier "pbVar7")) () ")")) (goto_statement "goto LAB_0005a5d0;" (goto "goto") (statement_identifier "LAB_0005a5d0") (; ";"))) (goto_statement "goto joined_r0x0005a79a;" (goto "goto") (statement_identifier "joined_r0x0005a79a") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "__s = (&PTR_s__heap_001d0280)[iVar10 * 2];" (assignment_expression "__s = (&PTR_s__heap_001d0280)[iVar10 * 2]" (identifier "__s") (= "=") (subscript_expression "(&PTR_s__heap_001d0280)[iVar10 * 2]" (parenthesized_expression "(&PTR_s__heap_001d0280)" (( "(") (pointer_expression "&PTR_s__heap_001d0280" (& "&") (identifier "PTR_s__heap_001d0280")) () ")")) ([ "[") (binary_expression "iVar10 * 2" (identifier "iVar10") (* "*") (number_literal "2")) (] "]"))) (; ";")) (} "}"))) (if_statement "if (pbVar7 <= param_2) {\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }" (if "if") (parenthesized_expression "(pbVar7 <= param_2)" (( "(") (binary_expression "pbVar7 <= param_2" (identifier "pbVar7") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);\n    FUN_00034d20(uVar6);\n    DAT_001d1130 = (byte *)0x0;\n    __ptr = DAT_001d1138;\n    goto joined_r0x0005a79a;\n  }" ({ "{") (expression_statement "uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);" (assignment_expression "uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5)" (identifier "uVar6") (= "=") (call_expression "dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5)" (identifier "dcgettext") (argument_list "(0,"Warning: corrupt .drectve at end of def file\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Warning: corrupt .drectve at end of def file\n"" (" """) (string_content "Warning: corrupt .drectve at end of def file") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar6);" (call_expression "FUN_00034d20(uVar6)" (identifier "FUN_00034d20") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "DAT_001d1130 = (byte *)0x0;" (assignment_expression "DAT_001d1130 = (byte *)0x0" (identifier "DAT_001d1130") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "__ptr = DAT_001d1138;" (assignment_expression "__ptr = DAT_001d1138" (identifier "__ptr") (= "=") (identifier "DAT_001d1138")) (; ";")) (goto_statement "goto joined_r0x0005a79a;" (goto "goto") (statement_identifier "joined_r0x0005a79a") (; ";")) (} "}"))) (expression_statement "bVar4 = *param_2;" (assignment_expression "bVar4 = *param_2" (identifier "bVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);" (assignment_expression "uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5)" (identifier "uVar6") (= "=") (call_expression "dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5)" (identifier "dcgettext") (argument_list "(0,"Warning: .drectve `%s\' unrecognized\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Warning: .drectve `%s\' unrecognized\n"" (" """) (string_content "Warning: .drectve `%s") (escape_sequence "\'") (string_content " unrecognized") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar6,__s1);" (call_expression "FUN_00034d20(uVar6,__s1)" (identifier "FUN_00034d20") (argument_list "(uVar6,__s1)" (( "(") (identifier "uVar6") (, ",") (identifier "__s1") () ")"))) (; ";")) (expression_statement "DAT_001d1130 = (byte *)0x0;" (assignment_expression "DAT_001d1130 = (byte *)0x0" (identifier "DAT_001d1130") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "*param_2 = bVar4;" (assignment_expression "*param_2 = bVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "bVar4")) (; ";")) (goto_statement "goto LAB_0005a5d0;" (goto "goto") (statement_identifier "LAB_0005a5d0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void function_1(type_1 *my_def,char *var_1,int var_2)

{
  type_2 *pdVar1;
  type_2 *var_4;
  type_3 *puVar2;
  type_1 *pdVar3;
  type_4 var_6;
  size_t var_14;
  int var_13;
  char *var_10;
  type_4 *var_3;
  type_5 var_9;
  type_4 *var_7;
  type_4 *var_8;
  int var_16;
  
  pdVar3 = def;
  puVar2 = PTR__sch_istable_001cefa0;
  var_3 = (type_4 *)(var_1 + var_2);
  def = my_def;
  var_4 = pool_strs;
  if (var_3 <= var_1) {
joined_r0x0005a79a:
    while (def = pdVar3, var_4 != (type_2 *)0x0) {
      pdVar1 = var_4->next;
      pool_strs = pdVar1;
      var_5(var_4);
      var_4 = pdVar1;
      pdVar3 = def;
    }
    return;
  }
LAB_0005a5d0:
  var_6 = *var_1;
  if (((puVar2[(type_5)var_6 * 2] & 0x40) != 0) || (var_7 = (type_4 *)var_1, var_6 == 0 || var_6 == 10))
  {
    var_1 = (char *)((type_4 *)var_1 + 1);
    var_7 = (type_4 *)var_1;
    if (var_1 < var_3) goto LAB_0005a5d0;
  }
  var_4 = pool_strs;
  if (var_7 == var_3) goto joined_r0x0005a79a;
  var_8 = var_7 + 1;
  var_1 = (char *)var_8;
  if (var_8 < var_3) {
    var_6 = *var_7;
    while (((var_9 = (type_5)var_6, var_6 = *var_8, var_1 = (char *)var_8,
            (puVar2[var_9 * 2] & 0x40) == 0 || (var_6 != 0x2d)) && (var_6 != 10))) {
      if ((var_6 == 0) || (var_8 = var_8 + 1, var_1 = (char *)var_3, var_3 == var_8)) break;
    }
  }
  var_16 = 0;
  var_10 = diropts[0].var_1;
  while (var_10 != (char *)0x0) {
    var_14 = var_11(var_10);
    if ((((int)var_14 <= (int)var_1 - (int)var_7) &&
        (var_13 = var_12((char *)var_7,var_10,var_14), var_13 == 0)) &&
       ((var_7[var_14] == 0x3a || (var_7[var_14] == 0x20)))) {
      lex_parse_string = (char *)(var_7 + var_14 + 1);
      saw_newline = 0;
      lex_forced_token = diropts[var_16].token;
      lex_parse_string_end = var_1;
      var_13 = var_15();
      if (var_13 == 0) {
        if (diropts[var_16].var_1 != (char *)0x0) {
          lex_parse_string = (char *)0x0;
          var_4 = pool_strs;
          if (var_1 < var_3) goto LAB_0005a5d0;
          goto joined_r0x0005a79a;
        }
        break;
      }
    }
    var_16 = var_16 + 1;
    var_10 = diropts[var_16].var_1;
  }
  if (var_3 <= var_1) {
    var_10 = (char *)var_17(0,"Warning: corrupt .drectve at end of def file\n",5);
    var_18(var_10);
    lex_parse_string = (char *)0x0;
    var_4 = pool_strs;
    goto joined_r0x0005a79a;
  }
  var_6 = *var_1;
  *var_1 = 0;
  var_10 = (char *)var_17(0,"Warning: .drectve `%s\' unrecognized\n",5);
  var_18(var_10,var_7);
  lex_parse_string = (char *)0x0;
  *var_1 = var_6;
  goto LAB_0005a5d0;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  char *__s;
  undefined4 *puVar1;
  undefined4 *__ptr;
  undefined *puVar2;
  undefined4 uVar3;
  byte bVar4;
  size_t __n;
  int iVar5;
  undefined4 uVar6;
  byte *pbVar7;
  uint uVar8;
  byte *__s1;
  byte *pbVar9;
  int iVar10;
  
  uVar3 = DAT_001d111c;
  puVar2 = PTR__sch_istable_001cefa0;
  pbVar7 = param_2 + param_3;
  DAT_001d111c = param_1;
  __ptr = DAT_001d1138;
  if (pbVar7 <= param_2) {
joined_r0x0005a79a:
    while (DAT_001d111c = uVar3, __ptr != (undefined4 *)0x0) {
      puVar1 = (undefined4 *)*__ptr;
      DAT_001d1138 = puVar1;
      free(__ptr);
      __ptr = puVar1;
      uVar3 = DAT_001d111c;
    }
    return;
  }
LAB_0005a5d0:
  bVar4 = *param_2;
  if (((puVar2[(uint)bVar4 * 2] & 0x40) != 0) || (__s1 = param_2, bVar4 == 0 || bVar4 == 10)) {
    param_2 = param_2 + 1;
    __s1 = param_2;
    if (param_2 < pbVar7) goto LAB_0005a5d0;
  }
  __ptr = DAT_001d1138;
  if (__s1 == pbVar7) goto joined_r0x0005a79a;
  pbVar9 = __s1 + 1;
  param_2 = pbVar9;
  if (pbVar9 < pbVar7) {
    bVar4 = *__s1;
    while (((uVar8 = (uint)bVar4, bVar4 = *pbVar9, param_2 = pbVar9, (puVar2[uVar8 * 2] & 0x40) == 0
            || (bVar4 != 0x2d)) && (bVar4 != 10))) {
      if ((bVar4 == 0) || (pbVar9 = pbVar9 + 1, param_2 = pbVar7, pbVar7 == pbVar9)) break;
    }
  }
  iVar10 = 0;
  __s = PTR_s__heap_001d0280;
  while (__s != (char *)0x0) {
    __n = strlen(__s);
    if ((((int)__n <= (int)param_2 - (int)__s1) &&
        (iVar5 = strncmp((char *)__s1,__s,__n), iVar5 == 0)) &&
       ((__s1[__n] == 0x3a || (__s1[__n] == 0x20)))) {
      DAT_001d1130 = __s1 + __n + 1;
      DAT_001d1118 = 0;
      DAT_001d1134 = (&DAT_001d0284)[iVar10 * 2];
      DAT_001d112c = param_2;
      iVar5 = FUN_00059220();
      if (iVar5 == 0) {
        if ((&PTR_s__heap_001d0280)[iVar10 * 2] != (undefined *)0x0) {
          DAT_001d1130 = (byte *)0x0;
          __ptr = DAT_001d1138;
          if (param_2 < pbVar7) goto LAB_0005a5d0;
          goto joined_r0x0005a79a;
        }
        break;
      }
    }
    iVar10 = iVar10 + 1;
    __s = (&PTR_s__heap_001d0280)[iVar10 * 2];
  }
  if (pbVar7 <= param_2) {
    uVar6 = dcgettext(0,"Warning: corrupt .drectve at end of def file\n",5);
    FUN_00034d20(uVar6);
    DAT_001d1130 = (byte *)0x0;
    __ptr = DAT_001d1138;
    goto joined_r0x0005a79a;
  }
  bVar4 = *param_2;
  *param_2 = 0;
  uVar6 = dcgettext(0,"Warning: .drectve `%s\' unrecognized\n",5);
  FUN_00034d20(uVar6,__s1);
  DAT_001d1130 = (byte *)0x0;
  *param_2 = bVar4;
  goto LAB_0005a5d0;
}

